#11604 Enable tag2distrepo for f39-flatpak-app
Closed: Fixed 2 years ago by otaylor. Opened 2 years ago by otaylor.

It turns out that the tag structure created for non-modular Flatpaks doesn't quite work in one aspect - the repository created to install from for application Flatpaks ends up empty because it has an empty package list.

See https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/20 for a full explanation

The approach we would like to try here is to use the tag2distrepo plugin to create the repository as a dist-repo rather than counting on kojira to create it as a build repo. The extra tag and target are then no longer needed.

Can you please do the following:

koji edit-tag f39-flatpak-app \
   -x tag2distrepo.enabled=true \
   -x  tag2distrepo.inherit=false

koji edit_tag f39-flatpak-container-build \
   -x flatpak.app_package_tag=f39-flatpak-app \
   -x flatpak.app_package_dist_repo=true

koji remove-target f39-flatpak-app-kojira
koji remove-tag f39-flatpak-app-packages

I'm not sure if -x distrepo.cancel_others=true on f39-flatpak-app would be a good idea or not. Let's try without for now.

Thanks!


Do we need to update the branching script stuff to do this (for next time)?

I've run these commands now.

Metadata Update from @phsmoura:
- Issue tagged with: medium-gain, medium-trouble, ops

2 years ago

Do we need to update the branching script stuff to do this (for next time)?

Yes, once we sort the kinks out :-):

I just hit Tag f39-flatpak-app has no arches configured but tag2distrepo is enabled. Can you:

koji edit-tag f39-flatpak-app --arches x86_64,aarch64 

OK, was able to successfully build a (local) container against the dist repo.

Filed https://pagure.io/releng/pull-request/11605 to update the branching script.

Metadata Update from @otaylor:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata
Boards 1
Ops Status: Backlog