Your message dated Wed, 14 Jul 2010 00:32:07 +0000
with message-id <[email protected]>
and subject line Bug#584703: fixed in devscripts 2.10.65.1
has caused the Debian Bug report #584703,
regarding devscripts: [debc] Bash completion doesn't complete to .changes files
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 [email protected]
immediately.)
--
584703: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584703
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.64
Severity: minor
Tags: patch
User: [email protected]
Usertags: debc
The bash completion script for debc only completes to package names, not
.changes files. This in very irritating because one can't tab-complete
/var/cache/pbuilder/sid-amd64/results/foo.changes (rather a mouthful to
type longhand).
I've never written a bash completion script before, but here's something
that works well for me.
SR
--
Stefano Rivera
http://tumbleweed.org.za/
H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127
diff --git a/scripts/pkgnames.bash_completion b/scripts/pkgnames.bash_completion
index 1486eb8..8a8f98e 100644
--- a/scripts/pkgnames.bash_completion
+++ b/scripts/pkgnames.bash_completion
@@ -8,5 +8,16 @@ _pkg_names()
return 0
}
-complete -F _pkg_names wnpp-alert wnpp-check mk-build-deps rmadison mass-bug debsnap dd-list build-rdeps who-uploads transition-check getbuildlog dcontrol grep-excuses rc-alert debcheckout bts whodepends dget pts-subscribe debc pts-unsubscribe
+_debc()
+{
+ local cur
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ COMPREPLY=($(compgen -f -X '!*.changes' -- "$cur"))
+ if echo "$cur" | grep -qs '^[a-z0-9+.-]*$'; then
+ COMPREPLY=(${comprep...@]} $(apt-cache pkgnames -- $cur 2> /dev/null))
+ fi
+ return 0
+}
+complete -F _pkg_names wnpp-alert wnpp-check mk-build-deps rmadison mass-bug debsnap dd-list build-rdeps who-uploads transition-check getbuildlog dcontrol grep-excuses rc-alert bts whodepends dget pts-subscribe debc pts-unsubscribe
+complete -o dirnames -F _debc debc
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.10.65.1
We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive:
devscripts_2.10.65.1.dsc
to main/d/devscripts/devscripts_2.10.65.1.dsc
devscripts_2.10.65.1.tar.gz
to main/d/devscripts/devscripts_2.10.65.1.tar.gz
devscripts_2.10.65.1_i386.deb
to main/d/devscripts/devscripts_2.10.65.1_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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James Vega <[email protected]> (supplier of updated devscripts 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Format: 1.8
Date: Tue, 13 Jul 2010 20:10:09 -0400
Source: devscripts
Binary: devscripts
Architecture: source i386
Version: 2.10.65.1
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: James Vega <[email protected]>
Description:
devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 584703 588947
Changes:
devscripts (2.10.65.1) unstable; urgency=low
.
* debc:
+ Call changelog_parse correctly. (Closes: #588947)
+ Update bash completion to complete *.changes files and package names.
Thanks to Stefano Rivera for the patch. (Closes: #584703)
Checksums-Sha1:
d59f6d22cd89752935b52c4616759361baf718dc 1451 devscripts_2.10.65.1.dsc
0a4ce1b06ca4fbe1d7b95ac96a17fb8c78e06e1d 694718 devscripts_2.10.65.1.tar.gz
87c0399f9d811e17ab3e258e180bf5149e2ed77a 596648 devscripts_2.10.65.1_i386.deb
Checksums-Sha256:
a28e71f5622c37e369d329902edc9a14d433829e489d51b2718c1f41907d245a 1451
devscripts_2.10.65.1.dsc
71f0b7a1019361692c2d84737fe8fda1e7a3501891acc89f6976e92a5c512ad6 694718
devscripts_2.10.65.1.tar.gz
dc8d3697fe1bd73f023dff7a1a8503806a58e398ced140bda38bde1b48d0e3ad 596648
devscripts_2.10.65.1_i386.deb
Files:
b96f751a197d41ad7b4edf93654eba45 1451 devel optional devscripts_2.10.65.1.dsc
93e3ba8f66deb84e4d0e07fcdae08d59 694718 devel optional
devscripts_2.10.65.1.tar.gz
45e70bfe2e9a967306bf078d0ea5be7e 596648 devel optional
devscripts_2.10.65.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEAREDAAYFAkw9AiwACgkQDb3UpmEybUAQpQCdH2tkU1WkYvG7VfHvfu5yT8Id
T5cAnRr3iT85TYKsxG1+jhmTgPsWJ3Wc
=8MVR
-----END PGP SIGNATURE-----
--- End Message ---