diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-01-08 22:17:13 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-03-01 21:18:47 +0200 |
commit | 6819d87b2e1a65aa57f959f07b8d226578dda634 (patch) | |
tree | 613aa470f4ca32930d5415f87c7c825ab5fc47fb /data | |
parent | commit: update help text for `--edit` (diff) | |
download | pkgdev-6819d87b2e1a65aa57f959f07b8d226578dda634.tar.gz pkgdev-6819d87b2e1a65aa57f959f07b8d226578dda634.tar.bz2 pkgdev-6819d87b2e1a65aa57f959f07b8d226578dda634.zip |
pkgdev bugs: new tool for filing stable bugs
This new tool isn't complete, and any usage should be manually monitored
for failures or incorrect results. This tool will be improved in the
future, but for now it's a good start.
Resolves: https://github.com/pkgcore/pkgdev/issues/113
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'data')
-rw-r--r-- | data/share/bash-completion/completions/pkgdev | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/data/share/bash-completion/completions/pkgdev b/data/share/bash-completion/completions/pkgdev index 37e7a4b..223a7d9 100644 --- a/data/share/bash-completion/completions/pkgdev +++ b/data/share/bash-completion/completions/pkgdev @@ -7,6 +7,7 @@ _pkgdev() { _init_completion || return local subcommands=" + bugs commit manifest mask @@ -229,6 +230,27 @@ _pkgdev() { ;; esac ;; + bugs) + subcmd_options=" + --api-key + --auto-cc-arches + --dot + -s --stablereq + -k --keywording + " + + case "${prev}" in + --api-key | --auto-cc-arches) + COMPREPLY=() + ;; + --dot) + COMPREPLY=($(compgen -f -- "${cur}")) + ;; + *) + COMPREPLY+=($(compgen -W "${subcmd_options}" -- "${cur}")) + ;; + esac + ;; esac } complete -F _pkgdev pkgdev |