Package: ubuntu-dev-tools Version: 0.141 Severity: normal Tags: patch Dear Maintainer,
When using pbuilder-dist with tab autocompletion the *.dsc file completion shows any file, instead of only directories and *.dsc files. The provided patch should should solve this issue. I use the same solution as provided for the pbuilder bash_completion script, send in a while ago. Regards, Maarten -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-24-generic (SMP w/8 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 ubuntu-dev-tools depends on: ii binutils 2.22-6ubuntu1 ii dctrl-tools 2.18ubuntu1 ii devscripts 2.11.6ubuntu1 ii diffstat 1.54-1 ii distro-info 0.8.2 ii dpkg-dev 1.16.1.2ubuntu7 ii lsb-release 4.0-0ubuntu20 ii perl 5.14.2-6ubuntu2 ii python 2.7.3-0ubuntu2 ii python-apt 0.8.3ubuntu7 ii python-debian 0.1.21ubuntu1 ii python-distro-info 0.8.2 ii python-httplib2 0.7.2-1ubuntu2 ii python-launchpadlib 1.9.12-1 ii python-lazr.restfulclient 0.12.0-1ubuntu1 ii python2.7 2.7.3-0ubuntu3 ii sudo 1.8.3p1-1ubuntu3 Versions of packages ubuntu-dev-tools recommends: ii bzr 2.5.0-2ubuntu2 ii bzr-builddeb 2.8.4 ii ca-certificates 20111211 ii debian-archive-keyring 2010.08.28 ii debian-keyring 2012.02.22 ii debootstrap 1.0.39 ii dput 0.9.6.2ubuntu1 ii genisoimage 9:1.1.11-2ubuntu2 ii libwww-perl 6.03-1 ii lintian 2.5.6 ii patch 2.6.1-3 ii pbuilder 0.208ubuntu1 ii perl-modules 5.14.2-6ubuntu2 ii python-dns 2.3.6-1 ii python-gnupginterface 0.3.2-9.1ubuntu3 ii python-soappy 0.12.0-4 ii quilt 0.50-2 ii reportbug 6.3.1ubuntu1 Versions of packages ubuntu-dev-tools suggests: pn ipython <none> pn qemu-user-static <none>
--- ubuntu-dev-tools-0.141/bash_completion/pbuilder-dist 2012-01-22 19:58:07.000000000 +0100 +++ ubuntu-dev-tools-0.142/bash_completion/pbuilder-dist 2012-04-30 15:01:09.000000000 +0200 @@ -21,7 +21,7 @@ case $prev in build) - COMPREPLY=( $( compgen -o filenames -G "$cur*.dsc" ) ) + _filedir "dsc" ;; *) COMPREPLY=( $( compgen -W "$options" | grep "^$cur" ) ) --- ubuntu-dev-tools-0.141/debian/changelog 2012-04-12 23:46:24.000000000 +0200 +++ ubuntu-dev-tools-0.142/debian/changelog 2012-04-30 15:18:10.000000000 +0200 @@ -1,3 +1,9 @@ +ubuntu-dev-tools (0.142) unstable; urgency=low + + * pbuilder-dist: improve bash_completion for *.dsc files + + -- Maarten Bezemer <maarten.beze...@gmail.com> Mon, 30 Apr 2012 15:01:14 +0200 + ubuntu-dev-tools (0.141) unstable; urgency=low * syncpackage: Log into Launchpad anonymously with --no-lp