Skip to content

Compare zip files containing jars reporting change when nothing is changed #34

Open

Description

@debraj-manna

I am using pkgdiff to compare two zip files containing multiple jars. One of the jar is build (dedup-0.001-SNAPSHOT.jar) and rest are downloaded from maven repo and then all are added in zip as part of maven build. pkgdiff is reporting change when there is nothing changed in dedup-0.001-SNAPSHOT.jar

dmanna-m01:es-plugins dmanna$ pkgdiff  ~/Desktop/hbase-co/1/dedup-0.001-SNAPSHOT.zip ~/Desktop/hbase-co/2/dedup-0.001-SNAPSHOT.zip
reading packages ...
comparing packages ...
creating report ...
result: CHANGED (0.000002%)
report: pkgdiff_reports/dedup/0.001-SNAPSHOT_to_0.001-SNAPSHOT/changes_report.html

The detailed report is empty.

dmanna-m01:details dmanna$ pwd
/Users/dmanna/code/github/vnera/main/es-plugins/pkgdiff_reports/dedup/0.001-SNAPSHOT_to_0.001-SNAPSHOT/details
dmanna-m01:details dmanna$ ls
dmanna-m01:details dmanna$

screen shot 2018-02-10 at 10 32 56 pm

The surprising part is if I unzip and then compare the jar which is reported as different then pkgdiff reports that the there is no change.

dmanna-m01:hbase-co dmanna$ pkgdiff 1/dedup-0.001-SNAPSHOT/dedup-0.001-SNAPSHOT.jar 2/dedup-0.001-SNAPSHOT/dedup-0.001-SNAPSHOT.jar
reading packages ...
comparing packages ...
creating report ...
result: UNCHANGED
report: pkgdiff_reports/dedup/0.001-SNAPSHOT_to_0.001-SNAPSHOT/changes_report.html
dmanna-m01:hbase-co dmanna$

Is this some issue on pkgdiff ? How can I know what exactly is differing in dedup-0.001-SNAPSHOT.jar when it is part of zip file?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions