Re: [Pkg-javascript-devel] Mocha in Debian

2014-05-06 Thread Jérémy Lal
Le mardi 06 mai 2014 à 10:23 +0200, Leo Iannacone a écrit :
> On 6 May 2014 08:01, Jérémy Lal  wrote:
> > I worked on it - and then stopped because we're missing component.js :(
> 
> Am I missing something? Why should we care about component ?

(you cut a little too far here - i don't know what we were talking
about) oh yes css-parse

A css parser is also useful on browser, i bet mocha too.

Obviously we won't be able to libjs-package these for now.
I feel bad about that.

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] Mocha in Debian

2014-05-06 Thread Leo Iannacone
On 6 May 2014 08:01, Jérémy Lal  wrote:
> I worked on it - and then stopped because we're missing component.js :(

Am I missing something? Why should we care about component ?

___
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] Mocha in Debian

2014-05-06 Thread Leo Iannacone
On 6 May 2014 08:01, Jérémy Lal  wrote:
> I worked on it - and then stopped because we're missing component.js :(

Am I missing something? Why should we care about component ?


-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25

___
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] Mocha in Debian

2014-05-06 Thread Leo Iannacone
On 6 May 2014 08:01, Jérémy Lal  wrote:
> I worked on it - and then stopped because we're missing component.js :(

Am I missing something? Why should we care about component ?

___
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] Mocha in Debian

2014-05-05 Thread Jérémy Lal
Le mardi 06 mai 2014 à 00:34 +0200, Leo Iannacone a écrit :
> On 5 May 2014 23:20, Jérémy Lal  wrote:
> >> The note says: "Based on the Base 64 VLQ implementation in Closure 
> >> Compiler",
> >>
> >> should I report this in debian/copryright ?
> >
> > Yes, the file has two copyright holders (and two licenses which happen
> > to be identical).
> 
> Good! (locally done, I will "git push" asap).
> 
> About node-css-parse .. Jeremy (do you want contribute maintaining the
> package?).. ?
> New css are now in upstream, but no new release with those changes.
> What we should do?
> 
> L.
> 

I worked on it - and then stopped because we're missing component.js :(

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] Mocha in Debian

2014-05-05 Thread Leo Iannacone
On 5 May 2014 23:20, Jérémy Lal  wrote:
>> The note says: "Based on the Base 64 VLQ implementation in Closure Compiler",
>>
>> should I report this in debian/copryright ?
>
> Yes, the file has two copyright holders (and two licenses which happen
> to be identical).

Good! (locally done, I will "git push" asap).

About node-css-parse .. Jeremy (do you want contribute maintaining the
package?).. ?
New css are now in upstream, but no new release with those changes.
What we should do?

L.

-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25

___
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] Mocha in Debian

2014-05-05 Thread Jérémy Lal
Le lundi 05 mai 2014 à 23:08 +0200, Leo Iannacone a écrit :
> Hi all,
> 
> about source-map module,
> 
> I have found the following in lib/source-map/base64-vlq.js
> 
> /*
>  * Copyright 2011 Mozilla Foundation and contributors
>  * Licensed under the New BSD license. See LICENSE or:
>  * http://opensource.org/licenses/BSD-3-Clause
>  *
>  * Based on the Base 64 VLQ implementation in Closure Compiler:
>  * 
> https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
>  *
>  * Copyright 2011 The Closure Compiler Authors. All rights reserved.
>  * Redistribution and use in source and binary forms, with or without
>  * modification, are permitted provided that the following conditions are
>  * met:
>  *
>  *  * Redistributions of source code must retain the above copyright
>  *notice, this list of conditions and the following disclaimer.
>  *  * Redistributions in binary form must reproduce the above
>  *copyright notice, this list of conditions and the following
>  *disclaimer in the documentation and/or other materials provided
>  *with the distribution.
>  *  * Neither the name of Google Inc. nor the names of its
>  *contributors may be used to endorse or promote products derived
>  *from this software without specific prior written permission.
>  *
>  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>  */
> 
> 
> The note says: "Based on the Base 64 VLQ implementation in Closure Compiler",
> 
> should I report this in debian/copryright ?

Yes, the file has two copyright holders (and two licenses which happen
to be identical).

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] Mocha in Debian

2014-05-05 Thread Leo Iannacone
Hi all,

about source-map module,

I have found the following in lib/source-map/base64-vlq.js

/*
 * Copyright 2011 Mozilla Foundation and contributors
 * Licensed under the New BSD license. See LICENSE or:
 * http://opensource.org/licenses/BSD-3-Clause
 *
 * Based on the Base 64 VLQ implementation in Closure Compiler:
 * 
https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
 *
 * Copyright 2011 The Closure Compiler Authors. All rights reserved.
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 *  * Redistributions of source code must retain the above copyright
 *notice, this list of conditions and the following disclaimer.
 *  * Redistributions in binary form must reproduce the above
 *copyright notice, this list of conditions and the following
 *disclaimer in the documentation and/or other materials provided
 *with the distribution.
 *  * Neither the name of Google Inc. nor the names of its
 *contributors may be used to endorse or promote products derived
 *from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */


