Re: Packaging nodejs-7.9
On 04.05.2017 09:26, Jérémy Lal wrote: > At the moment, in debian, /usr/lib/nodejs is there to store all node > modules installed from debian packages. hmm, would that conflict w/ having certain "nodejs-$version" subdirs w/ the actual engines (the whole tree - not splitted out the several FHS parts yet) there ? Meanwhile I've also added some update-alternatives support. (yet have to add version into package name). But this will conflict w/ current versions, as they directly install /usr/bin/nodejs. Can we make a minor update of 0.10.* for update-alternatives ? > Are you talking about installing modules depending on their > compatibility with node engines (as found in package.json) ? Actually, not sure whether that's really required. Are there any known (already packaged) modules that break w/ newer nodejs ? If not, I guess, just adding depend son newer engines where needed should be enough. --mtx
Re: Packaging nodejs-7.9
2017-05-04 9:13 GMT+02:00 Enrico Weigelt, metux IT consult < enrico.weig...@gr13.net>: > Hi folks, > > > I'm currently packaging nodejs-7.9 for various deb Distros. > > I'll have to maintain some applications that use the fanciest > new features, and precompiled binaries from untrusted sources > (eg. nvm+friends) of course are not an option. > > Before I go all of this alone - is there anybody here who already > done this ? Or anything I should consider ? > > My current plan is: > * install in similar way as jvm (/usr/lib/nodejs/nodejs-$version) > * for now I'll just directly symlink - update-alternatives support > comes in a later step (or maybe someone here likes to help ?) > * the actual nodejs package will be named "nodejs-$version", the > symlinks in package "nodejs". > > The tricky part will be a safe upgrade path from current 0.10 > and npm's dependencies. > > > What do you folks think about that ? > At the moment, in debian, /usr/lib/nodejs is there to store all node modules installed from debian packages. Are you talking about installing modules depending on their compatibility with node engines (as found in package.json) ? Jérémy
Re: Packaging nodejs-7.9
On വ്യാഴം 04 മെയ് 2017 12:43 വൈകു, Enrico Weigelt, metux IT consult wrote: > What do you folks think about that ? Hi Enrico, I suggest you post it to pkg-javascript-devel list https://lists.alioth.debian.org/mailman/listinfo/pkg-javascript-devel Thanks Praveen signature.asc Description: OpenPGP digital signature
Packaging nodejs-7.9
Hi folks, I'm currently packaging nodejs-7.9 for various deb Distros. I'll have to maintain some applications that use the fanciest new features, and precompiled binaries from untrusted sources (eg. nvm+friends) of course are not an option. Before I go all of this alone - is there anybody here who already done this ? Or anything I should consider ? My current plan is: * install in similar way as jvm (/usr/lib/nodejs/nodejs-$version) * for now I'll just directly symlink - update-alternatives support comes in a later step (or maybe someone here likes to help ?) * the actual nodejs package will be named "nodejs-$version", the symlinks in package "nodejs". The tricky part will be a safe upgrade path from current 0.10 and npm's dependencies. What do you folks think about that ? --mtx