fedora-ci / fbom

Created 6 years ago
Maintained by pingou
The Flag Build-O-Matic
Members 1
Pierre-Yves Chibon committed 6 years ago
Flag Build-O-Matic (fbom)
=========================

`Fedmsg <http://fedmsg.com>`_ consumer that listens to `koji builds
<https://koji.fedoraproject.org>`_ messages for change in build status and for 
every successful builds, retrieve the git commit the build originated from and 
flag that commit in `pagure over dist-git <https://src.fedoraproject.org/>`_.

Set up your environment with::

    $ virtualenv my-env --system-site-packages
    $ source my-env/bin/activate

    $ python setup.py develop
    $ python setup.py build

And then run it with::

    $ fedmsg-hub

It should pick up the fbom consumer and start running.


Hacking
-------

0. Create a virtualenv, then install deps and the hotness itself with ``python setup.py develop``
1. Can you run it?  Try running ``PYTHONPATH=. fedmsg-hub`` in your virtualenv.
   Does it look like it starts without tracebacks?
2. You may need to edit ``fedmsg.d/fbom.py`` and fill in the
   'fbom.pagure_token' configuration key
7. In another terminal run ``fedmsg-tail --really-pretty``.  It should start up