[PLDWWW] page added: packages:fedmsg

"Elan Ruusamäe (glen)" glen at pld-linux.org
Tue Nov 25 15:44:33 CET 2014


created

--- ---
+++ https://www.pld-linux.org/packages/fedmsg?rev=
====== fedmsg ======

[[http://www.fedmsg.com/|fedmsg]] (Fedora-Messaging) is a Python package and API used around Fedora Infrastructure to send and receive messages to and from applications.

===== anitya =====

[[https://github.com/fedora-infra/anitya|anitya]] is a cross-distribution upstream release monitoring project, under [[https://release-monitoring.org/|https://release-monitoring.org]] address.

To monitor their events via fedmsg:
   * install [[package>fedmsg]] package: <code>$ poldek -u fedmsg</code>
   * configure anitya bus: <code python ~/.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",
        ],
    },
)
</code>
   * tail the changes! <code>
$ fedmsg-tail --really-pretty
</code>

Diff URL:
  ---
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list