How To Install python2-sync2jira on CentOS 7

In this tutorial we learn how to install python2-sync2jira on CentOS 7. python2-sync2jira is Sync pagure and github issues to jira, via fedmsg

Introduction

In this tutorial we learn how to install python2-sync2jira on CentOS 7.

What is python2-sync2jira

This is a process that listens to activity on upstream repos on pagure and github via fedmsg, and syncs new issues there to a Jira instance elsewhere. Configuration is in /etc/fedmsg.d/. You can maintain a mapping there that allows you to match one upstream repo (say, ‘pungi’ on pagure) to a downstream project/component pair in Jira (say, ‘COMPOSE’, and ‘Pungi’).

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

Install python2-sync2jira on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python2-sync2jira using yum by running the following command:

sudo yum -y install python2-sync2jira

Install python2-sync2jira 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 python2-sync2jira using dnf by running the following command:

sudo dnf -y install python2-sync2jira

How To Uninstall python2-sync2jira on CentOS 7

To uninstall only the python2-sync2jira package we can use the following command:

sudo dnf remove python2-sync2jira

References

Summary

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