Actions
Bug #37924
closedHammer does not filter deb-packages correctly
Difficulty:
easy
Triaged:
Yes
Description
Hammer commands that need to resolve deb-package names do not create correct API requests.
hammer content-view version incremental-update --debs thor,odin ...
This would result in the following API-request made:
[ INFO 2024-10-17T16:50:32 API] GET /katello/api/debs [DEBUG 2024-10-17T16:50:32 API] Params: { "name" => "thor", :per_page => 1000, :page => 1 }
The API will return all deb-packages it has due to the incorrect parameters.
It needs to do :search => "name = \"odin\" or name = \"thor\""
instead.
Updated by The Foreman Bot about 2 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/960 added
Updated by Markus Bucher about 2 months ago
- Related to Feature #31257: Make sure debian repositories support incremental-updates in pulpcore added
Updated by Markus Bucher about 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|ee225a714a3f7e60fa53c18d63762b182c361379.
Actions