Skip to content
Snippets Groups Projects
Commit d5589ca5 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

misc/coverage: Fix nixguix origins counts

Tarballs are no longer loaded as branches but as releases in the
nixguix origin snapshots.
parent 5aa2bb20
No related branches found
Tags v0.0.130
No related merge requests found
......@@ -281,7 +281,7 @@ def _get_nixguix_origins_count(origin_url: str) -> int:
snapshot = archive.lookup_latest_origin_snapshot(origin_url)
if snapshot:
snapshot_sizes = archive.lookup_snapshot_sizes(snapshot["id"])
return snapshot_sizes["revision"]
return snapshot_sizes["release"]
else:
return 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment