rzo1 opened a new issue, #2366:
URL: https://github.com/apache/stormcrawler/issues/2366

   The build sets `project.build.outputTimestamp`, and two builds of the same 
commit in the same checkout give the same artifacts. Rebuilding the 
`stormcrawler-4.0.0` tag and comparing with Maven Central (`artifact:compare 
-Dreference.repo=central`) gives 52 of 53 identical files. The one that differs 
is `stormcrawler-docs-4.0.0-docs.tar.gz`: Asciidoctor writes "Last updated" 
with the modification time of the source files into every page, which is 
different in every checkout.
   
   Other things that can make a build differ between machines, so that the 
source release uploaded to ATR or `dist/dev` is not the file staged in Nexus:
   
   - `.gitattributes` only sets `eol=lf` for `*.java`, `*.txt`, `*.xml` and 
`*.json`; checked out on Windows with `core.autocrlf`, the other text files of 
the source release get CRLF
   - six Solr configset XML files are executable in git, and so in the source 
release
   
   Nothing in CI checks reproducibility, and it is not documented. A check like 
the one of the TomEE Jakarta EE API would catch regressions: build the release 
artifacts twice and run `artifact:compare`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to