Bug 714095

Summary: RFE: support removing metadata from repodata
Product: Red Hat Enterprise Linux 5 Reporter: Daniel Mach <dmach>
Component: createrepoAssignee: James Antill <james.antill>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7CC: bgollahe, ebenes, james.antill, lmacken, pkilambi
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 713747 Environment:
Last Closed: 2012-10-30 14:15:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 713747    
Bug Blocks: 563609    

Description Daniel Mach 2011-06-17 10:56:22 UTC
+++ This bug was initially created as a clone of Bug #713747 +++

We need to be able to remove metadata from repodata using modifyrepo.
I wrote a patch that does it (user has to provide --remove option).

It also fixes updating existing metadata; original behaviour:
- file already exists in repodata
- a file with different checksum is added there (has the same mdtype)
- the original file is *not* removed, new file is added; repodata points to the new file

Now the old file is correctly removed from repodata dir.


Could you also backport this to el6 and el5?
(not sure if it is possible, but can't modifyrepo be used as is in el5?)

--- Additional comment from dmach on 2011-06-16 09:15:04 EDT ---

Created attachment 505037 [details]
remove metadata patch

Comment 4 RHEL Program Management 2012-01-09 14:30:06 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.8 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 7 Libor Miksik 2012-10-25 12:31:14 UTC
Thank you for submitting this issue for consideration. Red Hat Enterprise Linux 5 has reached the end of Production 1 Phase of its Life Cycle.  Red Hat does not plan to incorporate the suggested capability in a future Red Hat Enterprise Linux 5 minor release. If you would like Red  Hat to re-consider this feature request and the requested functionality is not currently in Red Hat Enterprise Linux 6, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.