[Pkg-zsh-commits] [zsh] 01/01: Add patch to add missing apt purge and autoremove subcommands

Axel Beckert abe at deuxchevaux.org
Sat Dec 26 17:35:44 UTC 2015


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

abe pushed a commit to branch debian
in repository zsh.

commit c3e50a0fe1386e915a3464cae3715aa121e1fa4f
Author: Felipe Sateler <fsateler at debian.org>
Date:   Sat Dec 26 17:50:00 2015 +0100

    Add patch to add missing apt purge and autoremove subcommands
    
    Closes: #808317
---
 debian/patches/series                             |  1 +
 debian/patches/update-apt-completion-808317.patch | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 857f0f2..877edc4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 further-mitigate-test-suite-hangs.patch
+update-apt-completion-808317.patch
diff --git a/debian/patches/update-apt-completion-808317.patch b/debian/patches/update-apt-completion-808317.patch
new file mode 100644
index 0000000..a743a0c
--- /dev/null
+++ b/debian/patches/update-apt-completion-808317.patch
@@ -0,0 +1,22 @@
+Description: Add missing apt purge and autoremove subcommands
+Author: Felipe Sateler <fsateler at debian.org>
+Bug-Debian: https://bugs.debian.org/808317
+Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808317;att=1;filename=_apt.diff;msg=5
+Forwarded: http://www.zsh.org/mla/workers/2015/msg03348.html
+
+--- a/Completion/Debian/Command/_apt	2015-12-03 20:44:53.000000000 -0300
++++ b/Completion/Debian/Command/_apt	2015-12-18 12:36:49.326848831 -0300
+@@ -407,10 +407,12 @@
+     /$'install\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \
+     /$'[^\0/]#/'/ /$'[^\0/]#\0'/ ':release name::_apt_releases' \) \| \
+     /$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
++    /$'purge\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+     /$'upgrade\0'/ \| \
++    /$'autoremove\0'/ \| \
+     /$'full-upgrade\0'/ \| \
+     /$'edit-sources\0'/ \| \
+-    /"[]"/	':argument-1::compadd "$expl_action[@]" list search show update install remove upgrade full-upgrade edit-sources'
++    /"[]"/	':argument-1::compadd "$expl_action[@]" list search show update install remove upgrade full-upgrade edit-sources autoremove purge'
+ 
+   _apt-cmd () {
+     local expl_action expl_packages

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



More information about the Pkg-zsh-commits mailing list