How To Install github2fedmsg on CentOS 7

In this tutorial we learn how to install github2fedmsg on CentOS 7. github2fedmsg is Pubsubhubbub app that rebroadcasts GH events over fedmsg

Introduction

In this tutorial we learn how to install github2fedmsg on CentOS 7.

What is github2fedmsg

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.

We can use yum or dnf to install github2fedmsg on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install github2fedmsg.

Install github2fedmsg on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install github2fedmsg using yum by running the following command:

sudo yum -y install github2fedmsg

Install github2fedmsg on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install github2fedmsg using dnf by running the following command:

sudo dnf -y install github2fedmsg

How To Uninstall github2fedmsg on CentOS 7

To uninstall only the github2fedmsg package we can use the following command:

sudo dnf remove github2fedmsg

References

Summary

In this tutorial we learn how to install github2fedmsg on CentOS 7 using yum and dnf.