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
treewide: Add passthru.updateScript to gnome pkgs #60198
Conversation
1c2661e
to
4ae7989
Compare
Oh I should base this off of staging, right? |
Thanks for taking care of this! GNOME update script ignores the versions with odd minors by default because they are usually considered unstable. For projects where it is not the case, or we want the unstable version, we need to override the Yes, |
How did you determine for which packages this is not the case? |
4ae7989
to
393ca4c
Compare
Yup, just checked the minor part of version. Maybe some of those are unstable by accident, we should probably check the repos. |
I looked at the repos and it doesn't seem that any of them use odd versions to indicate unstable. I'm not actually sure it's so common that it should be the default policy for us. However I noticed that some of the packages have been abandoned for quite a while and aren't used anymore - I'll probably remove them in another PR or start a discussion in an issue. |
I would say about 90% of packages hosted on GNOME servers, the packages with
At least glabels and ekiga have a new major release in the works. opal will probably be updated with ekiga. Maybe we can get rid of pangox-compat if nothing else depends on it. |
What do you mean?
|
I'll add some more tonight. |
7bb7e5d
to
236fbca
Compare
Do we actually want to add update scripts to packages that will never receive an update? In particular those under Archive namespace like https://gitlab.gnome.org/Archive/pygtk |
Not really, no. I'd like to mark them as "non maintained" or "abandoned" somehow, so that it's obvious in nixpkgs. |
236fbca
to
23a8ef5
Compare
Well |
@JohnAZoidberg I merged 393ca4c in #60548 so you can drop it here.
|
23a8ef5
to
20f63a9
Compare
pkgs/development/tools/documentation/gnome-doc-utils/default.nix
Outdated
Show resolved
Hide resolved
3da4297
to
a27bd07
Compare
d3cd364
to
c209d9b
Compare
What's the status? |
I think it should be fine, (haven't really looked at everything it's a lot) just need to resolve conflicts. |
`updateScript` lets us update packages automatically. For packages that are hosted on the gnome mirror it's very easy to add that. Inspired by NixOS#36150
c209d9b
to
3f690ff
Compare
Alright, I rebased. Just needed to fix that one tiny conflict. |
- Update homepage URLs - Add missing meta entries
3f690ff
to
06fad89
Compare
Removed the reference to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excluding the things in pkgs/desktops/gnome-2
we've gone from 40
to 24
occurrences that
the command to track this in #36150 can catch.
Thanks @JohnAZoidberg for the fixes ✨ |
Motivation for this change
For packages that are hosted on the gnome mirror it's very easy.
Inspired by #36150
I changed some source URLs but they should be equivalent to the original.
Changed some derivations to use
pname
instead ofname
so that causes many package rebuilds :/Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)