Project

General

Profile

Actions

Bug #16307

open

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

Added by Chris Duryee over 7 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
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'
Actions #1

Updated by Chris Duryee over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 114
Actions

Also available in: Atom PDF