[Rpm-metadata] adding different compression types to createrepo

Anders F Björklund afb at algonet.se
Thu Aug 5 09:25:45 UTC 2010


Matthew Dawkins wrote:
>> I thought we did. By using a different datatype this is doable in  
>> a way
>> that won't break older clients. It WILL require some modification to
>> existing clients to get them to handle the xz/lzma type.
>>
>> So using:
> <data type="other_xz">
> <data type="filelists_xz">
> <data type="primary_xz">
> seems to be acceptable???

The suggestion was to use "_lzma" so that it would work with either
(of .lzma and .xz), but whatever. It's only a name, easy to change.

> I have talked to Anders on what it would take for smart to handle  
> them, and
> it seems like an easy enough change.

= "primary_lzma" in info and info["primary_lzma"] or info["primary"]
Yeah, that seems easy enough to me. Lather, rinse, repeat for others.

--anders



More information about the Rpm-metadata mailing list