-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Mini-RFC: Tagging GNOME collection for updating purposes #327572
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
Comments
So the goal is to be able to run |
I just encountered a similar problem when thinking of writing a certain automatic update related script - where I want to be able to know in advance whether an update should go through the
Related effort: https://github.com/NixOS/GSoC/blob/main/ideas/2024.md#outpath-cache-for-faster-automation |
Currently, for minor releases, I typically do the following:
|
Maybe the belonging to the passthru = {
updateScript = gnome.updateScript {
packageName = "...";
attrPath = "...";
};
updateTargetBranch = "staging";
}; It'd also be very useful for users that run their own update scripts. |
The issue is that not all packages we consider part of It might be similarly useful for e.g. Budgie, which uses |
And you still want to be able to update them in the same Another option would be indeed to add an additional attribute to the In either case I'd separate the |
Issue description
GNOME makes a release twice a year, which includes the releases of packages outside of the
gnome
scope (such asglib
orgtk4
or more). To run GNOME updates, we currently query packages based on update script:nixpkgs/maintainers/scripts/update.nix
Line 166 in 45eb64f
But this this does not find packages that do not use update script so it is a lot of manual work. Also, for point releases, we want to separate updates targetting staging, again requiring manual filtering.
Proposal
I propose we add
passthru.updateCollections
attribute, which will contain a list of strings. For our use case, we would use the values"gnome"
and"staging"
.Additionally, we would add support for this to
maintainers/scripts/update.nix
.Alternatives
meta.categories
meta.tags
was not approved.passthru.updateCollections
for now and migrate to a global solution later, if one emerges.update.nix
can detectlib.teams.gnome
staging
distinction.Not going through the RFC process since this would only affect GNOME packages and I feel like these kind of local changes are better to evolve organically.
cc @bobby285271 @getchoo @doronbehar
The text was updated successfully, but these errors were encountered: