Skip to main content

Pubsubhubbub app that rebroadcasts GH events over fedmsg

Project description

github2fedmsg

A bot broadcasts every action made on your repo hosted on GitHub on the fedmsg message bus.

It is a web application that monitors GitHub repositories you subscribe it to. When new actions (commits, pull-request, tickets) are made, it broadcasts a message on the fedmsg message bus.

It is written in Python on the Pyramid framework, and uses velruse to talk with GitHub. It adds a webhook callback back to itself on repositories you ask it to monitor. When one of those callbacks fire, github2fedmsg republishes the message it receives to the fedmsg bus.

Hacking

If you run into trouble with these instructions, feel free to open a ticket or get in touch with me directly.

Fork and clone the following two repositories:

Using virtualenvwrapper:

$ cd github2fedmsg
$ mkvirtualenv github2fedmsg
$ python setup.py develop
$ pip install waitress

Go off and register your development application with GitHub. Save the oauth tokens and add the secret one to a new file you create called secret.ini. Use the example secret.ini.example file.

Create the database:

$ initialize_github2fedmsg_db development.ini

Now, start the webapp:

$ workon github2fedmsg
$ pserve development.ini --reload

0.0

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github2fedmsg-0.3.6.tar.gz (345.5 kB view details)

Uploaded Source

File details

Details for the file github2fedmsg-0.3.6.tar.gz.

File metadata

File hashes

Hashes for github2fedmsg-0.3.6.tar.gz
Algorithm Hash digest
SHA256 a3fcfd1f96e26a362da326e7e03946bb8d6ab3006b5e01d9a519bdfe892ce2ad
MD5 e47f6be5b9d12cc77039a53b259b3181
BLAKE2b-256 aed7fed30fdf57ae1ace1ef40f3423afc9db954988a7d542df058ad6d872e288

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page