<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-10-26 21:25 GMT+02:00 Jérémy Lal <span dir="ltr"><<a href="mailto:kapouer@melix.org" target="_blank">kapouer@melix.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-10-26 21:03 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><div class="gmail-m_271976096886679154HOEnZb"><div class="gmail-m_271976096886679154h5">On Tue, 13 Jun 2017 10:49:29 +0200 Jérémy Lal <<a href="mailto:kapouer@melix.org" target="_blank">kapouer@melix.org</a>> wrote:<br>
> 2017-06-13 10:11 GMT+02:00 Alexandre Rossi <<a href="mailto:alexandre.rossi@gmail.com" target="_blank">alexandre.rossi@gmail.com</a>>:<br>
><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" modules,<br>
> which are doing exactly the same thing. Maintaining this 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 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 bundle<br>
> everything in<br>
> that particular case.<br>
><br>
> Jérémy<br>
<br>
</div></div></div></div>I was thinking of packaging npm (by packaging individual modules)<br>
working full-time for around one month. I plan to launch a crowd-funding<br>
campaign similar to ones launched for packaging grunt[1] and gulp[2].<br>
Before going ahead with that, wanted to know the status of your plan of<br>
packaging npm. Is your plan still on or shall I go ahead with my plan?<br></blockquote><div><br></div><div>My plan depends on me being available in some parallel universe.</div><div>So YES please please please go ahead, may debian force be with you.</div><div>I might provide some help for technical issues. Or not, depending on</div><div>availability.</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div></font></span></div></div></div></blockquote><div><br></div><div>Also note that besides usual packaging needs (like generating documentation),</div><div>there is one trick in npm debian package: the global npmrc that contains</div><div>prefix=/usr/local</div><div>which in turn ensures</div><div>npm install -g <module></div><div>goes to the right place.</div><div><br></div><div>Upstream is deaf to the argument that /usr is not the right prefix,</div><div>and to the argument that there should be a well-known global path</div><div>for npm configuration (other than /usr/etc/npmrc).</div><div><br></div><div>The problem then is that</div><div>npm i -g npm</div><div>need a manual intervention to make sure that</div><div>/usr/local/lib/node_modules/npm/npmrc<br></div><div>is installed and contains prefix=/usr/local</div><div>Without it, the default prefix of npm when installed in /usr/local is /usr/lib</div><div>which is wrong and not writable of course.</div><div><br></div><div>Jérémy</div><div><br></div></div></div></div>