Debian Bug report logs - #673727
ITP: node-grunt -- A task-based command line build tool for JavaScript projects

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Marcelo Jorge Vieira <metal@debian.org>

Date: Mon, 21 May 2012 04:33:02 UTC

Owned by: Gustavo Noronha Silva <kov@debian.org>

Severity: wishlist

Blocking fix for 606901: ITP: fullcalendar -- jQuery plugin providing a full-sized, drag & drop calendar

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, pkg-javascript-devel@lists.alioth.debian.org, wnpp@debian.org:
Bug#673727; Package wnpp. (Mon, 21 May 2012 04:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marcelo Jorge Vieira <metal@debian.org>:
New Bug report received and forwarded. Copy sent to pkg-javascript-devel@lists.alioth.debian.org, wnpp@debian.org. (Mon, 21 May 2012 04:33:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Marcelo Jorge Vieira <metal@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: RFP: node-grunt -- A task-based command line build tool for JavaScript projects
Date: Mon, 21 May 2012 01:28:55 -0300
[Message part 1 (text/plain, inline)]
Package: wnpp
Severity: wishlist
X-Debbugs-CC: pkg-javascript-devel@lists.alioth.debian.org

* Package name    : node-grunt
  Version         : 0.3.9
  Upstream Author : Ben Alman
* URL             : http://github.com/cowboy/grunt/
* License         : MIT
  Programming Lang: JavaScript
  Description     : A task-based command line build tool for JavaScript projects

As of now, grunt has the following predefined tasks that you can use in
your project:

    concat - Concatenate files.
    init - Generate project scaffolding from a predefined template.
    lint - Validate files with JSHint.
    min - Minify files with UglifyJS.
    qunit - Run QUnit unit tests in a headless PhantomJS instance.
    server - Start a static web server.
    test - Run unit tests with nodeunit.
    watch - Run predefined tasks whenever watched files change.



Cheers,

-- 
Marcelo Jorge Vieira
xmpp:metal@jabber-br.org
http://metaldot.alucinados.com
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#673727; Package wnpp. (Thu, 17 Jan 2013 11:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Malaterre <malat@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Thu, 17 Jan 2013 11:06:03 GMT) Full text and rfc822 format available.

Message #10 received at 673727@bugs.debian.org (full text, mbox):

From: Mathieu Malaterre <malat@debian.org>
To: 673727@bugs.debian.org
Date: Thu, 17 Jan 2013 12:03:34 +0100
    # apt-get install nodejs
    # npm install grunt

Is the grunt package really necessary ?



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#673727; Package wnpp. (Mon, 04 Feb 2013 01:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marcelo Jorge Vieira <metal@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Mon, 04 Feb 2013 01:39:03 GMT) Full text and rfc822 format available.

Message #15 received at 673727@bugs.debian.org (full text, mbox):

From: Marcelo Jorge Vieira <metal@debian.org>
To: Mathieu Malaterre <malat@debian.org>
Cc: 673727@bugs.debian.org
Subject: Re:
Date: Sun, 03 Feb 2013 23:31:12 -0200
[Message part 1 (text/plain, inline)]
On Thu, 2013-01-17 at 12:03 +0100, Mathieu Malaterre wrote:
>     # apt-get install nodejs
>     # npm install grunt
> 
> Is the grunt package really necessary ?

For me it is.

jQuery, jQuery UI and jQuery Mobile use Grunt as build system.
Maybe there are other libs that use it too.


Cheers,

-- 
Marcelo Jorge Vieira
xmpp:metal@jabber-br.org
http://metaldot.alucinados.com
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#673727; Package wnpp. (Tue, 25 Jun 2013 18:18:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Prévot <taffit@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Tue, 25 Jun 2013 18:18:04 GMT) Full text and rfc822 format available.

Message #20 received at 673727@bugs.debian.org (full text, mbox):

From: David Prévot <taffit@debian.org>
To: Marcelo Jorge Vieira <metal@debian.org>, 673727@bugs.debian.org, pkg-javascript-devel@lists.alioth.debian.org
Subject: fullcalendar also needs grunt
Date: Tue, 25 Jun 2013 14:14:39 -0400
[Message part 1 (text/plain, inline)]
Control: block 606901 with -1

Hi Marcelo,

On Sun, Feb 03, 2013 at 11:31:12PM -0200, Marcelo Jorge Vieira wrote:
> On Thu, 2013-01-17 at 12:03 +0100, Mathieu Malaterre wrote:
> > 
> > Is the grunt package really necessary ?
> 
> For me it is.
> 
> jQuery, jQuery UI and jQuery Mobile use Grunt as build system.
> Maybe there are other libs that use it too.

fullcalendar is among them. What is the status of this ITP? Is there a
WIP repository available somewhere?

Regards

David
[signature.asc (application/pgp-signature, inline)]

Added indication that bug 673727 blocks 606901 Request was from David Prévot <taffit@debian.org> to 673727-submit@bugs.debian.org. (Tue, 25 Jun 2013 18:18:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#673727; Package wnpp. (Tue, 25 Jun 2013 18:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marcelo Jorge Vieira <metal@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Tue, 25 Jun 2013 18:30:03 GMT) Full text and rfc822 format available.

Message #27 received at 673727@bugs.debian.org (full text, mbox):

From: Marcelo Jorge Vieira <metal@debian.org>
To: David Prévot <taffit@debian.org>
Cc: 673727@bugs.debian.org, pkg-javascript-devel@lists.alioth.debian.org
Subject: Re: fullcalendar also needs grunt
Date: Tue, 25 Jun 2013 15:26:57 -0300
[Message part 1 (text/plain, inline)]
Hi David,

On Tue, 2013-06-25 at 14:14 -0400, David Prévot wrote:
> Control: block 606901 with -1
> 
> Hi Marcelo,
> 
> On Sun, Feb 03, 2013 at 11:31:12PM -0200, Marcelo Jorge Vieira wrote:
> > On Thu, 2013-01-17 at 12:03 +0100, Mathieu Malaterre wrote:
> > > 
> > > Is the grunt package really necessary ?
> > 
> > For me it is.
> > 
> > jQuery, jQuery UI and jQuery Mobile use Grunt as build system.
> > Maybe there are other libs that use it too.
> 
> fullcalendar is among them. What is the status of this ITP? Is there a
> WIP repository available somewhere?

There is no repository, I need help to package it. 

There is a big problem, Grunt depends on the JSHint and it is not
DFSG-compatible (Crockford's license).

Please read this:
http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/2013-February/004850.html


Cheers,

-- 
Marcelo Jorge Vieira
xmpp:metal@jabber-br.org
http://metaldot.alucinados.com
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#673727; Package wnpp. (Thu, 01 Aug 2013 14:27:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rogério Brito <rbrito@ime.usp.br>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Thu, 01 Aug 2013 14:27:09 GMT) Full text and rfc822 format available.

Message #32 received at 673727@bugs.debian.org (full text, mbox):

From: Rogério Brito <rbrito@ime.usp.br>
To: 673727@bugs.debian.org
Subject: License changed?
Date: Thu, 1 Aug 2013 11:24:33 -0300
Hi.

It seems that the current JSHint is *not* licensed under the "no evil" license:

    https://github.com/jshint/jshint/blob/master/LICENSE

It would be lovely to have JSHint and others in our repository.


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#673727; Package wnpp. (Wed, 07 Aug 2013 00:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gustavo Noronha Silva <kov@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 07 Aug 2013 00:33:04 GMT) Full text and rfc822 format available.

Message #37 received at 673727@bugs.debian.org (full text, mbox):

From: Gustavo Noronha Silva <kov@debian.org>
To: 673727@bugs.debian.org
Cc: Rogério Brito <rbrito@ime.usp.br>
Subject: Re: License changed?
Date: Tue, 06 Aug 2013 21:31:38 -0300
On Qui, 2013-08-01 at 11:24 -0300, Rogério Brito wrote:
> It seems that the current JSHint is *not* licensed under the "no evil" license:
> 
>     https://github.com/jshint/jshint/blob/master/LICENSE
> 
> It would be lovely to have JSHint and others in our repository.

Unfortunately no:

	https://github.com/jshint/jshint/blob/master/src/jshint.js#L19

Cheers,

-- 
Gustavo Noronha Silva <kov@debian.org>
Debian




Changed Bug title to 'ITP: node-grunt -- A task-based command line build tool for JavaScript projects' from 'RFP: node-grunt -- A task-based command line build tool for JavaScript projects' Request was from Gustavo Noronha Silva <kov@debian.org> to control@bugs.debian.org. (Wed, 07 Aug 2013 00:39:07 GMT) Full text and rfc822 format available.

Owner recorded as Gustavo Noronha Silva <kov@debian.org>. Request was from Gustavo Noronha Silva <kov@debian.org> to control@bugs.debian.org. (Wed, 07 Aug 2013 00:39:08 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>:
Bug#673727; Package wnpp. (Sat, 24 Aug 2013 14:57:13 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jérémy Bobbio <lunar@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>. (Sat, 24 Aug 2013 14:57:13 GMT) Full text and rfc822 format available.

Message #46 received at 673727@bugs.debian.org (full text, mbox):

From: Jérémy Bobbio <lunar@debian.org>
To: 673727@bugs.debian.org
Cc: Rogério Brito <rbrito@ime.usp.br>, Gustavo Noronha Silva <kov@debian.org>
Subject: Re: Bug#673727: License changed?
Date: Sat, 24 Aug 2013 16:55:55 +0200
[Message part 1 (text/plain, inline)]
Gustavo Noronha Silva:
> On Qui, 2013-08-01 at 11:24 -0300, Rogério Brito wrote:
> > It seems that the current JSHint is *not* licensed under the "no evil" license:
> > 
> >     https://github.com/jshint/jshint/blob/master/LICENSE
> > 
> > It would be lovely to have JSHint and others in our repository.
> 
> Unfortunately no:
> 
> 	https://github.com/jshint/jshint/blob/master/src/jshint.js#L19

Grunt must be packaged after ripping any part of its code that needs
JSHint. Upstream does not get it:

    […] Debian people will have to install JSHint through NPM or do some
    other workaround.

    To be honest, I'm getting tired of these not-true-open-source talks.
    Out of all things I need to do with JSHint this issue is probably the
    least important one.

    <https://github.com/jshint/jshint/issues/1234#issuecomment-23185426>

-- 
Lunar                                .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>:
Bug#673727; Package wnpp. (Mon, 26 Aug 2013 10:06:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Pocock <daniel@pocock.com.au>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>. (Mon, 26 Aug 2013 10:06:04 GMT) Full text and rfc822 format available.

Message #51 received at 673727@bugs.debian.org (full text, mbox):

From: Daniel Pocock <daniel@pocock.com.au>
To: 673727@bugs.debian.org
Subject: jshint -> non-free, node-grunt -> contrib?
Date: Mon, 26 Aug 2013 12:04:05 +0200
Could the jshint code just be uploaded to the non-free archive for the
moment?  Then node-grunt would potentially belong in contrib

This would allow developers of other packages to proceed with their
efforts.  Other packages that build-depend on node-grunt would end up in
contrib too, which is not ideal, but it may be better than not having
them at all.





Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#673727; Package wnpp. (Mon, 26 Aug 2013 12:06:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gustavo Noronha Silva <kov@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Mon, 26 Aug 2013 12:06:04 GMT) Full text and rfc822 format available.

Message #56 received at 673727@bugs.debian.org (full text, mbox):

From: Gustavo Noronha Silva <kov@debian.org>
To: Daniel Pocock <daniel@pocock.com.au>, 673727@bugs.debian.org
Subject: Re: Bug#673727: jshint -> non-free, node-grunt -> contrib?
Date: Mon, 26 Aug 2013 09:02:18 -0300
Em Seg, 2013-08-26 às 12:04 +0200, Daniel Pocock escreveu:
> Could the jshint code just be uploaded to the non-free archive for the
> moment?  Then node-grunt would potentially belong in contrib
> 
> This would allow developers of other packages to proceed with their
> efforts.  Other packages that build-depend on node-grunt would end up in
> contrib too, which is not ideal, but it may be better than not having
> them at all.

Marcelo and I were poking at grunt to understand how jshint is used, and
from the looks of it the dependency on jshint is really just for
internal testing rather than to provide some functionality, so maybe we
can just disable the jshint bits and package node without the dep.

-- 
Gustavo Noronha Silva <kov@debian.org>
Debian




Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>:
Bug#673727; Package wnpp. (Mon, 26 Aug 2013 12:27:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Pocock <daniel@pocock.com.au>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>. (Mon, 26 Aug 2013 12:27:09 GMT) Full text and rfc822 format available.

Message #61 received at 673727@bugs.debian.org (full text, mbox):

From: Daniel Pocock <daniel@pocock.com.au>
To: Gustavo Noronha Silva <kov@debian.org>
Cc: 673727@bugs.debian.org
Subject: Re: Bug#673727: jshint -> non-free, node-grunt -> contrib?
Date: Mon, 26 Aug 2013 14:24:43 +0200
On 26/08/13 14:02, Gustavo Noronha Silva wrote:
> Em Seg, 2013-08-26 às 12:04 +0200, Daniel Pocock escreveu:
>> Could the jshint code just be uploaded to the non-free archive for the
>> moment?  Then node-grunt would potentially belong in contrib
>>
>> This would allow developers of other packages to proceed with their
>> efforts.  Other packages that build-depend on node-grunt would end up in
>> contrib too, which is not ideal, but it may be better than not having
>> them at all.
> Marcelo and I were poking at grunt to understand how jshint is used, and
> from the looks of it the dependency on jshint is really just for
> internal testing rather than to provide some functionality, so maybe we
> can just disable the jshint bits and package node without the dep.
>
It's not just that: many of the other packages that are built by grunt
have something in their Gruntfile.js to call jshint

Every time somebody packages such a package, they would have to patch
the Gruntfile.js to disable the call to jshint.

jshint is much like lintian: your package may still work if you don't
run it, it is just a QA tool.  To use a shell scripting analogy, we
could replace jshint with a symlink to /bin/true and the builds of all
these packages would still succeed, we just wouldn't benefit from the
feedback about any code style issues.

I also notice that grunt-contrib-jshint is a separate upstream source
package.  That means the main node-grunt package can be part of Debian
main and only grunt-contrib-jshint needs to go into non-free

To take the idea further, we could make grunt-contrib-jshint into a
virtual package, with two real packages providing it:

   grunt-contrib-jshint-only-for-good.deb  (in non-free) - packaging of
upstream's work

   grunt-contrib-jshint-mock:  (in main) - a substitute package that
doesn't do any linting, much like /bin/true doesn't do anything

Developers who want to manually jshint their code and feel they qualify
for the "no evil" clause can then manually install the non-free package,
while pure DFSG builds would work using the mock package.

While it seems sad not to lint all the JavaScript automatically, the
presence of a non-free license means we just have to treat jslint (and
derivatives like jshint) as if they just don't exist at all until such
time that somebody rewrites the code in a DFSG-compliant manner.





Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>:
Bug#673727; Package wnpp. (Mon, 26 Aug 2013 15:45:13 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Pocock <daniel@pocock.com.au>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>. (Mon, 26 Aug 2013 15:45:13 GMT) Full text and rfc822 format available.

Message #66 received at 673727@bugs.debian.org (full text, mbox):

From: Daniel Pocock <daniel@pocock.com.au>
To: 673727@bugs.debian.org
Subject: testing grunt packaging
Date: Mon, 26 Aug 2013 17:43:08 +0200
I just tried to build the grunt package from the VCS myself as I'd like
to test with the JsSIP code and start packaging it.

I can build the grunt package and install it without errors.

It doesn't appear to install any launch script (e.g. /usr/bin/grunt)

When I try to run it manually

    nodejs /usr/lib/nodejs/grunt/grunt.js

it fails to run, because coffeescript is missing (please add to the
dependencies)

After adding coffeescript from sid, it still fails, now it complains
about hooker:

module.js:340
    throw err;
          ^
Error: Cannot find module 'hooker'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/lib/nodejs/grunt/grunt/util.js:28:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)




Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>:
Bug#673727; Package wnpp. (Wed, 16 Oct 2013 17:48:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marcelo Jorge Vieira <metal@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Gustavo Noronha Silva <kov@debian.org>. (Wed, 16 Oct 2013 17:48:10 GMT) Full text and rfc822 format available.

Message #71 received at 673727@bugs.debian.org (full text, mbox):

From: Marcelo Jorge Vieira <metal@debian.org>
To: László Böszörményi "(GCS)" <gcs@debian.org>
Cc: 673727 <673727@bugs.debian.org>
Subject: Re: packaging Grunt
Date: Wed, 16 Oct 2013 14:44:46 -0300
[Message part 1 (text/plain, inline)]
Hi László,

On Mon, 2013-10-14 at 09:24 +0200, László Böszörményi (GCS) wrote:
> Hi Metal,
> 
> Any progress on Grunt packaging? Any VCS usage maybe? What kind of
> help do you need? May I take over the packaging instead?

I'm packaging some dependencies:

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

* underscore.string
http://anonscm.debian.org/gitweb/?p=pkg-javascript/underscore.string.git

And Gustavo Noronha packaging Grunt:

http://anonscm.debian.org/gitweb/?p=pkg-javascript/grunt.git


But there is other dependencies:

https://npmjs.org/package/eventemitter2
https://npmjs.org/package/findup-sync
https://npmjs.org/package/hooker
https://npmjs.org/package/iconv-lite
https://npmjs.org/package/lodash
https://npmjs.org/package/js-yaml
https://npmjs.org/package/argparse
https://npmjs.org/package/esprima


Could you help us?


Cheers,

-- 
Marcelo Jorge Vieira
xmpp:metal@jabber-br.org
http://metaldot.alucinados.com
[signature.asc (application/pgp-signature, inline)]

Added indication that 673727 affects libjs-chosen Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Sat, 21 Dec 2013 15:45:07 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 02:19:01 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.