[Spacewalk-list] packages.findByNvrea API method - not 100% successful

Jan Pazdziora jpazdziora at redhat.com
Thu Mar 31 12:46:11 UTC 2011


On Thu, Mar 31, 2011 at 08:02:10AM -0400, Tim Lank wrote:
> Spacewalk-list:
> 
> I have a list of 1039 packages with their name, version, release,
> epoch (if it exists), and archLabel and I am trying to return the "id"
> from the array structure that the packages.findByNvrea API method
> provides.
> 
> When I loop through the list of all 1039, it successfully produces the
> "id" for 1015 of the packages, but not 24 of them (i.e. I'm getting
> about a 98% success rate).
> 
> I've checked the input list for the 24 that do not produce the return,
> but nothing stands out from these as being different from the other
> 1015 that are successful.
>
> Can anyone indicate why I wouldn't get a 100% response from this API
> call?  Why do these 24 fail to produce any results?

What are those 24 packages that are not found?

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list