#1144066 redmine: please make the build reproducible

#1144066#5
Date:
2026-08-10 15:14:18 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
redmine could not be built reproducibly.

This is because the testsuite bumps the modification time of the
db/ directory to the current time (which later gets clamped
back to SOURCE_DATE_EPOCH), so if the tests are skipped via nocheck,
then this directory will retain its original, upstream timestamp.

Patch attached that ensures this directory always has the same
timestamp, regardless of whether the tests are run or not.

 [0] https://reproducible-builds.org/


Regards,

#1144066#10
Date:
2026-08-10 18:00:13 UTC
From:
To:
Thanks for the patch.  I will take a look at this for the next upload.

Out of curiosity, does this only affect the version in unstable, or does
redmine’s test suite do the same thing in stable (the test suites have changed
quite a bit between the two versions)?

#1144066#15
Date:
2026-08-10 18:14:45 UTC
From:
To:
Hi Soren,

It only affects the version in unstable AFAICT.


Regards,