Skip to content

fix: make module attribute string encoding deterministic#51

Merged
eed3si9n merged 2 commits into
sbt:2.3.x-sbtfrom
raboof:deterministic-module-attribute-string
Jul 10, 2026
Merged

fix: make module attribute string encoding deterministic#51
eed3si9n merged 2 commits into
sbt:2.3.x-sbtfrom
raboof:deterministic-module-attribute-string

Conversation

@raboof

@raboof raboof commented Jul 10, 2026

Copy link
Copy Markdown

This value makes it into the pom.xml's extraDependencyAttributes property, and it'd be good to have this be deterministic: aside from general hygiene, generating them bit-by-bit reproducibly helps validating no malware was sneaked into the artifacts. This is also called 'Reproducible Builds' (https://reproducible-builds.org/)

This value makes it into the `pom.xml`'s `extraDependencyAttributes`
property at least for SBT, and it'd be good to have this be
deterministic: aside from general hygiene, generating them bit-by-bit
reproducibly helps validating no malware was sneaked into the artifacts.
This is also called 'Reproducible Builds' (https://reproducible-builds.org/)
@raboof

raboof commented Jul 10, 2026

Copy link
Copy Markdown
Author

The test failure (BasicURLHandlerTest) seems unrelated?

I didn't manage to run the tests locally (but I did run them when I proposed this upstream, apache/ant-ivy#127)

@eed3si9n

Copy link
Copy Markdown
Member

Removed the bad tests that were hitting unreachable server in #54.

@eed3si9n eed3si9n left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@eed3si9n eed3si9n merged commit 939a7ea into sbt:2.3.x-sbt Jul 10, 2026
1 check passed
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.

2 participants