Emily
c5b82e49b3
aliases: add warnAlias
2025-10-28 18:38:09 +00:00
Michael Daniels
48f92d0ea5
maintainers/scripts/remove-old-aliases: add support for creating warnings
...
Also revert the addition of the "elif '"' in line:" condition:
lines with quotes are generally OK.
Co-authored-by: Emily <vcs@emily.moe>
2025-10-27 02:44:23 +00:00
Peder Bergebakken Sundt
2d3f108bb6
maintainers/scripts/remove-old-aliases: handle inherit (x) y;
...
Man this script is not very nice
2025-10-26 14:55:07 -04:00
Peder Bergebakken Sundt
66737dcdb4
maintainers/scripts/remove-old-aliases: detect and avoid more complex cases
2025-10-26 14:55:07 -04:00
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