Bug 1434914

Summary: [RFE] Support deleting a repo across all CV versions
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.9CC: bbuckingham, bkearney, fgarciad, jcallaha, kdixon, lzap, mvanderw
Target Milestone: UnspecifiedKeywords: FutureFeature, PrioBumpGSS
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-03 19:20:05 UTC Type: Bug
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: 1115190    

Description Justin Sherrill 2017-03-22 15:07:38 UTC
Description of problem:

Right now to delete a repository you have to delete all Content view versions that contain this repo.  It would be nice to give that user the option of deleting across all versions.

Comment 1 Lukas Zapletal 2017-03-22 15:30:26 UTC
Workaround to identify which CV versions to delete:

Katello::Repository.find(999).clones.each{|r| puts "#{r.content_view} - v#{r.content_view_version.version}"}; puts ""

Example output:

[this array can be ingored]
CV_NAME_1 - v1.0
CV_NAME_1 - v2.0
CV_NAME_2 - v1.0

Comment 3 Bryan Kearney 2018-10-03 19:20:05 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Rich Jerrido or Bryan Kearney. Thank you.