[Yum-devel] Small update_md Patch, or Generating Notice XML Programmatically

Seth Vidal skvidal at fedoraproject.org
Fri Jan 22 20:15:37 UTC 2010



On Thu, 21 Jan 2010, Mark Rappoport wrote:

> 
> Hi,
> An issue[1] came up on the CentOS-devel list that required us to generate updateinfo.xml files; based on
> the current code in update_md, we found it much simpler to use UpdateNotice's xml() method to generate
> these files.
> 
> However, in it's current form, UpdateNotice does not contain a __setitem__ method -- which a tiny patch
> rectifies (http://pastebin.ca/1760395).
> 
> Moreover, it would probably be a good idea to add handling of UpdateNotice instance to UpdateMetadata.add
> -- if desired, I could probably submit a patch for that as well.
> 
> [1] http://lists.centos.org/pipermail/centos-devel/2010-January/005306.html


Added and credited, thanks,
-sv


More information about the Yum-devel mailing list