You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "algomaster99 (via GitHub)" <gi...@apache.org> on 2025/01/28 18:50:30 UTC

[I] [Feature] how to fix reproducible issues in the latest release `1.0.0`? [paimon]

algomaster99 opened a new issue, #5002:
URL: https://github.com/apache/paimon/issues/5002

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.
   
   
   ### Motivation
   
   I am looking into why builds are not reproducible and I was investigating this project `v1.0.0`. I was not able to reproduce the artifact `paimon-format-1.0.0-sources.jar` because it seems i[t has one file, `org/apache/parquet/filter2/compat/`, less than the reference version on Maven central](https://github.com/jvm-repo-rebuild/reproducible-central/blob/329fd7e4d7721cf7ea85fe203fadfb884be13fa9/content/org/apache/paimon/paimon-parent-1.0.0.diffoscope#L47-L68). Maybe I am missing something from build command that the scripts are using as HervÄ— suggests?
   The `mvn` command that the scripts run:
   ```
   mvn -Papache-release clean package -DskipTests -Dmaven.javadoc.skip -Dgpg.skip -Dexec.skip \
       -V -e org.apache.maven.plugins:maven-artifact-plugin:3.6.0:compare org.apache.maven.plugins:maven-artifact-plugin:3.6.0:describe-build-output -Dbuildinfo.reproducible -Dcompare.fail=false 
   ```
   First line is specific to this project and the second line is specific to verifying the artifacts generated.
   
   ### Solution
   
   _No response_
   
   ### Anything else?
   
   This PR is related to https://github.com/apache/paimon/pull/3719 and all preceding PRs related to reproducibility. I hope this is the right template for to ask for such kind of help :)
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature] how to fix reproducible issues in the latest release `1.0.0`? [paimon]

Posted by "algomaster99 (via GitHub)" <gi...@apache.org>.
algomaster99 commented on issue #5002:
URL: https://github.com/apache/paimon/issues/5002#issuecomment-2652052837

   This is possible if `git checkout` deletes all files in a certain directory. `git` does not track directory but they are on the filesystem and hence they are compressed into the archive. I am assuming that during the release the empty directory `org/apache/parquet/filter2/compat/` existed on filesystem.
   
   cc @hboutemy 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature] how to fix reproducible issues in the latest release `1.0.0`? [paimon]

Posted by "algomaster99 (via GitHub)" <gi...@apache.org>.
algomaster99 closed issue #5002: [Feature] how to fix reproducible issues in the latest release `1.0.0`?
URL: https://github.com/apache/paimon/issues/5002


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org