<div dir="ltr">Hi,<div><br></div><div>Looks like our code would highly benefit from UpdateMetadata having an add_notice() method -- implemented in this small patch (against 3_2_X): <a href="http://pastebin.ca/1763344">http://pastebin.ca/1763344</a><br>
<br><div class="gmail_quote">On Fri, Jan 22, 2010 at 10:15 PM, Seth Vidal <span dir="ltr">&lt;<a href="mailto:skvidal@fedoraproject.org">skvidal@fedoraproject.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
<br>
On Thu, 21 Jan 2010, Mark Rappoport wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi,<br>
An issue[1] came up on the CentOS-devel list that required us to generate updateinfo.xml files; based on<br>
the current code in update_md, we found it much simpler to use UpdateNotice&#39;s xml() method to generate<br>
these files.<br>
<br>
However, in it&#39;s current form, UpdateNotice does not contain a __setitem__ method -- which a tiny patch<br>
rectifies (<a href="http://pastebin.ca/1760395" target="_blank">http://pastebin.ca/1760395</a>).<br>
<br>
Moreover, it would probably be a good idea to add handling of UpdateNotice instance to UpdateMetadata.add<br>
-- if desired, I could probably submit a patch for that as well.<br>
<br>
[1] <a href="http://lists.centos.org/pipermail/centos-devel/2010-January/005306.html" target="_blank">http://lists.centos.org/pipermail/centos-devel/2010-January/005306.html</a><br>
</blockquote>
<br>
<br></div></div>
Added and credited, thanks,<br><font color="#888888">
-sv<br>
</font><br>_______________________________________________<br>
Yum-devel mailing list<br>
<a href="mailto:Yum-devel@lists.baseurl.org">Yum-devel@lists.baseurl.org</a><br>
<a href="http://lists.baseurl.org/mailman/listinfo/yum-devel" target="_blank">http://lists.baseurl.org/mailman/listinfo/yum-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>- Mark<br>
</div></div>