[Bash-completion-devel] Bug#512917: dh_bash-completion: unexpected behaviour

gregor herrmann gregoa at debian.org
Wed Jan 28 23:07:17 UTC 2009


On Wed, 28 Jan 2009 22:33:45 +0100, David Paleino wrote:

> > Thanks for providing dh_bash-completion, I didn't know about this
> > tool until a few hours ago.
> Eheh, that's some magic by me :-P

I saw your name in the manpage :)
 
> > I still have a tiny complaint: IMO the behaviour of
> > dh_bash-completion is counter-intuitive because it installs _the
> > file_ debian/package.bash-completion whereas the other debhelper
> > helpers act on files _mentioned_ in debian/package.foo.
> It works the same way as dh_lintian works -- it doesn't seem counter-intuitive
> at all, once you read the manpage :-P

I didn't say counter-documentation :)

(And FWIW, I think dh_lintian and dh_bash-completion differ, because
for the former you have exactly one file and that file is Debian
specific, whereas a bash completion file can come from upstream and
can be named in any way.)
 
> > Please consider changing the behaviour of dh_bash-completion for
> > future releases.
> Would you be against a debian/package.bash-completion-files doing what you are
> asking for? Would it be overkill? I don't really want to break other people's
> packages already using dh_bash-completion ;-)

Ack, changing the behaviour would break packages relying on the
current behaviour.  
A nice feature would be to detect if debian/package.bash-completion
_is_ a bash completion snippet or if it just is a list of files :)

Cheers,
gregor
-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: Josh With: New kilk cow blues
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090129/1dd9d25a/attachment-0001.pgp 


More information about the Bash-completion-devel mailing list