[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965327: Lower severity of bash-completion-with-hashbang



Hello Felix,

Thanks for your quick reply.

 ❦ 19 juillet 2020 09:33 -07, Felix Lechner:

>> the shebang is harmless and I won't
>> patch or other upstream about a harmless shebang.
>
> As explained in this MR [2], we consider the hashbang an error. The
> snippets are not meant to be executed. The upstream for
> 'bash-completion' also does not use them.
>
> [2] https://salsa.debian.org/lintian/lintian/-/merge_requests/292

Again, I won't maintain a patch for such an "error". And I won't bother
upstream with this. This kind of warnings just deter me of using
Lintian. Lintian is a very useful tool, but too many stuff is a warning
while this is a matter of opinion. I have given up on the "info" level
since a long time for similar reasons. I would like not to give up on
the "warning" level.

>> Also, this helps editors turning on the right "mode" to edit the
>> file.
>
> This is an unrelated function that you may be able to resolve by using
> [3] or [4].
>
> [3] https://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html
> [4] http://vimdoc.sourceforge.net/htmldoc/syntax.html

I am not even sure upstream puts a shebang for this reason. It was pure
speculation on my side. But as I won't bother upstream about adding
special markups for each known editor to replace the shebang, I would
like to not bother them about an harmless error. Debian is not the
special snowflake every upstream try to take care of anymore. I would
like to not be more an annoyance that I strictly need to.
-- 
Use variable names that mean something.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature


Reply to: