Bug#759886: debhelper: please make mtimes of packaged files deterministic

2015-10-12 Thread Jérémy Bobbio
Lunar: > The attached patch will add a new helper `dh_fixmtimes`, largely > inspired by `dh_fixperms`, that will change the modification time of any > file that has been created later than the time of the latest > debian/changelog entry to the time of the latest debian/changelog entry. A quick

Bug#759886: [debhelper-devel] Bug#759886: debhelper: please make mtimes of packaged files deterministic

2014-12-31 Thread Jérémy Bobbio
Bernhard R. Link: May I suggest to just duplicate the DH_ALWAYS_EXCLUDE handling in dh_fixmtimes for the time being? If they are already removed then dh_builddeb should not do any new harm and this way you keep more control over dh_fixmtimes so there is less chances debhelper will ship

Bug#759886: [debhelper-devel] Bug#759886: debhelper: please make mtimes of packaged files deterministic

2014-12-29 Thread Bernhard R. Link
* Jérémy Bobbio lu...@debian.org [141228 22:06]: Joey Hess: Jérémy Bobbio wrote: Joey Hess: My other idea is to make dh_fixmtimes set something that a later command (eg, dh_builddeb) could use and warn if it was not run. Maybe it should be integrated to dh_builddeb, then?

Bug#759886: debhelper: please make mtimes of packaged files deterministic

2014-12-28 Thread Jérémy Bobbio
Joey Hess: Jérémy Bobbio wrote: Joey Hess: My other idea is to make dh_fixmtimes set something that a later command (eg, dh_builddeb) could use and warn if it was not run. Maybe it should be integrated to dh_builddeb, then? I don't think it belongs in dh_builddeb directly.

Bug#759886: [debhelper-devel] Bug#759886: debhelper: please make mtimes of packaged files deterministic

2014-08-31 Thread Joey Hess
+1 Do you have a plan to get packages not using dh or cdbs to use this new command? I can think of 2 ways.. one is to add it to some existing command, perhaps renaming the command. I thought maybe dh_fixperms could be renamed to dh_fixmetadata. But, I think some will use dh_fixperms -X to

Bug#759886: [debhelper-devel] Bug#759886: debhelper: please make mtimes of packaged files deterministic

2014-08-31 Thread Jérémy Bobbio
Joey Hess: Do you have a plan to get packages not using dh or cdbs to use this new command? Its heart is a single find+xargs+touch command. I had in mind that packages not using dh or cdbs could have their own way on how to make the mtimes deterministic. Possibly by adding such a find command

Bug#759886: [debhelper-devel] Bug#759886: debhelper: please make mtimes of packaged files deterministic

2014-08-31 Thread Joey Hess
Jérémy Bobbio wrote: Joey Hess: Do you have a plan to get packages not using dh or cdbs to use this new command? Its heart is a single find+xargs+touch command. I had in mind that packages not using dh or cdbs could have their own way on how to make the mtimes deterministic. Possibly by

Bug#759886: debhelper: please make mtimes of packaged files deterministic

2014-08-30 Thread Jérémy Bobbio
Package: debhelper Version: 9.20140817 User: reproducible-bui...@lists.alioth.debian.org Usertags: toolchain, timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Hi! As part of the “reproducible builds” project [1], it would be great to get the files shipped in the Debian

Bug#759886: debhelper: please make mtimes of packaged files deterministic

2014-08-30 Thread Jérémy Bobbio
Control: tags -1 + patch Lunar: The attached patch will add a new helper `dh_fixmtimes`, largely inspired by `dh_fixperms`, that will change the modification time of any file that has been created later than the time of the latest debian/changelog entry to the time of the latest