[Pkg-javascript-devel] Bug#850419: Bug#850419: Bug#850419: Local installation seems needed

2017-01-06 Thread Jonas Smedegaard
Quoting Pirate Praveen (2017-01-07 01:02:53)
> On വെള്ളി 06 ജനുവരി 2017 11:10 വൈകു, Bastien ROUCARIES wrote:
> > On Fri, Jan 6, 2017 at 6:39 PM, Bastien ROUCARIES
> >  wrote:
> >> On Fri, Jan 6, 2017 at 5:41 PM, Jonas Smedegaard  wrote:
> >>> How about patching the error message, as an intermediary step?
> >>
> >> How about adding an option --global to make grunt global
> > 
> > And even better add a environment variable GRUNT_FLAGS to pass flag to grunt
> 
> All of these are good options, we just need someone to write the code.
> I'm not well versed in javascript to write it myself.

Are you able to locate the error message string, and replace it with 
another string?  That, I believe, is all my suggestion requires.

No, sorry, I will not dive in and do it myself - I prioritize higher to 
get more of the ~400 packages under my wings in shape for Stretch.


 - Jonas

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

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

-- 
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#850419: Bug#850419: Bug#850419: Local installation seems needed

2017-01-06 Thread Pirate Praveen
On വെള്ളി 06 ജനുവരി 2017 11:10 വൈകു, Bastien ROUCARIES wrote:
> On Fri, Jan 6, 2017 at 6:39 PM, Bastien ROUCARIES
>  wrote:
>> On Fri, Jan 6, 2017 at 5:41 PM, Jonas Smedegaard  wrote:
>>> How about patching the error message, as an intermediary step?
>>
>> How about adding an option --global to make grunt global
> 
> And even better add a environment variable GRUNT_FLAGS to pass flag to grunt

All of these are good options, we just need someone to write the code.
I'm not well versed in javascript to write it myself.



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#850419: Bug#850419: Bug#850419: Local installation seems needed

2017-01-06 Thread Bastien ROUCARIES
On Fri, Jan 6, 2017 at 5:41 PM, Jonas Smedegaard  wrote:
> Quoting Pirate Praveen (2017-01-06 17:12:29)
>> Control: severity -1 important
>>
>> On വെള്ളി 06 ജനുവരി 2017 04:07 വൈകു, Bastien ROUCARIES wrote:
>> > Using grunt for node-sprintf-js I get
>> >
>> > Fatal error: Unable to find local grunt.
>> >
>> > If you're seeing this message, grunt hasn't been installed locally to
>> > your project. For more information about installing and configuring grunt,
>> > please see the Getting Started guide:
>> >
>> > http://gruntjs.com/getting-started
>> >
>> > Thus it unusable
>> >
>>
>> This is the default behavior of grunt and the upstream is unwilling to
>> change this behaviour. To use it for building packages in debian, you
>> have to patch Gruntfile.js.
>>
>> Patches welcome to make grunt look for global tasks by default. You can
>> see packages like node-fuzzaldrin-plus for the patch.
>>
>> https://anonscm.debian.org/cgit/pkg-javascript/node-fuzzaldrin-plus.git/tree/debian/patches/use-global-tasks.patch
>
> How about patching the error message, as an intermediary step?

How about adding an option --global to make grunt global



>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>
> --
> 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 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#850419: Bug#850419: Bug#850419: Local installation seems needed

2017-01-06 Thread Bastien ROUCARIES
On Fri, Jan 6, 2017 at 6:39 PM, Bastien ROUCARIES
 wrote:
> On Fri, Jan 6, 2017 at 5:41 PM, Jonas Smedegaard  wrote:
>> Quoting Pirate Praveen (2017-01-06 17:12:29)
>>> Control: severity -1 important
>>>
>>> On വെള്ളി 06 ജനുവരി 2017 04:07 വൈകു, Bastien ROUCARIES wrote:
>>> > Using grunt for node-sprintf-js I get
>>> >
>>> > Fatal error: Unable to find local grunt.
>>> >
>>> > If you're seeing this message, grunt hasn't been installed locally to
>>> > your project. For more information about installing and configuring grunt,
>>> > please see the Getting Started guide:
>>> >
>>> > http://gruntjs.com/getting-started
>>> >
>>> > Thus it unusable
>>> >
>>>
>>> This is the default behavior of grunt and the upstream is unwilling to
>>> change this behaviour. To use it for building packages in debian, you
>>> have to patch Gruntfile.js.
>>>
>>> Patches welcome to make grunt look for global tasks by default. You can
>>> see packages like node-fuzzaldrin-plus for the patch.
>>>
>>> https://anonscm.debian.org/cgit/pkg-javascript/node-fuzzaldrin-plus.git/tree/debian/patches/use-global-tasks.patch
>>
>> How about patching the error message, as an intermediary step?
>
> How about adding an option --global to make grunt global

And even better add a environment variable GRUNT_FLAGS to pass flag to grunt
>
>
>
>>
>>  - Jonas
>>
>> --
>>  * Jonas Smedegaard - idealist & Internet-arkitekt
>>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>>
>>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>>
>> --
>> 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 mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel