#176 Tool to convert dnf repo to module
Opened 3 years ago by msuchy. Modified 3 years ago

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.


Login to comment on this ticket.

Metadata