Bug 681342 - remove_package with --csv issue
Summary: remove_package with --csv issue
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-03-01 21:09 UTC by Preethi Thomas
Modified: 2011-08-16 12:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:09:37 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.