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

Show display form labels in java_* buildozer fixups #21827

Closed
wants to merge 2 commits into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Mar 27, 2024

The change in #21702 only fixed the buildozer fixup messages for java_* actions entirely defined in Starlark. This commit makes the analogous change to the remaining native actions.

Related to #20486 and #21702

@fmeum fmeum force-pushed the 20486-native-label-args branch 4 times, most recently from 5928716 to 04f69a2 Compare March 27, 2024 15:15
@fmeum
Copy link
Collaborator Author

fmeum commented Mar 27, 2024

Stacked on #21702

@fmeum fmeum force-pushed the 20486-native-label-args branch from 04f69a2 to 098bacf Compare March 27, 2024 15:25
@fmeum fmeum marked this pull request as ready for review March 27, 2024 15:54
@fmeum fmeum requested review from a team and lberki as code owners March 27, 2024 15:54
@fmeum fmeum requested review from gregestren and justinhorvitz and removed request for a team, lberki and gregestren March 27, 2024 15:54
@github-actions github-actions bot added team-Configurability platforms, toolchains, cquery, select(), config transitions team-Rules-Java Issues for Java rules awaiting-review PR is awaiting review from an assigned reviewer labels Mar 27, 2024
@justinhorvitz
Copy link
Contributor

Can you sync to pick up 9d3a8b0?

@fmeum fmeum force-pushed the 20486-native-label-args branch from 098bacf to 04c53a0 Compare April 1, 2024 21:58
@fmeum
Copy link
Collaborator Author

fmeum commented Apr 1, 2024

Can you sync to pick up 9d3a8b0?

Done

* Concatenates the passed prefix string and the label using {@link Label#getDisplayForm}, which
* is identical to {@link Label#getCanonicalForm()} for main repo labels.
*/
public Builder addPrefixedLabel(
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add @CanIgnoreReturnValue to all the Builder-returning public methods, or else our ErrorProne checks are going to spam us.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I added annotations to all methods, not just the ones I added (hope that's what you meant).

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes thanks

@fmeum fmeum requested a review from justinhorvitz April 5, 2024 14:45
@fmeum
Copy link
Collaborator Author

fmeum commented Apr 5, 2024

@bazel-io fork 7.2.0

@sgowroji
Copy link
Member

sgowroji commented Apr 8, 2024

Hi @justinhorvitz, Since i can see that this PR has been approved, Please let me know whether i should proceed with importing it. Thanks!

@fmeum fmeum requested a review from justinhorvitz April 9, 2024 11:21
@justinhorvitz
Copy link
Contributor

Yes please, ready for import.

@sgowroji sgowroji added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Apr 9, 2024
@copybara-service copybara-service bot closed this in 1c99866 Apr 9, 2024
iancha1992 pushed a commit to iancha1992/bazel that referenced this pull request Apr 9, 2024
The change in bazelbuild#21702 only fixed the buildozer fixup messages for `java_*` actions entirely defined in Starlark. This commit makes the analogous change to the remaining native actions.

Related to bazelbuild#20486 and bazelbuild#21702

Closes bazelbuild#21827.

PiperOrigin-RevId: 623253302
Change-Id: Iadc2b0d8ce64f359b921ad7a7c489111a3a29997
fmeum added a commit to fmeum/bazel that referenced this pull request Apr 10, 2024
The change in bazelbuild#21702 only fixed the buildozer fixup messages for `java_*` actions entirely defined in Starlark. This commit makes the analogous change to the remaining native actions.

Related to bazelbuild#20486 and bazelbuild#21702

Closes bazelbuild#21827.

PiperOrigin-RevId: 623253302
Change-Id: Iadc2b0d8ce64f359b921ad7a7c489111a3a29997
fmeum added a commit to fmeum/bazel that referenced this pull request Apr 10, 2024
The change in bazelbuild#21702 only fixed the buildozer fixup messages for `java_*` actions entirely defined in Starlark. This commit makes the analogous change to the remaining native actions.

Related to bazelbuild#20486 and bazelbuild#21702

Closes bazelbuild#21827.

PiperOrigin-RevId: 623253302
Change-Id: Iadc2b0d8ce64f359b921ad7a7c489111a3a29997
@fmeum fmeum deleted the 20486-native-label-args branch April 10, 2024 14:47
@sgowroji sgowroji removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Apr 26, 2024
Kila2 pushed a commit to Kila2/bazel that referenced this pull request May 13, 2024
The change in bazelbuild#21702 only fixed the buildozer fixup messages for `java_*` actions entirely defined in Starlark. This commit makes the analogous change to the remaining native actions.

Related to bazelbuild#20486 and bazelbuild#21702

Closes bazelbuild#21827.

PiperOrigin-RevId: 623253302
Change-Id: Iadc2b0d8ce64f359b921ad7a7c489111a3a29997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Configurability platforms, toolchains, cquery, select(), config transitions team-Rules-Java Issues for Java rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants