Project

General

Profile

Bug #16307

unable to modify repos with hammer without --product-id

Added by Chris Duryee about 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

If you specify a product with the product's name instead of ID, it will fail. For example, after creating a product "AA" and adding a single yum repo named 'ee':


$ hammer --username admin --password changeme repository update --name ee --product 'AA' --download-policy 'on_demand'
Could not update the repository:
  Error: Could not find organization. Some search options were missing, please see --help.

However, specifying the organization fails:

$ hammer --username admin --password changeme repository update --name ee --product 'AA' --download-policy 'on_demand' --organization-id 1
Could not update the repository:
  Error: Unrecognised option '--organization-id'

History

#1 Updated by Chris Duryee about 3 years ago

  • Description updated (diff)

#2 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF