Skip to content

Commit

Permalink
rebuilder: Fix url for group owned projects
Browse files Browse the repository at this point in the history
  • Loading branch information
tstellar committed Jan 16, 2025
1 parent 6788c6e commit f0754d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/rebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,13 @@ def get_monthly_rebuild_regressions(
continue
if int(p.latest.submitted_on) < start_time.timestamp():
continue
owner_url = project_owner
if owner_url[0] == "@":
owner_url = f"g/{owner_url[1:]}"
pkgs.append(
{
"name": p.name,
"url": f"https://copr.fedorainfracloud.org/coprs/{project_owner}/{project_name}/build/{p.latest.id}/",
"url": f"https://copr.fedorainfracloud.org/coprs/{owner_url}/{project_name}/build/{p.latest.id}/",
}
)
return pkgs
Expand Down

0 comments on commit f0754d0

Please sign in to comment.