about summary refs log tree commit diff
path: root/tools/depot-deps.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-06-22T11·41+0200
committersterni <sternenseemann@systemli.org>2023-07-05T12·37+0000
commita72e67c8affff575c4c55ac56596b04c3704152f (patch)
tree70422c4219291111fc19d7f5433fe28352cc0d54 /tools/depot-deps.nix
parentaa2f1bbc69d456ca2af06e233e58f13c9cfa533f (diff)
feat(tools/git-r): git subcommand to display r/numbers for commits r/6392
Sadly, this can't quite be an alias (which would be difficult to
automatically set up anyways), since we want to check if an r/number is
part of the (upstream) canon branch.

The test script for the subcommand doubles up as a soundness check for
our pipelines ref creation.

Change-Id: I840af6556e50187c69490668bd8a18dd7dc25a86
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8844
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tools/depot-deps.nix')
-rw-r--r--tools/depot-deps.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/depot-deps.nix b/tools/depot-deps.nix
index 60af9f1378..480b8c2f7c 100644
--- a/tools/depot-deps.nix
+++ b/tools/depot-deps.nix
@@ -7,6 +7,7 @@ depot.nix.lazy-deps {
   age.attr = "third_party.nixpkgs.age";
   depotfmt.attr = "tools.depotfmt";
   fetch-depot-inbox.attr = "tools.fetch-depot-inbox";
+  git-r.attr = "tools.git-r";
   gerrit-update.attr = "tools.gerrit-update";
   gerrit.attr = "tools.gerrit-cli";
   hash-password.attr = "tools.hash-password";