Re: adding different compression types to createrepo
Anders F Björklund <[email protected]> Thu, 5 Aug 2010 11:25:45 +0200
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
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