Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Update the product-definition-center in response to fedmsg

Project description

This is a backend daemon that listens to fedmsg and updates PDC with information about what it sees on the bus.



Set up a python virtualenv:

$ sudo dnf -y install python-virtualenvwrapper
$ source ~/.bashrc
$ mkvirtualenv pdc-updater

Setup pdc-updater and its dependencies:

$ workon pdc-updater
$ pip install -r requirements.txt
$ python develop

Try running the test suite:

$ dnf install libyaml-devel
$ pip install -r test-requirements.txt
$ nosetests

Check test suite coverage:

$ pip install coverage
$ nosetests --with-coverage --cover-package=pdcupdater

If the test suite is failing, one thing to try is to remove the VCR cassette data before re-running the tests:

$ rm -rf pdcupdater/tests/vcr-request-data/
$ nosetests

Getting an authentication token


  • go to in your browser and login.
  • go to
  • open up the devtools console in your browser, and find the request for the current page.
  • right click to open a context menu and select ‘copy as cURL’
  • paste that into a terminal. It should have your saml cookie.
  • before hitting enter, edit the command to add the following option:
    • -H 'Accept: application/json', to tell the API you want data
  • the command should print out your token.

Copy fedmsg.d/ to fedmsg.d/ and fill in your token there.

Running the fedmsg-hub

Run it for real:

$ fedmsg-hub

Finally, you can take the dev instructions from the-new-hotness and learn how to set up a local fedmsg-relay so you can replay production messages and more fully test out pdc-updater.

Project details

Download files

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

Files for pdc-updater, version 0.4.7
Filename, size File type Python version Upload date Hashes
Filename, size pdc-updater-0.4.7.tar.gz (27.0 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page