After much tinkering, I finally got a search to work like I want :
By Hammer : hammer erratum list --errata-restrict-applicable true --errata-restrict-installable true --search 'id ~ RHSA%' By Python Generated URL : https://satellite.foo.org/katello/api/errata?organization_id=1&search=id+~+RHSA%25&errata_restrict_applicable=True&errata_restrict_installable=True The question is about the search parameter. In the simple "hammer erratum list" or "https://satellite.foo.org/katello/api/errata", the field in question is "errata_id". Why does "id" work and "eratta_id" fail for searching ? And how can I get more information about searching in the various commands ? Also, the search syntax is not obvious. I was trying ^RHSA% and ^RHSA and other failing variations before I stumbled on the working one. Is there a reference somewhere I have overlooked ? Thanks. Dan White | [email protected] ------------------------------------------------ “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” (Bill Waterson: Calvin & Hobbes) -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
