Mailinglist Archive: zypp-devel (78 mails)
| < Previous | Next > |
Re: [zypp-devel] libzypp for openSUSE 11.0
- From: "Benji Weber" <benji.weber@xxxxxxxxx>
- Date: Mon, 5 Nov 2007 09:53:00 +0000
- Message-id: <d6b310ce0711050153y60e24273x297ef298a2553b54@xxxxxxxxxxxxxx>
On Monday 05 November 2007 08:59:41 Michael Matz wrote:
This should give some savings. It should be possible to get better
savings with a custom diff that could be generated by createrepo. It
would only need to include the changed package details, and could diff
things like the description which I suspect don't change frequently
even in factory. Then generate a primary.xml.<oldtimestamp> or
something as a diff from that timestamp.
This would be a lot more work than just adding zsync to the download
layer though.
On 05/11/2007, Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx> wrote:
Really only factory this applies to I think. I update only packages
that have changed (checksum) for the package search, and this is
faster for many repositories. Only for factory is it
counterproductive. The biggest benefit is with packman where rebuilds
are rare and one or two packages are usually appended to metadata. The
frequently changing repositories that most people have will be the
update repository & packman.
I think it can be beneficial even though it doesn't help for factory.
--
Benjamin Weber
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
The general plan is to rely on an xdelta/rsync like algorithm,
This should give some savings. It should be possible to get better
savings with a custom diff that could be generated by createrepo. It
would only need to include the changed package details, and could diff
things like the description which I suspect don't change frequently
even in factory. Then generate a primary.xml.<oldtimestamp> or
something as a diff from that timestamp.
This would be a lot more work than just adding zsync to the download
layer though.
On 05/11/2007, Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx> wrote:
ZSync does that already. But as I had said lot of times, it wont work with
current metadata because it changes too much and too often.
Really only factory this applies to I think. I update only packages
that have changed (checksum) for the package search, and this is
faster for many repositories. Only for factory is it
counterproductive. The biggest benefit is with packman where rebuilds
are rare and one or two packages are usually appended to metadata. The
frequently changing repositories that most people have will be the
update repository & packman.
I think it can be beneficial even though it doesn't help for factory.
--
Benjamin Weber
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |