Bug 691962

Summary: RFE: Repo clone seems to be cloning only packages in a repo.
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cperry, jconnor, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 25   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:01:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 641987    

Description Preethi Thomas 2011-03-30 00:41:36 UTC
Description of problem:
Repo clone only clone the packages. Files or any other types of contents.


[root@preethi upload]# pulp-admin repo content --id=upload
+------------------------------------------+
             Contents of upload
+------------------------------------------+

Packages in upload: 

gofer-0.27-1.fc14.noarch.rpm

Errata in upload: 

 none

Files in upload: 

 test2.txt
 test.txt
 test.txt


[root@preethi upload]# pulp-admin repo clone --id=upload --clone_id=upload-clone --feed=parent -F
Repository [upload] is being cloned as [upload-clone]
Clone: Finished
Item Details: 
Rpms: 1/1

Comment 1 Sayli Karmarkar 2011-06-20 06:31:16 UTC
Fixed. Now repo clone also clones files.

Comment 2 Jeff Ortel 2011-06-22 21:12:21 UTC
build: 0.196

Comment 3 Preethi Thomas 2011-07-27 17:41:42 UTC
[root@preethi upload]# rpm -q pulp
pulp-0.0.213-1.fc14.noarch
[root@preethi upload]# pulp-admin repo content --id=upload
+------------------------------------------+
             Contents of upload
+------------------------------------------+

Packages in upload: 

gofer-0.32-1.fc14.noarch.rpm
pulp-0.0.168-1.fc14.noarch.rpm

Errata in upload: 

 none

Files in upload: 

 test.txt
 test2.txt
 files.csv


[root@preethi upload]# pulp-admin repo clone --id=upload --clone_id=upload-clone --feed=parent -F
Repository [upload] is being cloned as [upload-clone]
Clone: Finished
Item Details: 
Rpms: 2/2

[root@preethi upload]# pulp-admin repo content --id=upload-clone+------------------------------------------+
          Contents of upload-clone
+------------------------------------------+

Packages in upload-clone: 

gofer-0.32-1.fc14.noarch.rpm
pulp-0.0.168-1.fc14.noarch.rpm

Errata in upload-clone: 

 none

Files in upload-clone: 

 test.txt
 test2.txt
 files.csv

[root@preethi upload]# rpm -q pulp
pulp-0.0.213-1.fc14.noarch
[root@preethi upload]#

Comment 4 Preethi Thomas 2011-08-16 14:01:42 UTC
Closing with Community Release 15

pulp-0.0.223-4.