[Yum-devel] Package update metadata
Luke Macken
lmacken at redhat.com
Tue Jan 31 22:29:11 UTC 2006
On Mon, Jan 30, 2006 at 09:06:39AM -0800, David Lutterkort wrote:
> On Thu, 2006-01-26 at 18:23 -0500, Jeremy Katz wrote:
> > This seems reasonable, but I thought we had decided that it made sense
> > to have something like (warning: bad xml :-)
> > <update location="updateinfo/httpd-2.0.54.xml">
> > associated with the package in the primary metadata and only have one
> > file per "update".
>
> It's cleaner if the reference from primary package md to update md would
> include something that's guaranteed to be unique for the update, like
> the id of the update. It's fine to keep the filename as an additional
> piece of data, it should just not be the main point of reference.
I updated the createrepo patch[0] which now adds the following to the
primary xml metadata when the -U <url> parameter is given:
<update id="FEDORA-XXX-XXXX" location="update-info/name-ver-rel.xml"/>
I hope the changes aren't too hackish, but everything seems to be
working fine.
Comments?
luke
[0]: http://people.redhat.com/lmacken/metadata/createrepo-updatemd.patch
More information about the Yum-devel
mailing list