[Yum-devel] Small update_md Patch, or Generating Notice XML Programmatically
yum-devel at mark.org.il
Sat Jan 23 22:40:35 UTC 2010
Looks like our code would highly benefit from UpdateMetadata having an
add_notice() method -- implemented in this small patch (against 3_2_X):
On Fri, Jan 22, 2010 at 10:15 PM, Seth Vidal <skvidal at fedoraproject.org>wrote:
> On Thu, 21 Jan 2010, Mark Rappoport wrote:
>> An issue 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.
> Added and credited, thanks,
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Yum-devel