Skip to content

Commit

Permalink
Revert "bazel: Use canonical reproducible load_bazlets rule"
Browse files Browse the repository at this point in the history
This reverts commit 5e3a41a.

Since bazel v6.1.0 the warning about shallow_since has been removed
since it was determined [1] to be potentially harmful to build
performance and reliability.

[1] bazelbuild/bazel#12857

Change-Id: Id9b44d260688b706a15be5df20d5a80e0968c548
  • Loading branch information
Nasser Grainawi committed Feb 6, 2024
1 parent a2feb6c commit 31a72ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//:bazlets.bzl", "load_bazlets")

load_bazlets(
commit = "b6120a9fa50945d38f0a4d55d5879e3ec465c5e5",
shallow_since = "1701477032 -0700",
)

load(
Expand Down
2 changes: 0 additions & 2 deletions bazlets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ NAME = "com_googlesource_gerrit_bazlets"

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(
Expand Down

0 comments on commit 31a72ae

Please sign in to comment.