.. _distgit_directive: distgit_directive - download files from distgit +++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 0.3.16 Download files from Fedora package repository (usually called 'distgit') hosted at http://pkgs.fedoraproject.org/. Any files hosted at that repository can be downloaded for a chosen package. Parameters ---------- .. raw:: html
parameter | required | description | type | default | choices |
---|---|---|---|---|---|
localpath |
no | a local path of downloaded file. If not provided, path from distgit will be used. Example: [specs/xchat.spec] |
list of str |
||
package |
yes | N(E)VR of a package. Package dist tag determines the git branch used for file download. Example: xchat-2.8.8-21.fc20 |
str |
||
path |
yes | files (directories not supported at the moment) to be downloaded from distgit. Example: [xchat.spec] |
list of str |
||
target_dir |
no | directory into which to download files |
str |
${workdir} |