Bug 803746

Summary: [RFE] Subscription Manager should support enabling/disabling repositories from the GUI
Product: Red Hat Enterprise Linux 7 Reporter: Bryan Kearney <bkearney>
Component: subscription-managerAssignee: Michael Stead <mstead>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.0CC: ckozak, dlackey, jgalipea, jsefler, sforsber
Target Milestone: rcKeywords: FutureFeature
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:32:56 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: 863175    
Attachments:
Description Flags
screenshot of the new subscription-manager-gui repo override dialog none

Description Bryan Kearney 2012-03-15 14:44:28 UTC
Subscirption manager should suppor the enabling/disabling of repos which it manages. Although this can be done in packagekit, the user should not have to leave the tool to do this.

Comment 10 Bryan Kearney 2012-10-17 20:51:45 UTC
*** Bug 854339 has been marked as a duplicate of this bug. ***

Comment 12 William Poteat 2013-06-05 11:38:43 UTC
Confirmed working in master commit b44c4b125746175cb88ac7a698dfc63170c7a93f

Comment 13 John Sefler 2013-10-15 16:35:18 UTC
Removing NEEDINFO flag since this RFE is now under development targeting a delivery with RHEL7.0

Comment 14 Michael Stead 2013-11-07 18:11:09 UTC
Enable/Disable repositories in the GUI has been implemented as part of the 'repository overrides' feature, which has been merged into the master branch of subscription-manager.

Pull Request: https://github.com/candlepin/subscription-manager/pull/806

Will be available in:
subscription-manager-1.10.7-1

Comment 16 John Sefler 2013-11-22 18:47:25 UTC
Created attachment 827952 [details]
screenshot of the new subscription-manager-gui repo override dialog

Verifying Version...
[root@jsefler-7 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: Unknown
subscription-manager: 1.10.7-1.el7
python-rhsm: 1.10.6-1.el7

The ability to override repo parameters (enabled and gpgcheck ONLY) is now available through the GUI:
See attached screenshot.



The ability to override repo parameters (all except baseurl) is now available through the CLI.

Here is the usage syntax via the CLI:
[root@jsefler-7 ~]# subscription-manager repo-override --help
Usage: subscription-manager repo-override [OPTIONS]

Manage custom content repository settings

Options:
  -h, --help            show this help message and exit
  --proxy=PROXY_URL     proxy URL in the form of proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        user for HTTP proxy with basic authentication
  --proxypassword=PROXY_PASSWORD
                        password for HTTP proxy with basic authentication
  --repo=REPOID         repository to modify (can be specified more than once)
  --remove=NAME         name of the override to remove (can be specified more
                        than once)
  --add=NAME:VALUE      name and value of the option to override separated by
                        a colon (can be specified more than once)
  --remove-all          remove all overrides; can be specific to a repository
                        by providing --repo
  --list                list all overrides; can be specific to a repository by
                        providing --repo

Comment 17 John Sefler 2013-11-22 18:50:02 UTC
Moving this RFE bug to VERIFIED
Subsequent issues with this new feature are being opened under separate bugzillas.

Comment 18 Ludek Smid 2014-06-13 09:32:56 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.