From 03831262e4a31f2ba2bbd460444723f41c3a9ec6 Mon Sep 17 00:00:00 2001 From: Matt Prahl Date: Wed, 21 Sep 2016 11:09:47 +0200 Subject: [PATCH] Update documentation about messaging --- README.rst | 4 ++-- rida/builder.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 241b7734..a1879cf7 100644 --- a/README.rst +++ b/README.rst @@ -347,12 +347,12 @@ Message Topic The suffix for message topics concerning changes in module state is ``module.state.change``. Currently, it is expected that these messages are sent from koji or ridad, i.e. the topic is prefixed with ``*.buildsys.`` or -``*.ridad.``, respectively. +``*.rida.``, respectively. Message Body ------------ -The message body (``msg['msg']``) is a dictionary with these fields: +The message body is a dictionary with these fields: ``state`` ~~~~~~~~~ diff --git a/rida/builder.py b/rida/builder.py index 0cad7b86..7796cd26 100644 --- a/rida/builder.py +++ b/rida/builder.py @@ -212,8 +212,8 @@ class GenericBuilder: The artifact_name parameter is used in koji add-pkg (and it's actually the only reason why we need to pass it). We don't really limit source - types. The actual source is usually delivered as an SCM URL in - fedmsg['msg']['scmurl'] (currently only SCM URLs work). + types. The actual source is usually delivered as an SCM URL from + fedmsg. Example .build("bash", "git://someurl/bash#damn") #build from SCM URL