Project

General

Profile

Bug #15013

(bats fail) hammer repository upload_content missing --organization param

Added by Chris Duryee almost 3 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The following test fails on bats:

@test "upload package" {
  wget https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_errata_install/animaniacs-0.1-1.noarch.rpm -P /tmp
  hammer -u admin -p changeme repository upload-content --organization="Default Organization"\
    --product="Test Product" --name="Zoo" --path="/tmp/animaniacs-0.1-1.noarch.rpm" | grep -q "Successfully uploaded" 
}

The error is:

# Could not upload the content:
#   Error: Unrecognised option '--organization'
#   
#   See: 'hammer repository upload-content --help'

Associated revisions

Revision e8c714b8 (diff)
Added by Zach Huntington-Meath almost 3 years ago

Fixes #15013 - Repository commands can accept organization flags.

Added expan options.

Revision b3e257f4
Added by Adam Price almost 3 years ago

Merge pull request #398 from zjhuntin/bats_fix

Fixes #15013 - Repository commands can accept organization flags.

Revision a7fb766f (diff)
Added by Zach Huntington-Meath over 2 years ago

Refs #15013 - Content uploads endpoint works properly. (#6047)

History

#1 Updated by Zach Huntington-Meath almost 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Zach Huntington-Meath

#2 Updated by The Foreman Bot almost 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/398 added

#3 Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/Katello/katello/pull/6047 added

#4 Updated by Zach Huntington-Meath almost 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Eric Helms over 2 years ago

  • Legacy Backlogs Release (now unused) set to 143

Also available in: Atom PDF