pungi/contrib/yum-dnf-compare
Lubomír Sedlář 1d7617f783 gather: Avoid reading whole log into memory
There's no reason for reading the whole log of depsolving into memory
just to split it into lines and process one line at a time.

We can just as well read it in chunks.

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: Avoid reading whole log into memory 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