README.rst

This a Taskotron task to check package dependencies satisfiability in Fedora. This replaces an older task-depcheck project.

Setting up development environment

Install libtaskotron:

sudo dnf install libtaskotron libtaskotron-fedora

Install dependencies:

sudo dnf install python2-rpmdeplint

Running the task through libtaskotron

runtask --item f25-updates-testing-pending --type koji_tag --arch x86_64 runtask.yml

Running the test suite

Install dependepcies:

sudo dnf install python-virtualenv python2-rpmfluff yum

Create virtualenv:

virtualenv --system-site-packages env_rpmdeplint
source env_rpmdeplint/bin/activate
pip install -r requirements.txt

If you don't have libtaskotron installed in the system, but use it from a checkout, you also need to install it and its deps into the virtualenv:

pip install -e /path/to/libtaskotron/checkout
pip install -r /path/to/libtaskotron/checkout/requirements.txt

Run the test suite:

py.test

Read tests/scenarios/README.md for more details about writing the tests.