Skip to content

Commit

Permalink
Speed up downloading of @go_googleapis by using http_archive. (#1603)
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
EdSchouten authored and jayconrod committed Jul 26, 2018
1 parent ca7c7f5 commit 664de13
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 2018-07-01
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 664de13

Please sign in to comment.