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

[7.5.0] Backport support for all attribute types in Starlark documentation extraction #25093

Merged

Conversation

tetromino
Copy link
Contributor

Previously, we only supported attribute types which could be defined for Starlark rules, with the result that a cherry-pick in the 7.x branch exposing a formerly native-only attribute type to Starlark broke Stardoc: bazelbuild/stardoc#277

Instead of picking and choosing, let's support all attribute types, same as we already do in Bazel 8 and newer.

Cherry-pick of a subset of changes in commit
1ce4ab1

PiperOrigin-RevId: 675169119
Change-Id: I6541a5eb99d6257339032850d360d2da4bd5aeb4

@tetromino tetromino added the team-Starlark-Integration Issues involving Bazel's integration with Starlark, excluding builtin symbols label Jan 27, 2025
@tetromino tetromino added this to the 7.5.0 release blockers milestone Jan 27, 2025
@tetromino tetromino requested a review from a team as a code owner January 27, 2025 20:40
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Jan 27, 2025
…ation extraction

Previously, we only supported attribute types which could be defined for
Starlark rules, with the result that a cherry-pick in the 7.x branch
exposing a formerly native-only attribute type to Starlark broke
Stardoc: bazelbuild/stardoc#277

Instead of picking and choosing, let's support all attribute types, same
as we already do in Bazel 8 and newer.

Cherry-pick of a subset of changes in commit
bazelbuild@1ce4ab1

PiperOrigin-RevId: 675169119
Change-Id: I6541a5eb99d6257339032850d360d2da4bd5aeb4
@tetromino tetromino force-pushed the release-7.5.0-stardoc branch from 0d68055 to 4cf3a30 Compare January 27, 2025 20:44
@iancha1992 iancha1992 enabled auto-merge January 27, 2025 22:19
@iancha1992 iancha1992 added this pull request to the merge queue Jan 27, 2025
Merged via the queue into bazelbuild:release-7.5.0 with commit c6aaa3e Jan 27, 2025
50 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Starlark-Integration Issues involving Bazel's integration with Starlark, excluding builtin symbols
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants