Commit Graph

3 Commits

Author SHA1 Message Date
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