Thank you.<br><br>I'm trying to do this, but I guess you will finish early. How do you think you'll do this? With a new method or only changing the script? I'm searching a method to acomplish, but on getDetails for instance, I need to know the id. So, if I lookup with Nvrea and check the vendor or provider with getDetails, and after come back to a new lookup with Nvrea.. but I think this shouldn't work cause it will bring the same result, and sounds ugly too.<div>

<br></div><div>Can you give me some light?<br><div><div><br></div><div>Thanks.<br><br><div class="gmail_quote">2012/1/27 Speagle, Andy <span dir="ltr"><<a href="mailto:andy.speagle@wichita.edu">andy.speagle@wichita.edu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Nilton,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">That’s a good catch… that has never been an issue for me since I don’t have mixed vendors on my system.  I’ll get this updated and put out a patch as soon as
 I can.  Thanks for sharing your usage case.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Andy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a>]
<b>On Behalf Of </b>Nilton Moura<br>
<b>Sent:</b> Friday, January 27, 2012 11:49 AM<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] Clone errata with pkgs of another channel.<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I've been reading the python-clone-errata.py and I see that it uses the findByNvrea method. Can I create another method like this, adding vendor or provider parameter? I guess this will solve my problem, which is the first entry matched
 on database is returned, no matter the channel. (I debug with some prints on the script and comparing with the id's on the database).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If not, the another "solution" (workaround), is to first upload packages from RHN than the CentOS for example (but this sounds very ugly).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Nilton Moura.<u></u><u></u></p>
<div>
<p class="MsoNormal">2012/1/26 Nilton Moura <<a href="mailto:redhat@nmoura.eti.br" target="_blank">redhat@nmoura.eti.br</a>><u></u><u></u></p>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm cloning erratas from RHN with rhn-clone-errata.py 0.9.0 by Andy Speagle, but some erratas are being associated with packages from another channel (when the same package exist on CentOS for example).<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">For example, after publish the errata RHSA-2012:0060 from rhel-5-x86_64-server, I go to Packages and the GUI shows me only one package (openssl-0.9.8e-20.el5_7.1-i686), but if I go to Packages in Manage Errata, the list appears different:<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">openssl-0.9.8e-20.el5_7.1-i686 RHEL x86_64 Server (v. 5) rhn <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">openssl-0.9.8e-20.el5_7.1-x86_64 CentOS x86_64 (v. 5) updates <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">openssl-devel-0.9.8e-20.el5_7.1-i386 CentOS x86_64 (v. 5) updates <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">openssl-devel-0.9.8e-20.el5_7.1-x86_64 CentOS x86_64 (v. 5) updates <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">openssl-perl-0.9.8e-20.el5_7.1-x86_64 CentOS x86_64 (v. 5) updates<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I uploaded two prints with this to better understanding:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">-> <a href="http://static.inky.ws/image/1180/image.jpg" target="_blank">
http://static.inky.ws/image/1180/image.jpg</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">-> <a href="http://static.inky.ws/image/1181/image.jpg" target="_blank">
http://static.inky.ws/image/1181/image.jpg</a><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If I manually remove this CentOS packages from the errata and add the corrected packages from rhel channel I correct this.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">Nilton Moura.<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br></div></div></div>