Skip to content

Commit f6e560e

Browse files
Merge master into staging-next
2 parents bdf5956 + 68a5a25 commit f6e560e

File tree

83 files changed

+2393
-2589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+2393
-2589
lines changed

maintainers/maintainer-list.nix

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6472,6 +6472,13 @@
64726472
name = "Duncan Dean";
64736473
keys = [ { fingerprint = "9484 44FC E03B 05BA 5AB0 591E C37B 1C1D 44C7 86EE"; } ];
64746474
};
6475+
DutchGerman = {
6476+
name = "Stefan Visser";
6477+
email = "[email protected]";
6478+
github = "DutchGerman";
6479+
githubId = 60694691;
6480+
keys = [ { fingerprint = "A7C9 3DC7 E891 046A 980F 2063 F222 A13B 2053 27A5"; } ];
6481+
};
64756482
dvaerum = {
64766483
email = "[email protected]";
64776484
github = "dvaerum";
@@ -18700,6 +18707,12 @@
1870018707
github = "pladypus";
1870118708
githubId = 56337621;
1870218709
};
18710+
plamper = {
18711+
name = "Felix Plamper";
18712+
email = "[email protected]";
18713+
github = "plamper";
18714+
githubId = 59016721;
18715+
};
1870318716
plchldr = {
1870418717
email = "[email protected]";
1870518718
github = "plchldr";
@@ -18879,6 +18892,12 @@
1887918892
githubId = 4201956;
1888018893
name = "pongo1231";
1888118894
};
18895+
poopsicles = {
18896+
name = "Fumnanya";
18897+
email = "[email protected]";
18898+
github = "poopsicles";
18899+
githubId = 87488715;
18900+
};
1888218901
PopeRigby = {
1888318902
name = "PopeRigby";
1888418903
github = "poperigby";

maintainers/scripts/update.nix

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
keep-going ? null,
1717
commit ? null,
1818
skip-prompt ? null,
19+
order ? null,
1920
}:
2021

2122
let
@@ -217,6 +218,18 @@ let
217218
to skip prompt:
218219
219220
--argstr skip-prompt true
221+
222+
By default, the updater will update the packages in arbitrary order. Alternately, you can force a specific order based on the packages’ dependency relations:
223+
224+
- Reverse topological order (e.g. {"gnome-text-editor", "gimp"}, {"gtk3", "gtk4"}, {"glib"}) is useful when you want checkout each commit one by one to build each package individually but some of the packages to be updated would cause a mass rebuild for the others. Of course, this requires that none of the updated dependents require a new version of the dependency.
225+
226+
--argstr order reverse-topological
227+
228+
- Topological order (e.g. {"glib"}, {"gtk3", "gtk4"}, {"gnome-text-editor", "gimp"}) is useful when the updated dependents require a new version of updated dependency.
229+
230+
--argstr order topological
231+
232+
Note that sorting requires instantiating each package and then querying Nix store for requisites so it will be pretty slow with large number of packages.
220233
'';
221234

222235
# Transform a matched package into an object for update.py.
@@ -241,7 +254,8 @@ let
241254
lib.optional (max-workers != null) "--max-workers=${max-workers}"
242255
++ lib.optional (keep-going == "true") "--keep-going"
243256
++ lib.optional (commit == "true") "--commit"
244-
++ lib.optional (skip-prompt == "true") "--skip-prompt";
257+
++ lib.optional (skip-prompt == "true") "--skip-prompt"
258+
++ lib.optional (order != null) "--order=${order}";
245259

246260
args = [ packagesJson ] ++ optionalArgs;
247261

0 commit comments

Comments
 (0)