Make ELN testing possible as desired by ELN team #37

Closed
opened 2026-04-29 19:52:14 +00:00 by adamwill · 5 comments
Owner

See ci/tickets#555 (comment) . We have an awkward situation with ELN.

In ELN, some packages are buildroot-only - they only appear in the buildroot, not in the composed variants. @yselkowitz does not want us to report repoclosure issues in buildroot-only packages, so he does not want us simply using the buildroot as the base repo as we previously were.

So we did quality/os-autoinst-distri-fedora#533 , but I think that was not sophisticated enough. We just switched to using the variant repos from the latest ELN compose as the base repos. But buildroot-only packages may depend on other buildroot-only packages. So for installability purposes - i.e. when checking the repoclosure of the repo containing the packages under test - we should have the buildroot repo available to the solver. But we need to achieve that without checking the repoclosure of the buildroot repo in the "repoclosure" phase, where we try to detect new dependency issues in the base repos caused by the packages under test.

One way to do this would be to allow specifying "non-checked base repos" or something - they get "modified", and are available to the solver, but we do not run repoclosure checks on them.

Another way would be to allow separating the "repoclosure" and "installability" phases somehow so you could specify different base repos for each.

See https://forge.fedoraproject.org/ci/tickets/issues/555#issuecomment-677112 . We have an awkward situation with ELN. In ELN, some packages are buildroot-only - they only appear in the buildroot, not in the composed variants. @yselkowitz does not want us to report repoclosure issues in buildroot-only packages, so he does not want us simply using the buildroot as the base repo as we previously were. So we did https://forge.fedoraproject.org/quality/os-autoinst-distri-fedora/pulls/533 , but I think that was not sophisticated enough. We just switched to using the variant repos from the latest ELN compose as the base repos. But buildroot-only packages may depend on other buildroot-only packages. So for *installability* purposes - i.e. when checking the repoclosure of the *repo containing the packages under test* - we should have the buildroot repo available to the solver. But we need to achieve that *without* checking the repoclosure of the buildroot repo in the "repoclosure" phase, where we try to detect new dependency issues *in the base repos* caused by the packages under test. One way to do this would be to allow specifying "non-checked base repos" or something - they get "modified", and are available to the solver, but we do not run repoclosure checks on them. Another way would be to allow separating the "repoclosure" and "installability" phases somehow so you could specify different base repos for each.
adamwill added this to the Sprint 8 project 2026-04-29 23:17:09 +00:00
Author
Owner

Adding to current sprint as I want to clear this up while it's in my head, after I noticed the problem.

Adding to current sprint as I want to clear this up while it's in my head, after I noticed the problem.
adamwill changed title from Allow separate base repos for 'repoclosure' and 'installability' checks, and/or allow disabling repoclosure check of some base repos to Make ELN testing possible as desired by ELN team 2026-05-01 16:22:08 +00:00
Author
Owner

This got more complicated after some discussion with yselkowitz, bumping points.

This got more complicated after some discussion with yselkowitz, bumping points.
adamwill modified the project from Sprint 8 to Sprint 9 2026-05-05 15:23:11 +00:00
Author
Owner

Progress: the refactor is basically done, but need to make tox happy, including adding tests for the EL 'wrapper' (which is no longer a wrapper, so maybe I should rename it too...)

Progress: the refactor is basically done, but need to make tox happy, including adding tests for the EL 'wrapper' (which is no longer a wrapper, so maybe I should rename it too...)
Author
Owner

Tox is now happy with everything except the missing test coverage, so I'll figure out how to cover this new bit, then merge.

Tox is now happy with everything *except* the missing test coverage, so I'll figure out how to cover this new bit, then merge.
Author
Owner

This is merged as of Friday. Yay.

This is merged as of Friday. Yay.
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.

Blocks
Reference
quality/rmdepcheck#37
No description provided.