mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ci: First-class team package maintainer review requests
Co-Authored-By: Alexander Bantyev <alexander.bantyev@tweag.io>
This commit is contained in:
parent
f700ceeb3a
commit
193deb8533
6 changed files with 243 additions and 109 deletions
|
|
@ -161,12 +161,13 @@ let
|
|||
);
|
||||
|
||||
inherit
|
||||
(callPackage ./maintainers.nix { } {
|
||||
(callPackage ./maintainers.nix {
|
||||
changedattrs = lib.attrNames (lib.groupBy (a: a.name) changedPackagePlatformAttrs);
|
||||
changedpathsjson = touchedFilesJson;
|
||||
removedattrs = lib.attrNames (lib.groupBy (a: a.name) removedPackagePlatformAttrs);
|
||||
})
|
||||
maintainers
|
||||
users
|
||||
teams
|
||||
packages
|
||||
;
|
||||
in
|
||||
|
|
@ -178,10 +179,12 @@ runCommand "compare"
|
|||
cmp-stats
|
||||
codeowners
|
||||
];
|
||||
maintainers = builtins.toJSON maintainers;
|
||||
users = builtins.toJSON users;
|
||||
teams = builtins.toJSON teams;
|
||||
packages = builtins.toJSON packages;
|
||||
passAsFile = [
|
||||
"maintainers"
|
||||
"users"
|
||||
"teams"
|
||||
"packages"
|
||||
];
|
||||
}
|
||||
|
|
@ -262,6 +265,7 @@ runCommand "compare"
|
|||
|
||||
done
|
||||
|
||||
cp "$maintainersPath" "$out/maintainers.json"
|
||||
cp "$usersPath" "$out/maintainers.json"
|
||||
cp "$teamsPath" "$out/teams.json"
|
||||
cp "$packagesPath" "$out/packages.json"
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue