sorting yum/dnf metadata and metadata diffs

Tomas Mlcoch tmlcoch at
Fri Feb 13 08:35:59 UTC 2015

> How feasible would it be to keep the listings in primary.xml and
> filelists.xml sorted by package name and arch? Doing so could open the door
> to simple and efficient diffs of repository metadata.

Createrepo_c [1] keeps packages sorted by filename [2] by default.
Sorting based on filenames was chosen intentionally, a package basename
usually consists of name-version-release.arch - so the sorting is more
deterministic than just name and arch.


More information about the devel mailing list