From 63e0ca28a2d5bafa13a6d0f8efcc702921774b6c Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Nov 13 2017 15:43:34 +0000 Subject: using fedpkg to build modules --- diff --git a/source/development/building-modules/building-infra.rst b/source/development/building-modules/building-infra.rst index a09a2cb..c9bf5ef 100644 --- a/source/development/building-modules/building-infra.rst +++ b/source/development/building-modules/building-infra.rst @@ -1,29 +1,34 @@ Building modules in Fedora ========================== +Module builds in Fedora are currently managed by fedpkg. +First step is to clone the dist-git repository of your module. +For example to clone an existing `nodejs` module and checkout +to the `8` stream, run: -Requirements ------------- +:: -In order to build your module, you need to have the :code:`mbs-build` command -available on your system. + $ fedpkg clone modules/nodejs + $ cd nodejs + $ git checkout 8 -You can obtain it by installing the :code:`module-build-service` package. +A new build is submitted by the following command: :: - $ sudo dnf install module-build-service - - -Building a module ------------------ + $ fedpkg module-build -After you have pushed your changes to the dist-git repository, use this command -to build your module: +Fedpkgs provides other modularity-related subcommands: :: - $ mbs-build submit -w + $ fedpkg --help + ... + module-build Build a module using MBS + module-build-cancel Cancel an MBS module build + module-build-info Show information of an MBS module build + module-build-local Build a module locally using the mbs-manager command + module-build-watch Watch an MBS build + module-overview Shows an overview of MBS builds + ... -The command will submit build into infrastructure and watch the task, so you -are able to track results.