Actions
Bug #27372
closedRPM uploads does not have any validation as it uploads to same repo multiple time
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
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 Vijay Singh almost 5 years ago
On this issue: Unable to remove "Fixed in Releases:1.23.0" as accidental selected. please remove it.
Updated by Vijay Singh almost 5 years ago
- Status changed from New to Duplicate
Actions