Learn more about these different git repos.
Other Git URLs
It would be nice to have CLI tool to build modules locally. Not in the MBS beast [1]. But we can start with something more lightweight: converting existing yum repository to a module. Right now, the users have only two options: 1) set module_hotfixes=true 2) create manually modulemd.yaml and run:
/usr/bin/modifyrepo_c --mdtype=modules \ results/modules.yaml results/repodata
One is bad suggestion and the other is ugly. We need the good one :smile:
It would be nice to have utility:
$ turn-this-repo-into-module PATH-TO-REPO
which would automatically generate the modulemd (can be later tuned by user) and merge this file into repodata.
The question is - do we want to have this as part of createrepo_c package? Or as standalone package/project?
[1] Technically, we can build modules locally. https://docs.fedoraproject.org/en-US/modularity/making-modules/building-modules-locally/ But it connects to Koji and assume presence of dist-git.
As it happens, I built such a thing a while back: https://github.com/sgallagher/repo2module
See https://sgallagh.wordpress.com/2019/08/14/sausage-factory-modules-fake-it-till-you-make-it/ for more details.
Login to comment on this ticket.