From 7c5fcc933c5b97286eb30162869ed74f0f5fbbeb Mon Sep 17 00:00:00 2001 From: Petr "Stone" Hracek Date: Apr 21 2017 08:05:19 +0000 Subject: [PATCH 1/2] Update infra Signed-off-by: Petr "Stone" Hracek --- diff --git a/source/development/building-modules/building-infra.rst b/source/development/building-modules/building-infra.rst index 6ddd9b9..61c2eb9 100644 --- a/source/development/building-modules/building-infra.rst +++ b/source/development/building-modules/building-infra.rst @@ -2,23 +2,30 @@ Building modules in Fedora ========================== When your module is ready to get added to Fedora, you need to have write -access to the module dist-git on pkgs.stg.fedoraproject.org and you need +access to the module dist-git on pkgs.fedoraproject.org and you need to have pushed all your changes to this module git repository. You can -build your module using two different methods: +build your by following method -- A `special version of rpkg `__ - with module-build support is required for this step. Change the - working directory to your local copy of your module repo and simply - run + +module-build-service package +-------------------------------------- + +On **Fedora rawhide** and **Fedora 26**, just install it by: :: - fedpkg module-build + $ sudo dnf install module-build-service -- The other method requires that you add the git URL of your latest - module commit to the submit-build.json file in the - module-build-server git repository and then run +On **Fedora 25**, just install the latest version `https://koji.fedoraproject.org/koji/packageinfo?packageID=23564`: :: - python submit-build.py + $ sudo dnf install + +To build your modulemd, run a command similar to the following: + +:: + + $ mbs-build submit -w + +The command will submit and watch the task, so you are able to track a result. \ No newline at end of file From 9e5469e9018cfc2a7af1df0f580046745fc171af Mon Sep 17 00:00:00 2001 From: Petr "Stone" Hracek Date: Apr 21 2017 08:12:58 +0000 Subject: [PATCH 2/2] Remove obsolete text and fix sentence. Signed-off-by: Petr "Stone" Hracek --- diff --git a/source/development/building-modules/building-infra.rst b/source/development/building-modules/building-infra.rst index 61c2eb9..2b23d0b 100644 --- a/source/development/building-modules/building-infra.rst +++ b/source/development/building-modules/building-infra.rst @@ -22,10 +22,10 @@ On **Fedora 25**, just install the latest version `https://koji.fedoraproject.or $ sudo dnf install -To build your modulemd, run a command similar to the following: +To build your modulemd, run a command: :: $ mbs-build submit -w -The command will submit and watch the task, so you are able to track a result. \ No newline at end of file +The command will submit build into infrastructure and watch the task, so you are able to track results. \ No newline at end of file