Skip to content

Commit

Permalink
Speed up downloading of @go_googleapis by using http_archive.
Browse files Browse the repository at this point in the history
The googleapis repository seems to be of such a size that it takes a
long time to clone on a link with lower bandwidth. So long, in fact,
that it causes timeouts in my case.
  • Loading branch information
Ed Schouten committed Jul 26, 2018
1 parent 0bf340e commit 1d5e8a2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions go/private/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,12 @@ def go_rules_dependencies():
# importpath = "google.golang.org/genproto",
)
_maybe(
git_repository,
http_archive,
name = "go_googleapis",
remote = "https://github.com/googleapis/googleapis",
commit = "6a3277c0656219174ff7c345f31fb20a90b30b97", # master as of 2018-07-01
# master, as of 2017-08-14
urls = ["https://codeload.github.com/googleapis/googleapis/zip/6a3277c0656219174ff7c345f31fb20a90b30b97"],
strip_prefix = "googleapis-6a3277c0656219174ff7c345f31fb20a90b30b97",
type = "zip",
overlay = manifest["go_googleapis"],
)

Expand Down

0 comments on commit 1d5e8a2

Please sign in to comment.