> 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.
 
Tomas


[1] https://github.com/Tojaj/createrepo_c
[2] https://github.com/Tojaj/createrepo_c/blob/master/src/createrepo_c.c#L111
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to