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.

Status: Pre-Alpha.

It is a webapp that monitors github repositories you subscribe it to. When new actions (commits, pull-request, tickets) are made, it brodcasts 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

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.2.tar.gz (14.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: github2fedmsg-0.2.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for github2fedmsg-0.2.tar.gz
Algorithm Hash digest
SHA256 cf14b4266d8af132ea1c0766c3c62e469f4c7dad97d26587eaa29b96a9626d4d
MD5 cbc5f4ac111e9d3c880283e149e5230e
BLAKE2b-256 2b290586b1a9df58ef1211ed9bb17508cbb57acbad7636257a1515b395b1ea0c

See more details on using hashes here.

Supported by

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