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 incorrect digest for JVM multiple jvm_artifact(.., jar=..) entries (Cherry-pick of #15571) #15611

Merged
merged 1 commit into from May 23, 2022

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented May 23, 2022

As reported in #15537, multiple jvm_artifact(.., jar=..) entries are not sorted correctly when they are associated with their content.

Snapshots always have sorted contents: to associate files with particular entries, we need to create separate Snapshots per jar.

Fixes #15537.

[ci skip-rust]
[ci skip-build-wheels]

…ies (pantsbuild#15571)

As reported in pantsbuild#15537, multiple `jvm_artifact(.., jar=..)` entries are not sorted correctly when they are associated with their content.

`Snapshot`s always have sorted contents: to associate files with particular entries, we need to create separate `Snapshot`s per jar.

Fixes pantsbuild#15537.

[ci skip-rust]
[ci skip-build-wheels]
@stuhood stuhood added the category:bugfix Bug fixes for released features label May 23, 2022
@stuhood stuhood merged commit ea28a87 into pantsbuild:2.12.x May 23, 2022
@stuhood stuhood deleted the cherry-pick-15571-to-2.12.x branch May 23, 2022 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants