Bug #6203

some hammer repo commands dont take product id or information

Added by Partha Aji over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Adam Price
Category:Hammer
Target version:Sprint 33
Difficulty:easy Pull request:
Bugzilla link:1108905
Story points-
Velocity based estimate-
ReleaseKatello 2.0Release relationshipAuto

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 over 3 years ago

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

Revision 0974f78c
Added by Adam Price over 3 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 over 3 years ago

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

#2 Updated by Eric Helms over 3 years ago

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

#3 Updated by Anonymous over 3 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 over 3 years ago

  • Release set to Katello 2.0

#5 Updated by Eric Helms almost 2 years ago

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

Also available in: Atom PDF