Re: Rpm-metadata Digest, Vol 75, Issue 1
Matthew Dawkins <[email protected]> Tue, 3 Aug 2010 09:41:23 -0600
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 3, 2010 at 6:00 AM, <[email protected]>wrote: > Send Rpm-metadata mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.baseurl.org/mailman/listinfo/rpm-metadata > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Rpm-metadata digest..." > > > Today's Topics: > > 1. adding different compression types to createrepo (Matthew Dawkins) > 2. Re: adding different compression types to createrepo > (Anders F Bj?rklund) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 2 Aug 2010 17:39:45 -0600 > From: Matthew Dawkins <[email protected]> > To: [email protected] > Subject: [Rpm-metadata] adding different compression types to > createrepo > Message-ID: > <[email protected]<AANLkTikD%[email protected]> > > > Content-Type: text/plain; charset="iso-8859-1" > > Hello, I'm new to the list, but not new to using createrepo and yum for > repo > creation. > > 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. > > Regards, > Matthew Dawkins > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20100802/dcf602ee/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Tue, 3 Aug 2010 10:46:07 +0200 > From: Anders F Bj?rklund <[email protected]> > To: [email protected] > Subject: Re: [Rpm-metadata] adding different compression types to > createrepo > Message-ID: <[email protected]> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > 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 > > > > ------------------------------ > > _______________________________________________ > Rpm-metadata mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/rpm-metadata > > > End of Rpm-metadata Digest, Vol 75, Issue 1 > ******************************************* > Well, I'll add the URL to my rediffed patch. It would be nice to drop the hybrid from making both compression types files and just use one or the other. http://dev.unity-linux.org/projects/unitylinux/repository/entry/packages/createrepo/P/createrepo-0.9.8-add-lzma-option-to-generate-primary.xml.lzma.patch I tried to do it with little luck. I believe the creation of the checksum for other than gzip files present is needed and then not appending the the primary,other,filelists_lzma, but rather just that info instead inside repomd.xml. Matt _______________________________________________ Rpm-metadata mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/rpm-metadata