Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel: add pkg/cmd/mirror #72304

Merged
merged 1 commit into from
Nov 8, 2021
Merged

bazel: add pkg/cmd/mirror #72304

merged 1 commit into from
Nov 8, 2021

Conversation

rickystewart
Copy link
Collaborator

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

@rickystewart rickystewart requested a review from a team as a code owner November 1, 2021 22:36
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rickystewart rickystewart force-pushed the newdeps branch 2 times, most recently from 963ceec to aa18d2a Compare November 3, 2021 16:00
@rickystewart rickystewart requested a review from rail November 3, 2021 16:01
@rickystewart rickystewart force-pushed the newdeps branch 2 times, most recently from 13aa7bc to 3f728c9 Compare November 3, 2021 21:04
Copy link
Member

@rail rail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 7 of 12 files at r1, 6 of 6 files at r2, 1 of 2 files at r3, 2 of 2 files at r4, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rickystewart)

@rickystewart
Copy link
Collaborator Author

bors r=rail

@craig
Copy link
Contributor

craig bot commented Nov 4, 2021

Build failed (retrying...):

craig bot pushed a commit that referenced this pull request Nov 4, 2021
72304: bazel: add `pkg/cmd/mirror` r=rail a=rickystewart

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

72353: *: fix improperly wrapped errors r=otan,RaduBerinde,stevendanna a=rafiss

refs #42510

I'm working on a linter that detects errors that are not wrapped
correctly, and it discovered these.

Release note: None

72417: sql: add unit tests for creating default privileges r=ajwerner a=RichardJCai

Adding some unit test coverage so we don't hit bugs like this again.
#72322

Release note: None

Co-authored-by: Ricky Stewart <[email protected]>
Co-authored-by: Rafi Shamim <[email protected]>
Co-authored-by: richardjcai <[email protected]>
Co-authored-by: Richard Cai <[email protected]>
@craig
Copy link
Contributor

craig bot commented Nov 4, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Nov 4, 2021

Build failed:

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 significant way .)

Release note: None
@rickystewart
Copy link
Collaborator Author

Lint failures aren't going away. I'm excluding pkg/cmd/mirror/mirror.go from consideration by TestStaticCheck until we can figure it out. 🤷

#72521

@rickystewart
Copy link
Collaborator Author

bors r=rail

@craig
Copy link
Contributor

craig bot commented Nov 8, 2021

Build succeeded:

@craig craig bot merged commit 32d82ec into cockroachdb:master Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants