summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.bash
Commit message (Collapse)AuthorAgeFilesLines
* fedpkg: Complete --srpm for the build commandTodd Zullinger2010-09-101-1/+2
|
* fedpkg: Use git plumbing to complete branch namesTodd Zullinger2010-09-101-3/+4
| | | | | The output of 'git branch' is not guaranteed to remain constant. Using the for-each-ref plumbing command should work reliably for longer.
* fedpkg: Remove filenames option from completionTodd Zullinger2010-09-101-1/+1
| | | | | | | | | | | | | | | The bash completion 'filenames' option prevents proper completion of local refs like tmz/f13. On systems with bash-completion >= 1.2, this should have little effect because the _filedir command sets the option as needed (or emulates it on older bash releases that lack compopt). On systems with older bash-completion (like EL-5 currently), there is a minor downside in that filename completion won't append trailing slashes to directories without the 'filenames' option. Ideally, bash-completion will be updated on EL-5 and this minor inconvenience will vanish sometime soon.
* fedpkg: Use _filedir for path completionTodd Zullinger2010-09-101-11/+16
| | | | | The _filedir function is a bit more robust than using compgen directly. A wrapper function is used to filter out .git directories from results.
* bash-completion < 1.2 compatibility (tmz@pobox.com)Jesse Keating2010-09-081-1/+8
| | | | | | | | The _get_comp_words_by_ref is provided by bash-completion >= 1.2, which EL-5 lacks. Attempting to use fedpkg completion on EL-5 results in errors: $ fedpkg <TAB>-bash: _get_comp_words_by_ref: command not found Fall back to using ${COMP_WORDS[COMP_CWORD]}.
* fedpkg: better bash completionJan Vcelak2010-09-081-117/+222
| | | | | - completes koji targets, sytem architectures, git branches, filenames and SRPM names after specific options
* Remove build --test option in bash completionJesse Keating2010-08-231-1/+1
|
* Documented bash completion scriptLéon Keijser2010-08-231-3/+15
|
* Add some new commands to the bash completionJesse Keating2010-08-191-10/+10
|
* Fix whitespaceJesse Keating2010-08-191-1/+1
|
* Add bash-completion script for fedpkgLéon Keijser2010-08-191-0/+134