lvc / pkgdiff

A tool for visualizing changes in Linux software packages
https://lvc.github.io/pkgdiff/
GNU General Public License v2.0
215 stars 52 forks source link

Report which could be parseble #15

Closed phracek closed 10 years ago

phracek commented 10 years ago

It would be good to provide a report not only in HTML style. Another output like standart text would be welcome. Standart text can be used for parsing by another programs.

Current status is not so friendly for parsing.

aponomarenko commented 10 years ago

Hi, Petr.

Please take a look at the -extra-info DIR option of the tool. It should generate files.xml (with the list of added/removed/renamed/moved/changed files) and symbols.xml (with the list of added/removed symbols in binaries).

Also you can read the first line of the report changes_report.html:

<!-- changed:0.04;added:1;removed:2;moved:3;renamed:4;changed:5;tool_version:1.6.2 -->

Thank you.

phracek commented 10 years ago

In Fedora 20 we have the same pkgdiff version (like 1.6.2) Would it be possible to add to files.xml file also percentage of change for each file?

I really don't want to parse a HTML file.

What do you think about that issue? Shall I send you a pull request?

aponomarenko commented 10 years ago

Fixed by the commit 7a06331007747cd37f8af4848e1ae5ae080336ae

Thank you.

aponomarenko commented 10 years ago

Please checkout a new version: https://github.com/lvc/pkgdiff/releases