Re: adding different compression types to createrepo

Anders F Björklund <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
Matthew Dawkins wrote:
> I'm looking to find if there are not patches out there to add an  
> option to calling for lzma or xz compression of the metafiles  
> instead of gzip. I have seen  what opensuse uses to compress the  
> primary.xml in conjunction with the gzip compression and I have  
> extended on it to compress the other and filelists files too, but  
> they don't really add clean functionality.

That would be https://features.opensuse.org/309167 I think,
but see also http://duncan.mac-vicar.com/blog/archives/537
/and http://lists.baseurl.org/pipermail/yum/2009-April/022560.html)
and some other discussion about using YAML and/or LZMA for repodata.

I think the extended opensuse patch should be acceptable, where it
uses "primary" for .xml or .xml.gz and the new "primary_lzma" key
for .xml.lzma or .xml.xz - plus the same added for "filelists_lzma"
and "other_lzma", it causes less breakage than changing "primary"...

--anders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.