[Rpm-metadata] Rpm-metadata Digest, Vol 75, Issue 1

Matthew Dawkins mattydaw at gmail.com
Tue Aug 3 15:41:23 UTC 2010


On Tue, Aug 3, 2010 at 6:00 AM, <rpm-metadata-request at lists.baseurl.org>wrote:

> Send Rpm-metadata mailing list submissions to
>        rpm-metadata at lists.baseurl.org
>
> 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
>        rpm-metadata-request at lists.baseurl.org
>
> You can reach the person managing the list at
>        rpm-metadata-owner at lists.baseurl.org
>
> 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 <mattydaw at gmail.com>
> To: rpm-metadata at lists.baseurl.org
> Subject: [Rpm-metadata] adding different compression types to
>        createrepo
> Message-ID:
>        <AANLkTikD+dhci1ejQ2REXgVpAbM6a4BxOmB7tG9uZZxo at mail.gmail.com<AANLkTikD%2Bdhci1ejQ2REXgVpAbM6a4BxOmB7tG9uZZxo at mail.gmail.com>
> >
> 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 <afb at algonet.se>
> To: rpm-metadata at lists.baseurl.org
> Subject: Re: [Rpm-metadata] adding different compression types to
>        createrepo
> Message-ID: <93F848A1-2699-4288-B8B5-C7E04F6868EE at algonet.se>
> 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
> Rpm-metadata at lists.baseurl.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20100803/af6cdff4/attachment.html>


More information about the Rpm-metadata mailing list