Re: [Sugar-devel] Fedora repository with snapshots from git

2014-01-09 Thread Rogelio Mita
thanks aklis! 2014/1/9 Code Raguet > > On Wed, Jan 8, 2014 at 10:49 PM, Daniel Narvaez wrote: > >> * I still need to improve the queue to skip builds when we have more >> recent commits. That will probably happen because the ARM slave is super >> slow. >> * I want to find a better machine to ru

Re: [Sugar-devel] sucrose-0.100 fails

2014-01-08 Thread Rogelio Mita
he effort right now (changes to modules.json are pretty > rare). I updated now and will restart buildbot when the current builds are > done. That should fix it. > > > On 7 January 2014 18:33, Rogelio Mita wrote: > >> I don't understand why sucrose-0.100 is pulling the &

Re: [Sugar-devel] sucrose-0.100 fails

2014-01-07 Thread Rogelio Mita
full-sucrose-0.100/builds/45/steps/shell_3/logs/modules 2014/1/7 Rogelio Mita > sorry, this is correct pull log (build #142): > http://buildbot.sugarlabs.org/builders/quick-sucrose-0.100/builds/142 > > > 2014/1/7 Rogelio Mita > >> I don't understand why sucros

[Sugar-devel] sucrose-0.100 fails

2014-01-07 Thread Rogelio Mita
I don't understand why sucrose-0.100 is pulling the "master" branch of sugar-web. /build/modules.json has set sucrose-0.100 branch for sugar-web. pull log

Re: [Sugar-devel] sucrose-0.100 fails

2014-01-07 Thread Rogelio Mita
sorry, this is correct pull log (build #142): http://buildbot.sugarlabs.org/builders/quick-sucrose-0.100/builds/142 2014/1/7 Rogelio Mita > I don't understand why sucrose-0.100 is pulling the "master" branch of > sugar-web. > /build/modules.json<https://github.com

Re: [Sugar-devel] sugar-web activity

2013-12-27 Thread Rogelio Mita
Maybe this can help you: http://developer.sugarlabs.org/activity.md.html#adding%20a%20button%20to%20the%20toolbar 2013/12/27 Rafael Cordano > > Hello, I'm making a port of an activity to sugar-web and I don't know how > I can make a palette? > > Greetings: > Rafael Cordano > > > ___

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-24 Thread Rogelio Mita
https://github.com/sugarlabs/sugar-web/pull/102 2013/12/12 Daniel Narvaez > Right, as expected > > > 1386897905.351919 DEBUG root: IndexStore.flush: force=True _pending_writes=0 > 1386897905.352442 DEBUG root: Start database flush > 1386897909.310487 DEBUG root: Completed database flush > 13868

Re: [Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation

2013-12-20 Thread Rogelio Mita
ok!, I understand you now, yes, can work using user agent 2013/12/20 Rogelio Mita > > 2013/12/20 Daniel Narvaez > >> What about using the user agent in isStandalone instead of the protocol? >> We can make the web activity and the sugar-web-test use two different, >&g

Re: [Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation

2013-12-20 Thread Rogelio Mita
2013/12/20 Daniel Narvaez > What about using the user agent in isStandalone instead of the protocol? > We can make the web activity and the sugar-web-test use two different, > recognizable user agents. sorry I don't understand how this will help us, the expected is that "sugar-web-test" and a "

Re: [Sugar-devel] [sugar-web] do webkit frames run on different threads?

2013-12-19 Thread Rogelio Mita
2013/12/19 Daniel Narvaez > This code in getEnvironment is wrong, just a thinko by me. > > We should not set window.top.sugar = {} from the javascript side. Instead > we should if isStandalone callback({}). > This is related with "[web-activity] functional tests and env.isStandalone's current im

Re: [Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation

2013-12-19 Thread Rogelio Mita
2013/12/19 Daniel Narvaez > On 19 December 2013 21:48, Rogelio Mita > wrote: > >> All sugar-web's tests are running into activityweb container, using >> sugar-web-test activity, all url requests which they do, have "http" >> scheme, and our current impl

[Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation

2013-12-19 Thread Rogelio Mita
All sugar-web's tests are running into activityweb container, using sugar-web-test activity, all url requests which they do, have "http" scheme, and our current implementation of isStandanlone makes check on the current scheme of the request given (isStandalone method

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-13 Thread Rogelio Mita
labor, we should take note to solve in the future, but inevitably we should have unit tests here and be sure that the functional tests on full-master run well, even a little slow the running time of the tests. > > > On Fri, Dec 13, 2013 at 2:48 PM, Rogelio Mita < > rogeliom...@activityc

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-13 Thread Rogelio Mita
2013/12/12 Daniel Narvaez > Only on the first save(). > > Using *getEnv*().*defaultTimeoutInterval* = something we could increase the > timeout for all the datastore tests or even for all the tests. I'm worried it > would get a bit annoying for development to always have a big timeout... An >

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/12 Gonzalo Odiard > Just remember than this is different to env.js, > we have already a lot of users of this api, then we need look how to solve > these issues > I catch your point here, the idea is not change the API usage, because motive you said above, or if it changes anyway, we shou

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/12 Daniel Narvaez > Interesting that he has different tests failing, on buildbot it seems to > be always the same. Maybe he can try to osbuild pull, try to reproduce > again, and post build/logs/check-modules.log? Seeing a slightly different > failure might help us understanding. > > The

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/11 Daniel Narvaez > That's not enough to say if python is never sending the message or if > javascript is never receiving/handling it. So I make gwebsockets log sent > messages to... when we get the next failure we can check if that helps > figuring out what is going on. Sorry, I see th

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/12 Gonzalo Odiard > "breaking carefully" :) don't worry! the idea is not to change anything without testing, datastore has enough tests, first of all we would begin to look at these =) -- Roger Activity Central __

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/12 Gonzalo Odiard > Datastore api have a few places with comments about function/methods than > should be async, but are sync. > > Ex: > https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/datastore/datastore.py#L369 > > No idea about if is related, just a comment. > g

Re: [Sugar-devel] web-activity: env.getEnvironment dependency with Python code

2013-12-11 Thread Rogelio Mita
And this pull request: https://github.com/sugarlabs/sugar-web/pull/97 change some semantics on https://github.com/sugarlabs/sugar-web/blob/master/test/envSpec.js#L129test and till now we have only this particular case behavior in our API 2013/12/11 Rogelio Mita > Hi Daniel, when you hav

Re: [Sugar-devel] web-activity: env.getEnvironment dependency with Python code

2013-12-11 Thread Rogelio Mita
Hi Daniel, when you have a moment can you check this pull request that repairs this functional test<https://github.com/sugarlabs/sugar-web/blob/master/test/envSpec.js#L7>which no was running https://github.com/sugarlabs/sugar-web/pull/96 Thanks! 2013/12/2 Rogelio Mita > ok, thanks! &

Re: [Sugar-devel] python_joven

2013-12-06 Thread Rogelio Mita
Congratulations!!! Nice work guys =) ! 2013/12/6 Gonzalo Odiard > Python Joven is a example to follow, I hope we see more places doing > something similar. > Is really good have all the tutorials published! > Thanks Flavio! > > Gonzalo > > > On Fri, Dec 6, 2013 at 2:32 PM, Flavio Danesse wrote

Re: [Sugar-devel] Adding compatibility in webactivity to webkit1

2013-12-04 Thread Rogelio Mita
2013/12/4 Daniel Narvaez > I see your point of course. Though if we can keep the webkit2 > implementation the best it can be and, at the same time, allow people like > Gonzalo to provide rudimentary support for web activities in deployed/ing > software, maybe it's a good compromise... (Thinking o

Re: [Sugar-devel] Adding compatibility in webactivity to webkit1

2013-12-04 Thread Rogelio Mita
2013/12/4 Daniel Narvaez > This is a good concrete example of what worries me. Assuming the custom > protocol is a slightly better solution (it might not be, it's a bit hard to > evaluate but... for the sake of this dicussion let's assume it is), what do > we do? *I think in a loud voice and I

Re: [Sugar-devel] Adding compatibility in webactivity to webkit1

2013-12-04 Thread Rogelio Mita
2013/12/4 Gonzalo Odiard > * If there are a way to implement a feature compatible with webkit1 and > webkit2, > with a comparable complexity, is encouraged use it. > About that: using a web-server for both webkit1 and webkit2 is feasible? over the course of thread I read that was a decision to a

Re: [Sugar-devel] Adding compatibility in webactivity to webkit1

2013-12-03 Thread Rogelio Mita
2013/12/3 Daniel Narvaez > What do you mean with "emergence of sugar-toolkit-gtk3"? I do not know the story of how this package came, when.., the main purpose.., not that long ago I'm on this list > > > On Tuesday, 3 December 2013, Rogelio Mita wrote: > >>

Re: [Sugar-devel] Adding compatibility in webactivity to webkit1

2013-12-02 Thread Rogelio Mita
I need more context about emergence of sugar-toolkit-gtk3 but... I am agree with that points: Gonzalo says: > Another alternative is find what is crashing in webkit2 and solve it, but > is out of my knowledge. Always is an alternative write code for cover backward compatibility if there are all

Re: [Sugar-devel] web-activity: env.getEnvironment dependency with Python code

2013-12-02 Thread Rogelio Mita
ok, thanks! 2013/12/2 Daniel Narvaez > Github is a bit broken at the moment, but I'll try to finish up reviewing > later tonight. Thanks. > > > On Monday, 2 December 2013, Code Raguet wrote: > >> >> On Thu, Nov 28, 2013 at 3:26 PM, Daniel Narvaez wrote: >> >>> Those are hard questions :) I was

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-02 Thread Rogelio Mita
Sometimes when check command is running, it calls karma without configuration file then fails, any idea why?. Anyway, right now full-master fails before run "sugar-web checker" by two test on sugar-toolkit-gtk3: test_dist_source_out_of_source and test_dist_xo_out_of_source 2013/11/

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-11-28 Thread Rogelio Mita
I will take note of this 2013/11/28 Daniel Narvaez > > http://buildbot.sugarlabs.org/builders/quick-sucrose-0.100/builds/6/steps/shell_2/logs/modules > > We are getting a lot of these, like 50% of the times. Unfortunately my > laptop broke so I won't be able to debug them until it comes back re

Re: [Sugar-devel] web-activity: env.getEnvironment dependency with Python code

2013-11-27 Thread Rogelio Mita
hes to be required to not break it. >>>> >>>> >>> True. >>> >>> If you agree, I can go with the option of the env variable as discussed >>> previously. >>> >>> Gonzalo >>> >>> >>> >>&

Re: [Sugar-devel] Adding compatibility in webactivity to webkit1

2013-11-27 Thread Rogelio Mita
, > when is not needed anymore. > > Gonzalo > > > On Wed, Nov 27, 2013 at 2:22 PM, Rogelio Mita < > rogeliom...@activitycentral.com> wrote: > >> Nice!, I quickly looked at the patch and I urged try to encapsulate the >> all logic of webkit2 and the webkit

Re: [Sugar-devel] Adding compatibility in webactivity to webkit1

2013-11-27 Thread Rogelio Mita
Nice!, I quickly looked at the patch and I urged try to encapsulate the all logic of webkit2 and the webkit1 in separate modules, using a luck of strategy pattern or do something polymorphic, but I notice that it is a decision not yet taken (as Daniel says), I doubt whether to spend time on this fo

Re: [Sugar-devel] web-activity: env.getEnvironment dependency with Python code

2013-11-27 Thread Rogelio Mita
2013/11/27 Daniel Narvaez > My summary email is still valid but for completeness... I'm not sure it's > possible even from inside webkit to implement a non-racy > window-object-cleared signal. sounds good, I'm sure that python WebKit2 has to provide some solution to this without having to go do

Re: [Sugar-devel] Web-activity: Store API documentation

2013-11-26 Thread Rogelio Mita
gt; code, which is usually good to avoid them becoming stale. > > On Tuesday, 26 November 2013, Rogelio Mita wrote: > >> Hi! >> >> I was doing use of dictstore API on my POC web activity and I found in >> the position to want do: "save data when closing activity&q

[Sugar-devel] Web-activity: Store API documentation

2013-11-26 Thread Rogelio Mita
Hi! I was doing use of dictstore API on my POC web activity and I found in the position to want do: "save data when closing activity", trying things and reading source code I found this paragraph that helped me to do this task: https://github.com/sugarlabs/sugar-web/blob/master/activity/activity.

Re: [Sugar-devel] sugar-web: env.js questions

2013-11-22 Thread Rogelio Mita
2013/11/22 Daniel Narvaez > You mean it will fix the race condition that I discussed with Code on that > pull request right? If so, yes. yeah, that Ok, I'll try to make the changes according to what we discussed here and then I will send a pull request, is ok for you? Thanks -- Roger Activ

Re: [Sugar-devel] sugar-web: env.js questions

2013-11-22 Thread Rogelio Mita
2013/11/22 Daniel Narvaez > On 22 November 2013 22:59, Rogelio Mita > wrote: > >> >> About the logic, unfortunately checking window.sugar won't work because >> we can't assume window.sugar has been already set when getEnvironment is >> called... the p

Re: [Sugar-devel] sugar-web: env.js questions

2013-11-22 Thread Rogelio Mita
2013/11/22 Daniel Narvaez > On 22 November 2013 21:20, Rogelio Mita > wrote: > >> >> 2013/11/22 Daniel Narvaez >> >>> Yes the callback is never executed because there is no python >>> notification. And our test succeeds because it doesn't make

Re: [Sugar-devel] sugar-web: env.js questions

2013-11-22 Thread Rogelio Mita
2013/11/22 Daniel Narvaez > Yes the callback is never executed because there is no python > notification. And our test succeeds because it doesn't make sure that the > callback is called. Ok, I see... I am watching https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/activity

Re: [Sugar-devel] sugar-web: env.js questions

2013-11-22 Thread Rogelio Mita
2013/11/22 Daniel Narvaez > Oh actually I see why it succeeds... The test doesn't verify that it > receives a response. It will only fail if it gets the wrong answer (and it > probably it's not always to fail in that case either). We need to follow > the async pattern we have in the datastore tes

[Sugar-devel] sugar-web: env.js questions

2013-11-22 Thread Rogelio Mita
Hi, Can you help me to understand the getEnvironment function ( https://github.com/sugarlabs/sugar-web/blob/master/env.js)?. My understanding is that if sugar.environment is undefined is because I am in standalone mode, is that right? what is the purpose of this handler onEnvironmentSet ( https:

Re: [Sugar-devel] Issue running karma from osbuild shell

2013-11-20 Thread Rogelio Mita
post sugar-build/home/dotsugar/default/logs/shell.log (going by >> memory)? >> >> >> On 20 November 2013 18:33, Rogelio Mita >> wrote: >> >>> Hi list, >>> >>> when run *osbuild* with *run* command and there is not *resolution >&g

[Sugar-devel] Issue running karma from osbuild shell

2013-11-20 Thread Rogelio Mita
Hi list, when run *osbuild* with *run* command and there is not *resolution preference* in *prefs.json* file, the screen appear grey and it don't launch Sugar interface. I solved this with given 800x600 resolution on *prefs.json* file, but... my main goal is run *karma* for run tests, when I run *

Re: [Sugar-devel] My proposals to improve sugar:

2013-11-08 Thread Rogelio Mita
2013/11/6 Flavio Danesse > Thanks Daniel , I'll try again. > I tried on several occasions to contribute in this way, but I see two > problems : > Generally not work in ubuntu and has the disadvantage that you can not > prove what you do on the xo . > The other problem is the time of applying patc

Re: [Sugar-devel] Web activities + CoffeeScript

2013-11-08 Thread Rogelio Mita
2013/11/8 Daniel Narvaez > We use webkitgtk 2.0.4. It's a few months old, I wonder if it would work > in 2.2.x. Thanks Daniel, I'll do some research on those WebKitGTK versions about sourcemap. > > > On Friday, 8 November 2013, Rogelio Mita wrote: > >>

Re: [Sugar-devel] Web activities + CoffeeScript

2013-11-08 Thread Rogelio Mita
2013/11/8 Manuel QuiƱones > Hi Rogelio, > > On Thu, Nov 7, 2013 at 5:13 PM, Rogelio Mita > wrote: > > Hi all!, > > > > working with web activities urges me to use CoffeeScript. > > - Is there any decision taken on this? > > - Do you discussed thi

Re: [Sugar-devel] Web activities + CoffeeScript

2013-11-07 Thread Rogelio Mita
ecause it "breaks" >>>> view source. But of course it's up to the activity author ultimately. >>>> >>>> >>>> On Thursday, 7 November 2013, Rogelio Mita wrote: >>>> >>>>> Hi all!, >>>>> >>

[Sugar-devel] Web activities + CoffeeScript

2013-11-07 Thread Rogelio Mita
Hi all!, working with web activities urges me to use CoffeeScript. - Is there any decision taken on this? - Do you discussed this topic in some occasion? or is irrelevant? Regards! -- Roger Activity Central ___ Sugar-dev

Re: [Sugar-devel] sugar-web - How to load non-AMD js modules / libs?

2013-11-04 Thread Rogelio Mita
our own web activity<http://developer.sugarlabs.org/activity.md.html>) and noting that loader.js is in the place of not to modify files, sounds good "con may be a pro" and "separete the framework config from the specific activity config" is a sufficient reason for me. Hav

Re: [Sugar-devel] sugar-web - How to load non-AMD js modules / libs?

2013-11-03 Thread Rogelio Mita
om/sugarlabs/sugar-web/commit/8c15d46ac5e6d2fe46db3588322ab2b92907987f > > > On Sunday, 3 November 2013, Rogelio Mita wrote: > >> a small intrigue was presented to us related to the way of defining the >> requirejs "activity" module: >> https://github.com/sugarlabs/sugar-web-

Re: [Sugar-devel] sugar-web - How to load non-AMD js modules / libs?

2013-11-02 Thread Rogelio Mita
a small intrigue was presented to us related to the way of defining the requirejs "activity" module: https://github.com/sugarlabs/sugar-web-template/blob/master/js/activity.js We note that there are some alternatives to define modules proposed by requirejs: Define a Module with Simplified CommonJS

Re: [Sugar-devel] sugar-web - API for storing data

2013-10-30 Thread Rogelio Mita
2013/10/28 Daniel Narvaez > Hi, > > this thread was also marked as spam by gmail :/ I can think of two > alternatives > yes =/ me too !... > > * sugar-build, which you already tried. I'm pretty confident we can get it > to work on your system but it might require some back and forward. > * F20

Re: [Sugar-devel] Problems in building sugar from source

2013-10-28 Thread Rogelio Mita
2013/10/28 Daniel Narvaez > On 28 October 2013 19:03, Rogelio Mita wrote: > >> set in prefs.json use_broot to false >> > > Please don't do that unless you know exactly what you are doing. It's > likely it will work only on Fedora 19. > thanks for the cla

Re: [Sugar-devel] Problems in building sugar from source

2013-10-28 Thread Rogelio Mita
t create or > download the build root first. > What should I do? I repeat, the ./osbuild pull completed. I have done > everything else required. I also tried setting prefs.json "use_broot" to > false. I have removed all files and tried again, but in vain. > I have been stuck h

Re: [Sugar-devel] Problems in building sugar from source

2013-10-28 Thread Rogelio Mita
Try with "./osbuild build" command before run shell. 2013/10/28 Sai Vineet > I followed the instructions at - > http://developer.sugarlabs.org/dev-environment.md.html#setup%20a%20development%20environment > . > I cloned(git clone) , pulled(./osbuild pull), and then tried running the > shell us

Re: [Sugar-devel] sugar-web - API for storing data

2013-10-24 Thread Rogelio Mita
I am Rogelio Mita (Roger...) and I am in the same direction. Regards! 2013/10/24 Code > Hello, list! > I'm Ignacio Raguet (aka Code), a developer interested on web activities > and I would like to help you. > > I have been testing the the Sugar HTML5 + JS framework by c