Re: [Pkg-javascript-devel] #743404 RFP: eslint -- tool for static analysis of ECMAScript (JavaScriptâ„¢) code

2016-01-25 Thread Daniel Kahn Gillmor
Hi debian javascript maintainers--

in https://bugs.debian.org/743404, Ben Finney  
wrote:
> Package: wnpp
> Severity: wishlist
>
> * Package name: eslint
>   Version : 0.4.5
>   Upstream Author : Nicholas C. Zakas 
> * URL : http://eslint.org/
> * License : Expat (MIT)
>   Programming Lang: ECMAScript
>   Description : tool for static analysis of ECMAScript (JavaScriptâ„¢) code
>
> ESLint is a tool for identifying and reporting on patterns found in
> ECMAScript (JavaScriptâ„¢) code. It performs static code analysis to find
> common and likely mistakes.
> .
> In many ways, it is similar to JSLint and JSHint with a few exceptions:
> .
> * ESLint uses Esprima for JavaScript parsing.
> * ESLint uses an AST to evaluate patterns in code.
> * ESLint is completely pluggable, every single rule is a plugin and you
>   can add more at runtime.
>
> One reason this package is attractive for ECMAScript developers is because
> it is a DFSG-free licensed linter; the two most popular linters, JSLint and
> JSHint, both have non-free licenses that prevent their inclusion in Debian.


Is anyone in the javascript team up for packaging this?  It appears to
available in npm, fwiw.

Enigmail is now using eslint upstream as part of the test suite (they've
switched to it from jshint to avoid the crappy jshint license), and i'd
love to be able to run the full test suite from within debian during
enigmail package builds.

 --dkg

___
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] plupload.js 2.1.8~dfsg1-1 MIGRATED to testing

2016-01-25 Thread Debian testing watch
FYI: The status of the plupload.js source package
in Debian's testing distribution has changed.

  Previous version: (not in testing)
  Current version:  2.1.8~dfsg1-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

___
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#812714: node-redis: FTBFS - tests fail, redis-server not killed if tests fail

2016-01-25 Thread Michael Tautschnig
Package: node-redis
Version: 0.12.1-2
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
addr=127.0.0.1:34379 fd=126 name= age=3046349 idle=793 flags=N db=0 sub=0 
psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=zrange

Uncaught exception: AssertionError: 266 === 4
at checkResult 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/test.js:662:16)
at 
/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/test.js:670:9
at try_callback 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/index.js:592:9)
at RedisClient.return_reply 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/index.js:685:13)
at ReplyParser. 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/index.js:321:14)
at emitOne (events.js:77:13)
at ReplyParser.emit (events.js:169:7)
at ReplyParser.send_reply 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/lib/parser/javascript.js:300:10)
at ReplyParser.execute 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/lib/parser/javascript.js:203:22)
at RedisClient.on_data 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/index.js:547:27)

assert.js:89
  throw new assert.AssertionError({
  ^
AssertionError: true == false
at process. 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/test.js:2292:12)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process.exit (node.js:749:17)
at process. 
(/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1/test.js:2287:13)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process._fatalException (node.js:223:26)
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 7
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-node-redis/node-redis-0.12.1'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2

The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Furthermore the redis-server instance is left running in this failing case:
redis_server_child.kill() would only be invoked after the assertions (line 2293
of test.js).

Best,
Michael


node-redis-build-log.txt.gz
Description: application/gunzip


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