<div dir="ltr">2017-08-31 19:08 GMT+02:00 Sam Hartman <span dir="ltr"><<a href="mailto:hartmans@debian.org" target="_blank">hartmans@debian.org</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>>>> "Dominique" == Dominique Dumont <<a href="mailto:dod@debian.org">dod@debian.org</a>> writes:<br>
<span class=""><br>
    Dominique> On Thursday, 31 August 2017 13:58:23 CEST Thorsten Glaser wrote:<br>
    >> > How about printing a "nice" warning explaining it would be a<br>
    >> good idea to > move to /usr/bin/node ?<br>
    >><br>
    >> That will break scripts that do:<br>
    >><br>
    >> x=$(nodejs somescript)<br>
<br>
</span>    Dominique> This kind of script won't break if the deprecation<br>
    Dominique> warning is sent to STDERR<br>
<br>
<br>
Sigh.<br>
I wish I had seen your message before your earlier reply.<br>
This breaks too in more complex situations involving ssh, things like<br>
expect scripts and the like.<br>
There are cases where people mix stderr and stdout.  There are cases<br>
where people treat any unexpected output on stderr as a failure in<br>
automated scripts.<br>
<br>
The next level you can look at is considering whether /dev/stdin in a<br>
tty and printing the warning to either stderr or /dev/tty only in that<br>
case.<br>
And that will reduce the breakage but not remove it.<br>
And yes, when you actually have something it's important to deprecate,<br>
accepting some level of breakage and adopting one of those strategies is<br>
the right thing.<br>
<br>
It's just not worth it in this case.<br>
People who use more than Debian are very quickly going to learn that<br>
/usr/bin/node is preferred to /usr/bin/nodejs.<br>
As several people have already pointed out we've far exceeded the amount<br>
of effort in considering whether to deprecate or remove the link that<br>
will be spent maintaining the link until the end of time.<br>
In one sense we've already lost:-)<br></blockquote><div><br></div><div>So, a short NEWS entry explaining /usr/bin/node is now available by default,</div><div>and that /usr/bin/nodejs will stay available indefinitely ?</div><div>Or even nothing and just a changelog entry ?</div><div><br></div><div>Jérémy</div><div><br></div></div><br></div></div>