-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add way to use tags that replace the auto-generated tags #272
Comments
Option 2 sounds sensible to me. |
I think so too. It is a pretty niche feature I feel and usually you would probably have custom tag generation automated to at least some extent. |
I just realised that this isn't a problem in my case because it was merged a while ago to address these conflicting tags. The proposals still stand. |
Unfortunately, option 2 won't really work with a new feature coming out to build multiple recipes. It'll take in any number of recipe files and build them all at once, so adding an arg won't really help in this case as we wouldn't be able to tell which recipe should get those tags. As for option 1, our next version of the recipe file format (#180 ) will be renaming it to Since your original issue is no longer a problem I'll close this out. Appreciate the feedback though! |
My use case is this: I maintain my personal Fedora image that has three frequencies, which define how often you want a build throughout the week. These frequencies include
weekly
(default),git
, anddaily
. These frequencies are included in the image tag inputted tobootc switch
.All of these frequencies are built by making a separate image recipe file for each frequency. This means there will be multiple image recipes that have the exact same same, but with different
alt-tags
matching the frequency and channel (just if I wantcurrent
orprevious
fedora).This however, brings a problem that I cannot solve. The
41
tag (fedora version) is common to all images that are on fedora 41. This basically acts like thedaily
tag because basically what it does is it builds the image daily and on git push. If you remember, I want the default to beweekly
frequency when a frequency is not specified (such as41
orcurrent
).Proposal 1
My first proposal is a key in the image recipe called
disable-default-tags
that disables the default tags generated by bluebuild and only uses the tags in thetags
key (renamed fromalt-tags
).Proposal 2
The second proposal is that there would be an option in the
bluebuild build
command that specifies the tags that are to be used. This would also be an optional option in the github action. The tag generation should be able to be automated in the github action.The text was updated successfully, but these errors were encountered: