[Reproducible-builds] [strip-nondeterminism] 02/02: Add zip and jar support to dh_strip_nondeterminism

Andrew Ayer agwa at andrewayer.name
Sun Aug 31 19:08:10 UTC 2014


On Sun, 31 Aug 2014 17:34:23 +0000
Jérémy Bobbio <lunar at debian.org> wrote:

> > >     Add zip and jar support to dh_strip_nondeterminism
> > […]
> > The advantage of sortjar I can see over your handler is that it will
> > also sort the members in a stable order.
> 
> Now I've just realized that Andrew's handler actually did that. Would
> there still be any advantages of having sortjar in the archive?

I can't think of any.  Normalizing a JAR file is almost the same as
normalizing a Zip file, and I think it makes sense to share the code
and have all of our normalizers in one place.

Also, there's additional data in Zip files besides just timestamps and
file order which we might discover needs to be normalized too, and it
would be easier to modify our Perl code than to patch sortjar.

-- Andrew



More information about the Reproducible-builds mailing list