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

Use release_archive to create java_tools' zips. #12615

Closed
wants to merge 8 commits into from

Conversation

comius
Copy link
Contributor

@comius comius commented Dec 3, 2020

Implementing a release_archive macro, referring to https://github.com/bazelbuild/rules_kotlin/blob/master/kotlin/internal/utils/packager.bzl, however using shells scripts instead of importing @rules_pkg.

Previous implementation had a problem, because there is no sandbox on windows. genrules renaming BUILD files have overwritten main BUILD file when creating Bazel distribution.

Fixes #12578

@google-cla google-cla bot added the cla: yes label Dec 3, 2020
@comius comius requested a review from philwo December 3, 2020 15:27
@comius comius marked this pull request as ready for review December 3, 2020 15:27
@jin jin added the team-Rules-Java Issues for Java rules label Dec 4, 2020
Copy link
Member

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

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

Thanks! This even makes the BUILD files more clean!

src/release_archive.bzl Outdated Show resolved Hide resolved
src/release_archive.bzl Show resolved Hide resolved
comius added a commit to comius/bazel that referenced this pull request Dec 4, 2020
@bazel-io bazel-io closed this in c0809f7 Dec 4, 2020
comius added a commit to comius/bazel that referenced this pull request Dec 4, 2020
bazel-io pushed a commit that referenced this pull request Dec 7, 2020
Github part of #12615

Partial commit for third_party/*, see #12628.

Signed-off-by: Philipp Wollermann <philwo@google.com>
comius added a commit to comius/bazel that referenced this pull request Dec 7, 2020
bazel-io pushed a commit that referenced this pull request Dec 7, 2020
This is third part of #12615
Second part was #12628

Closes #12646.

PiperOrigin-RevId: 346074973
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-Rules-Java Issues for Java rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bazel_bootstrap_distfile_test failing in postsubmit on Windows
3 participants