[Pkg-javascript-devel] Bug#870460: anyone working on npm?

2018-01-23 Thread Pirate Praveen
On Tue, 23 Jan 2018 23:14:32 -0800 Diane Trout  wrote:
> Hello,
> 
> I was looking to update zotero, which needs a newer npm.
> 
> I was curious, so I tried building a npm using upstream's 5.6.0, and I
> have something that almost installs & runs.

Great!

> Several dependencies are out of date in Debian, and there's still a
> fair number of node_modules that don't seem to have a corresponding
> Debian package.
> 
> Would it be worth sharing these changes? How would you prefer to
> receive / review them? There's a few issues I avoided that need some
> discussion. (Like they embed a copy of node-gyp, and several scripts
> hard code relative paths to that copy)

We should package the remaining modules (we have to package about 38
more modules https://pad.disroot.org/p/npm-list ). You can just file
ITPs of missing modules and package them.

We keep this https://wiki.debian.org/Javascript/Nodejs/Tasks/npm
refreshed often.

Also we should try to replace embedded copies with packaged versions.

> I wanted to get in touch with people in the javascript team before
> slogging through updating the copyright file.

Welcome to the team!

We can take a bit of shortcut if the module is too small and unlikely to
be required by other tools by embedding it.
https://salsa.debian.org/js-team/node-react/tree/master/debian/node_modules/ncp

We can always unbundle them if more packages starts depending on them
(like we did with node-asap).



signature.asc
Description: OpenPGP digital signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#870460: anyone working on npm?

2018-01-23 Thread Diane Trout
Hello,

I was looking to update zotero, which needs a newer npm.

I was curious, so I tried building a npm using upstream's 5.6.0, and I
have something that almost installs & runs.

Several dependencies are out of date in Debian, and there's still a
fair number of node_modules that don't seem to have a corresponding
Debian package.

Would it be worth sharing these changes? How would you prefer to
receive / review them? There's a few issues I avoided that need some
discussion. (Like they embed a copy of node-gyp, and several scripts
hard code relative paths to that copy)

I wanted to get in touch with people in the javascript team before
slogging through updating the copyright file.

Diane
detrout on Debian IRC
Debian Developer

signature.asc
Description: This is a digitally signed message part
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] Bug#870460: anyone working on npm?

2018-01-23 Thread Ross Gammon
Hi Diane,

https://wiki.debian.org/Javascript/Nodejs/Tasks/npm

As far as I know, people have been working on trying to get all the
missing packages packaged, and update the old ones. Unfortunately, I
have not had the time to help myself.

I am not sure if anyone else has tried building npm yet, but it is good
to know we are getting close.

I will let the other more active team members comment on how best to
incorporate your work.

Ross

On 01/24/2018 08:14 AM, Diane Trout wrote:
> Hello,
>
> I was looking to update zotero, which needs a newer npm.
>
> I was curious, so I tried building a npm using upstream's 5.6.0, and I
> have something that almost installs & runs.
>
> Several dependencies are out of date in Debian, and there's still a
> fair number of node_modules that don't seem to have a corresponding
> Debian package.
>
> Would it be worth sharing these changes? How would you prefer to
> receive / review them? There's a few issues I avoided that need some
> discussion. (Like they embed a copy of node-gyp, and several scripts
> hard code relative paths to that copy)
>
> I wanted to get in touch with people in the javascript team before
> slogging through updating the copyright file.
>
> Diane
> detrout on Debian IRC
> Debian Developer



-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel