Skip to content

Commit

Permalink
remove TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
ABrain7710 committed Oct 15, 2024
1 parent 6940a26 commit 8786f31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions augur/tasks/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def parse_org_and_repo_name(string):
match = re.match(r'^\/?([a-zA-Z0-9_-]+)\/([a-zA-Z0-9_-]+)\/?$', string)
return match

# TODO: Add support for gitlab
@celery.task
def add_github_orgs_and_repos(user_id, group_name, orgs, repo_urls):

Expand Down Expand Up @@ -61,7 +60,6 @@ def add_github_orgs_and_repos(user_id, group_name, orgs, repo_urls):
add_new_github_repos(chunk, group_id, session, logger)


# TODO: Add support for gitlab
@celery.task
def add_gitlab_repos(user_id, group_name, repo_urls):

Expand Down Expand Up @@ -109,7 +107,7 @@ def add_gitlab_repos(user_id, group_name, repo_urls):
add_existing_repo_to_group(logger, session, group_id, repo.repo_id)
continue

add_github_repo(logger, session, url, repo_group_id, group_id, repo_src_id)
add_gitlab_repo(logger, session, url, repo_group_id, group_id, repo_src_id)


def add_gitlab_repo(session, url, repo_group_id, group_id):
Expand Down

0 comments on commit 8786f31

Please sign in to comment.