Commit 5758afad authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

update: put problematic stuff at the end

parent dbe4842c
Pipeline #14755 failed with stage
in 57 seconds
...@@ -56,11 +56,6 @@ class Command(BaseCommand): ...@@ -56,11 +56,6 @@ class Command(BaseCommand):
def log(message): def log(message):
self.stdout.write(message) self.stdout.write(message)
log('updating forges')
for forge in Forge.objects.order_by('source'):
log(f' updating {forge}')
forge.get_projects()
log('\nUpdating all repos\n') log('\nUpdating all repos\n')
for repo in Repo.objects.filter(project__archived=False, project__main_namespace__from_gepetto=True): for repo in Repo.objects.filter(project__archived=False, project__main_namespace__from_gepetto=True):
log(f' {repo}') log(f' {repo}')
...@@ -100,3 +95,8 @@ class Command(BaseCommand): ...@@ -100,3 +95,8 @@ class Command(BaseCommand):
log(f' {img}') log(f' {img}')
update_issues_pr() update_issues_pr()
log('updating forges')
for forge in Forge.objects.order_by('source'):
log(f' updating {forge}')
forge.get_projects()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment