Bug #17489
closed
Inconsistent Package Name when Uploading content into Repository via Web UI and Hammer CLI
Added by James Payne about 8 years ago.
Updated over 6 years ago.
Description
When uploading to the Katello via Hammer and via the Web UI we are seeing inconsistent package names in the respository.
Steps to replicate:
Given RPM repository with ID 123
hammer -u USER -p PASS repository upload-content --id 123 --path /root/package-1.0.0-119.x86_64.rpm
Resulting name in UI = package-119.x86_64.rpm-master-119.x86_64
Importing into the same repository with the same package via the Web UI results = package-1.0.0-119.x86_64
James Payne wrote:
When uploading to the Katello via Hammer and via the Web UI we are seeing inconsistent package names in the respository.
Steps to replicate:
Given RPM repository with ID 123
hammer -u USER -p PASS repository upload-content --id 123 --path /root/package-1.0.0-119.x86_64.rpm
Resulting name in UI = package-119.x86_64.rpm-master-119.x86_64
Importing into the same repository with the same package via the Web UI results = package-1.0.0-119.x86_64
Sorry typos above:
Resulting name in UI from CLI Import = package-1.0.0-119.x86_64.rpm-master-119.x86_64
Resulting name in UI from Web Import = package-1.0.0-119.x86_64
- Category set to Hammer
- Status changed from New to Assigned
- Assignee set to Eric Helms
- Translation missing: en.field_release set to 219
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6652 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Pull request https://github.com/Katello/katello/pull/6662 added
- Related to Bug #19063: Regression: Package name incorrect after package upload added
Also available in: Atom
PDF