Bug 642747

Summary: Ability to remove packages from repo
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedKeywords: FutureFeature, Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:19:55 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 2010-10-13 18:21:32 UTC
Description of problem:

Now there is no option to remove a package from the repo. 

Posting the conversation with John about it

preethi wondering if you guys have any plans to add a module to the pulp-admin to remove a package and errata
jmatthews not sure about removing a package
jmatthews it makes sense for uploaded packages
jmatthews so I think it's needed
preethi k
jmatthews I'm checking errata now
jmatthews for errata we may not create a 'delete'
jmatthews we don't yet support custom errata
preethi ah.. k
jmatthews I think we only support sync operations with it
jmatthews we implemented part of whats needed for custom errata creation, but it's not completed
jmatthews so I think this would be a later sprint, or maybe something we dont add
jmatthews so I think package deletion is worth adding a bug for

Comment 1 Pradeep Kilambi 2010-12-22 18:51:54 UTC
added this in sprint 18.Supports,

sudo pulp-admin repo delete_package

Comment 2 Jay Dobies 2010-12-22 20:56:28 UTC
Fixed in 0.119.

Comment 3 Preethi Thomas 2011-01-04 18:23:27 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.119-1.fc14.noarch

[root@preethi ~]# pulp-admin repo
Usage: pulp-admin <options> repo <action> <options>
Supported Actions:
        
        add_package    Add specific package(s) from the source repository.
        delete_package Remove package(s) from the repository.

[root@preethi ~]# pulp-admin repo delete_package --id=gpg-repo -p grinder-0.0.65-1.fc13.noarch.rpm
Successfully removed package grinder-0.0.65-1.fc13.noarch.rpm from repo [gpg-repo].

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

pulp-0.0.223-4.