ELBA-2025-31793

ELBA-2025-31793 - prunerepo Bug Fix update

Type:BUG
Severity:NA
Release Date:2025-02-27

Description


[1.26-1]
- dnf5 compat: Use file:// in baseurls explicitly
- pair_srpm_rpm: migrate to DNF5, keep DNF4 backward compat
- pair_srpm_rpm: use a correct specifier for logging strings

[1.25-1]
- PruneRepoAnalyzer to use the temporary cachedir, too
- Read BUILDTIME from the repo metadata, rather than every single RPM file

[1.24-1]
- tests: use --setopt=cachedir=

[1.23-2]
- using a temporary DNF cache directory, Koji FTBFS and https://github.com/fedora-copr/copr/issues/2756

[1.22-1]
- ajust to the current/future DNF packaging
- fix for new DNF that doesn't accept %location in --queryformat

[1.21-1]
- Don't leak descriptors in Python API call
- fix misleading /bin/prunerepo message when no rpms are to be removed

[1.20-1]
- Move the stderr output to log
- Don't sys.exit() from library function

[1.19-1]
- api: new api method get_rpms_to_remove
- Enhance the logging mechanism a bit
- Faster srpm pairing with rpms
- Start using functions from helpers
- Move prunerepo to helpers.py
- Explicitly depend on python3-setuptools

[1.18-1]
- add --setopt='skip_if_unavailable=False' to listpkgsbyrepo in testlib

[1.17-1]
- fix changelog

[1.16-1]
- deprecate --copr
- avoid additional newlines in stderr
- skip prunerepo if set(latest_rpms) is empty
- Use splitlines instead of split for repoquery parsing
- Set skip_if_unavailable=False to not loose the data
- Always dump stderr of repoquery (not only in error case)
- Drop useless double-quote in --queryformat

[1.15-1]
- fix changelog

[1.14-1]
- /usr/bin/env python3 -> /usr/bin/python3
- use git_dir_archive instead of git_dir_pack
- fix test non-determinism

[1.13-1]
- keep all the latest NEVRAS on disk since dnf3

[1.12-1]
- fix reading spec file values from setup.py
- rpkg deployment into COPR
- use builtin cd in tests

[1.11-1]
- do not recreate repo if there was no change in data unless
--alwayscreaterepo is specified
- add builddep on createrepo_c as well
- add Builddep on dnf that is no longer present in Builddep chain
- optimize createrepo_c
- run tests during build
- use just --repo instead of --disablerepo= --enablerepo=
- Spelling fixes

[1.10-1]
- replace fedorahosted links

[1.9-1]
- --days now also influences --cleancopr

[1.8-1]
- just skip the missing srpm
- first remove srpm and then the rpm

[1.7-1]
- rpm-python3 dependency added back

[1.6-1]
- removed obsolete dependency on rpm-python
- doc update

[1.5-1]
- srpm deletion logic changed

[1.4-1]
- deletion of srpms when the same rpm is present in multiple dirs and --days is used fixed

[1.3-1]
- rebuild for release

[1.2-1]
- bugfix for --cleancopr when a log for the respective dir does not
exist (e.g. copr repos with old dir naming)

[1.1-1]
- test suite finished
- --quiet, --cleancopr and --days options implemented

[1.0-1]
- Initial package version




Updated Packages


Release/ArchitectureFilenameMD5sumSuperseded By AdvisoryChannel Label
Oracle Linux 8 (aarch64) prunerepo-1.26-1.el8.src.rpm955e579bd1e1bc9747f7efc7b2a04a3c-ol8_aarch64_developer_EPEL
prunerepo-1.26-1.el8.noarch.rpmfb4302e06bc21ea706955ec630ce69ca-ol8_aarch64_developer_EPEL
Oracle Linux 8 (x86_64) prunerepo-1.26-1.el8.src.rpm955e579bd1e1bc9747f7efc7b2a04a3c-ol8_x86_64_developer_EPEL
prunerepo-1.26-1.el8.noarch.rpmfb4302e06bc21ea706955ec630ce69ca-ol8_x86_64_developer_EPEL


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete