Description of problem: createrepo_c leaves old copies of comps files around in the repo http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2299463 is an example of a case where there should only be one compose file but is heaps Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
createrepo_c-0.4.0-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/createrepo_c-0.4.0-1.el6
Hi Dennis, this behavior was kept because of compatibility with the original createrepo. I agree that this behavior is bad and I've just built a new version of createrepo_c that introduces a new behavior. The createrepo_c version that introduces the change is 0.4.0: * Rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=6818386 * EPEL6: http://koji.fedoraproject.org/koji/taskinfo?taskID=6818436 * f20: http://koji.fedoraproject.org/koji/taskinfo?taskID=6818469 The description of what was changed and example of the old and the new behavior can be found at: https://github.com/Tojaj/createrepo_c/wiki/New-File-Handling#example
Package createrepo_c-0.4.0-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing createrepo_c-0.4.0-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1342/createrepo_c-0.4.0-1.el6 then log in and leave karma (feedback).
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2302700 it is not fixed
This new version removes only metadata that were in repomd.xml before the update and are not in it after the update. Other files that lies in the repodata/ and are not referenced by the repomd.xml are kept untouched - So the files which are already accumulated stay there, but their number should not grow since the new version. I plan to add a new option which removes all files in repodata/ older than a specified number of days. I will let you know, when this option will be implemented.
createrepo_c-0.4.0-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.