From 668f0d3d9bf6dbc0c781c49c7c8c8741a9ae4381 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 4 May 2017 12:50:39 -0400 Subject: [PATCH] Update contributing docs with mbs-build. Fixes #496. --- docs/CONTRIBUTING.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/CONTRIBUTING.rst b/docs/CONTRIBUTING.rst index 9fe3a064..80b62403 100644 --- a/docs/CONTRIBUTING.rst +++ b/docs/CONTRIBUTING.rst @@ -144,14 +144,19 @@ Prior to starting MBS, you can force development mode:: Module Submission ----------------- -You can submit a local test build with the `contrib/submit_build.py` script, +You can submit a local test build with the `contrib/mbs-build` script, which should submit an HTTP POST to the frontend, requesting a build:: - $ cd contrib/ && python submit_build.py -This script uses `scmurl` from the input file `contrib/submit-build.json`. Note -that authentication will be required for submitting a module build. Follow -the on-screen instructions to authenticate. + $ ./contrib/mbs-build -s [server] submit [scm_url] [branch] + +Here, `server` should specify the `hostname[:port]` port of the MBS instance +you want to submit to. For local development, try `127.0.0.1:5000`. + +The `scmurl` should be a url to a dist-git repo of the module in question and +the `branch` should be the stream that you want to build. Note that +authentication will be required for submitting a module build. Follow the +on-screen instructions to authenticate. See also `SCMURLS` in `conf/config.py` for list of allowed SCM URLs.