Commit Graph

7 Commits

Author SHA1 Message Date
nicoo
4ebe4a2089 maintainers/scripts/sha-to-sri: ignore gemset.nix files 2024-09-15 11:24:30 +02:00
nicoo
9259479c42 maintainers/scripts/sha-to-sri: minor efficiency improvement of the Nix32 decoder 2024-09-13 14:11:34 +00:00
nicoo
e079a279f4 maintainers/scripts/sha-to-sri: drop unused imports 2024-09-13 10:06:36 +00:00
nicoo
bf6b5f7f85 maintainers/scripts/sha-to-sri: accept directories as input
Doesn't skip files passed as CLI arguments based on their name anymore,
since bulk changes can now be done without resorting to `xargs` or equivalent.
2024-09-13 10:06:36 +00:00
nicoo
915799a2b9 maintainers/scripts/sha-to-sri: fix file-descriptor leak 2024-09-13 10:06:35 +00:00
nicoo
c425822e17 maintainers/scripts/sha-to-sri: format 2024-09-13 10:03:00 +00:00
nicoo
6b2889e87a maintainers/scripts/sha256-to-SRI.py: rename to sha-to-sri.py
Add support for `sha512`, refactor to easily add hash functions in the future.

Also, skip autogenerated files.
2023-09-22 18:37:24 +02:00