Re: [Sugar-devel] Datastore API for html activities (Daniel Narvaez)

2013-05-28 Thread lionel
Nice job Daniel. Few quick remarks: - What about the Datastore Activity API (i.e. read_file and write_file)? it's the most common way for an activity to use the Datastore, - A Find feature with metadata critera is need, - May be we should also provide some callbacks for Created/Updated/Deleted

[Sugar-devel] Which project to translate at translate.sugarlabs.org

2013-05-28 Thread Basanta Shrestha
Hi all, I have recently built a system(12.1.0) for xo 1.75 with sugar. The sugar version on the build is 0.96.2. But the translation on the build does not match the translation from http://translate.sugarlabs.org/ne/glucose96/. Then I made some alteration at Glucose, Glucose 0.94, Glucose 0.96 and

Re: [Sugar-devel] Adding a library to sugar-devel

2013-05-28 Thread Daniel Narvaez
You can either add the git repo to build/config/modules.json or build stuff manually inside the os build shell, using --prefix=sugarbuildpath/build/out/install. On Monday, 27 May 2013, Gonzalo Odiard wrote: I need do changes in vte library to test some changes, but is not included right now in

Re: [Sugar-devel] Error doing ./osbuild build

2013-05-28 Thread Daniel Narvaez
On Tuesday, 28 May 2013, Gonzalo Odiard wrote: After doing a new clone, in F18 I get the following error: * Building gwebsockets dist = best[req.key] = env.best_match(req, self, installer) File /usr/lib/python2.7/site-packages/pkg_resources.py, line 825, in best_match return

Re: [Sugar-devel] Which project to translate at translate.sugarlabs.org

2013-05-28 Thread Walter Bender
On Tue, May 28, 2013 at 4:04 AM, Basanta Shrestha basanta.shres...@olenepal.org wrote: Hi all, I have recently built a system(12.1.0) for xo 1.75 with sugar. The sugar version on the build is 0.96.2. But the translation on the build does not match the translation from

Re: [Sugar-devel] Error doing ./osbuild build

2013-05-28 Thread Daniel Narvaez
On Tuesday, 28 May 2013, Alan Jhonn Aguiar Schwyn wrote: I have the following proposals: * Review the dependencies. Have more and more dependencies is a recipe to a nightmare. Yes.. And some are superflous If you are not using some of the platform deps it doesn't mean they are superfluous.

Re: [Sugar-devel] Error doing ./osbuild build

2013-05-28 Thread Gonzalo Odiard
On Tue, May 28, 2013 at 8:16 AM, Daniel Narvaez dwnarv...@gmail.com wrote: On Tuesday, 28 May 2013, Gonzalo Odiard wrote: After doing a new clone, in F18 I get the following error: * Building gwebsockets dist = best[req.key] = env.best_match(req, self, installer) File

Re: [Sugar-devel] Error doing ./osbuild build

2013-05-28 Thread Daniel Narvaez
On 28 May 2013 14:16, Gonzalo Odiard gonz...@laptop.org wrote: May be you can use: https://pypi.python.org/pypi/websocket-client/0.7.0 I have tested it and works ok. I need something which integrates with the glib main loop, so I can run both client and server in the same process, which

Re: [Sugar-devel] Datastore API for html activities

2013-05-28 Thread Daniel Narvaez
On 28 May 2013 02:14, Manuel Quiñones ma...@laptop.org wrote: Great job! I think TextObject and setText are better because denote a text file. Yeah, I think you are probably right. Could it be possible to do the API with less callbacks? Like: var text = textObject.load(); var metadata =

Re: [Sugar-devel] Datastore API for html activities

2013-05-28 Thread Daniel Narvaez
On 28 May 2013 02:18, Manuel Quiñones ma...@laptop.org wrote: Or if a callback is needed for the asyncronous call, could it be only one? Like: textObject = datastore.TextObject(); textObject.load(onLoad); function onLoad(textObj) { var text = textObj.getText(); var metadata =

Re: [Sugar-devel] Error doing ./osbuild build

2013-05-28 Thread Manuel Quiñones
2013/5/28 Daniel Narvaez dwnarv...@gmail.com: On 28 May 2013 14:16, Gonzalo Odiard gonz...@laptop.org wrote: May be you can use: https://pypi.python.org/pypi/websocket-client/0.7.0 I have tested it and works ok. I need something which integrates with the glib main loop, so I can run both

Re: [Sugar-devel] Error doing ./osbuild build

2013-05-28 Thread Simon Schampijer
On 05/28/2013 01:16 PM, Daniel Narvaez wrote: On Tuesday, 28 May 2013, Gonzalo Odiard wrote: [..] * Split the compilation, one part to compile sugar and another to compile sugar-web, sugar-web is more unstable, and have a lot of issues. This would add more maintenance, buildbot etc work that

Re: [Sugar-devel] Datastore API for html activities (Daniel Narvaez)

2013-05-28 Thread Daniel Narvaez
On 28 May 2013 09:06, lio...@olpc-france.org wrote: - What about the Datastore Activity API (i.e. read_file and write_file)? it's the most common way for an activity to use the Datastore, I wonder if we actually need something like that (we have an activity object where we could put it) or if

Re: [Sugar-devel] Error doing ./osbuild build

2013-05-28 Thread Gonzalo Odiard
No worries, I'm not particularly sensitive to flames anyway. You are free to take sugar-build in whatever direction you like, the code is there. But honestly I'm not sure what you asking me to do... Well, if a proposal is taken as a flame, then, may be I am not communicate it in the right way

Re: [Sugar-devel] Error doing ./osbuild build

2013-05-28 Thread Daniel Narvaez
On Tuesday, 28 May 2013, Gonzalo Odiard wrote: No worries, I'm not particularly sensitive to flames anyway. You are free to take sugar-build in whatever direction you like, the code is there. But honestly I'm not sure what you asking me to do... Well, if a proposal is taken as a flame,

[Sugar-devel] Rebase when merging github patches

2013-05-28 Thread Daniel Narvaez
Hello, just a reminder that when merging patches on github we should not use the UI button but rebase as explained in the docs. http://developer.sugarlabs.org/contributing.md.html Apparently buildbot gets confused by the merge commits (it uses the original commit time to trigger builds rather

Re: [Sugar-devel] Rebase when merging github patches

2013-05-28 Thread Manuel Quiñones
Another good reason to use rebase. Great. 2013/5/28 Daniel Narvaez dwnarv...@gmail.com: Hello, just a reminder that when merging patches on github we should not use the UI button but rebase as explained in the docs. http://developer.sugarlabs.org/contributing.md.html Apparently buildbot

Re: [Sugar-devel] Install Firefox

2013-05-28 Thread Basanta Shrestha
Adding firefox did install firefox but gave following error while trying to execute on XO: $ firefox Error: Platform version '13.0' is not compatible with minVersion = 12.0 maxVersion = 12.0 - Here is my entry of configuration file

Re: [Sugar-devel] Which project to translate at translate.sugarlabs.org

2013-05-28 Thread Basanta Shrestha
One example is About Me under My Settings which comes from sugar.po . Thank you . -Basanta On Tue, May 28, 2013 at 5:41 PM, Walter Bender walter.ben...@gmail.comwrote: On Tue, May 28, 2013 at 4:04 AM, Basanta Shrestha basanta.shres...@olenepal.org wrote: Hi all, I have recently built a