.. _koji_directive:
koji_directive - download builds and tags from Koji
+++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 0.4
The koji directive interfaces with `Koji
parameter | required | description | type | default | choices |
---|---|---|---|---|---|
action |
yes | choose whether to download a single build (download value) or all builds belonging to a Koji tag (download_tag value) |
str |
|
|
arch |
yes | a list of architectures for which to download RPMs for the requested build/tag. If you want to download RPMs for all arches, use ['all']. Note: noarch RPMs are always automatically downloaded even when not requested, unless arch=[] and src=True. |
list of str |
|
|
debuginfo |
no | download also debuginfo RPM files |
bool |
False |
|
koji_build |
yes | N(E)VR of a Koji build to download (for action="download") or to search the latest stable build for (for action="download_latest_stable"). Not required for action="download_tag". Example: xchat-2.8.8-21.fc20 |
str |
||
koji_tag |
yes | name of a Koji tag to download all builds from. Only required when action="download_tag". Example: f20-updates-pending |
str |
||
src |
no | download also src RPM files |
bool |
False |
|
target_dir |
no | directory into which to download builds |
str |
${workdir} |