Skip to content

refactor: drop support for Bazel 5#1589

Merged
gregmagolan merged 1 commit into
2.xfrom
rjs2_24
Apr 3, 2024
Merged

refactor: drop support for Bazel 5#1589
gregmagolan merged 1 commit into
2.xfrom
rjs2_24

Conversation

@gregmagolan

@gregmagolan gregmagolan commented Apr 3, 2024

Copy link
Copy Markdown
Member

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

Comment thread npm/private/utils.bzl
Comment thread pnpm-lock.yaml
Comment thread js/private/test/BUILD.bazel
Comment thread npm/private/npm_translate_lock_state.bzl
@gregmagolan gregmagolan merged commit b7bfff3 into 2.x Apr 3, 2024
@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

None yet

Development

Successfully merging this pull request may close these issues.

3 participants