pungi/contrib/yum-dnf-compare
Lubomír Sedlář c9f34b6684 gather: Only parse pungi log once
No need to read the file three times, we can just get all the data in
one go.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-08-09 11:04:14 +02:00
..
README Add scripts to compare YUM and DNF gathering 2017-03-24 09:24:46 +01:00
pungi-compare-depsolving gather: Only parse pungi log once 2017-08-09 11:04:14 +02:00
run-dnf.sh Add scripts to compare YUM and DNF gathering 2017-03-24 09:24:46 +01:00
run-yum.sh Add scripts to compare YUM and DNF gathering 2017-03-24 09:24:46 +01:00

README

This directory contains scripts to compare YUM and DNF based gathering code in
Pungi.

There are two scripts to help re-run the depsolving on existing code. As input
they need .conf and .log file from an existing compose. They collect correct
command line options from them and run the respective tool.

Run:

    $ run-dnf.sh Server.x86_64.conf
    $ run-yum.sh Server.x86_64.conf

The results are stored in a file with .log.dnf or .log.yum extensions. When
--interactive is used as second argument of the scripts, the output is printed
to terminal (useful for running in debugger).

To compare the RPM package lists, run:

    $ ./pungi-compare-depsolving Server.x86_64.log.yum Server.x86_64.log.dnf