Bug #6203

some hammer repo commands dont take product id or information

Added by Partha Aji about 4 years ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Adam Price
Category:Hammer
Target version:Katello 2.0
Difficulty:easy Team Backlog:
Triaged:Yes Fixed in Releases:
Bugzilla link:1108905 Found in Releases:
Pull request:

Description

The following commands do not take product id or name
hammer repository info
hammer repository synchronize
hammer repository update
hammer repository delete

Just using the repo name and org id is not enough for repositories since they are unique only inside a product scope.
i.e. katello allows for repo "foo" under both Product A & B .
So if you ask for
hammer repository info --name="foo" --organization-id=1, it wouldn't know which "foo" we are referring to. Basically renders the --name option worthless.


Related issues

Duplicated by Katello - Bug #6196: some hammer repo commands dont take product id or informa... Duplicate 06/12/2014

Associated revisions

Revision dd1deebf
Added by Adam Price about 4 years ago

fixes #6203 - hammer repo cmds require name scoped to product, BZ 1108905

Revision 0974f78c
Added by Adam Price about 4 years ago

Merge pull request #197 from komidore64/bz1108905-hammer-repo-require-product

fixes #6203 - hammer repo cmds require name scoped to product, BZ 1108905

History

#1 Updated by Partha Aji about 4 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1108905

#2 Updated by Eric Helms about 4 years ago

  • Category set to Hammer
  • Target version set to 48
  • Difficulty set to easy
  • Triaged changed from No to Yes

#3 Updated by Anonymous about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset hammer-cli-katello|commit:dd1deebfa62a27b5592d17f7397ec9eb862a4859.

#4 Updated by Eric Helms almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 13

#5 Updated by Eric Helms over 2 years ago

  • Duplicated by Bug #6196: some hammer repo commands dont take product id or information added

Also available in: Atom PDF