[ https://issues.apache.org/jira/browse/CASSANDRA-20495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939269#comment-17939269 ]
Stefan Miklosovic edited comment on CASSANDRA-20495 at 3/28/25 4:39 PM: ------------------------------------------------------------------------ another source of entropy is "src/resources/org/apache/cassandra/config/version.properties" where it had header where timestamp was changing as it contained the date when it was generated. If a static header is used, as shown below, with comment like that {code} <propertyfile file="${version.properties.dir}/version.properties" comment="Auto-generated, do not modify!"> <entry key="CassandraVersion" value="${version}"/> <entry key="GitSHA" value="${git.sha}"/> <entry key="BuildDate" value="${build.date}"/> </propertyfile> {code} then I got the same jars when it comes to their sizes for the first time, but their content seem to be still somehow re-ordered. same-file-sizes-inside-bin-tarball.html shows that. was (Author: smiklosovic): another source of entropy is "src/resources/org/apache/cassandra/config/version.properties" where it had header where timestamp was changing as it contained the date where it was generated. If a static header is used, as shown below, with comment like that {code} <propertyfile file="${version.properties.dir}/version.properties" comment="Auto-generated, do not modify!"> <entry key="CassandraVersion" value="${version}"/> <entry key="GitSHA" value="${git.sha}"/> <entry key="BuildDate" value="${build.date}"/> </propertyfile> {code} then I got the same jars when it comes to their sizes for the first time, but their content seem to be still somehow re-ordered. same-file-sizes-inside-bin-tarball.html shows that. > Investigate what blocks us from having bit-by-bit reproducible builds / > release tarballs > ---------------------------------------------------------------------------------------- > > Key: CASSANDRA-20495 > URL: https://issues.apache.org/jira/browse/CASSANDRA-20495 > Project: Apache Cassandra > Issue Type: Task > Reporter: Stefan Miklosovic > Assignee: Stefan Miklosovic > Priority: Normal > Attachments: diffoscope-cassandra-bin-tarball.html, > diffoscope-cassandra-src-tarball.html, same-file-sizes-inside-bin-tarball.html > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org