On Sat, Aug 11, 2018 at 10:33 AM Miroslav Suchý <msu...@redhat.com> wrote:

> As part of migration of fedmsg from ZMQ to AMQP, I would like to revisit
> what is Copr sending to fedmsg.
>
> Right now we are sending:
>
>         'build.start': {
>             'what': "build start: user:{user} copr:{copr}" \
>                     " pkg:{pkg} build:{build} ip:{ip} pid:{pid}",
>         },
>         'chroot.start': {
>             'what': "chroot start: chroot:{chroot} user:{user}" \
>                     " copr:{copr} pkg:{pkg} build:{build} ip:{ip}
> pid:{pid}",
>         },
>         'build.end': {
>             'what': "build end: user:{user} copr:{copr} build:{build}" \
>                     " pkg:{pkg} version:{version} ip:{ip} pid:{pid}
> status:{status}",
>         },
>
> I have several ideas what we *should* send. Thou, I'd like to hear *your*
> use case. You do not need to be technically
> detailed. Something like:
>
>   I can utilize if you send message and the end/start of XXX and you will
> put there information YYYY. I would use this
> information for ZZZZ.
>

If there is nobody listening to current Copr messages, maybe we could
invest into making their format more
easier to parse? I.e. instead of the 'what' fields, actually output some
better structured information that does not
necessitate string splitting on whitespaces. I think with the introduction
of the new messaging system, this
could be a good time to do this.

clime


>
> Miroslav
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/OMIVYTJ27O5Z2QPZFSUXHBYLAZ7VPAZX/
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MBGDSJBGNGIKNONMOUCANQAWLX4APS4G/

Reply via email to