Mailinglist Archive: zypp-devel (39 mails)

< Previous Next >
[zypp-devel] [PATCH 0/2] Support for primary.xml.lzma (fate#309167)
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Mon, 3 May 2010 14:24:13 +0200
  • Message-id: <1272889456-12384-1-git-send-email-mmarek@xxxxxxx>

this series tries to implement fate#309167. In short: The 11.2+ kernel
provides a dependency for each exported symbol (fate#305945), which
results in thousands of provides. Zypp / sat-solver cope well with this,
but the problem is that the primary.xml.gz file grows beyond limits.
This is especially an issue in the update repository, which contains
also previous versions of released updates (bnc#582907). The idea is to
sort the entries in primary.xml and provide a lzma-compressed version
allongside with primary.xml.gz, e.g.:

<data type="primary">
<location href="repodata/primary.xml.gz"/>
<data type="primary_lzma">
<location href="repodata/primary.xml.lzma"/>

The createrepo changes are in, a
package is in home:michal-m:branches:system:packagemanager/createrepo.
These two patches change zypp to skip downloading primary.xml.gz if
primary.xml.lzma is available. A third patch against sat-solver adds
support for primary.xml.lzma to libzypp.spec will need a
versioned requires on satsolver-tools so that an up-to-date
script is available. This part is not included.

Please review, it would be great to have support for this in 11.3.


Michal Marek (2):
Add Fetcher::cancelJob()
Download primary.xml.lzma if available (fate#309167)

zypp/ | 52 ++++++++++++++++++++++++++--------------
zypp/Fetcher.h | 17 ++++++++++---
zypp/repo/yum/ | 23 +++++++++++++++++-
zypp/repo/yum/Downloader.h | 1 +
zypp/repo/yum/ | 3 ++
zypp/repo/yum/ResourceType.h | 2 +
6 files changed, 75 insertions(+), 23 deletions(-)

To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >