[devscripts] 01/01: Remove dcut.bash_completion so src:dput can provide it

James McCoy jamessan at debian.org
Mon Jan 9 12:15:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit 215fcddfa51a051001d16af3e5ad4c7eb8ecfda0
Author: James McCoy <jamessan at debian.org>
Date:   Mon Jan 9 07:14:59 2017 -0500

    Remove dcut.bash_completion so src:dput can provide it
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog             |  4 +++-
 scripts/dcut.bash_completion | 57 --------------------------------------------
 2 files changed, 3 insertions(+), 58 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 02bb930..92abad6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-devscripts (2.16.14) UNRELEASED; urgency=medium
+devscripts (2.17.0) UNRELEASED; urgency=medium
 
   [ Sean Whitton ]
   * New script: git-deborig, a wrapper around git-archive(1) to generate
@@ -13,6 +13,8 @@ devscripts (2.16.14) UNRELEASED; urgency=medium
     (Closes: #850655)
   * wrap-and-sort:
     + Support debian/clean files.  (Closes: #850662)
+  * Remove bash completion for dcut, since src:dput will be providing it.
+    (Closes: #850684)
 
  -- Sean Whitton <spwhitton at spwhitton.name>  Mon, 19 Dec 2016 09:51:35 +0000
 
diff --git a/scripts/dcut.bash_completion b/scripts/dcut.bash_completion
deleted file mode 100644
index 3992c80..0000000
--- a/scripts/dcut.bash_completion
+++ /dev/null
@@ -1,57 +0,0 @@
-# /usr/share/bash-completion/completions/dcut
-# Bash command completion for ‘dcut(1)’.
-# Documentation: ‘bash(1)’, section “Programmable Completion”.
-
-_dcut()
-{
-    local cur prev options commands
-
-    COMPREPLY=()
-    cur=${COMP_WORDS[COMP_CWORD]}
-    prev=${COMP_WORDS[COMP_CWORD-1]}
-    options='-c --config -d -h --host -s -m --maintainer -k --keyid
-             -t -O --output -P --passive -s --simulate -U --upload
-             -i --input -v --version'
-    commands='mv rm cancel'
-
-    case $prev in
-        -k | --keyid)
-            keyid_options=`gpg -K|grep ^sec|cut -d'/' -f2|cut -d' ' -f1`
-            COMPREPLY=( $( compgen -W "$keyid_options" | grep ^$cur ) )
-            ;;
-        mv | rm | cancel)
-            COMPREPLY=( $(
-                    compgen -G "${cur}*.changes"
-                    compgen -G "${cur}*.commands"
-                ) )
-            ;;
-        -*)
-            COMPREPLY=( $(
-                    compgen -G "${cur}*.changes"
-                    compgen -G "${cur}*.dsc"
-                    compgen -G "${cur}*.commands"
-                ) )
-            ;;
-        *)
-            COMPREPLY=( $(
-                    compgen -G "${cur}*.changes"
-                    compgen -G "${cur}*.dsc"
-                    compgen -G "${cur}*.commands"
-                    compgen -W "$commands" | grep "^$cur"
-                    compgen -W "$options" | grep "^$cur"
-                ) )
-            ;;
-    esac
-
-    return 0
-
-}
-complete -F _dcut -o filenames dcut
-
-
-# Local variables:
-# coding: utf-8
-# mode: shell-script
-# indent-tabs-mode: nil
-# End:
-# vim: fileencoding=utf-8 filetype=sh expandtab shiftwidth=4 :

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list