Your message dated Fri, 13 Jun 2014 10:34:20 +0000
with message-id <[email protected]>
and subject line Bug#691526: fixed in zsh 5.0.5-3
has caused the Debian Bug report #691526,
regarding zsh: completion for apt-mark
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
691526: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691526
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zsh
Version: 5.0.0-2
Severity: wishlist
Tags: patch
Please apply the attached patch to add completion for apt-mark. It is
implemented using the framework used by apt-get and friends.
Kind regards
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages zsh depends on:
ii libc6 2.13-35
ii libcap2 1:2.22-1.2
ii libtinfo5 5.9-10
Versions of packages zsh recommends:
ii libc6 2.13-35
ii libncursesw5 5.9-10
ii libpcre3 1:8.31-1
Versions of packages zsh suggests:
ii zsh-doc 4.3.17-1
-- no debconf information
--
Sebastian Ramacher
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index b51b2fc..4ee28d7 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -1,4 +1,4 @@
-#compdef apt-get apt-cache apt-cdrom apt-config
+#compdef apt-get apt-cache apt-cdrom apt-config apt-mark
_apt () {
case "$service" in
@@ -6,6 +6,7 @@ _apt () {
apt-cache) _apt-cache "$@";;
apt-cdrom) _apt-cdrom "$@";;
apt-config) _apt-config "$@";;
+ apt-mark) _apt-mark "$@";;
*) _message "unknown command $service";;
esac
}
@@ -586,4 +587,34 @@ _apt_caching_policy () {
/var/lib/dpkg/available -nt "$1" ]]
}
+_apt-mark () {
+ _apt_arguments _apt-mark_sm \
+ -h,--help:bool \
+ -v,--version:bool \
+ -f,--file:configfile \
+ -c,--config-file:configfile \
+ -o,--option:arbitem \
+ -qq:bool \
+ -s:bool \
+ -- \
+ /$'auto\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'manual\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'hold\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'unhold\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'showauto\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'showmanual\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'showhold\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /"[]"/ ':argument-1::compadd "$expl_action[@]" auto manual hold unhold showauto showmanual showhold'
+
+ _apt-mark () {
+ local expl_action expl_packages
+ _description actions expl_action 'action'
+ _description packages expl_packages 'package'
+
+ _apt-mark_sm
+ }
+
+ _apt-mark "$@"
+}
+
_apt "$@"
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: zsh
Source-Version: 5.0.5-3
We believe that the bug you reported is fixed in the latest version of
zsh, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Axel Beckert <[email protected]> (supplier of updated zsh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 13 Jun 2014 11:49:44 +0200
Source: zsh
Binary: zsh zsh-common zsh-doc zsh-static zsh-dev zsh-dbg zsh-beta zsh-beta-doc
Architecture: source all amd64
Version: 5.0.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Zsh Maintainers <[email protected]>
Changed-By: Axel Beckert <[email protected]>
Description:
zsh - shell with lots of features
zsh-beta - transitional package to zsh
zsh-beta-doc - transitional package to zsh-doc
zsh-common - architecture independent files for Zsh
zsh-dbg - shell with lots of features (debugging symbols)
zsh-dev - shell with lots of features (development files)
zsh-doc - zsh documentation - info/HTML format
zsh-static - shell with lots of features (static link)
Closes: 691526 749969
Changes:
zsh (5.0.5-3) unstable; urgency=medium
.
[ Axel Beckert ]
* [befdc25a] Don't even try to run test suite on hurd, it hangs.
* [53e4180a] Add bug scripts to list packages that could interfere with
zsh's behaviour.
* [1af939ec] Cherry-pick apt and apt-mark completion updates from
upstream. (Closes: #691526)
* [ce0c912b] Cherry-pick upstream fix for INC_APPEND_HISTORY
regression. (Closes: #749969)
* [655a374b] Add build-dependency on cm-super-minimal. It FTBFS with TeX
Live >= 2014 otherwise.
.
[ Frank Terbeck ]
* [5ac620f4] Add note about $fpath entries to README.Debian.
Checksums-Sha1:
2c99bab93b46fa33222ff52b8ffc2d2f34daf2d0 1946 zsh_5.0.5-3.dsc
3594186407d4df9303f0af9e3546f34ca4921b15 65112 zsh_5.0.5-3.debian.tar.xz
879208b2d2b5b9da1e6b13c492cf06b12042e595 3025248 zsh-common_5.0.5-3_all.deb
a857e27db63bc281560fbf18470f0a47c5d59bdf 2431116 zsh-doc_5.0.5-3_all.deb
27e160b36d3f56cc3fb3ebcd41cbfc5e8820aed3 1542 zsh-beta_5.0.5-3_all.deb
19ded85119ab25d70c8cf4a44e55cc952d8dc74e 1168 zsh-beta-doc_5.0.5-3_all.deb
e1f3e2f9be9121da495c4ffe3a4ea625f10d0624 617760 zsh_5.0.5-3_amd64.deb
819386c32d38106a33ff11a3874bbab50997691b 910174 zsh-static_5.0.5-3_amd64.deb
22bbe4821c15dbc0376104f07522f1f52fb1fafa 48024 zsh-dev_5.0.5-3_amd64.deb
8b12939fa0fa954fdae9903e90a0cf2761a69180 1447796 zsh-dbg_5.0.5-3_amd64.deb
Checksums-Sha256:
dc87d06cefc51502a78ffeb5a8b11557706ed4d4833ab0dd8672383b0db3823b 1946
zsh_5.0.5-3.dsc
ca70e0ab44d7b6b5863a3875272c1950db97301fd123fdd0f57103395031b004 65112
zsh_5.0.5-3.debian.tar.xz
c5e7ac59298cfee792c5825f0d066d5f2f9f9d22590c4d27fc25bb7ceb4f2e06 3025248
zsh-common_5.0.5-3_all.deb
7630399e804fffdeb6275289a5d4a8ed69c8e35b4b6935116944daefab73710b 2431116
zsh-doc_5.0.5-3_all.deb
de9b4a0bc0d8dc1775f6fac24a79dae9f30271a00c252994731313a0f51d65a3 1542
zsh-beta_5.0.5-3_all.deb
1ee68abcc9421455bc1fe7aeee7ac3b94f348b79a7a0f7785e90767f454efb0e 1168
zsh-beta-doc_5.0.5-3_all.deb
48b895bb60fb1a26ebb79b5046bddc22c8f34b9a3ce2d4cf034ac629fd9f9446 617760
zsh_5.0.5-3_amd64.deb
92e7b9f37629de16b9b42098af26389db0a011e33bbc59ca4db98d21ca14f97d 910174
zsh-static_5.0.5-3_amd64.deb
d694e1e2af4dfa1996af1884edc00f1957303a7122bfec293ae2892089f8243a 48024
zsh-dev_5.0.5-3_amd64.deb
45928ac308474e4f5628773759c7177f7fb482ebd00410408eef2e366103e4a3 1447796
zsh-dbg_5.0.5-3_amd64.deb
Files:
7cf9ba46b2377005c8d6ea4a5fcbd073 3025248 shells optional
zsh-common_5.0.5-3_all.deb
0470a595efe885baa7dd7aa0408ed8ae 2431116 doc optional zsh-doc_5.0.5-3_all.deb
2c7b9f09e363233ff57c9eb334965221 1542 oldlibs extra zsh-beta_5.0.5-3_all.deb
9657e26beb71d85acfbe6953791c9338 1168 oldlibs extra
zsh-beta-doc_5.0.5-3_all.deb
94652fb27b14550c6339dcaa68c7c1ff 617760 shells optional zsh_5.0.5-3_amd64.deb
bd8d6b6acbded6d4a153af48471b142d 910174 shells optional
zsh-static_5.0.5-3_amd64.deb
c168ca5e1a2755f13b189ac89182cfdf 48024 libdevel optional
zsh-dev_5.0.5-3_amd64.deb
ff7399f7811176117af0a4badaf85f3c 1447796 debug extra zsh-dbg_5.0.5-3_amd64.deb
a5da8676209d17728f0cc141b61c730b 1946 shells optional zsh_5.0.5-3.dsc
7a02618329edc7f1a6bdc6db3af10fde 65112 shells optional
zsh_5.0.5-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlOayncACgkQwJ4diZWTDt5E/QCfV/oeJs+TJVhI9750F+uLhqnE
bXMAmwejmFGjOQD8rznuUsuf+WiYBSzm
=uzse
-----END PGP SIGNATURE-----
--- End Message ---