Project

General

Profile

Actions

Bug #37924

closed

Hammer does not filter deb-packages correctly

Added by Markus Bucher about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Katello - Feature #31257: Make sure debian repositories support incremental-updates in pulpcoreClosedMarkus BucherActions
Actions #1

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
Actions #2

Updated by Markus Bucher about 2 months ago

  • Related to Feature #31257: Make sure debian repositories support incremental-updates in pulpcore added
Actions #3

Updated by Markus Bucher about 2 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Chris Roberts about 1 month ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF