aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-01-08 22:17:13 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-03-01 21:18:47 +0200
commit6819d87b2e1a65aa57f959f07b8d226578dda634 (patch)
tree613aa470f4ca32930d5415f87c7c825ab5fc47fb /data
parentcommit: update help text for `--edit` (diff)
downloadpkgdev-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/pkgdev22
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