Learn more about these different git repos.
Other Git URLs
Originaly, failed builds contained only logs, so it was ok to skip them. However, nowadays it contains src.rpm and eg. kicad has 810 MB. It would be nice to wipe all but logs from old failed builds. For example see /var/lib/copr/public_html/results/@kicad/kicad/fedora-rawhide-x86_64/00819236-kicad It is 808M and is from November 2018
This has been caused by 4c5a892 But we cannot simply revert it. Because we need to address when
1.rpm,1,src.rpm (one month old) 2.src.rpm (3 week old) 3.src.rpm (1 week old)
after revert prunerepo would keep 3.src.rpm and 1.rpm which is really incorrect.
Notes for myself - we can modify
rel_rpms_paths = [relpath.strip('"') for relpath in stdout if not is_srpm(relpath)]
to
rel_rpms_paths = [relpath.strip('"') for relpath in stdout if not is_srpm(relpath) and is_rpm_that_dir(relpath)]
or have
rel_rpms_paths = [relpath.strip('"') for relpath in stdout]
and apply dirname on each item and remove srpm files which has more than one unique dirname.
Metadata Update from @praiskup: - Issue assigned to frostyx
Per discussion, prunerepo would be nice to have --dry-run option.
Modified in https://pagure.io/prunerepo/pull-request/1
Modified also in PR#679
Merged, closing
Metadata Update from @frostyx: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.