3 This folder contains various executable scripts for nixpkgs maintainers,
4 and supporting data or nixlang files as needed.
5 These scripts generally aren't a stable interface and may changed or be removed.
7 What follows is a (very incomplete) overview of available scripts.
12 ### `check-by-name.sh`
14 An alias for `pkgs/test/check-by-name/run-local.sh`, see [documentation](../../pkgs/test/check-by-name/README.md).
16 ### `get-maintainer.sh`
18 `get-maintainer.sh [selector] value` returns a JSON object describing
19 a given nixpkgs maintainer, equivalent to `lib.maintainers.${x} // { handle = x; }`.
21 This allows looking up a maintainer's attrset (including GitHub and Matrix
22 handles, email address etc.) based on any of their handles, more correctly and
23 robustly than text search through `maintainers-list.nix`.
26 ❯ ./get-maintainer.sh nicoo
28 "email": "nicoo@debian.org",
33 "fingerprint": "E44E 9EA5 4B8E 256A FB73 49D3 EC9D 3708 72BC 7A8C"
40 ❯ ./get-maintainer.sh name 'Silvan Mosberger'
42 "email": "contact@infinisil.com",
43 "github": "infinisil",
47 "fingerprint": "6C2B 55D4 4E04 8266 6B7D DA1A 422E 9EDA E015 7170"
50 "matrix": "@infinisil:matrix.org",
51 "name": "Silvan Mosberger",
56 The maintainer is designated by a `selector` which must be one of:
57 - `handle` (default): the maintainer's attribute name in `lib.maintainers`;
58 - `email`, `name`, `github`, `githubId`, `matrix`, `name`:
59 attributes of the maintainer's object, matched exactly;
60 see [`maintainer-list.nix`] for the fields' definition.
62 [`maintainer-list.nix`]: ../maintainer-list.nix