Debian Bug report logs - #432289
/etc/bash_completion: more aptitude commands

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Gerfried Fuchs <rhonda@debian.at>

Date: Mon, 9 Jul 2007 07:06:01 UTC

Severity: normal

Tags: confirmed, patch

Fixed in version bash-completion/20080617

Done: Luk Claes <luk@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#432289; Package bash. (full text, mbox, link).


Acknowledgement sent to Gerfried Fuchs <rhonda@debian.at>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Gerfried Fuchs <rhonda@debian.at>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /etc/bash_completion: more aptitude commands
Date: Mon, 9 Jul 2007 09:04:12 +0200
Package: bash
Version: 3.1dfsg-8
Severity: normal
File: /etc/bash_completion

        Hi!

 Please update /etc/bash_completion to support the new commands in
aptitude:

aptitude {autoclean | clean | forget-new | keep-all | update | safe-upgrade}
aptitude {changelog | full-upgrade | download | forbid-version | hold | install |keep-all | markauto | purge | reinstall | remove | show | unhold | unmarkauto}
aptitude search
aptitude {why | why-not}

 Especially safe-upgrade and full-upgrade, propably you want to support
why/why-not and keep-all keyword, too.

 So long,
Rhonda



Information forwarded to Matthias Klose <doko@debian.org>:
Bug#432289; Package bash. (full text, mbox, link).


Acknowledgement sent to Eric W Anderson <Eric.Anderson@Colorado.EDU>:
Extra info received and forwarded to maintainer. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #10 received at 432289-maintonly@bugs.debian.org (full text, mbox, reply):

From: Eric W Anderson <Eric.Anderson@Colorado.EDU>
To: 432289-maintonly@bugs.debian.org
Subject: Patch to /etc/bash_completion for bug 432289
Date: Sat, 21 Jul 2007 22:41:37 -0600
[Message part 1 (text/plain, inline)]
This works for me, but I'm not up on exactly how bash_completion works, so check
this for sanity.

--- /etc/bash_completion.orig   2007-07-21 22:12:20.000000000 -0600
+++ /etc/bash_completion        2007-07-21 22:32:33.000000000 -0600
@@ -2200,7 +2200,7 @@
                     -Z -v --verbose'

        for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do
-           if [[ ${COMP_WORDS[i]} ==
@(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|download|show|forbid-version|purge|remove|changelog)
]]; then
+           if [[ ${COMP_WORDS[i]} ==
@(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|forbid-version|purge|remove|changelog|why|why-not|keep|keep-all)
]]; then
                special=${COMP_WORDS[i]}
            fi
            #exclude some mutually exclusive options
@@ -2210,7 +2210,7 @@

        if [[ -n "$special" ]]; then
           case $special in
-
@(install|hold|markauto|unmarkauto|dist-upgrade|download|show|changelog))
+
@(install|hold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|changelog|why|why-not))
                   COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) )
                   return 0
                   ;;
@@ -2228,7 +2228,7 @@

        case $prev in
            # don't complete anything if these options are found
-           @(autoclean|clean|forget-new|search|upgrade|update))
+
@(autoclean|clean|forget-new|search|upgrade|safe-upgrade|update|keep-all))
                return 0
                ;;

@@ -2249,11 +2249,10 @@
        if [[ "$cur" == -* ]]; then
            COMPREPLY=( $( compgen -W "$dashoptions" -- $cur ) )
        else
-           COMPREPLY=( $( compgen -W 'update upgrade forget-new clean \
-                                      autoclean install reinstall remove \
-                                      hold unhold purge markauto unmarkauto \
-                                      dist-upgrade download search show \
-                                      forbid-version changelog' -- $cur ) )
+           COMPREPLY=( $( compgen -W 'update upgrade safe-upgrade forget-new
clean \
+                                      hold unhold purge markauto unmarkauto why
why-not\
+                                      dist-upgrade full-upgrade download search
show \
+                                      forbid-version changelog keep-all' --
$cur ) )
        fi



-- 
Eric W. Anderson                                   University of Colorado
eric.anderson@colorado.edu                      Dept. of Computer Science
phone: +1-720-984-8864                             Systems Lab - ECCS 112

                         PGP key fingerprints:
       personal: 1BD4 CFCE 8B59 8D6E EA3E  EBD5 4DC9 3E61 656C 462B
       academic: D3C5 D6FF EDED 9F1F C36D  53A3 74B7 53A6 3C74 5F12

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#432289; Package bash. (full text, mbox, link).


Acknowledgement sent to "Mathieu GELI" <mathieu.geli@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #15 received at 432289@bugs.debian.org (full text, mbox, reply):

From: "Mathieu GELI" <mathieu.geli@gmail.com>
To: "Debian Bug Tracking System" <submit@bugs.debian.org>
Cc: 432289@bugs.debian.org
Subject: aptitude: adding bash completion
Date: Thu, 10 Jan 2008 00:39:41 +0100
[Message part 1 (text/plain, inline)]
Package: aptitude
Version: 0.4.10-1+b2
Severity: normal
Tags: patch

Completion seems to be required for some time.
Here is a quick patch that should make bash users happy for
main options.

Cheers

-- 
Mathieu
[aptitude.completion.patch (text/x-diff, attachment)]

Bug reassigned from package `bash' to `bash-completion'. Request was from Luk Claes <luk@debian.org> to control@bugs.debian.org. (Sun, 02 Mar 2008 15:25:34 GMT) (full text, mbox, link).


