Bug 681342

Summary: remove_package with --csv issue
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:09:37 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: 647488    

Description Preethi Thomas 2011-03-01 21:09:39 UTC
Description of problem:
remove_package with --csv option ask remove the dependency even when the package is in the csv.

[root@preethi ~]# cat orphaned.csv 
grinder-0.0.81-1.fc14.noarch.rpm,4b9ff81cfbdc749b70e7ae20a370d783adcafbf7dcaa7d057b103422524c294f
pulp-cds-0.0.143-1.fc14.noarch.rpm,9af33e425ed50a43d046baabacf45a4c2fc7516089dae9a4313014ca20436b69

[root@preethi ~]# pulp-admin repo remove_package --id=upload --csv=orphaned.csv  

Following dependencies are suggested. ['grinder-0.0.81-1.fc14.noarch.rpm'] 
Would you like us to add these?(Y/N/Q):N
Skipping dependencies
Successfully removed package ['pulp-cds-0.0.143-1.fc14.noarch.rpm', 'grinder-0.0.81-1.fc14.noarch.rpm'] from repo [upload].



[root@preethi ~]# pulp-admin repo remove_package --id=upload --csv=orphaned.csv 
 
Following dependencies are suggested. ['grinder-0.0.81-1.fc14.noarch.rpm'] 
Would you like us to add these?(Y/N/Q):Y
Successfully removed package ['pulp-cds-0.0.143-1.fc14.noarch.rpm', 'grinder-0.0.81-1.fc14.noarch.rpm'] from repo [upload].

Comment 1 Preethi Thomas 2011-03-02 21:03:42 UTC
verified

[root@preethi upload]# pulp-admin repo add_package --id=upload --csv=test.csv
No Source repo specified, skipping dependency lookup
Successfully added packages ['pulp-cds-0.0.143-1.fc14.noarch', 'gofer-0.20-1.fc14.noarch'] to repo [upload].

[root@preethi upload]# 
[root@preethi upload]# 
[root@preethi upload]# pulp-admin repo remove_package --id=upload --csv=test.csv 
No dependencies to process..
Successfully removed package ['pulp-cds-0.0.143-1.fc14.noarch.rpm', 'gofer-0.20-1.fc14.noarch.rpm'] from repo [upload].

Comment 2 Preethi Thomas 2011-08-16 12:09:37 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 3 Preethi Thomas 2011-08-16 12:22:02 UTC
Closing with Community Release 15

pulp-0.0.223-4.