bazel: Use canonical reproducible load_bazlets rule This silences the debug message: Rule 'com_googlesource_gerrit_bazlets' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since Change-Id: I5b0e335fb2eaa1216b35aec81946a2272f703b10
diff --git a/WORKSPACE b/WORKSPACE index ce95fe6..0cab5f6 100644 --- a/WORKSPACE +++ b/WORKSPACE
@@ -6,6 +6,7 @@ load_bazlets( commit = "b6120a9fa50945d38f0a4d55d5879e3ec465c5e5", + shallow_since = "1701477032 -0700", #local_path = "/home/<user>/projects/bazlets", )
diff --git a/bazlets.bzl b/bazlets.bzl index f089af4..457bfec 100644 --- a/bazlets.bzl +++ b/bazlets.bzl
@@ -4,12 +4,14 @@ def load_bazlets( commit, + shallow_since = None, local_path = None): if not local_path: git_repository( name = NAME, remote = "https://gerrit.googlesource.com/bazlets", commit = commit, + shallow_since = shallow_since, ) else: native.local_repository(