Commit Graph

5 Commits

Author SHA1 Message Date
nicoo
8dcbced52a maintainers/scripts/remove-old-aliases: Drop pkgs. prefix if present
This should provide nicer `throw` messages, and avoid back-and-forth like
	https://github.com/NixOS/nixpkgs/pull/254418#discussion_r1322076574
2023-09-12 11:41:36 +00:00
Lily Foster
61c2c744a1
maintainers/scripts/remove-old-aliases.py: support quoted attrset keys 2023-05-04 19:08:47 -04:00
Artturin
52aa495303 maintainers/scripts/remove-old-aliases.py: add option to only operate on
throws
2022-03-27 19:47:48 +03:00
Artturin
6ebf051cc0 maintainers/scripts/remove-old-aliases.py: ignore lines which have 'preserve, reason:' in them 2022-03-08 21:18:22 +02:00
Artturin
0db4ecb8af maintainers/scripts/remove-old-aliases.py: script to remove old aliases
usage
'./maintainers/scripts/remove-old-aliases.py --year 2018 --file ./pkgs/top-level/aliases.nix'
first the matched lines are converted to throws with the comment
'Converted to throw $CURRENT_DATE'

then the throws older than the passed date are removed.
2022-02-21 08:40:39 +02:00