-
-
Notifications
You must be signed in to change notification settings - Fork 638
Merge main -> release/1.7 #3369
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
cd49a1c
fix(doc): fix the release notes for the starlarkification of the flag…
aignas b9ec06f
chore: switch to use publish-to-bcr workflow (#3359)
rickeylev e487b6d
chore: fix create_archive_and_notes to ignore release tool markers (#…
rickeylev f92ad71
chore: make gazelle bcr tests compatible with bcr presubmit environme…
rickeylev 6f80d34
chore: fix release workflow (#3366)
rickeylev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,9 @@ query --deleted_packages=examples/build_file_generation,examples/build_file_gene | |
|
|
||
| test --test_output=errors | ||
|
|
||
| common --deleted_packages=gazelle/examples/bzlmod_build_file_generation | ||
| common --deleted_packages=gazelle/examples/bzlmod_build_file_generation/runfiles | ||
|
Comment on lines
+12
to
+13
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For better readability and consistency with other parts of this file (like the |
||
|
|
||
| # Do NOT implicitly create empty __init__.py files in the runfiles tree. | ||
| # By default, these are created in every directory containing Python source code | ||
| # or shared libraries, and every parent directory of those directories, | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # Publish new releases to Bazel Central Registry. | ||
| name: Publish to BCR | ||
| on: | ||
| # Run the publish workflow after a successful release | ||
| # Will be triggered from the release.yaml workflow | ||
| workflow_call: | ||
| inputs: | ||
| tag_name: | ||
| required: true | ||
| type: string | ||
| secrets: | ||
| publish_token: | ||
| required: true | ||
| # In case of problems, let release engineers retry by manually dispatching | ||
| # the workflow from the GitHub UI | ||
| workflow_dispatch: | ||
| inputs: | ||
| tag_name: | ||
| description: git tag being released | ||
| required: true | ||
| type: string | ||
| jobs: | ||
| publish: | ||
| uses: bazel-contrib/publish-to-bcr/.github/workflows/[email protected] | ||
| with: | ||
| tag_name: ${{ inputs.tag_name }} | ||
| # GitHub repository which is a fork of the upstream where the Pull Request will be opened. | ||
| registry_fork: bazel-contrib/bazel-central-registry | ||
| attest: false | ||
| permissions: | ||
| contents: write | ||
| secrets: | ||
| # Necessary to push to the BCR fork, and to open a pull request against a registry | ||
| publish_token: ${{ secrets.publish_token || secrets.BCR_PUBLISH_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
examples/bzlmod_build_file_generation/other_module/MODULE.bazel
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| bazel-bin | ||
| bazel-gazelle | ||
| bazel-out | ||
| bazel-testlogs | ||
| examples/bzlmod_build_file_generation/bazel-bin | ||
| examples/bzlmod_build_file_generation/bazel-bzlmod_build_file_generation | ||
| examples/bzlmod_build_file_generation/bazel-out | ||
| examples/bzlmod_build_file_generation/bazel-testlog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
gazelle/examples/bzlmod_build_file_generation/other_module/MODULE.bazel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| module( | ||
| name = "other_module", | ||
| ) | ||
|
|
||
| # Version doesn't matter because the root module overrides it, | ||
| # but Bazel requires it exist in the registry. | ||
| bazel_dep(name = "rules_python", version = "1.0.0") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The newly added
gazelle/.bazelignorefile already handles ignoring these Bazel-generated directories within thegazelle/examples/bzlmod_build_file_generationpath. These entries in the root.bazelignoreare therefore redundant and can be removed to avoid duplication and simplify maintenance.