Based on #280, extended for a better support of architecture-specific packages and refactored to satisfy my OCD.
The PR is motivated by our ongoing work on a Sway ostree spin for f38. It is going to be wayland-only for obvious reasons, and I wanted a clean way to get rid of base-x in fedora-common-ostree and move it to a X desktop package lists. For reference, here is the final form of the changes.
Unfortunately, architecture metadata (arch attribute of packagereq tag) is not exposed via libcomps and even if it was, it's pretty much useless — see how many packages in base-x have architecture specified and how many really should. I can pursue the necessary changes in fedora-comps and libcomps independently, but that's not going to happen immediately :disappointed:. Maybe once that's done we could remove arch_specific_list.
One of the things that still confuse me is the existence of include_list in comps-sync-exclude-list.yml. I'm pretty sure it's safe to move the packages to fedora-common-ostree.yaml and simplify the code just a bit more.
Based on #280, extended for a better support of architecture-specific packages and refactored to satisfy my OCD.
The PR is motivated by our ongoing work on a Sway ostree spin for f38. It is going to be wayland-only for obvious reasons, and I wanted a clean way to get rid of
base-xin fedora-common-ostree and move it to a X desktop package lists. For reference, here is the final form of the changes.Unfortunately, architecture metadata (
archattribute ofpackagereqtag) is not exposed via libcomps and even if it was, it's pretty much useless — see how many packages inbase-xhave architecture specified and how many really should. I can pursue the necessary changes infedora-compsandlibcompsindependently, but that's not going to happen immediately :disappointed:. Maybe once that's done we could removearch_specific_list.One of the things that still confuse me is the existence of
include_listincomps-sync-exclude-list.yml. I'm pretty sure it's safe to move the packages tofedora-common-ostree.yamland simplify the code just a bit more.