zsh-workers
 help / color / mirror / code / Atom feed
* Fwd: [Pkg-zsh-devel] Bug#702760: zsh: aptitude completion missing resolver options [origin: dbbcode@gmail.com]
@ 2014-06-28 12:34 Axel Beckert
  0 siblings, 0 replies; only message in thread
From: Axel Beckert @ 2014-06-28 12:34 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

Hi,

the patch in the attached mail expands zsh's aptitude completion by
two boolean options.

It applies to current zsh git HEAD without fuzz, but with an offset of
33 lines.

Initially reported in Debian at https://bugs.debian.org/702760

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)

[-- Attachment #2: Type: message/rfc822, Size: 6711 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 1189 bytes --]

Package: zsh
Version: 4.3.10-14
Severity: normal

The _aptitude zsh completion file is missing --full-resolver and
--safe-resolver. Since these options are used frequently, I think it fitting
that they be added to the completion system. I have made a simple patch to add
them.

-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
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.11.3-4       Embedded GNU C Library: Shared lib
ii  libcap2                   1:2.19-3       support for getting/setting POSIX.
ii  libncursesw5              5.7+20100313-5 shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.11.3-4   Embedded GNU C Library: Shared lib
ii  libpcre3                      8.02-1.1   Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
pn  zsh-doc                       <none>     (no description available)

-- no debconf information

[-- Attachment #2.1.2: zsh_apti.patch --]
[-- Type: text/plain, Size: 814 bytes --]

--- /usr/share/zsh/functions/Completion/Debian/_aptitude	2010-06-30 12:25:11.000000000 -0400
+++ ./Completion/Debian/Command/_aptitude	2013-03-10 23:27:58.000000000 -0400
@@ -37,6 +37,8 @@
   '--schedule-only[schedule operations to be performed in the future]' \
   '--purge-unused[purge unused packages instead of removing]' \
   '--visual-preview[start up the visual interface and display its preview screen]' \
+  '--full-resolver[attempts to resolve conflicts with a higher risk of breakage]' \
+  '--safe-resolver[attempts to resolve conflicts with a lower risk of breakage]' \
   '-S[load the extended state information from non-standard state file]:state file:_files' \
   '-u[begin updating the package lists as soon as the program starts]' \
   '-i[displays a download preview when the program starts]' \

[-- Attachment #2.1.3: Type: text/plain, Size: 182 bytes --]

_______________________________________________
Pkg-zsh-devel mailing list
Pkg-zsh-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zsh-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-28 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-28 12:34 Fwd: [Pkg-zsh-devel] Bug#702760: zsh: aptitude completion missing resolver options [origin: dbbcode@gmail.com] Axel Beckert

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).