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

refactor: drop support for Bazel 5 #1589

Merged
merged 1 commit into from
Apr 3, 2024
Merged

refactor: drop support for Bazel 5 #1589

merged 1 commit into from
Apr 3, 2024

Conversation

gregmagolan
Copy link
Member

@gregmagolan gregmagolan commented Apr 3, 2024

Dropping Bazel 5 support allows for many simplifications:

  • Assume that unresolved symlinks are supported (added in Bazel 6) so remove support for legacy ctx.actions.declare_file + ctx.actions.symlink in favor of ctx.actions.declare_symlink. Rules no longer have to take a unresolved_symlinks_enabled or use_declare_symlink parameter.

  • Remove legacy node fs patches which were required for how Bazel 5 layed out symlinks in runfiles and the sandbox.

  • Remove all uses of consistent_label_str since Bazel 5 was the version with inconsistent labels compared to Bazel 6 & 7

  • We can assume labels that start with @@ are support since that support was added with bzlmod in Bazel 6

pnpm-lock.yaml Outdated Show resolved Hide resolved
@gregmagolan gregmagolan merged commit b7bfff3 into 2.x Apr 3, 2024
2 checks passed
@gregmagolan gregmagolan deleted the rjs2_24 branch April 3, 2024 17:04
gregmagolan added a commit that referenced this pull request Apr 4, 2024
gregmagolan added a commit that referenced this pull request Apr 6, 2024
gregmagolan added a commit that referenced this pull request Apr 7, 2024
jbedard pushed a commit that referenced this pull request Apr 9, 2024
gregmagolan added a commit that referenced this pull request Apr 9, 2024
gregmagolan added a commit that referenced this pull request Apr 13, 2024
gregmagolan added a commit that referenced this pull request Apr 13, 2024
gregmagolan added a commit that referenced this pull request Apr 15, 2024
gregmagolan added a commit that referenced this pull request Apr 19, 2024
jbedard pushed a commit that referenced this pull request Apr 19, 2024
gregmagolan added a commit that referenced this pull request Apr 20, 2024
gregmagolan added a commit that referenced this pull request Apr 21, 2024
gregmagolan added a commit that referenced this pull request Apr 21, 2024
gregmagolan added a commit that referenced this pull request Apr 22, 2024
gregmagolan added a commit that referenced this pull request Apr 23, 2024
gregmagolan added a commit that referenced this pull request Apr 24, 2024
gregmagolan added a commit that referenced this pull request Apr 26, 2024
gregmagolan added a commit that referenced this pull request Apr 28, 2024
gregmagolan added a commit that referenced this pull request Apr 28, 2024
@gregmagolan gregmagolan mentioned this pull request Apr 29, 2024
21 tasks
gregmagolan added a commit that referenced this pull request Apr 29, 2024
gregmagolan added a commit that referenced this pull request May 6, 2024
jbedard pushed a commit that referenced this pull request May 6, 2024
gregmagolan added a commit that referenced this pull request May 7, 2024
gregmagolan added a commit that referenced this pull request May 7, 2024
gregmagolan added a commit that referenced this pull request May 7, 2024
jbedard pushed a commit that referenced this pull request May 8, 2024
gregmagolan added a commit that referenced this pull request May 10, 2024
gregmagolan added a commit that referenced this pull request May 13, 2024
jbedard pushed a commit to jbedard/rules_js that referenced this pull request May 14, 2024
jbedard pushed a commit to jbedard/rules_js that referenced this pull request May 16, 2024
gregmagolan added a commit that referenced this pull request May 20, 2024
gregmagolan added a commit that referenced this pull request May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants