Expose compose-critical package information somewhere #912

Open
opened 2026-06-30 19:11:31 +00:00 by adamwill · 3 comments
Owner

In quality/paperwork#68 I wrote the compose-critical package list generation script, but we also need to expose/use its output somewhere for it to be actually useful. Probably the most convenient place is Bodhi, which consumes the critpath.py script output. I think it'd be good to have Bodhi also consume the ccp.py output, and expose both somehow - probably just URLs that give you the JSON representations output by each script, or something.

I may also want to have Bodhi record 'compose critical' status as an update attribute just like 'critical path' status, but that's outside the scope of this ticket I think.

In https://forge.fedoraproject.org/quality/paperwork/issues/68 I wrote the compose-critical package list generation script, but we also need to expose/use its output somewhere for it to be actually useful. Probably the most convenient place is Bodhi, which consumes the critpath.py script output. I think it'd be good to have Bodhi also consume the ccp.py output, and expose *both* somehow - probably just URLs that give you the JSON representations output by each script, or something. I may also want to have Bodhi record 'compose critical' status as an update attribute just like 'critical path' status, but that's outside the scope of this ticket I think.
adamwill added this to the Sprint 12 project 2026-06-30 19:11:31 +00:00
Author
Owner

Bodhi actually already exposes the critical path data. TIL.

Bodhi actually already [exposes the critical path data](https://bodhi.fedoraproject.org/get_critpath_components). TIL.
Author
Owner

Update: started on this today then realized we kinda need a critpath.py-style all mode for ccp.py to fit in to how the critpath stuff works. So I wrote it. The Bodhi changes should be relatively straightforward now, I have the ansible change drafted, will dive into the Bodhi bits tomorrow.

Update: started on this today then realized we kinda need a critpath.py-style `all` mode for ccp.py to fit in to how the critpath stuff works. So I [wrote it](https://forge.fedoraproject.org/releng/tooling/pulls/13042). The Bodhi changes should be relatively straightforward now, I have the ansible change drafted, will dive into the Bodhi bits tomorrow.
Author
Owner

The PR is ready, waiting for merge.

The [PR is ready](https://github.com/fedora-infra/bodhi/pull/6142), waiting for merge.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quality/tickets#912
No description provided.