[Rpm-metadata] 2 commits - createrepo/__init__.py
James Antill
james at fedoraproject.org
Mon Apr 6 14:19:55 UTC 2009
On Mon, 2009-04-06 at 16:13 +0200, Duncan Mac-Vicar Prett wrote:
> skvidal at osuosl.org wrote:
> > createrepo/__init__.py | 15 ++++++++-------
> > 1 file changed, 8 insertions(+), 7 deletions(-)
> >
> > New commits:
> > commit 69199d9106f63aeafd5e957390b0472f4d30a0ab
> > Author: Seth Vidal <skvidal at fedoraproject.org>
> > Date: Tue Feb 3 09:08:25 2009 -0500
> >
> > and one more mistake
>
> I see the generation of prestodeltatag is used. I remember that I talked
> with yum-presto author long time ago to use "deltainfo" as something
> more neutral for rpm-md and he agreed on this.
>
> Our build system generate "deltainfo", however our parsers recognize
> also prestodelta. Does yum-presto recognize the deltainfo tag already?
The client side basically just does:
for event, elem in iterparse(open(filename, 'rt')):
if elem.tag == "newpackage":
p = NewPackage(elem)
self.deltainfo[p.nevra()] = p
...so it doesn't matter what the top level element is called.
--
James Antill <james at fedoraproject.org>
Fedora
More information about the Rpm-metadata
mailing list