<div dir="ltr">That's a risky way to check for existence of a package in a repo. What happens when the package exists but the repodata doesn't include it?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 22, 2017 at 1:44 AM, Greg Sheremeta <span dir="ltr"><<a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="h5"><div class="gmail_quote">On Tue, Nov 21, 2017 at 2:27 PM, Barak Korren <span dir="ltr"><<a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_5760114936555908206gmail-">On 21 November 2017 at 21:04, Idan Shaby <<a href="mailto:ishaby@redhat.com" target="_blank">ishaby@redhat.com</a>> wrote:<br>
> Hi,<br>
><br>
> How do I check if our ovirt master repos contain version 1.2.0 of<br>
> ovirt-imageio-common and ovirt-imageio-daemon?<br>
> I want to add these requirements to vdsm and I am not sure how to verify it.<br>
<br>
</span>This searches for a certain package in a certain repo:<br>
<br>
repoquery --repofrompath=r,<a href="http://resources.ovirt.org/repos/ovirt/tested/master/rpm/el7--repoid=r" rel="noreferrer" target="_blank">http://resour<wbr>ces.ovirt.org/repos/ovirt/<wbr>tested/master/rpm/el7<br>
--repoid=r</a> list '*imageio*'<br>
<br>
You can change the url slightly to check for other distros and oVirt versions.<br>
<span class="m_5760114936555908206gmail-HOEnZb"><font color="#888888"><br>
--<br>
Barak Korren<br>
RHV DevOps team , RHCE, RHCi<br>
Red Hat EMEA<br>
<a href="http://redhat.com" rel="noreferrer" target="_blank">redhat.com</a> | TRIED. TESTED. TRUSTED. | <a href="http://redhat.com/trusted" rel="noreferrer" target="_blank">redhat.com/trusted</a><br>
______________________________<wbr>_________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org" target="_blank">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/infra</a><br>
</font></span></blockquote></div><br></div></div><div class="m_5760114936555908206gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Same thing really, but I like to navigate to <a href="http://plain.resources.ovirt.org/repos/ovirt/tested/master/rpm/" target="_blank">http://plain.resources.<wbr>ovirt.org/repos/ovirt/tested/<wbr>master/rpm/</a> and poke around in the browser.</div><div dir="ltr"><br></div></div></div></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/infra</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>DANIEL</span> <span>BELENKY</span></p><p style="margin:0px;padding:0px"></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>RHV DEVOPS</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">EMEA VIRTUALIZATION R&D</p><table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div>
</div>