On Fri, 2025-05-16 at 21:14 -0700, Tom Stellard wrote: > On 5/16/25 9:07 PM, Tom Stellard wrote: > > On 5/16/25 6:55 PM, Frank Crawford wrote: > > > So, after searching, reading and trying stuff, I still can't get > > > sidetags to work correctly. It doesn't help that most of the > > > documentation refers to older versions of koji, etc. > > > > > > Anyway, I want to create a sidetag, add a recent build and then build > > > some other related packages in there. Certainly this is for EPEL10, > > > but that shouldn't matter. > > > > > > I've created a side tag ("fedpkg request-side-tag"), tried to add my > > > package ("koji add-pkg --owner frankcrawford epel10.1-build-side-112102 > > > c-icap-devel-0.6.3-2.el10_1" plus others) and added appropriate wait- > > > repo commands ("koji wait-repo -v --build=c-icap-devel-0.6.3-2.el10_1 > > > epel10.1-build-side-112102 --request") yet the repo never has the added > > > packages, and looks to never get rebuilt. > > > > > > I can see the packages tagged appropriately ("koji list-pkgs -- > > > tag=epel10.1-build-side-112102") but when I build using the sidetag > > > they are not there. > > > > > > So in summary what I did was: > > > > > > fedpkg request-side-tag > > > koji wait-repo epel10.1-build-side-112102 > > > koji add-pkg --owner frankcrawford epel10.1-build-side-112102 > > > c-icap-devel-0.6.3-2.el10_1 > > > > I don't think this part is correct or at least I don't do this with > > side-tags. > > > > The `fedpkg request-side-tag` and `koji wait-repo` are correct, but after > > that > > all you need to do is build the packages you want into the side-tag. > > > > I see now what you were trying to do, c-icap-0.6.3-2.el10_1, is in > epel10.1-testing, which is why it is not in the side tag. > > You should use `koji tag` to add it to the side-tag, not `koji add-pkg` > > koji tag epel10.1-build-side-112102 c-icap-0.6.3-2.el10_1
This won't ultimately achieve what you want, though, because c-icap- 0.6.3-2.el10_1 is already in an update: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-5227245027 builds can only be in one update at a time, and you can't remove the last build from an existing update. So if a build is the sole package in an existing update, it's 'trapped' in that update. If you actually need a multi-package update, you have to do a bump/rebuild in the side tag - you have to do a c-icap-0.6.3-3.el10_1 build in the side tag. Basically, if you first do a 'normal' build and create an update (or one is automatically created for you, on a Rawhide-like branch), then realize you *actually* needed to do a multi-package side tag update, you'll have to do a bump/rebuild. You can only 'escape' if you did the build but didn't create an update (or have one auto-created). Aside from that, though, Benson and Tom are right: after creating a side tag you either do builds to it with `fedpkg build --target` or tag existing builds in with `koji tag-build`. `add-pkg` is not the right thing to use here, I'm not sure where you came across it. https://docs.fedoraproject.org/en-US/package-maintainers/Package_Update_Guide/#multiple_packages is the doc for this. -- Adam Williamson (he/him/his) Fedora QA Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fosstodon.org https://www.happyassassin.net -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue