Re: [Pkg-javascript-devel] node-node-uuid

2018-01-10 Thread Jonas Smedegaard
Quoting Paolo Greppi (2018-01-10 10:04:57)
> Il 09/01/2018 13:33, Jérémy Lal ha scritto:
>> 2018-01-09 12:53 GMT+01:00 Paolo Greppi > >:
>>> Hi, the package node-node-uuid seems broken, this fails: nodejs -e 
>>> "require('uuid');"
>>>
>>> Also it triggers lintian error 
>>> node-package-install-in-nodejs-rootdir because it installs 
>>> /usr/lib/nodejs/node-uuid.js.
>>>
>>> Next 1.4.0 is quite old and v. 3.1.0. is required for node-yarnpkg.
>>>
>>> Finally I have some doubts on the the naming,
[...]
> From here:
> https://www.npmjs.com/package/node-uuid
> it says "node-uuid DEPRECATED: Use the uuid package instead."
>
> It appears node-uuid was a fork, then it got merged back.
> There are two github projects both confusingly called "node-uuid":
> - current: https://github.com/kelektiv/node-uuid is at 3.1.0
> - deprecated: https://github.com/brrofs/node-uuid is at 3.0.0
>
> The debian node-uuid source package upstream is the "deprecated" fork.
> That's why the tracker says "a new upstream version is available: 
> 3.0.0" and not 3.1.0
>
> In the light of these facts I am even more convinced that it should be 
> renamed.
> Additionally its upstream should be set to 
> https://github.com/kelektiv/node-uuid

Thanks for the investigations, Paolo and Jérémy.

Yes, node-node-uuid is quite confusing and I am happy that upstream haas 
cleaned up that mess, so we can do so as well (our package was wrongly 
named and partially corrected in release 1.2.0~20110510-2 to at least 
get the binary package correct).

I will look into updating the package, including checking that its 
reverse dependencies work with the newer+renamed node-uuid.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: 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

Re: [Pkg-javascript-devel] node-node-uuid

2018-01-10 Thread Paolo Greppi
Il 09/01/2018 13:33, Jérémy Lal ha scritto:
> 2018-01-09 12:53 GMT+01:00 Paolo Greppi  >:
> 
> Hi, the package node-node-uuid seems broken, this fails:
> nodejs -e "require('uuid');"
> 
> Also it triggers lintian error node-package-install-in-nodejs-rootdir 
> because it installs /usr/lib/nodejs/node-uuid.js.
> 
> Next 1.4.0 is quite old and v. 3.1.0. is required for node-yarnpkg.
> 
> Finally I have some doubts on the the naming, according to policy:
> https://wiki.debian.org/Javascript/Policy 
> 
> the source should be named uuid.js, and the binaries libjs-uuid and 
> node-uuid
> 
> I would like to move its repo to salsa.d.o. and proceed to update.
> 
> Any objections / anybody else wants to do it ?
> What are your thoughts on the naming ?
> 
> Be aware that
> npm show node-uuid
> npm show uuid
> 
> both exists. Hence node-node-uuid...
> 
> Jérémy

Tanks for the lookup Jérémy !

From here:
https://www.npmjs.com/package/node-uuid
it says "node-uuid DEPRECATED: Use the uuid package instead."

It appears node-uuid was a fork, then it got merged back.
There are two github projects both confusingly called "node-uuid":
- current: https://github.com/kelektiv/node-uuid is at 3.1.0
- deprecated: https://github.com/brrofs/node-uuid is at 3.0.0

The debian node-uuid source package upstream is the "deprecated" fork.
That's why the tracker says "a new upstream version is available: 3.0.0" and 
not 3.1.0

In the light of these facts I am even more convinced that it should be renamed.
Additionally its upstream should be set to https://github.com/kelektiv/node-uuid

Paolo

-- 
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] node-node-uuid

2018-01-09 Thread Jérémy Lal
2018-01-09 12:53 GMT+01:00 Paolo Greppi :

> Hi, the package node-node-uuid seems broken, this fails:
> nodejs -e "require('uuid');"
>
> Also it triggers lintian error node-package-install-in-nodejs-rootdir
> because it installs /usr/lib/nodejs/node-uuid.js.
>
> Next 1.4.0 is quite old and v. 3.1.0. is required for node-yarnpkg.
>
> Finally I have some doubts on the the naming, according to policy:
> https://wiki.debian.org/Javascript/Policy
> the source should be named uuid.js, and the binaries libjs-uuid and
> node-uuid
>
> I would like to move its repo to salsa.d.o. and proceed to update.
>
> Any objections / anybody else wants to do it ?
> What are your thoughts on the naming ?
>


Be aware that
npm show node-uuid
npm show uuid

both exists. Hence node-node-uuid...

Jérémy
-- 
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] node-node-uuid

2018-01-09 Thread Pirate Praveen
On 01/09/2018 05:23 PM, Paolo Greppi wrote:
> Hi, the package node-node-uuid seems broken, this fails:
> nodejs -e "require('uuid');"
> 
> Also it triggers lintian error node-package-install-in-nodejs-rootdir because 
> it installs /usr/lib/nodejs/node-uuid.js.
> 
> Next 1.4.0 is quite old and v. 3.1.0. is required for node-yarnpkg.
> 
> Finally I have some doubts on the the naming, according to policy:
> https://wiki.debian.org/Javascript/Policy
> the source should be named uuid.js, and the binaries libjs-uuid and node-uuid
> 
> I would like to move its repo to salsa.d.o. and proceed to update.
> 
> Any objections / anybody else wants to do it ?
> What are your thoughts on the naming ?

All the packages created by npm2deb has source package names
node-. I prefer sticking with that convention. I think the
policy needs an update.



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] node-node-uuid

2018-01-09 Thread Paolo Greppi
Hi, the package node-node-uuid seems broken, this fails:
nodejs -e "require('uuid');"

Also it triggers lintian error node-package-install-in-nodejs-rootdir because 
it installs /usr/lib/nodejs/node-uuid.js.

Next 1.4.0 is quite old and v. 3.1.0. is required for node-yarnpkg.

Finally I have some doubts on the the naming, according to policy:
https://wiki.debian.org/Javascript/Policy
the source should be named uuid.js, and the binaries libjs-uuid and node-uuid

I would like to move its repo to salsa.d.o. and proceed to update.

Any objections / anybody else wants to do it ?
What are your thoughts on the naming ?

Paolo

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