packages: Move comps sync'ed package lists to a sub dir

Those manifests are automatically generated so let's move them out of
the way as we never edit them manually.
This commit is contained in:
Timothée Ravier 2025-10-13 21:14:50 +02:00
commit e2b5654f80
15 changed files with 10 additions and 9 deletions

View file

@ -4,6 +4,7 @@ version = 1
path = [
"*.repo",
"*.yaml",
"packages/*.yaml",
".gitignore",
"README.md",
"ci/*",

View file

@ -8,7 +8,7 @@ ref: fedora/rawhide/${basearch}/onyx
include:
- common.yaml
- budgie-atomic-packages.yaml
- packages/budgie-atomic.yaml
packages:
- fedora-release-budgie-atomic

View file

@ -13,7 +13,7 @@ container-cmd:
include:
# Packages common to all variants
- common-packages.yaml
- packages/common.yaml
# See: https://gitlab.com/fedora/ostree/sig/-/issues/1
- bootupd.yaml
# Dracut configuration for the initramfs

View file

@ -192,7 +192,7 @@ def main():
# Return code indicates if changes have or would have been done
ret = 0
ret += update_manifests_from_groups(comps, groups, 'common-packages.yaml', "common", args.save, comps_exclude_list, comps_exclude_list_all)
ret += update_manifests_from_groups(comps, groups, 'packages/common.yaml', "common", args.save, comps_exclude_list, comps_exclude_list_all)
# List of comps groups used for each variant
variant_comps_groups = {
@ -207,7 +207,7 @@ def main():
# Generate treefiles for all variants
for variant, groups in variant_comps_groups.items():
print()
ret += update_manifests_from_groups(comps, groups, f'{variant}-packages.yaml', variant, args.save, comps_desktop_exclude_list, comps_exclude_list_all)
ret += update_manifests_from_groups(comps, groups, f'packages/{variant}.yaml', variant, args.save, comps_desktop_exclude_list, comps_exclude_list_all)
if not args.save and ret != 0:
sys.exit(1)

View file

@ -8,7 +8,7 @@ ref: fedora/rawhide/${basearch}/cosmic-atomic
include:
- common.yaml
- cosmic-atomic-packages.yaml
- packages/cosmic-atomic.yaml
packages:
- fedora-release-cosmic-atomic

View file

@ -14,10 +14,10 @@ include:
conditional-include:
- if: variant == "kinoite"
include:
- kinoite-packages.yaml
- packages/kinoite.yaml
- if: variant == "kinoite-mobile"
include:
- kinoite-mobile-packages.yaml
- packages/kinoite-mobile.yaml
packages:
- fedora-release-kinoite

View file

@ -8,7 +8,7 @@ ref: fedora/rawhide/${basearch}/silverblue
include:
- common.yaml
- silverblue-packages.yaml
- packages/silverblue.yaml
packages:
- fedora-release-silverblue

View file

@ -8,7 +8,7 @@ ref: fedora/rawhide/${basearch}/sericea
include:
- common.yaml
- sway-atomic-packages.yaml
- packages/sway-atomic.yaml
packages:
- fedora-release-sway-atomic