Hi Hervé,

On Fri, 5 Jan 2024 at 08:14, Herve Boutemy <hbout...@apache.org> wrote:
> Piotr found the issue about the second run of bundle plugin and about 
> moditect 1.1.0 sensitivity to TZ: I don't know how hard it was to learn this, 
> nor how.
> Do you have any idea on how to ease such discovery?

The first time we encountered a difference in a zipfile metadata, it
was hard. We knew from the binary diff from diffoscope that the
difference is in the metadata, but it took us some time to notice that
the file listings differed by an executable flag.
For the Moditect problem I already knew where to look and I noticed
that the timestamps from Gary's official artifacts and mine differed
by 6 hours. Since the UNIX `unzip` utility does not support the
"Extended Timestamp" I used Commons Compress to list all the
extensions in the ZIP entries.

In general I think that diffoscope could be improved by:
 * listing all the extensions of ZIP entries explicitly and in order,
 * adding some basic properties for each file, e.g. "Java class file,
bytecode 52" or "Text file, CRLF line endings".

Piotr

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to