packages:fedmsg
This is an old revision of the document!
fedmsg
fedmsg (Fedora-Messaging) is a Python package and API used around Fedora Infrastructure to send and receive messages to and from applications.
testing
Quick setup from here:
- install yourself
fedmsg-relay
package, start the service. - tail the relay messages:
fedmsg-tail –really-pretty
- issue a message:
fedmsg-tail –really-pretty
anitya
anitya is a cross-distribution upstream release monitoring project, under https://release-monitoring.org address.
To monitor their events via fedmsg:
- install fedmsg package:
$ poldek -u fedmsg
- configure anitya bus:
- ~/.fedmsg.d/anitya.py
# anitya endpoint definition: https://release-monitoring.org/fedmsg config = dict( # This is a dict of possible addresses from which fedmsg can send # messages. fedmsg.init(...) requires that a 'name' argument be passed # to it which corresponds with one of the keys in this dict. endpoints={ "anitya-public-relay": [ "tcp://release-monitoring.org:9940", ], }, )
- tail the changes!
$ fedmsg-tail --really-pretty
packages/fedmsg.1447268488.txt.gz · Last modified: 2015-11-11 20:01 by glen