Red Hat Bugzilla – Bug 503802
RFE: Add additional metadata files with createrepo
Last modified: 2016-09-20 09:59:54 EDT
Description of problem:
Createrepo currently has an option for yum group metadata files, but not for other metadata files such as delta RPMs and update info. Adding an option to createrepo that adds additional metadata files would allow one to do all of the steps necessary for creating a yum repository at once rather than having to run modifyrepo several times immediately after running createrepo to accomplish the same thing.
A use case:
Cobbler calls createrepo immediately after rsyncing/reposyncing/etc. a yum repository, blowing away any metadata from the upstream copy. To deal with this, Cobbler can parse the original repomd.xml file for the metadata files to hand to createrepo with such a metadata file option, eliminating the need for subsequent calls to modifyrepo and possibly providing a clean resolution for Cobbler bug #454. (https://fedorahosted.org/cobbler/ticket/454)
Version-Release number of selected component (if applicable):
It may be convenient to do this as modifyrepo's code is merged into the createrepo object.
I believe this is solved with createrepo_c nowadays.