Actions
Bug #27432
openRPM uploads does not have any validation as it uploads to same repo multiple time
Status:
New
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
-
Description
RPM uploads does not have any validation as it uploads to same repo multiple time
Steps:
[vagrant@srpm-centos7-hammer-devel ~]$ hammer repository info --id 1 ID: 1 Name: repo1 Label: repo1 Organization: Default Organization Red Hat Repository: no Content Type: yum Mirror on Sync: yes URL: Publish Via HTTP: yes Published At: http://srpm-centos7-katello-devel.vijsingh.example.com/pulp/repos/Default_Organization/Library/custom/TProd1/repo1/ Relative Path: Default_Organization/Library/custom/TProd1/repo1 Download Policy: on_demand Product: ID: 1 Name: TProd1 GPG Key: Sync: Status: Not Synced Created: 2019/07/18 15:37:17 Updated: 2019/07/18 15:37:27 Content Counts: Packages: 0 Source RPMS: 0 Package Groups: 0 Errata: 0 Module Streams: 0 [vagrant@srpm-centos7-hammer-devel ~]$ [vagrant@srpm-centos7-hammer-devel ~]$ hammer repository upload-content --id 1 --path /home/vagrant/pkgs/Agda-2.3.2.2-5.el7.x86_64.rpm Successfully uploaded file 'Agda-2.3.2.2-5.el7.x86_64.rpm' <========== [vagrant@srpm-centos7-hammer-devel ~]$ hammer repository info --id 1 --organization-id 1 --product-id 1 --fields 'Content Counts' Content Counts: Packages: 1 <========== Source RPMS: 0 Package Groups: 0 Errata: 0 Module Streams: 0 [vagrant@srpm-centos7-hammer-devel ~]$ hammer repository upload-content --id 1 --path /home/vagrant/pkgs/Agda-2.3.2.2-5.el7.x86_64.rpm --content-type=srpm Successfully uploaded file 'Agda-2.3.2.2-5.el7.x86_64.rpm' <========== [vagrant@srpm-centos7-hammer-devel ~]$ hammer repository info --id 1 --organization-id 1 --product-id 1 --fields 'Content Counts' Content Counts: Packages: 1 <========== Source RPMS: 0 Package Groups: 0 Errata: 0 Module Streams: 0
Updated by Justin Sherrill over 5 years ago
- Category set to Repositories
- Target version set to Katello Backlog
- Triaged changed from No to Yes
Updated by Vijay Singh over 5 years ago
- Related to Tracker #27539: [Tracker] SRPM Issues added
Actions