Skip to content

A Python CLI tool that displays artifact dependencies based on data in PDC

Notifications You must be signed in to change notification settings

product-definition-center/pdc-tangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Python CLI tool that displays artifact dependencies based on data in PDC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages