Another way to query resources from Koji
This tool is being under development. Anything would be changed in the future. Please refer to document to know the latest features.
mykoji
requires several dependent packages that need to be installed by
RPM packages. Unfortunately, those packages expect pycurl are not available in
PyPI.
To run mykoji
, install packages
sudo dnf install rpm-python koji python-pycurl python-setuptools
If you run mykoji
with Python 2.6, python2-configargparse
must be also
installed.
Currently, mykoji is not compatible with Python 3. It will be fixed soon.
Get builds of package httpd
:
mykoji.py builds --package httpd
Get builds of package httpd
, but only needs attributes name
,
version
, release
, nvr
, and state
:
mykoji.py builds --package httpd --attributes name,version,release,nvr,state
Get latest build of package httpd
ordered by nvr
:
mykoji.py builds --package httpd --latest --order-by nvr
Get builds by multiple NVRs and sort builds by nvr:
mykoji.py builds --order-by nvr httpd-2.4.10-6.fc22 httpd-2.4.10-10.fc22