The note says: "Based on the Base 64 VLQ implementation in Closure Compiler",

should I report this in debian/copryright ?

___
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] Mocha in Debian

2014-05-01 Thread Leo Iannacone
On 1 May 2014 02:10, Jérémy Lal  wrote:
> Le jeudi 01 mai 2014 à 01:11 +0200, Jérémy Lal a écrit :
>> Le jeudi 01 mai 2014 à 00:18 +0200, Jonas Smedegaard a écrit :
>> > Quoting Leo Iannacone (2014-04-30 23:26:44)
>> > > On 30 April 2014 23:11, Jérémy Lal  wrote:
>> > > > It's not all right to remove other files without good reasons.
>> > > > Here, you can have a doubt about the license of the other css file, but
>> > > > there is no doubt the js file is correctly licensed, so no reason to
>> > > > prune it.
>> > >
>> > > But ... does it make sense leave snip of code that does not work?
>> > >
>> > > I mean, if you `apt-get source' the package you will see run
>> > > bechmark/index.js. You may want to exec it.. and then??
>> > > It fails.. because try to open large.css, excluded from source.
>> > >
>> > > $ grep css benchmark/index.js
>> > > var small = fs.readFileSync('benchmark/small.css', 'utf8');
>> > > var large = fs.readFileSync('benchmark/large.css', 'utf8')
>> > >
>> > > Is it not better in this case remove the whole directory?
>> >
>> > The better approach is not to remove more code, but to complement the
>> > minimal code stripping with a patch that makes the remaining code work
>> > again.
>>
>> Even better, let's bug upstream about that. After all they have no
>> interest in keeping licensing issues.
>
> https://github.com/reworkcss/css-parse/issues/84
>
> I'll file a PR later, let's see what happens.

Thanks you both :)

Have a great day!

Leo.


-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25

___
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] Mocha in Debian

2014-05-01 Thread Leo Iannacone
On 30 April 2014 22:25, Jérémy Lal  wrote:
> Le mercredi 30 avril 2014 à 22:11 +0200, Leo Iannacone a écrit :
>> node-character-parser is ready here:
>>
>> http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-character-parser.git
>
> The long description is not clear enough.
> Also it uses "you" where we expect something less personal.

Updated :).

-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25

___
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] Mocha in Debian

2014-04-30 Thread Jérémy Lal
Le jeudi 01 mai 2014 à 01:11 +0200, Jérémy Lal a écrit :
> Le jeudi 01 mai 2014 à 00:18 +0200, Jonas Smedegaard a écrit :
> > Quoting Leo Iannacone (2014-04-30 23:26:44)
> > > On 30 April 2014 23:11, Jérémy Lal  wrote:
> > > > It's not all right to remove other files without good reasons.
> > > > Here, you can have a doubt about the license of the other css file, but
> > > > there is no doubt the js file is correctly licensed, so no reason to
> > > > prune it.
> > > 
> > > But ... does it make sense leave snip of code that does not work?
> > > 
> > > I mean, if you `apt-get source' the package you will see run
> > > bechmark/index.js. You may want to exec it.. and then??
> > > It fails.. because try to open large.css, excluded from source.
> > > 
> > > $ grep css benchmark/index.js
> > > var small = fs.readFileSync('benchmark/small.css', 'utf8');
> > > var large = fs.readFileSync('benchmark/large.css', 'utf8')
> > > 
> > > Is it not better in this case remove the whole directory?
> > 
> > The better approach is not to remove more code, but to complement the 
> > minimal code stripping with a patch that makes the remaining code work 
> > again.
> 
> Even better, let's bug upstream about that. After all they have no
> interest in keeping licensing issues.

https://github.com/reworkcss/css-parse/issues/84

I'll file a PR later, let's see what happens.

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] Mocha in Debian

