checksum differences for source package recipe build tarballs
Bug #684517 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned | ||
bzr-builder |
Triaged
|
Medium
|
Unassigned |
Bug Description
source package recipes currently produce slightly different tarballs, even for builds with the same manifest. This is caused by the fact that file timestamps in the checkout are different between different runs.
It'd be great if the same timestamp could be used so the tarball checksums match and the build becomes reproducible given a particular manifest. Perhaps the timestamp of the revision that last changed a file could be used for that files' mtime rather than the current time?
'bzr export' already can do similar things like this using --per-file-
summary: |
- checksum differences for source package recipe builds + checksum differences for source package recipe build tarballs |
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in bzr-builder: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
+1 to this.
I see it's not been touched in nearly 6 years. Is there any way I can help with this?
I suspect an easy fix is to just pack files using the timestamp of the most recent commit (or at least, the commit that's being packed into a tarball) instead of "now". Is there code somewhere I could send a patch against?