Skip to content

Commit

Permalink
Remove logic that stopped the collection early
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Brain <[email protected]>
  • Loading branch information
ABrain7710 committed Dec 9, 2023
1 parent a023408 commit ba24d20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions augur/tasks/gitlab/issues_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,6 @@ def retrieve_all_gitlab_issue_comments(key_auth, logger, issue_ids, repo_git):

for id in issue_ids:

if len(all_comments) > 10:
return all_comments

print(f"Collecting {owner}/{repo} gitlab issue comments for issue {index} of {issue_count}")

url = f"https://gitlab.com/api/v4/projects/{owner}%2f{repo}/issues/{id}/notes"
Expand Down
3 changes: 0 additions & 3 deletions augur/tasks/gitlab/merge_request_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,6 @@ def retrieve_merge_request_data(ids, url, name, owner, repo, key_auth, logger, r

api_handler = GitlabApiHandler(key_auth, logger)
for id in ids:

if len(all_data) > 10:
return all_data

print(f"Collecting {owner}/{repo} gitlab merge request {name} for merge request {index} of {mr_count}")
formatted_url = url.format(id=id)
Expand Down

0 comments on commit ba24d20

Please sign in to comment.