News for hackers. Stuff that matters.
Re:Debian bookworm live images now reproducible by echoangle on Wednesday March 26, 2025 @02:38PM (#43485379)
Maybe dumb question but why would this change the reproducibility? If you clone a git repo, do you not get the meta data as it is stored in git? Or would the files have the modification date of the cloning?

I never actually checked that.

Re:Debian bookworm live images now reproducible by mathfailure on Wednesday March 26, 2025 @02:40PM (#43485393)
You clone source from git, but then you use them to build some artifacts. The artifacts build time may differ, yet with reproducible builds - the artifact should match.
Re:Debian bookworm live images now reproducible by echoangle on Wednesday March 26, 2025 @03:15PM (#43485852)
Right, but if you only clone and build, why would the files modification date be different compared to the version that was committed to git? Does just cloning a repo already lead to different file modification dates in my local copy?
Re:Debian bookworm live images now reproducible by hoten on Wednesday March 26, 2025 @03:22PM (#43485956)
Git does not store or restore file modification times.
Re:Debian bookworm live images now reproducible by codetrotter on Wednesday March 26, 2025 @03:29PM (#43486058)
And the reason for that in turn is because if you are on one commit and check out and older commit, then restoring file modification times to what they were at the time of the older commit would cause build tools that look at file modification times to sometimes not pick up on all the changes.
Re:Debian bookworm live images now reproducible by echoangle on Wednesday March 26, 2025 @03:52PM (#43486400)
Ah ok, that explains it.