From ba24d20dc362ced5698ea48d282d56c1e2664d38 Mon Sep 17 00:00:00 2001 From: Andrew Brain Date: Sat, 9 Dec 2023 14:45:06 -0600 Subject: [PATCH] Remove logic that stopped the collection early Signed-off-by: Andrew Brain --- augur/tasks/gitlab/issues_task.py | 3 --- augur/tasks/gitlab/merge_request_task.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/augur/tasks/gitlab/issues_task.py b/augur/tasks/gitlab/issues_task.py index 5ffc633d0e..7f0c7787ee 100644 --- a/augur/tasks/gitlab/issues_task.py +++ b/augur/tasks/gitlab/issues_task.py @@ -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" diff --git a/augur/tasks/gitlab/merge_request_task.py b/augur/tasks/gitlab/merge_request_task.py index adce8f60c7..6d69def093 100644 --- a/augur/tasks/gitlab/merge_request_task.py +++ b/augur/tasks/gitlab/merge_request_task.py @@ -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)