Re: sorting yum/dnf metadata and metadata diffs

2015-02-13 Thread Tomas Mlcoch
> 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

Re: sorting yum/dnf metadata and metadata diffs

2015-02-13 Thread Zdenek Kabelac
Dne 13.2.2015 v 09:21 Marcin Juszkiewicz napsal(a): On 13.02.2015 08:11, Casey Jao wrote: 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. Something

Re: sorting yum/dnf metadata and metadata diffs

2015-02-13 Thread Marcin Juszkiewicz
On 13.02.2015 08:11, Casey Jao wrote: > 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. Something like pdiffs in Debian? > Those two are by far th

Re: sorting yum/dnf metadata and metadata diffs

2015-02-13 Thread Daniel Mach
Hi, there's been some work in progress already: https://bugzilla.redhat.com/show_bug.cgi?id=850896 Proof-of-concept code (to be merged into dnf/createrepo_c in the future): https://github.com/Tojaj/DeltaRepo The idea behind that is simple: * create deltas as small repos on server * download del