2014-04-30 Thread Jérémy Lal
Le jeudi 01 mai 2014 à 00:18 +0200, Jonas Smedegaard a écrit :
> Quoting Leo Iannacone (2014-04-30 23:26:44)
> > On 30 April 2014 23:11, Jérémy Lal  wrote:
> > > It's not all right to remove other files without good reasons.
> > > Here, you can have a doubt about the license of the other css file, but
> > > there is no doubt the js file is correctly licensed, so no reason to
> > > prune it.
> > 
> > But ... does it make sense leave snip of code that does not work?
> > 
> > I mean, if you `apt-get source' the package you will see run
> > bechmark/index.js. You may want to exec it.. and then??
> > It fails.. because try to open large.css, excluded from source.
> > 
> > $ grep css benchmark/index.js
> > var small = fs.readFileSync('benchmark/small.css', 'utf8');
> > var large = fs.readFileSync('benchmark/large.css', 'utf8')
> > 
> > Is it not better in this case remove the whole directory?
> 
> The better approach is not to remove more code, but to complement the 
> minimal code stripping with a patch that makes the remaining code work 
> again.

Even better, let's bug upstream about that. After all they have no
interest in keeping licensing issues.

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] Mocha in Debian

2014-04-30 Thread Jonas Smedegaard
Quoting Leo Iannacone (2014-04-30 23:26:44)
> On 30 April 2014 23:11, Jérémy Lal  wrote:
> > It's not all right to remove other files without good reasons.
> > Here, you can have a doubt about the license of the other css file, but
> > there is no doubt the js file is correctly licensed, so no reason to
> > prune it.
> 
> But ... does it make sense leave snip of code that does not work?
> 
> I mean, if you `apt-get source' the package you will see run
> bechmark/index.js. You may want to exec it.. and then??
> It fails.. because try to open large.css, excluded from source.
> 
> $ grep css benchmark/index.js
> var small = fs.readFileSync('benchmark/small.css', 'utf8');
> var large = fs.readFileSync('benchmark/large.css', 'utf8')
> 
> Is it not better in this case remove the whole directory?

The better approach is not to remove more code, but to complement the 
minimal code stripping with a patch that makes the remaining code work 
again.


 - 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] Mocha in Debian

2014-04-30 Thread Leo Iannacone
On 30 April 2014 23:11, Jérémy Lal  wrote:
> It's not all right to remove other files without good reasons.
> Here, you can have a doubt about the license of the other css file, but
> there is no doubt the js file is correctly licensed, so no reason to
> prune it.

But ... does it make sense leave snip of code that does not work?

I mean, if you `apt-get source' the package you will see run
bechmark/index.js. You may want to exec it.. and then??
It fails.. because try to open large.css, excluded from source.

$ grep css benchmark/index.js
var small = fs.readFileSync('benchmark/small.css', 'utf8');
var large = fs.readFileSync('benchmark/large.css', 'utf8')

Is it not better in this case remove the whole directory?

-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25

___
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] Mocha in Debian

2014-04-30 Thread Jérémy Lal
Le mercredi 30 avril 2014 à 22:55 +0200, Leo Iannacone a écrit :
> On 30 April 2014 22:20, Jérémy Lal  wrote:
> > Le mercredi 30 avril 2014 à 21:48 +0200, Leo Iannacone a écrit :
> >> node-css-parse is ready here:
> >>
> >> http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-css-parse.git
> >
> > * upstream is actually
> > https://github.com/reworkcss/css-parse
> 
> You're right, visionmedia repo actually redirects on reworkcss.
> Fixed.
> 
> > * benchmarks/large.css must be excluded, for it contains way too much
> > unlicensed styles
> 
> Added to copyright:
> Files-Excluded:
> benchmark
> 
> We do not need any of them.

Oops, too much :)

It's not all right to remove other files without good reasons.
Here, you can have a doubt about the license of the other css file, but
there is no doubt the js file is correctly licensed, so no reason to
prune it.

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] Mocha in Debian

2014-04-30 Thread Leo Iannacone
On 30 April 2014 22:20, Jérémy Lal  wrote:
> Le mercredi 30 avril 2014 à 21:48 +0200, Leo Iannacone a écrit :
>> node-css-parse is ready here:
>>
>> http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-css-parse.git
>
> * upstream is actually
> https://github.com/reworkcss/css-parse

You're right, visionmedia repo actually redirects on reworkcss.
Fixed.

> * benchmarks/large.css must be excluded, for it contains way too much
> unlicensed styles

Added to copyright:
Files-Excluded:
benchmark

We do not need any of them.


Regards,

L.


-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25

___
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] Mocha in Debian

2014-04-30 Thread Jérémy Lal
Le mercredi 30 avril 2014 à 22:11 +0200, Leo Iannacone a écrit :
> node-character-parser is ready here:
> 
> http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-character-parser.git
> 
> On 30 April 2014 21:48, Leo Iannacone  wrote:
> > node-css-parse is ready here:
> >
> > http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-css-parse.git

The long description is not clear enough.
Also it uses "you" where we expect something less personal.

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] Mocha in Debian

2014-04-30 Thread Jérémy Lal
Le mercredi 30 avril 2014 à 21:48 +0200, Leo Iannacone a écrit :
> node-css-parse is ready here:
> 
> http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-css-parse.git

* upstream is actually
https://github.com/reworkcss/css-parse

* benchmarks/large.css must be excluded, for it contains way too much
unlicensed styles

* version 2.0.0 might happen soon (or not), but i'm okay with 1.7.0
right now.

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] Mocha in Debian

2014-04-30 Thread Leo Iannacone
node-character-parser is ready here:

http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-character-parser.git

On 30 April 2014 21:48, Leo Iannacone  wrote:
> node-css-parse is ready here:
>
> http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-css-parse.git



-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25

___
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] Mocha in Debian

2014-04-30 Thread Leo Iannacone
node-css-parse is ready here:

http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-css-parse.git

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