[Pkg-javascript-devel] Bug#553621 closed by Niels Thykier <niels at thykier.net> (Re: Bug#553621: lintian: add javascript to the usual interpreters)

Niels Thykier niels at thykier.net
Wed Aug 17 06:46:49 UTC 2011


On 2011-08-16 00:13, Jérémy Lal wrote:
>>>> Jeremy Lal <kapouer at melix.org> wrote:
>>>> I know javascript is, for now, not a usual interpreter, but with
>>>> spidermonkey and libv8's node.js server, it's certainly growing to be
>>>> more common.  I guess /usr/bin/javascript is a reasonnable name for the
>>>> interpreter, though for now no package provides it.
> 
>>> Russ Allbery <rra at debian.org> wrote:
>>> I don't really understand this request.  If there's no such binary as
>>> /usr/bin/javascript, why would any file start with #!/usr/bin/javascript?
>>> Only files starting with that string would trigger this tag, and that
>>> string specifically means that there exists some binary named
>>> /usr/bin/javascript on the system that will run that script.
> 
>> Niels Thykier <niels at thykier.net> wrote:
>> This bug as been tagged "moreinfo" for over a year, so I am taking the
>> liberty of closing the bug to clean up the bug tracker.  If this
>> particular request is still of interest to you, please reply to this
>> email with the relevant information.
> 
> My apologies, i forgot or did not read Russ answer.
> CCing to pkg-javascript-devel.
> 
> There is the /usr/bin/js alternative provided by spidermonkey-bin, nodejs.
> 
> But i am not so sure it is useful as a "usual interpreter" now,
> because all scripts doing something with i/o must use smjs or node,
> so they wouldn't have /usr/bin/js in their shebang.
> 
> Jérémy.

Hi

On a related note, I noticed we also got #623265, which is a request for
adding "node".  "smjs" seems new to me; though looking at the current
"emitted" tags[1] for "unusual interpreters" I do not see any use of "smjs".
  "node" does appear, but (as far as I can tell) never with a valid
#!-line (they use #!node).  Admittedly I did not check if this #!node
referred to "nodejs" or "node".

~Niels

[1] http://lintian.debian.org/tags/unusual-interpreter.html




More information about the Pkg-javascript-devel mailing list