Bug 674901 - No way to remove a repo from a group
Summary: No way to remove a repo from a group
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 21
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-02-03 17:21 UTC by Jay Dobies
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Jay Dobies 2011-02-03 17:21:00 UTC
You can pass --groupid to update, but there is no way to tell update to remove the repo from a group it is already in.

Comment 1 Sayli Karmarkar 2011-03-14 03:16:25 UTC
Changed options to --addgroup and --rmgroup similar to --addkeys and --rmkeys. 

$ sudo pulp-admin repo update --id=foo --addgroup=testgroup
Successfully updated repository [ foo ]

$ sudo pulp-admin repo update --id=foo --rmgroup=testgroup
Successfully updated repository [ foo ]

Comment 2 Jeff Ortel 2011-03-18 22:12:29 UTC
Build: 0.154

Comment 3 Preethi Thomas 2011-03-25 19:49:56 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.157-1.git.1.1ea502c.fc14.noarch

verified


[root@preethi ~]# pulp-admin repo update --id=pulp-repo --rmgroup=testgroup
Successfully updated repository [ pulp-repo ]

Comment 4 Preethi Thomas 2011-08-16 12:07:08 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:20:53 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.