Debian Bug report logs - #619014
bash-completion: Bash completion whitelisting returns no results when it could return some that do not match

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: Clint Byrum <clint@ubuntu.com>

Date: Sun, 20 Mar 2011 13:24:01 UTC

Severity: wishlist

Tags: confirmed, fixed-upstream, patch, upstream

Found in version bash-completion/1:1.3-1

Fixed in version bash-completion/1:1.90-1

Done: David Paleino <dapal@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, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#619014; Package bash-completion. (Sun, 20 Mar 2011 13:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Clint Byrum <clint@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sun, 20 Mar 2011 13:24:04 GMT) (full text, mbox, link).


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

From: Clint Byrum <clint@ubuntu.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: Bash completion whitelisting returns no results when it could return some that do not match
Date: Sun, 20 Mar 2011 06:20:41 -0700
[Message part 1 (text/plain, inline)]
Package: bash-completion
Version: 1:1.3-1
Severity: wishlist
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmpiebbIm
I've submitted this patch to Ubuntu as well. The original bug report is available here:

https://launchpad.net/bugs/533985

The idea is simply that if the filename whitelist passed to _filedir
fails to produce any results, its more useful to the user to fall
back to unfiltered results than give them nothing. This makes the bash
completion more adaptable as programs change underneath them, and solves
the issue where a program like sqlite3 doesn't actually care at all about
extensions and the general conventions used have just been encoded in
the bash completion.


  * Drop whitelists if they fail to produce any results (LP: #533985)


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-6-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
[tmppBonS9 (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#619014; Package bash-completion. (Sun, 20 Mar 2011 14:27:08 GMT) (full text, mbox, link).


Acknowledgement sent to dapal@debian.org:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sun, 20 Mar 2011 14:27:08 GMT) (full text, mbox, link).


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

From: David Paleino <dapal@debian.org>
To: Clint Byrum <clint@ubuntu.com>
Cc: 619014@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#619014: bash-completion: Bash completion whitelisting returns no results when it could return some that do not match
Date: Sun, 20 Mar 2011 15:24:09 +0100
[Message part 1 (text/plain, inline)]
tags 619014 upstream fixed-upstream
thanks

Hello Clint,

On Sun, 20 Mar 2011 06:20:41 -0700, Clint Byrum wrote:

> [..]
> Thanks for considering the patch.

Committed upstream with some minor changes, thanks:

  http://git.debian.org/?p=bash-completion/bash-completion.git;a=commitdiff;h=14fc9f2965d24193655a77dbca10cad61d839336

David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Added tag(s) upstream and fixed-upstream. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sun, 20 Mar 2011 14:27:12 GMT) (full text, mbox, link).


Added tag(s) confirmed and pending. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Thu, 03 Nov 2011 12:06:11 GMT) (full text, mbox, link).


Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Thu, 03 Nov 2011 12:24:51 GMT) (full text, mbox, link).


Notification sent to Clint Byrum <clint@ubuntu.com>:
Bug acknowledged by developer. (Thu, 03 Nov 2011 12:25:07 GMT) (full text, mbox, link).


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

From: David Paleino <dapal@debian.org>
To: 619014-close@bugs.debian.org
Subject: Bug#619014: fixed in bash-completion 1:1.90-1
Date: Thu, 03 Nov 2011 12:17:12 +0000
Source: bash-completion
Source-Version: 1:1.90-1

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_1.90-1.debian.tar.gz
  to main/b/bash-completion/bash-completion_1.90-1.debian.tar.gz
bash-completion_1.90-1.dsc
  to main/b/bash-completion/bash-completion_1.90-1.dsc
bash-completion_1.90-1_all.deb
  to main/b/bash-completion/bash-completion_1.90-1_all.deb
bash-completion_1.90.orig.tar.bz2
  to main/b/bash-completion/bash-completion_1.90.orig.tar.bz2



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

Debian distribution maintenance software
pp.
David Paleino <dapal@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: Thu, 03 Nov 2011 13:03:51 +0100
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:1.90-1
Distribution: experimental
Urgency: low
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Changed-By: David Paleino <dapal@debian.org>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 577933 593835 604393 615134 618734 619014 622383 623680 625234 642526
Changes: 
 bash-completion (1:1.90-1) experimental; urgency=low
 .
   * bash-completion 2 preview: dynamic loading of completions
     - optionally fallback to generic file completion if _filedir
       returns nothing (Closes: #619014, LP: #533985)
     - various fixes (Closes: #622383)
     - apt: add 'download' to subcommands (Closes: #625234, LP: #720541)
     - aptitude: add 'versions' command (Closes: #604393)
     - dpkg-query: use the 'dpkg' completion (Closes: #642526)
     - lintian: remove --unpack-level (Closes: #623680)
     - rrdtool: complete filenames after commands (Closes: #577933)
     - provide profile.d hook for per user disabling of bash_completion
       (Closes: #593835)
     - mutt: support tildes when recursively sourcing muttrc files
       (Closes: #615134)
     - tar: improve tar *[cr]*f completions (Closes: #618734)
   * More checks in update-bash-completion: avoid unnecessary
     sourcing of completion if symlink already exists
   * Add message for users before they report a bug (debian/bug-presubj),
     I'm kind of fed-up with bugs caused by acroread.sh :/
   * Removed patches merged upstream
   * Drop trigger-based completion loading
   * Standards-Version bump to 3.9.2, no changes needed
Checksums-Sha1: 
 748b796aa5f70f17b2c3ec449dd7a8d66933bb8a 1394 bash-completion_1.90-1.dsc
 aa1a1f4e34bff93f8227c1a200de310a04a21e86 228640 bash-completion_1.90.orig.tar.bz2
 e5deb79d3aa91dff60baee0d4f1675fc5fd6ea2b 13057 bash-completion_1.90-1.debian.tar.gz
 64a6a900971b2bc4d6d8706345f3037c81b85762 179058 bash-completion_1.90-1_all.deb
Checksums-Sha256: 
 78c827e512975c885b3cb09a2a50676d2f8bcd3c81b712a18035b288bfa0d92a 1394 bash-completion_1.90-1.dsc
 293084b7584e89734002a49688ca9aea2bab16ca4750b30f66b62a373750c41c 228640 bash-completion_1.90.orig.tar.bz2
 06975fe1a3291aadad7489d381183bcc64731f6b256647b8a5e277bb16ae97a8 13057 bash-completion_1.90-1.debian.tar.gz
 4f78b12ab95b5ed24c8fe63e26d9f1635f189ccb9c7f7b503af101c0dfe92fe0 179058 bash-completion_1.90-1_all.deb
Files: 
 adf23b480b86c55d9e337258164785a0 1394 shells standard bash-completion_1.90-1.dsc
 82635839d83074eba923822fd584490c 228640 shells standard bash-completion_1.90.orig.tar.bz2
 ab9637c3c2aea423af97932b19bdc832 13057 shells standard bash-completion_1.90-1.debian.tar.gz
 e43e91227a8d739a095577d51a1e0b78 179058 shells standard bash-completion_1.90-1_all.deb

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

iEYEARECAAYFAk6yhD8ACgkQ5qqQFxOSsXQUSACfdui594rcT9CfiI3CyWfl60xa
UpMAoKbynog3IF+e2EOHcrFL6VBNbHPO
=Wi2f
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 05 Feb 2012 07:34:11 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:49:58 2023; Machine Name: buxtehude

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.