[Spacewalk-list] API call packages.search.name does not produce full package listing

Stas Bobylev sbobylev at central1.com
Fri May 16 16:06:44 UTC 2014


I was wondering if there have been any changes with the packages.search.name API call? Since the upgrade to version 2.1, the call only returns a single result. Previously (at least in version 1.8), the same call would return all packages, including different versions and releases of the same package, that matched the search pattern.

#!/usr/bin/python
import xmlrpclib
search_pattern = "some_custom_package"
client = xmlrpclib.Server("https://spacewalk/rpc/api", verbose=0)
key = client.auth.login("user", "password")
package_list = client.packages.search.name(key, search_pattern)
print package_list

Thanks,

Stas
This email and any attachments are strictly confidential, may be privileged, and are intended only for the use of the person(s) named above. Any other person is strictly prohibited from disclosing, distributing, copying or using it. If you are not the intended recipient (or are not receiving this communication on behalf of the intended recipient), please notify the sender immediately by return email or telephone call, and securely destroy this communication. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140516/73e2f27d/attachment.htm>


More information about the Spacewalk-list mailing list