#117 Rawhide compose report contains bogus package size changes
Opened by lcts. Modified

For the last two updates of my nextcloud package, the compose report has given completely bogus and inconsistent package sizes/size changes.

Report 20201111.n.0 is still correct:

Package:      nextcloud-20.0.1-2.fc34
Old package:  nextcloud-20.0.1-1.fc34
...
Size:         89.75 MiB
Size change:  228.22 KiB

Report 20201112.n.0 reports a huge increase:

Package:      nextcloud-20.0.1-3.fc34
Old package:  nextcloud-20.0.1-2.fc34
...
Size:         415.35 MiB
Size change:  325.60 MiB

but actually the size didn't change significantly:

% dnf repodiff -s --repofrompath old,https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20201111.n.0/compose/Everything/source/tree/ --repofrompath new,https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20201112.n.0/compose/Everything/source/tree/ --repo-old old --repo-new new | grep --after-context=4 nextcloud
nextcloud-20.0.1-2.fc34 -> nextcloud-20.0.1-3.fc34
--------------------------------------------------
* Wed Nov 11 2020 Christopher Engelhard <ce@lcts.de> - 20.0.1-3
- Remove CentOS/RHEL 7 support from spec file
Size change: -158 bytes

Report 20201115.n.0 suddenly has the package at 232MiB and claims a change of -3.5Mib, even though based on the previous size it should be either +140MiB or -180MiB, depending on whether this is relative to the real or the erroneous previous size:

Package:      nextcloud-20.0.2-0.1.rc1.fc34
Old package:  nextcloud-20.0.1-3.fc34
...
Size:         232.42 MiB
Size change:  -3.58 MiB

Actual difference:

% dnf repodiff -s --repofrompath old,https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20201112.n.0/compose/Everything/source/tree/ --repofrompath new,https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20201115.n.0/compose/Everything/source/tree/ --repo-old old --repo-new new | grep --after-context=4 nextcloud
nextcloud-20.0.1-3.fc34 -> nextcloud-20.0.2-0.1.rc1.fc34
--------------------------------------------------------
* Sat Nov 14 2020 Christopher Engelhard <ce@lcts.de> - 20.0.2-0.1.rc1
- Update to 20.0.2RC1
Size change: -842924 bytes

Starting on Nov 12 nextcloud was added to Rawhide as a module. The changelog is not really computed in a way that handles modules, and it get's massively confused. In this case it summed the size of all nextcloud packages from modules as well as the non-modular build.

Ah, OK, that makes sense then. Thanks.

Metadata