Project

Profile

Help

Issue #6897

closed

pulp_deb_client gem has different interface than other pulp_*_client gems

Added by mbucher over 4 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
master
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Katello
Sprint:
Quarter:

Description

Found during Katello integration. In the pulp_deb_client gem, the method for listing repository-versions expects a primary-key instead of an href, which all other client gems do:

module PulpDebClient
  class RepositoriesDebVersionsApi
    #...
    def list(apt_repository_pk, opts = {})
module PulpFileClient
  class RepositoriesFileVersionsApi
    #...
    def list(file_repository_href, opts = {})

I would make a PR, but I have no clue, where this goes wrong.

Also available in: Atom PDF