SatelliteQE / nailgun

Why use a hammer when you can use a nailgun.
GNU General Public License v3.0
46 stars 83 forks source link

Add possibility to query deb packages for host #1233

Closed dosas closed 1 month ago

dosas commented 1 month ago
Description of changes

Add possibility to query deb packages for host

Upstream API documentation, plugin, or feature links

There is no up to date foreman documentation online but the api is listed here

Functional demonstration
ipdb> host.debs({"per_page": 20})
{'total': 385, 'subtotal': 385, 'selectable': 385, 'page': 1, 'per_page': 20, 'error': None, 'search': None, 'sort': {'by': 'name', 'order': 'asc'}, 'results':  ...
Additional Information

possible PRT test tests/foreman/api/test_errata.py

omkarkhatavkar commented 1 month ago

Can one of the admins verify this patch?

ColeHiggins2 commented 1 month ago

Looks fine to me. Just adding a new entity and updating path, will not affect current automation

dosas commented 1 month ago

@ColeHiggins2 @vijaysawant I do not have merge rights, could one of you merge this?

dosas commented 1 month ago

@vijaysawant Thank you. Could you also take care of the cherry-pick PRs?