[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#518512: marked as done ([fish] apt-cache completion for package names)



Your message dated Mon, 13 Apr 2009 01:02:05 +0000
with message-id <E1LtAYn-0004Ys-1Y@ries.debian.org>
and subject line Bug#518512: fixed in fish 1.23.1-2
has caused the Debian Bug report #518512,
regarding [fish] apt-cache completion for package names
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 owner@bugs.debian.org
immediately.)


-- 
518512: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518512
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fish
Version: 1.23.0-6
Severity: wishlist
Tags: patch

--- Please enter the report below this line. ---
Could you add the completion in apt-cache for package names?

In order to ease your work, I join a patch… I hope it will be useful.

Thanks,

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: 5.0
    1 testing         security.debian.org 
    1 testing         ftp.fr.debian.org 

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-====================
libc6                    (>= 2.7-1) | 2.7-18
libncurses5     (>= 5.6+20071006-3) | 5.7+20090214-1
bc                                  | 1.06.94-3
lynx                                | 
 OR www-browser                     | 



--- share/completions/apt-cache.fish.orig	2009-03-06 18:13:05.000000000 +0000
+++ share/completions/apt-cache.fish	2009-03-06 18:13:25.000000000 +0000
@@ -29,3 +29,14 @@
 complete -r -c apt-cache -s c -l config-file --description "Specify config file"
 complete -x -c apt-cache -s o -l option --description "Specify options"
 
+function __fish_apt-cache_use_package --description 'Test if apt command should have packages as potential completion'
+	for i in (commandline -opc)
+		if contains -- $i contains show showpkg showsrc depends rdepends dotty policy
+			return 0
+		end
+	end
+	return 1
+end
+
+complete -c apt-cache -n '__fish_apt-cache_use_package' -a '(__fish_print_packages)' --description 'Package'
+

--- End Message ---
--- Begin Message ---
Source: fish
Source-Version: 1.23.1-2

We believe that the bug you reported is fixed in the latest version of
fish, which is due to be installed in the Debian FTP archive:

fish-dbg_1.23.1-2_i386.deb
  to pool/main/f/fish/fish-dbg_1.23.1-2_i386.deb
fish_1.23.1-2.diff.gz
  to pool/main/f/fish/fish_1.23.1-2.diff.gz
fish_1.23.1-2.dsc
  to pool/main/f/fish/fish_1.23.1-2.dsc
fish_1.23.1-2_i386.deb
  to pool/main/f/fish/fish_1.23.1-2_i386.deb



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 518512@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gustavo Noronha Silva <kov@debian.org> (supplier of updated fish 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 12 Apr 2009 21:39:33 -0300
Source: fish
Binary: fish fish-dbg
Architecture: source i386
Version: 1.23.1-2
Distribution: unstable
Urgency: low
Maintainer: Gustavo Noronha Silva <kov@debian.org>
Changed-By: Gustavo Noronha Silva <kov@debian.org>
Description: 
 fish       - a friendly interactive shell
 fish-dbg   - a friendly interactive shell (debugging symbols)
Closes: 518512 518793
Changes: 
 fish (1.23.1-2) unstable; urgency=low
 .
   * New maintainer (Closes: #518793)
 .
   [ Adrien <alfredp@laposte.net> ]
   * debian/patches/features/000_apt-cache-completion.patch:
   - add apt-cache completion support (Closes: #518512)
 .
   [ Gustavo Noronha Silva ]
   * debian/control:
   - updated Standards-Version with no changes
   - change fish-dbg's section to debug
Checksums-Sha1: 
 89c962e313ee17ead8beb87784e937315109ad1f 1471 fish_1.23.1-2.dsc
 04d608f6a23b92fdffa1865286bd5fa5cfedd101 11732 fish_1.23.1-2.diff.gz
 de96e6398830b6299b7bd165bc5501cf079131b2 787638 fish_1.23.1-2_i386.deb
 7eac9ec936b8beec8b315fe8d08db010f10780cb 554082 fish-dbg_1.23.1-2_i386.deb
Checksums-Sha256: 
 e51972619cc63fcb87794d0955f302a386d46ec8f2ad468d77d6d1533993d602 1471 fish_1.23.1-2.dsc
 ae44077588564e1e408a475e9ecbac7a5f135517ed7e05400623078f5652346b 11732 fish_1.23.1-2.diff.gz
 fdb41cd8bfa179743a149ff63cb3e3178f98f78bbd72972b034514c4fdd0bf69 787638 fish_1.23.1-2_i386.deb
 4a0b2bda65c45cffb8e8419deedcfe5322385ebcd03c4cc06a8350336ef33fb9 554082 fish-dbg_1.23.1-2_i386.deb
Files: 
 4b036eda8b09425bbd4a126331e81e1c 1471 shells optional fish_1.23.1-2.dsc
 12c33b785bde78c988014395f96f5a12 11732 shells optional fish_1.23.1-2.diff.gz
 e16c77bb2567a1cf4c3311b349ea90f0 787638 shells optional fish_1.23.1-2_i386.deb
 a4958d687b195fa494a20129beff8dcf 554082 debug extra fish-dbg_1.23.1-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBAgAGBQJJ4oqZAAoJENIA6zCg+12moDoIAJPpLY7wzrlvTHWVT4YOnm4l
HDVOnNiz3Toyj2e2nPkkitYOa4Tq3sZ7w1yI5aEZWXxRL0wBySYV0icN3izKa72O
bexzRQ8ut6TJL6HvE/eJ34+3fLzERmu5l7fYxw8A2LwSlW/0TPsq5aZ/2v+rVzTf
AahS2BU8OadSfDRQeN6bq5wnzNFivtqqYQS65h+zWJuWxrqVJ9pgx0lzeEyhzRlS
2w5JzO0OLIGu8IeMqVDYZDhBu97rIxaCWa7NCAFQrBCQzCNdKplO0hygqvcAFrqE
TVovF+FBIJRCAY6OH8asYmGMbHjpRPPr+ZxIenwI8fV2HaR1ILJl27SIYXP9NlU=
=6/Ah
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: