Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 1.24 KB

README.md

File metadata and controls

66 lines (46 loc) · 1.24 KB

PDC-Tangle

Overview

PDC-Tangle is a command-line tool written in Python that queries PDC to present an artifact's recursive dependencies in a tree-like structure.

Usage

To query the recursive dependencies of the python RPM:

python pdc-tangle.py python

To specify the PDC server that PDC-Tangle queries:

python pdc-tangle.py -s pdc.stg.fedoraproject.org python

To specify the type of dependencies that PDC-Tangle queries for:

python pdc-tangle.py -d RPMRequires -d RPMBuildRequires python

To specify the release that the query targets:

python pdc-tangle.py -r fedora-26 python

To view the help:

python pdc-tangle.py --help

Installation

Vagrant

vagrant up
vagrant ssh
source /opt/pdc-tangle/env/bin/activate
cd /opt/pdc-tangle/src

virtualenv on Fedora 24

dnf install -y python python-virtualenv gcc python-devel krb5-devel libffi-devel redhat-rpm-config
virtualenv /opt/pdc-tangle/env
source /opt/pdc-tangle/env/bin/activate
pip install -r /path/to/pdc-tangle/requirements.txt

virtualenv on macOS

sudo virtualenv /opt/pdc-tangle/env
source /opt/pdc-tangle/env/bin/activate
sudo pip install -r /path/to/pdc-tangle/requirements.txt