Skip to content

Commit

Permalink
bazel: add pkg/cmd/mirror
Browse files Browse the repository at this point in the history
This tool will be extended with functionality to mirror Go module ZIP's
to cloud storage. For now, the mirroring functionality is missing, so
we just generate the `DEPS.bzl` content in much the same way as
`gazelle update-repos` does. (This doesn't change the content of
`DEPS.bzl` in any way besides alphabetizing the contents.)

Release note: None
  • Loading branch information
rickystewart committed Nov 3, 2021
1 parent dc120d6 commit 13aa7bc
Show file tree
Hide file tree
Showing 13 changed files with 367 additions and 252 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
/pkg/cmd/gossipsim/ @cockroachdb/kv-prs
/pkg/cmd/import-tools/ @cockroachdb/dev-inf
/pkg/cmd/internal/issues/ @cockroachdb/test-eng
/pkg/cmd/mirror/ @cockroachdb/dev-inf
/pkg/cmd/prereqs/ @cockroachdb/dev-inf
/pkg/cmd/protoc-gen-gogoroach/ @cockroachdb/server-prs
/pkg/cmd/publish-artifacts/ @cockroachdb/dev-inf
Expand Down
5 changes: 5 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
exports_files([
"go.mod",
"go.sum",
])

load("@bazel_gazelle//:def.bzl", "gazelle")

# The following directives inform gazelle how to auto-generate BUILD.bazel
Expand Down
Loading

0 comments on commit 13aa7bc

Please sign in to comment.