Re: adding different compression types to createrepo
Anders F Björklund <[email protected]> Tue, 3 Aug 2010 18:12:31 +0200
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
James Antill wrote: > On Tue, 2010-08-03 at 11:14 -0400, seth vidal wrote: > >>> 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"... >> >> I suspect it would make sense to provide: >> >> [primary|filelists|other][_db]_xz in the repomd.xml, in addition >> to the >> gzip/bzip2 compressed alternatives and then gradually phase out the >> older ones. openSUSE actually uses LZMA, not XZ. Both for RPMS and for repodata. Using liblzma would handle both, but feeding xz to lzma doesn't work. > *shrug*, I'm not sure why we'd want to add support for lzma on the > obsolete .xml files. Smart and apt both support .sqlite now, and if > zypper doesn't they can always use modifyrepo to add them for SuSE. Smart supposes .sqlite, but it is slower to parse and not extendible ? > Also calling them "primary_db.xz" would fit the convention with > "groups.gz". Except that it is "group_gz"... (the type of the comps.xml.gz file) --anders