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

releaser: turn off upload to mirror by default #3677

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

sluongng
Copy link
Contributor

@sluongng sluongng commented Sep 5, 2023

Most rules_go maintainers do not have direct access to Bazel team's
GSC bucket to upload this mirror. Let's disable it by default for
eventually removal.

Mirroring should be done by filing a requests in Bazel.git's Github
issues.

What type of PR is this?

Uncomment one line below and remove others.

Bug fix
Feature
Documentation
Other

What does this PR do? Why is it needed?

Which issues(s) does this PR fix?

Fixes #

Other notes for review

@fmeum
Copy link
Member

fmeum commented Sep 5, 2023

I actually think that none of us have access. Thanks for the cleanup! Could you also update the wiki page on releases?

@sluongng
Copy link
Contributor Author

sluongng commented Sep 5, 2023

Not quite sure why CI failed. Looks unrelated to the change?

Could you also update the wiki page on releases?

I updated it just now. No need to wait for release as no manual mirroring should be done here :P

@fmeum
Copy link
Member

fmeum commented Sep 5, 2023

GitHub Actions and seemingly also code downloads are experiencing issues, I will retry later.

sluongng added a commit to sluongng/rules_go that referenced this pull request Sep 5, 2023
Upgrade was done with

```bash
> bazel run go/tools/releaser -- upgrade-dep org_golang_x_tools
```

after the patch in bazel-contrib#3677.

---

A few additional updates needed for this to work:

- Update to `tests/integration/popular_repos` to remove unused packages
- Update to `nogo` to use the new interface of x/tools

Because this upgrade is NOT backward compatible (by design of x/tools
repo), downstream users of rules_go are advised to upgrade `x/tools`
version in their repo to v0.12.0 or later to avoid breakages.
sluongng added a commit to sluongng/rules_go that referenced this pull request Sep 5, 2023
Upgrade was done with

```bash
> bazel run go/tools/releaser -- upgrade-dep org_golang_x_tools
```

after the patch in bazel-contrib#3677.

---

A few additional updates needed for this to work:

- Update to `tests/integration/popular_repos` to remove unused packages
- Update to `nogo` to use the new interface of x/tools

Because this upgrade is NOT backward compatible (by design of x/tools
repo), downstream users of rules_go are advised to upgrade `x/tools`
version in their repo to v0.12.0 or later to avoid breakages.
Most rules_go maintainers do not have direct access to Bazel team's
GSC bucket to upload this mirror. Let's disable it by default for
eventually removal.

Mirroring should be done by filing a requests in Bazel.git's Github
issues.
@fmeum fmeum force-pushed the sluongng/releaser-no-gsutil branch from 8b1ef41 to e9295ee Compare September 6, 2023 10:13
@fmeum fmeum enabled auto-merge (squash) September 6, 2023 10:13
@fmeum fmeum merged commit 4526df1 into bazel-contrib:master Sep 6, 2023
1 check passed
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.

2 participants