tvl-depot/tools
Vincent Ambo 2464ea7303 fix(nixery): allow references to packages starting with numbers
These packages are invalid in Nix, and worked around in nixpkgs with
underscores, but the underscores are invalid in the Docker registry
protocol.

We work around this by detecting this case and adding the underscore
to yield the correct package reference. There is no case where this
workaround can break something, as there can be no valid package
matching the regular expression.

This relates to https://github.com/tazjin/nixery/issues/158

Change-Id: I7990cdb534a8e86c2ceee2c589a2636af70a4a03
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8531
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
2023-04-29 11:49:02 +00:00
..
checks fix(tools/checks): Minor typo fix 2022-06-07 10:46:15 +00:00
cheddar chore(tools/cheddar): bump to syntect 5.0 2023-01-07 08:02:37 +00:00
emacs-pkgs feat(emacs-pkgs/tvl): allow starting sly only including dependencies 2023-04-07 09:32:38 +00:00
magrathea fix(tools/mg): Support applying args to mg run (empty-target) 2022-11-26 15:20:24 +00:00
nixery fix(nixery): allow references to packages starting with numbers 2023-04-29 11:49:02 +00:00
nsfv-setup style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
releases fix(views/kit): communicate :unsign in the tvl-kit URL directly 2023-03-31 08:46:01 +00:00
rust-crates-advisory fix(ops/pipelines): explicitly set contexts for annotations 2022-12-28 16:35:20 +00:00
crfo-approve.nix feat(tools/crfo-approve): Add tool for CRFO depot-interventions 2022-02-07 19:12:31 +00:00
depot-deps.nix feat(tools/fetch-depot-inbox): wrapper script to fetch depot maildir 2022-12-28 08:17:45 +00:00
depotfmt.nix chore(3p/sources): Bump channels & overlays (OpenSSL edition) 2022-11-03 15:10:39 +00:00
eprintf.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
fetch-depot-inbox.nix feat(tools/fetch-depot-inbox): wrapper script to fetch depot maildir 2022-12-28 08:17:45 +00:00
gerrit-cli.nix fix(gerrit-cli): don't output the path to SSH if it's on the path 2020-06-21 23:49:30 +00:00
gerrit-update.nix feat(gerrit-update): Add helper script for updating Gerrit schema 2020-11-29 11:50:58 +00:00
hash-password.nix test(tools/hash-password): ensure that script can execute correctly 2022-05-27 23:48:37 +00:00
perf-flamegraph.nix fix(tools/perf-flamegraph): Get rid of most 'unknown's 2020-07-16 00:37:29 +00:00