Re: adding different compression types to createrepo

Anders F Björklund <[email protected]> Wed, 4 Aug 2010 09:59:55 +0200
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
Matthew Dawkins wrote:

> Is anyone else interested in helping produce a patch to give the  
> users a decision to compress the xml files with xz or lzma and not  
> be piggy backed on the gz files?

That should be trivial.

Bonus points for using "import lzma" instead of "| lzma",
like utils.LzmaFile did*... That is, to use lzma.LZMAFile
Might want to fix the typos/thinkos too, while at it. :-)
(the lzma and gz variables in HybridFile have been swapped)

* https://build.opensuse.org/package/view_file?file=createrepo-0.9.8- 
add-lzma-option-to-generate- 
primary.xml.lzma.patch&package=createrepo&project=system% 
3Apackagemanager

--anders