From c3388a341c1c6f5f91c3ba3f16b9020816bb7b01 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Mar 10 2023 09:10:28 +0000 Subject: Remove unused arches from completion Signed-off-by: Mikel Olasagasti Uranga --- diff --git a/conf/bash-completion/fedpkg.bash b/conf/bash-completion/fedpkg.bash index d949e28..9b87235 100644 --- a/conf/bash-completion/fedpkg.bash +++ b/conf/bash-completion/fedpkg.bash @@ -359,7 +359,7 @@ _fedpkg_target() _fedpkg_arch() { - echo "i386 i686 x86_64 armv5tel armv7hl armv7hnl ppc ppc64 ppc64le ppc64p7 s390 s390x" + echo "aarch64 armhfp i686 ppc64le s390x x86_64" } _fedpkg_branch() @@ -388,4 +388,4 @@ _fedpkg_namespaces() # sh-indent-comment: t # indent-tabs-mode: nil # End: -# ex: ts=4 sw=4 et filetype=sh \ No newline at end of file +# ex: ts=4 sw=4 et filetype=sh diff --git a/fedpkg/completers.py b/fedpkg/completers.py index a945a96..5c8b4cc 100644 --- a/fedpkg/completers.py +++ b/fedpkg/completers.py @@ -70,6 +70,5 @@ def list_targets(**kwargs): return tuple(output.decode(sys.stdout.encoding).split()) -build_arches = ChoicesCompleter(("i386", "i686", "x86_64", "armv5tel", - "armv7hl", "armv7hnl", "ppc", "ppc64", - "ppc64le", "ppc64p7", "s390", "s390x")) +build_arches = ChoicesCompleter(("aarch64", "armhfp", "i686", "ppc64le", + "s390x", "x86_64"))