Updating modules in Fedora
This page will guide you through the process of updating an existing module.
Even when you don’t need to make any changes to the modulemd, you still need to push a new commit to build a new version.
$ fedpkg clone modules/NAME $ cd NAME $ fedpkg switch-branch BRANCH $ git commit --allow-empty -m "update" $ git push
NAME— name of the module
BRANCH— name of the stream branch of the module
|NOTE: With Modularity, you no longer build individual packages. Instead, you need to submit a module build.|
Submitting module builds is done using
fedpkg and is covered in the Building modules section.
To make your module available to users, submit as an update to Fedora Bodhi. Make sure you are logged in, and then click on Create / New Update at the top-right corner. Fill out the following fields:
Update notes: notes for the users
Final details: check what applies
One way of getting the
MODULE_BUILD_ID is running the same command as in the previous step:
$ fedpkg module-build-info BUILD_ID
and changing the "koji tag" value in the following way:
module-nodejs-10-20180607142235-6c81f848 <- koji tag nodejs-10-20180607142235.6c81f848 <- MODULE_BUILD_ID
that is removing the "module-" part at the beginning, and replacing the last "-" with a ".".