Tags added: patch Request was from Steve Kemp <skx@debian.org> to control@bugs.debian.org. (Mon, 24 Mar 2008 16:54:03 GMT) (full text, mbox, link).


Tags added: confirmed, pending Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sun, 11 May 2008 15:45:11 GMT) (full text, mbox, link).


Reply sent to Luk Claes <luk@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Gerfried Fuchs <rhonda@debian.at>:
Bug acknowledged by developer. (full text, mbox, link).


Message #26 received at 432289-close@bugs.debian.org (full text, mbox, reply):

From: Luk Claes <luk@debian.org>
To: 432289-close@bugs.debian.org
Subject: Bug#432289: fixed in bash-completion 20080617
Date: Sat, 21 Jun 2008 21:02:04 +0000
Source: bash-completion
Source-Version: 20080617

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

bash-completion_20080617.dsc
  to pool/main/b/bash-completion/bash-completion_20080617.dsc
bash-completion_20080617.tar.gz
  to pool/main/b/bash-completion/bash-completion_20080617.tar.gz
bash-completion_20080617_all.deb
  to pool/main/b/bash-completion/bash-completion_20080617_all.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 432289@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luk Claes <luk@debian.org> (supplier of updated bash-completion 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: Sat, 21 Jun 2008 21:59:43 +0200
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 20080617
Distribution: unstable
Urgency: low
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.debian.org>
Changed-By: Luk Claes <luk@debian.org>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 347316 365658 376433 394636 404976 409423 416655 424736 428641 432289 441017 455510 468254 470539 470742 472132 472940 474094 474517 474974 475242 478596 480879
Changes: 
 bash-completion (20080617) unstable; urgency=low
 .
   [ David Paleino ]
   * New upstream release
     - add more completions to aptitude (Closes: #432289)
     - fixed UTF-8 problem with _get_cword(), thanks to
       Andrei Paskevich (Closes: #472132)
     - fixed autoremove completion, thanks to Flavio Visentin
       (Closes: #474974)
     - cmf and CMF added to playmidi completion (Closes: #365658)
     - added rrdtool completion, thanks to Justin Pryzby (Closes: #428641)
     - added OpenDocument completion for unzip/zipinfo (.od{f,g,p,s,t})
       (Closes: #472940)
     - fixed escaping problems with job control (i.e. disown, jobs, bg,
       fg): the argument is now surrounded by "" (Closes: #347316)
     - make mkdir complete also on filenames (Closes: #376433)
     - {bz,z}{cat,cmp,diff,egrep,fgrep,grep,less,more} now should complete
       on all filenames, not just compressed archives (just commented out)
       (Closes: #455510)
     - fixes Perl completion (Closes: #470742)
     - fixes get_cword -> _get_cword typo (Closes: #478596)
     - fixes _get_cword() function to properly handle filenames with
       whitespaces (Closes: #394636, #468254, #474094)
     - added .pdf.bz2 completion to evince (Closes: #424736)
     - added .svg completion to display (Closes: #441017)
     - added .m2ts completion to mplayer (Closes: #480879)
     - added extra/dh_bash-completion to ease future rewrite of bc.
   * debian/copyright - now in a fancier machine-parsable format.
   * debian/control:
     - added myself to Uploaders
     - debhelper Build-Depends updated to >= 6.
   * debian/watch:
     - improved current watch line regex
     - added (commented out) probable future watch line
   * debian/compat bumped to 6
   * debian/dirs, debian/install and debian/links added
   * debian/rules:
     - refactored to make use of debian/{dirs,install,links}
 .
   [ Steve Kemp ]
   * Applied patch to fix completion of umount command.
     (Closes: #470539)
   * Fixed the completion of Perl manpages.
     (Closes: #404976)
   * Added 'aif' to the filenames offed for completion for mplayer.
     (Closes: #474517)
   * Allow tsocks completion.
     (Closes: #409423)
   * Update mutt completion to handle local usernames.
     (Closes: #416655)
   * Update apt-get completion to include the flag "--no-install-recommends"
     (Closes: #475242)
Checksums-Sha1: 
 a267866b73de860449ddbc4374faa0b27cb14652 854 bash-completion_20080617.dsc
 d0fc2f36ee0d896f98c1e5dfd49e8623bb936aaa 97143 bash-completion_20080617.tar.gz
 91dc4ad723ecbff302047187e65f6aefedf5ebbf 83372 bash-completion_20080617_all.deb
Checksums-Sha256: 
 9aa0ed60aa9fc88fcc3a542a0d296ead12c23dbae025d158ff414267b22c960b 854 bash-completion_20080617.dsc
 57cd6ee1abc39182183eebeeb1378bdd2438363bf766d69dcabd0320378b6b22 97143 bash-completion_20080617.tar.gz
 e88bd724c2e44629c27fe0346369fe450f0cae12f846ae08fc3794b7dcb1ae32 83372 bash-completion_20080617_all.deb
Files: 
 058c2c5c7a2da8c58f3fbf4f117caf26 854 shells standard bash-completion_20080617.dsc
 902c045bb9fce960571f44200b476cec 97143 shells standard bash-completion_20080617.tar.gz
 7997031028650ef5f5ae30bf1ba5488f 83372 shells standard bash-completion_20080617_all.deb

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

iEYEARECAAYFAkhdZpQACgkQ5UTeB5t8Mo2n+ACcC7WR8B82ilcQ7iB69fQ/SLQ7
BAwAn3aAUrB08bRSg5QD3/wF9qdPGtC0
=CoOt
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 21 Jul 2008 07:35:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:26:29 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.