[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-08 Thread Pirate Praveen
On Friday 08 July 2016 08:48 PM, Cédric Boutillier wrote:
> On Fri, Jul 08, 2016 at 04:59:17PM +0530, Pirate Praveen wrote:
> 
>> The problem is libjs-handlebars is a node module (it should be changed
>> to node-handlebars I think) and handlebars_assets expects a browserified
>> version. Can I use the embedded version of handlebars.js from
>> handlebars_assets? I see ruby-uglifier does the same.
> 
> I don't think this is the way to go. ruby-uglifier has a bug open asking
> for using the binary packages from uglifyjs instead of the embedded copy
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718367
> 
> 
> 

To be able to build handlebars.js and handlebars.runtime.js, we will
need grunt packaged first.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673727
https://wiki.debian.org/Javascript/Nodejs/Tasks/grunt

I'll go with the embedded handlebars*.js for now and will build them
when grunt packaging is finished.

Any help in fixing the build is welcome.



signature.asc
Description: OpenPGP digital signature
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-08 Thread Pirate Praveen
On Thursday 07 July 2016 01:28 PM, Antonio Terceiro wrote:
> On Thu, Jul 07, 2016 at 07:44:00AM +0530, Pirate Praveen wrote:
>>
>>
>> On 2016, ജൂലൈ 7 1:38:54 AM IST, Antonio Terceiro  wrote:
>>> This is a very shitty way of making things work. So your approach is,
>>> instead of fixing the Debian package, adding an embedded copy of the
>>> upstream sources?
>>
>> No, you are just shouting baseless things that does not help at all.
>> First, if I had fixed it the way you imply, I'd have closed this bug.
>> Second, this was only one method of troubleshooting.
>>
>> Did you check the git commits before replying? It would be better if
>> people were helping fix things. It took 3-4 days of troubleshooting
>> and this is how you are rewarded at the end of finding the root cause?
> 
> Fair enough, I misinterpreted what I read then. I am sorry for that.
> 

The problem is libjs-handlebars is a node module (it should be changed
to node-handlebars I think) and handlebars_assets expects a browserified
version. Can I use the embedded version of handlebars.js from
handlebars_assets? I see ruby-uglifier does the same.

How do I proceed?



signature.asc
Description: OpenPGP digital signature
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-07 Thread Antonio Terceiro
On Thu, Jul 07, 2016 at 07:44:00AM +0530, Pirate Praveen wrote:
> 
> 
> On 2016, ജൂലൈ 7 1:38:54 AM IST, Antonio Terceiro  wrote:
> >This is a very shitty way of making things work. So your approach is,
> >instead of fixing the Debian package, adding an embedded copy of the
> >upstream sources?
> 
> No, you are just shouting baseless things that does not help at all.
> First, if I had fixed it the way you imply, I'd have closed this bug.
> Second, this was only one method of troubleshooting.
> 
> Did you check the git commits before replying? It would be better if
> people were helping fix things. It took 3-4 days of troubleshooting
> and this is how you are rewarded at the end of finding the root cause?

Fair enough, I misinterpreted what I read then. I am sorry for that.

-- 
Antonio Terceiro 


signature.asc
Description: PGP signature
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-06 Thread Pirate Praveen


On 2016, ജൂലൈ 7 1:38:54 AM IST, Antonio Terceiro  wrote:
>This is a very shitty way of making things work. So your approach is,
>instead of fixing the Debian package, adding an embedded copy of the
>upstream sources?

No, you are just shouting baseless things that does not help at all. First, if 
I had fixed it the way you imply, I'd have closed this bug. Second, this was 
only one method of troubleshooting.

Did you check the git commits before replying? It would be better if people 
were helping fix things. It took 3-4 days of troubleshooting and this is how 
you are rewarded at the end of finding the root cause?
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-06 Thread Pirate Praveen


On 2016, ജൂലൈ 7 1:38:54 AM IST, Antonio Terceiro  wrote:
>On Wed, Jul 06, 2016 at 11:18:09PM +0530, Pirate Praveen wrote:

>> So I replaced ruby-handlebars-assets deb package with
>handlebars_assets
>> gem and it is also working.
>
>This is a very shitty way of making things work. So your approach is,
>instead of fixing the Debian package, adding an embedded copy of the
>upstream sources?

May the wordings implied I have already finished the troubleshooting, but there 
was follow up comments that showed I was still testing things.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-06 Thread Antonio Terceiro
On Wed, Jul 06, 2016 at 11:18:09PM +0530, Pirate Praveen wrote:
> [will drop debian-ruby from further updates]
> 
> On Wednesday 06 July 2016 09:07 PM, Pirate Praveen wrote:
> > I was able to successfully install 0.5.5.1 in unstable but 0.5.7.1 in
> > experimental is failing with same error. So it could be either new code
> > in diaspora or one of the changed dependencies that is causing error. I
> > will try to reproduce the error in unstable by adding new dependencies
> > in experimental once by one. If you know a better way, let me know.
> > 
> 
> I tracked down the issue to handlebars_assets. After updating
> handlebars_assets to 0.23.0, diaspora 0.5.5.1 is also failing with the
> same error.
> 
> So I replaced ruby-handlebars-assets deb package with handlebars_assets
> gem and it is also working.

This is a very shitty way of making things work. So your approach is,
instead of fixing the Debian package, adding an embedded copy of the
upstream sources?


signature.asc
Description: PGP signature
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-06 Thread Pirate Praveen
[will drop debian-ruby from further updates]

On Wednesday 06 July 2016 09:07 PM, Pirate Praveen wrote:
> I was able to successfully install 0.5.5.1 in unstable but 0.5.7.1 in
> experimental is failing with same error. So it could be either new code
> in diaspora or one of the changed dependencies that is causing error. I
> will try to reproduce the error in unstable by adding new dependencies
> in experimental once by one. If you know a better way, let me know.
> 

I tracked down the issue to handlebars_assets. After updating
handlebars_assets to 0.23.0, diaspora 0.5.5.1 is also failing with the
same error.

So I replaced ruby-handlebars-assets deb package with handlebars_assets
gem and it is also working.




signature.asc
Description: OpenPGP digital signature
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-06 Thread Pirate Praveen
Control: severity -1 grave
Justification: installation is failing

On Saturday 02 July 2016 03:30 PM, Pirate Praveen wrote:
> With help from upstream developer lukas, we know this much.
> 
> "praveen: not sure if this is already known to you but this is failing
> 
> return new
> AST_SimpleStatement({body:(tmp=expression(true),semicolon(),tmp)})"
> I wonder if the last changelog entry of ruby-uglifier is a hint
> https://tracker.debian.org/media/packages/r/ruby-uglifier/changelog-2.7.2-1

I was able to successfully install 0.5.5.1 in unstable but 0.5.7.1 in
experimental is failing with same error. So it could be either new code
in diaspora or one of the changed dependencies that is causing error. I
will try to reproduce the error in unstable by adding new dependencies
in experimental once by one. If you know a better way, let me know.




signature.asc
Description: OpenPGP digital signature
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-02 Thread Pirate Praveen
On Friday 01 July 2016 11:06 PM, Pirate Praveen wrote:
> Can anyone help?

You can get the packages from
https://people.debian.org/~praveen/diaspora/diaspora.list Or I can
provide access to a test machine.

This is blocking gitlab 8.9.0 upload to unstable as well.



signature.asc
Description: OpenPGP digital signature
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#829254: asset:precompile error when updating diaspora to 0.5.9.1

2016-07-01 Thread Pirate Praveen
Full error message at 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829254

There was a similar error message with gitlab which was fixed by updating 
libjs-coffeescript. It could be an issue with sprockets as diaspora-installer 
works, which uses sprockets 2.12.4

I was able to reproduce the error in two systems. ruby-execjs, ruby-uglifier 
use same version as diaspora-installer. NodeJS is unlikely the cause.

Can anyone help?
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers