Debian Bug report logs - #547361
please add completion for lintian and lintian-info

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: David Paleino <dapal@debian.org>

Date: Fri, 18 Sep 2009 23:09:02 UTC

Severity: wishlist

Tags: confirmed, fixed-upstream, patch, pending

Fixed in version bash-completion/1:1.2-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, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#547361; Package lintian. (Fri, 18 Sep 2009 23:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Fri, 18 Sep 2009 23:09:05 GMT) (full text, mbox, link).


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

From: David Paleino <d.paleino@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: please add bash completion
Date: Sat, 19 Sep 2009 00:57:57 +0200
[Message part 1 (text/plain, inline)]
Package: lintian
Version: 2.2.15
Severity: wishlist
Tags: patch

Hello,
I made a completion for lintian, please include it in the next release. You
should install this file as /etc/bash_completion.d/lintian -- I made a dh
helper, dh_bash-completion, but seems like it's currently broken, so you still
have to install it manually.

Thank you,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[lintian (application/octet-stream, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#547361; Package lintian. (Sat, 19 Sep 2009 00:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to Russ Allbery <rra@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sat, 19 Sep 2009 00:42:03 GMT) (full text, mbox, link).


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

From: Russ Allbery <rra@debian.org>
To: David Paleino <d.paleino@gmail.com>
Cc: 547361@bugs.debian.org
Subject: Re: Bug#547361: please add bash completion
Date: Fri, 18 Sep 2009 17:38:00 -0700
David Paleino <d.paleino@gmail.com> writes:

> I made a completion for lintian, please include it in the next
> release. You should install this file as /etc/bash_completion.d/lintian
> -- I made a dh helper, dh_bash-completion, but seems like it's currently
> broken, so you still have to install it manually.

Thank you very much for this!

I'm going to completely forget to update this file for additional checks
or collection scripts.  Is there any way, in bash completion rules, to
make the completion of those arguments be based on the files installed in
/usr/share/lintian/{checks,collection} instead?

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#547361; Package lintian. (Sat, 19 Sep 2009 07:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sat, 19 Sep 2009 07:09:03 GMT) (full text, mbox, link).


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

From: David Paleino <d.paleino@gmail.com>
To: Russ Allbery <rra@debian.org>
Cc: 547361@bugs.debian.org
Subject: Re: Bug#547361: please add bash completion
Date: Sat, 19 Sep 2009 08:58:30 +0200
[Message part 1 (text/plain, inline)]
On Fri, 18 Sep 2009 17:38:00 -0700, Russ Allbery wrote:

> David Paleino <d.paleino@gmail.com> writes:
> 
> > I made a completion for lintian, please include it in the next
> > release. You should install this file as /etc/bash_completion.d/lintian
> > -- I made a dh helper, dh_bash-completion, but seems like it's currently
> > broken, so you still have to install it manually.
> 
> Thank you very much for this!

You're welcome :)

> I'm going to completely forget to update this file for additional checks
> or collection scripts.  Is there any way, in bash completion rules, to
> make the completion of those arguments be based on the files installed in
> /usr/share/lintian/{checks,collection} instead?

There is, but I couldn't find anywhere where the "aliases" are defined, i.e.
"chg" for "changelog-file", for instance. Could you give me a pointer?

David

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

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#547361; Package lintian. (Sat, 19 Sep 2009 19:09:07 GMT) (full text, mbox, link).


Acknowledgement sent to Russ Allbery <rra@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sat, 19 Sep 2009 19:09:07 GMT) (full text, mbox, link).


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

From: Russ Allbery <rra@debian.org>
To: David Paleino <d.paleino@gmail.com>
Cc: 547361@bugs.debian.org
Subject: Re: Bug#547361: please add bash completion
Date: Sat, 19 Sep 2009 11:58:48 -0700
David Paleino <d.paleino@gmail.com> writes:
> On Fri, 18 Sep 2009 17:38:00 -0700, Russ Allbery wrote:

>> I'm going to completely forget to update this file for additional
>> checks or collection scripts.  Is there any way, in bash completion
>> rules, to make the completion of those arguments be based on the files
>> installed in /usr/share/lintian/{checks,collection} instead?

> There is, but I couldn't find anywhere where the "aliases" are defined,
> i.e.  "chg" for "changelog-file", for instance. Could you give me a
> pointer?

Those aren't, unfortunately.  I think they're of somewhat questionable
utility, though.

I'd be good with either listing the aliases manually and combining that
with the file names or just having the file names available.  I suspect
most people will use the file names anyway, and I wonder from time to time
if we should just drop the aliases, although that means breaking backward
compatibility.  If you list the aliases, I'll try to remember to update
them, but I think missing some will be less important than missing a whole
class of checks if I forget.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#547361; Package lintian. (Sat, 19 Sep 2009 19:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sat, 19 Sep 2009 19:33:03 GMT) (full text, mbox, link).


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

From: David Paleino <d.paleino@gmail.com>
To: Russ Allbery <rra@debian.org>
Cc: 547361@bugs.debian.org, bash-completion@packages.debian.org
Subject: Re: Bug#547361: please add bash completion
Date: Sat, 19 Sep 2009 21:27:45 +0200
[Message part 1 (text/plain, inline)]
reassign 547361 bash-completion
retitle 547361 please add completion for lintian and lintian-info
tags 547361 confirmed
thanks

On Sat, 19 Sep 2009 11:58:48 -0700, Russ Allbery wrote:

> David Paleino <d.paleino@gmail.com> writes:
> > On Fri, 18 Sep 2009 17:38:00 -0700, Russ Allbery wrote:
> 
> >> I'm going to completely forget to update this file for additional
> >> checks or collection scripts.  Is there any way, in bash completion
> >> rules, to make the completion of those arguments be based on the files
> >> installed in /usr/share/lintian/{checks,collection} instead?
> 
> > There is, but I couldn't find anywhere where the "aliases" are defined,
> > i.e.  "chg" for "changelog-file", for instance. Could you give me a
> > pointer?
> 
> Those aren't, unfortunately.  I think they're of somewhat questionable
> utility, though.

Raphael told me on IRC they are in the .desc files, and indeed they are :):

$ grep ^Abbrev /usr/share/lintian/checks/*.desc | cut -d\  -f2

> I'd be good with either listing the aliases manually and combining that
> with the file names or just having the file names available.  I suspect
> most people will use the file names anyway, and I wonder from time to time
> if we should just drop the aliases, although that means breaking backward
> compatibility.  If you list the aliases, I'll try to remember to update
> them, but I think missing some will be less important than missing a whole
> class of checks if I forget.

I can now provide aliases. *But*, since lintian options only accept
comma-separated lists, this is a bit harder to achieve. I asked help to other
bashcomp team members to see whether they have ever done something like that.

Also, we're probably going to change plans about pushing completions to
respective upstreams -- that would cause maintainance headaches to us (or no
maintainance at all!), so we'll probably change our decision.

So, I'll try to fix the completion and I'll eventually provide one (even with
limited capabilities, better than nothing), but I'm reassigning the bug to
bash-completion until we definitely decide where to put completions :)

Sorry for the noise ;)
David

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

Bug reassigned from package 'lintian' to 'bash-completion'. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 19 Sep 2009 19:33:05 GMT) (full text, mbox, link).


Bug No longer marked as found in versions lintian/2.2.15. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 19 Sep 2009 19:33:05 GMT) (full text, mbox, link).


Changed Bug title to 'please add completion for lintian and lintian-info' from 'please add bash completion' Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 19 Sep 2009 19:33:06 GMT) (full text, mbox, link).


Added tag(s) confirmed. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 19 Sep 2009 19:33:07 GMT) (full text, mbox, link).


Changed Bug submitter to 'David Paleino <dapal@debian.org>' from 'David Paleino <d.paleino@gmail.com>' Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Wed, 23 Dec 2009 17:33:29 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Fri, 11 Jun 2010 14:12:05 GMT) (full text, mbox, link).


Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Wed, 16 Jun 2010 17:21:17 GMT) (full text, mbox, link).


Notification sent to David Paleino <dapal@debian.org>:
Bug acknowledged by developer. (Wed, 16 Jun 2010 17:21:18 GMT) (full text, mbox, link).


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

From: David Paleino <dapal@debian.org>
To: 547361-close@bugs.debian.org
Subject: Bug#547361: fixed in bash-completion 1:1.2-1
Date: Wed, 16 Jun 2010 17:17:09 +0000
Source: bash-completion
Source-Version: 1:1.2-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.2-1.debian.tar.gz
  to main/b/bash-completion/bash-completion_1.2-1.debian.tar.gz
bash-completion_1.2-1.dsc
  to main/b/bash-completion/bash-completion_1.2-1.dsc
bash-completion_1.2-1_all.deb
  to main/b/bash-completion/bash-completion_1.2-1_all.deb
bash-completion_1.2.orig.tar.gz
  to main/b/bash-completion/bash-completion_1.2.orig.tar.gz



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 547361@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: Wed, 16 Jun 2010 19:03:06 +0200
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:1.2-1
Distribution: unstable
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: 501479 511149 511788 545530 547361 550590 550943 552109 552631 553371 557436 565447 572000 579471
Changes: 
 bash-completion (1:1.2-1) unstable; urgency=low
 .
   * New upstream release
     - contrib/munin-node fixed (Closes: #550943)
     - contrib/dpkg fixed -W and --show completing on .?(u)deb's
       (Closes: #552109)
     - added munindoc completion to contrib/munin-node, thanks to Tom
       Feiner (Closes: #553371)
     - contrib/cpio: added missing completions for -?, --help, --license,
       --usage, --version and (-p) --to-stdout (Closes: #557436)
     - added .okular completion to okular (Closes: #545530)
     - refreshed reportbug completion, added --from-buildd (Closes: #579471)
     - special-case "apt-get source" (Closes: #572000)
     - added lintian completion (Closes: #547361)
     - protect various completions from unusual user input by not embedding the
       input in external command arguments (Closes: #552631)
     - awk and sed usage portability fixes (Closes: #501479)
     - fix completion of usernames (Closes: #511788)
     - fix mount handling of escapes (LP: #219971, Closes: #511149)
     - update find completion (LP: #570113)
   * debian/patches/* removed, merged upstream
   * debian/control:
     - add Conflicts/Replaces on xen-tools (<= 4.1-1) (Closes: #550590)
     - Standards-Version bumped to 3.8.4, no changes needed
   * debian/links: remove dangling symlink in /usr/share/doc/bash
     (Closes: #565447)
   * debian/watch: fix regex to avoid old timestamp-based releases
   * debian/preinst: definitely remove anything in /usr/share/doc/bash/
   * debian/source/format: using 3.0 (quilt)
   * debin/rules made minimal
Checksums-Sha1: 
 3051093e01e885ee8c8345142c92f9344cad710b 1317 bash-completion_1.2-1.dsc
 7de7b5e786b0e908f7ee0bfac90ed70dfd96c675 242978 bash-completion_1.2.orig.tar.gz
 3ce2e743d6b92c05cab5e2e82dd0b50c163c3862 16552 bash-completion_1.2-1.debian.tar.gz
 3f59a75c329bb83589938b5a0c070bd0e4c9591e 137456 bash-completion_1.2-1_all.deb
Checksums-Sha256: 
 bda1ce86323dc93dac999b2e589d2a1fe193f4401b4713ba5424e96ca1c63405 1317 bash-completion_1.2-1.dsc
 ab24999e7ba29a0287e4d3d3faaf068904b81bc4f9ea8c79f6b130983b4c6ceb 242978 bash-completion_1.2.orig.tar.gz
 fae01e9e57e233c285f31522aab2239b997efd9339409566a09dd6e25cdc8513 16552 bash-completion_1.2-1.debian.tar.gz
 2a964117a7b81b6b1b0c51d6e23fa2eb46b09c6b1f816f9ae953d6437dbef8bb 137456 bash-completion_1.2-1_all.deb
Files: 
 4773d26304a9eab165a000191115ed26 1317 shells standard bash-completion_1.2-1.dsc
 457c8808ed54f2b2cdd737b1f37ffa24 242978 shells standard bash-completion_1.2.orig.tar.gz
 0b846b5cae5db3d27cf7cc7cc78e0ea6 16552 shells standard bash-completion_1.2-1.debian.tar.gz
 13fee2ae3efbfd95f3d4d5f4fb3574ea 137456 shells standard bash-completion_1.2-1_all.deb

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

iEYEARECAAYFAkwZBIgACgkQ5qqQFxOSsXST3gCfRvqWvKwyJVEZ72DXs6h6IqVf
1MEAoKDsW0uHf8mBnMzZqysMgsVBP2Nz
=wxHC
-----END PGP SIGNATURE-----





Added tag(s) pending. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Wed, 16 Jun 2010 17:33:04 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 15 Jul 2010 07:35:25 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:46:53 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.