Mailinglist Archive: zypp-devel (149 mails)

< Previous Next >
[zypp-devel] Delta management for local patches also?
  • From: "Axel C. Frinke" <frinke@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Sun, 14 Sep 2008 01:28:17 +0200
  • Message-id: <20080913232817.GA9921@xxxxxxxxxx>
Hello,

since I still connect to the internet by a 56K modem, I developed my
own way to perform online updates: I have the openSuSE patches locally
stored on my hard disk, and from time to time I connect with rsync to
an openSuSE mirror (using option --dry-run) to generate a list of files
to retrieve by chance. Once I have fast access (in the CIP pool of the
university or at friends), I download these files onto a USB flashdisk
(using command wget --mirror -i download.lst) and store them later on
my hard disk.
So far, so good. However, in order to save disk space, I prefer to
retrieve delta patches. And here comes my problem: regardless of the
value of 'download.use_deltarpm' in file /etc/zypp/zypp.conf, libzypp
always wants to retrieve 'full' patch rpms rather than delta rpms.
Actually, I go for that. Until now I helped myself from that situation
by using vsftpd, so I made yast2 and zypper believe it would download
from a remote ftp server, but in any case I would prefer a way to apply
delta rpms even if the source is a local directory.

At meanwhile, I wrote some stuff to implement this functionality, it
works very well for me. My solution is relatively simple: in
/etc/zypp/zypp.conf, I just implemented an additional boolean variable
'use_deltarpm_always' (I do not insist on this name). If its value is
set to true, delta rpms will be used even if the repository is a local
path.
I am aware that this feature is of limited interest in most cases,
thus I would appreciate it very much if it could be overtaken.

Thanks to a good friend I have a modified specfile and a patch file to
be applied on sources 4.27.1 of libzypp. If you are interested, please
tell me where I can mail it to. Thanks in advance!

Best regards,
Axel.

P.S.: if you reply by private email, you are of course welcome to write
in German! ;-)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >