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

fix: Rely on the bazel zipper instead of zip #6462

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

blorente
Copy link
Collaborator

@blorente blorente commented Jun 4, 2024

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

N/A

Description of this change

Not all environments have zip in their path. For instance, some Remote Execution environments like to have very lean workers. Furthermore, we shouldn't rely on all environments having the same version. We replace zip with the bazel jar handler.

We have been using this change internally to build the plugin against our build environment for a few months now.

@github-actions github-actions bot added the awaiting-review Awaiting review from Bazel team on PRs label Jun 4, 2024
@sgowroji sgowroji added product: IntelliJ IntelliJ plugin topic: bazel Bazel integration (external repositories, aspects, flags, etc) labels Jun 4, 2024
Copy link
Collaborator

@agluszak agluszak left a comment

Choose a reason for hiding this comment

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

It's a pity that the bazel zipper requires so many additional steps, but I think it's worth it.

@blorente
Copy link
Collaborator Author

blorente commented Jun 5, 2024

Yeah, it wasn't my happiest PR to write 😅 . There are java tools like jarjar which can do this, but I erred on the side of not introducing another dependency.

@blorente blorente merged commit b890a76 into bazelbuild:master Jun 5, 2024
8 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Jun 5, 2024
@tpasternak
Copy link
Collaborator

ok, now we have #6468

@blorente
Copy link
Collaborator Author

blorente commented Jun 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: IntelliJ IntelliJ plugin topic: bazel Bazel integration (external repositories, aspects, flags, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants