<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-10-27 17:34 GMT+02:00 Sruthi Chandran <span dir="ltr"><<a href="mailto:srud@disroot.org" target="_blank">srud@disroot.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/27/2017 01:09 AM, Jérémy Lal wrote:<br>
><br>
><br>
> 2017-10-26 21:25 GMT+02:00 Jérémy Lal <<a href="mailto:kapouer@melix.org">kapouer@melix.org</a><br>
</span>> <mailto:<a href="mailto:kapouer@melix.org">kapouer@melix.org</a>>>:<br>
<span class="">><br>
><br>
><br>
>     2017-10-26 21:03 GMT+02:00 Sruthi Chandran <<a href="mailto:srud@disroot.org">srud@disroot.org</a><br>
</span>>     <mailto:<a href="mailto:srud@disroot.org">srud@disroot.org</a>>>:<br>
<span class="">><br>
>         On Tue, 13 Jun 2017 10:49:29 +0200 Jérémy Lal <<a href="mailto:kapouer@melix.org">kapouer@melix.org</a><br>
</span><span class="">>         <mailto:<a href="mailto:kapouer@melix.org">kapouer@melix.org</a>>> wrote:<br>
>         > 2017-06-13 10:11 GMT+02:00 Alexandre Rossi<br>
</span>>         <<a href="mailto:alexandre.rossi@gmail.com">alexandre.rossi@gmail.com</a> <mailto:<a href="mailto:alexandre.rossi@gmail.com">alexandre.rossi@gmail.<wbr>com</a>>>:<br>
<div><div class="h5">>         ><br>
>         > > Hi,<br>
>         > ><br>
>         > > Any status update on this? Did the effort trying to release with<br>
>         > > embedded deps hit a wall? How can I help?<br>
>         > ><br>
>         > ><br>
>         > Right now npm 5 depends indirectly on both "request" and "got"<br>
>         modules,<br>
>         > which are doing exactly the same thing. Maintaining this<br>
>         requires an<br>
>         amount<br>
>         > of forgiveness i don't have right now.<br>
>         ><br>
>         > Anyway here's what you would want to do:<br>
>         > - start from an empty debian/copyright file (to avoid old dfsg<br>
>         repackagings)<br>
>         > - import new upstream tarball<br>
>         > - populate debian/copyright (including everything in<br>
>         node_modules as<br>
>         well),<br>
>         > it shouldn't be that difficult.<br>
>         ><br>
>         > With this approach the only maintenance burden will be to update<br>
>         > debian/copyright.<br>
>         > Next step will be up to ftpmasters to decide if it's okay to<br>
>         bundle<br>
>         > everything in<br>
>         > that particular case.<br>
>         ><br>
>         > Jérémy<br>
><br>
>         I was thinking of packaging npm (by packaging individual modules)<br>
>         working full-time for around one month. I plan to launch a<br>
>         crowd-funding<br>
>         campaign similar to ones launched for packaging grunt[1] and<br>
>         gulp[2].<br>
>         Before going ahead with that, wanted to know the status of your<br>
>         plan of<br>
>         packaging npm. Is your plan still on or shall I go ahead with my<br>
>         plan?<br>
><br>
><br>
>     My plan depends on me being available in some parallel universe.<br>
>     So YES please please please go ahead, may debian force be with you.<br>
>     I might provide some help for technical issues. Or not, depending on<br>
>     availability.<br>
><br>
><br>
> Also note that besides usual packaging needs (like generating<br>
> documentation),<br>
> there is one trick in npm debian package: the global npmrc that contains<br>
> prefix=/usr/local<br>
> which in turn ensures<br>
> npm install -g <module><br>
> goes to the right place.<br>
><br>
> Upstream is deaf to the argument that /usr is not the right prefix,<br>
> and to the argument that there should be a well-known global path<br>
> for npm configuration (other than /usr/etc/npmrc).<br>
><br>
> The problem then is that<br>
> npm i -g npm<br>
> need a manual intervention to make sure that<br>
> /usr/local/lib/node_modules/<wbr>npm/npmrc<br>
> is installed and contains prefix=/usr/local<br>
> Without it, the default prefix of npm when installed in /usr/local<br>
> is /usr/lib<br>
> which is wrong and not writable of course.<br>
><br>
> Jérémy<br>
><br>
<br>
</div></div>Thanks. Will keep in mind when I reach there.<br>
<br>
I have launched the crowdfunding campaign [1].<br>
<br>
Going ahead with the plan, I might need help with technical issues and<br>
hope to get support from the Javascript team.  Help with packaging is<br>
also most welcome.<br></blockquote><div><br></div><div>Of course ! I'd be glad to help on this, since i feel bad about the whole mess.</div><div>I connected to #debian-js, feel free to reach me there if you need some live help.</div><div></div></div><br></div><div class="gmail_extra">Jérémy</div></div>