[Rpm-ecosystem] Some points about zchunk

Jonathan Dieter jdieter at gmail.com
Thu Aug 9 08:49:41 UTC 2018


On Sun, 2018-07-15 at 11:25 -0400, Neal Gompa wrote:
> On Thu, Jul 12, 2018 at 3:27 PM Jonathan Dieter <jdieter at gmail.com> wrote:
> > I'd go with <foo>_zck since <foo> is, by default, xml, but, other than
> > that, I think what you (and Michael) are suggesting makes sense.
> > 
> > Michael, I agree that there should be some way to manually enable
> > zchunk (with a method that will work with future algorithms) in
> > librepo.
> > 
> > I don't mind writing the code, but I'd like to hear some consensus on
> > the method and element name.
> 
> I'm okay with this, but does this mean we could also have (cheaply)
> zck of arbitrary xml files appended using tools like modifyrepo_c,
> then?

Ok, I've gone with creating a new record <foo>_zck, that uses all the
same attributes available for <foo> plus <header-checksum> and <header-
size>.  My updated pull request for createrepo_c has these changes now.

Jonathan



More information about the Rpm-ecosystem mailing list