Re: [Sugar-devel] Subject: Activities maintainership

2015-05-11 Thread Tony Anderson

Hi, Walter

I was thinking more about which activities have Pootle support (included 
the po file, used __gettext__ and so on).


Tony

On 05/08/2015 01:53 PM, Walter Bender wrote:


Re which actives are in pootle, it is by request through trac. Nothing 
to do with which group it is included in.


On May 8, 2015 2:15 AM, Tony Anderson tony_ander...@usa.net 
mailto:tony_ander...@usa.net wrote:


I doubt anyone has the time to go through ASLO and determine which
activity repositories are still hosted at Sugarlabs or which
activities do not support Pootle. It would be nice to have these
added to the list.

I assume that the division of activities into Sucrose, etc. has
some official meaning. I had thought those were associated with
Activity Central. Is there some process for deciding which
category to place an activity, e.g. ones included in a signed release?

Some of the documentation also needs updating. For example, the
Browse activity web page is given in ASLO as
http://wiki.laptop.org/go/Browse. This page directs you to
http://activities.sugarlabs.org/en-US/sugar/addon/4024 as the home
page. This page describes 129.1 (an Xulrunner version). The
'source code' link takes you to
http://git.sugarlabs.org/projects/browse. The pootle page links
'Web'  (not Browse) to
http://translate.sugarlabs.org/projects/Web/. This pages shows the
translation status of the Browse activity. The wiki does not link
to the github repository which is
https://github.com/sugarlabs/browse-activity. A Google search for
a github project 'Web' returns
https://github.com/sugarlabs/sugar-web; however a search for
github browse activity returns the correct link.

Tony
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
mailto:Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Feature discussion can also be found on GitHub

2015-05-11 Thread Gonzalo Odiard
We can make send a email to the mailing list for every event in GitHub.
I would like that, and sugar-devel is low traffic now.
Remember, previously we did all the review process in the mailing list
and that was not a problem.
Anybody think that would be a bad idea?
We can try and if is too much, we can disable it too.

Gonzalo


On Fri, May 8, 2015 at 7:09 PM, James Cameron qu...@laptop.org wrote:

 Sugar source code development is hosted on GitHub, which provides
 discussion threads on each proposal.

 Non-developers: some features and changes will be in our next version
 without any discussion on sugar-devel@

 To keep track of these off-list discussions, watch the sugarlabs
 repositories, in particular the pull requests for repositories such as
 sugar: https://github.com/sugarlabs/sugar/pulls

 Or the other components and activities you are interested in:
 https://github.com/sugarlabs

 To join a discussion, sign up for a GitHub account.

 There seems to be no way to extend these discussions into sugar-devel@
 in a bidirectional manner.

 --
 James Cameron
 http://quozl.linux.org.au/
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Feature discussion can also be found on GitHub

2015-05-11 Thread James Cameron
Would it be bidirectional?

(That is, would a reply by mail cause a change in GitHub?)

On Mon, May 11, 2015 at 07:46:41AM -0300, Gonzalo Odiard wrote:
 We can make send a email to the mailing list for every event in GitHub.
 I would like that, and sugar-devel is low traffic now.
 Remember, previously we did all the review process in the mailing list
 and that was not a problem.
 Anybody think that would be a bad idea?
 We can try and if is too much, we can disable it too.
 
 Gonzalo
 
 On Fri, May 8, 2015 at 7:09 PM, James Cameron [1]qu...@laptop.org wrote:
 
 Sugar source code development is hosted on GitHub, which provides
 discussion threads on each proposal.
 
 Non-developers: some features and changes will be in our next version
 without any discussion on sugar-devel@
 
 To keep track of these off-list discussions, watch the sugarlabs
 repositories, in particular the pull requests for repositories such as
 sugar: [2]https://github.com/sugarlabs/sugar/pulls
 
 Or the other components and activities you are interested in:
 [3]https://github.com/sugarlabs
 
 To join a discussion, sign up for a GitHub account.
 
 There seems to be no way to extend these discussions into sugar-devel@
 in a bidirectional manner.

 --
 James Cameron
 [4]http://quozl.linux.org.au/
 ___
 Sugar-devel mailing list
 [5]Sugar-devel@lists.sugarlabs.org
 [6]http://lists.sugarlabs.org/listinfo/sugar-devel
 
 --
 Gonzalo Odiard
 
 SugarLabs - Software for children learning 
 
 References:
 
 [1] mailto:qu...@laptop.org
 [2] https://github.com/sugarlabs/sugar/pulls
 [3] https://github.com/sugarlabs
 [4] http://quozl.linux.org.au/
 [5] mailto:Sugar-devel@lists.sugarlabs.org
 [6] http://lists.sugarlabs.org/listinfo/sugar-devel

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Feature discussion can also be found on GitHub

2015-05-11 Thread Gonzalo Odiard
On Mon, May 11, 2015 at 8:22 AM, James Cameron qu...@laptop.org wrote:

 Would it be bidirectional?

 (That is, would a reply by mail cause a change in GitHub?)


With the emails we receive as GitHub users it is.
You can reply and is added to the conversation in GitHub.

I don't know if is true with email configured as a service in the
repository.

Gonzalo
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Subject: Activities maintainership

2015-05-11 Thread Walter Bender
On Mon, May 11, 2015 at 3:20 AM, Tony Anderson tony_ander...@usa.net
wrote:

  Hi, Walter

 I was thinking more about which activities have Pootle support (included
 the po file, used __gettext__ and so on).


There is a difference between using gettext in an activity and having the
PO files associated with the activity on the Pootle server. The former is a
unilateral intervention by the activity developer. The latter requires
intervention by the i18n team. That intervention is triggered by a request
through the Trac system. It is independent of whether an activity is in
Fructose, Honey, etc. (although those designations are typically assigned
as a result of the intervention.)

-walter


 Tony


 On 05/08/2015 01:53 PM, Walter Bender wrote:

 Re which actives are in pootle, it is by request through trac. Nothing to
 do with which group it is included in.
 On May 8, 2015 2:15 AM, Tony Anderson tony_ander...@usa.net wrote:

 I doubt anyone has the time to go through ASLO and determine which
 activity repositories are still hosted at Sugarlabs or which activities do
 not support Pootle. It would be nice to have these added to the list.

 I assume that the division of activities into Sucrose, etc. has some
 official meaning. I had thought those were associated with Activity
 Central. Is there some process for deciding which category to place an
 activity, e.g. ones included in a signed release?

 Some of the documentation also needs updating. For example, the Browse
 activity web page is given in ASLO as http://wiki.laptop.org/go/Browse.
 This page directs you to
 http://activities.sugarlabs.org/en-US/sugar/addon/4024 as the home page.
 This page describes 129.1 (an Xulrunner version). The 'source code' link
 takes you to http://git.sugarlabs.org/projects/browse. The pootle page
 links 'Web'  (not Browse) to http://translate.sugarlabs.org/projects/Web/.
 This pages shows the translation status of the Browse activity. The wiki
 does not link to the github repository which is
 https://github.com/sugarlabs/browse-activity. A Google search for a
 github project 'Web' returns https://github.com/sugarlabs/sugar-web;
 however a search for github browse activity returns the correct link.

 Tony
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel





-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Avoid an Activity appears on Ring or List View.

2015-05-11 Thread Walter Bender
If the activity is not in any of the activity paths it will not appear.
Presumably from the Terminal you can excete the activity from somewhere
else?

-walter

On Mon, May 11, 2015 at 2:57 PM, Gustavo Duarte gus.dua...@gmail.com
wrote:

 Hi Guys,

 I need create an Activity witch doesn't appears on Ring view and List
 View. The idea is that Activity only could be executed from a
 terminal.

 That is it possible ?

 Thanks in advance.

 Gustavo.
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Clock-16

2015-05-11 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4191

Sugar Platform:
0.96 - 0.104

Download Now:
http://activities.sugarlabs.org/downloads/file/29100/clock-16.xo

Release notes:
Port to Gtk3 (with Cristian Garcia)
Save clock state (with Cristian Garcia)
Make Clock talk when playwave is not available (Martin Abente)
Set repository and max_participants in .info file
Moved repository to github


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Avoid an Activity appears on Ring or List View.

2015-05-11 Thread Gustavo Duarte
Hi Guys,

I need create an Activity witch doesn't appears on Ring view and List
View. The idea is that Activity only could be executed from a
terminal.

That is it possible ?

Thanks in advance.

Gustavo.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Introduction to the list

2015-05-11 Thread Michaël Ohayon
Yes, I'll add an option to enable using just a folder, it will be better
that way.

I'm running this under ArchLinux.

The docker-io is the correct package, the another one is something not
related at all. It's a dock applet systray program : https://fedorahosted
.org/fpc/ticket/341
Many distros are getting into this naming problem.

So, you should remove docker and get docker-io.
I think that the docker service will start automatically.

This docker recipe should work across distributions as I didn't used
specific items.

I forgot to tell it but docker will only run on amd64 machines.

The first time you'll run the script, docker will fetch the sugar image
I've built. It's around 500mb, the source code used is in the Dockerfile
located inside the github repo.
It will be cached and the next launches will be almost instant.

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-11 23:44 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Maybe point to  directory where you have installed your activities?
 Or take it from a env variable.

 A few questions:
 What is your testing environment?
 I am looking at how to install docker in Fedora, and have different
instructions
 depending on the version https://fedoraproject.org/wiki/Docker
 I am using F21, should I remove docker and install docker-io?

 What about other distributions? The docker recipe works across distros
 or we need a different recipe for everyone?

 Gonzalo

 Gonzalo

 On Mon, May 11, 2015 at 6:35 PM, Michaël Ohayon mohayo...@gmail.com
wrote:

 Hi !

 I've updated the script.
 You can now start a sugar environment and provide activities folders !

 https://github.com/mikklfr/docker-sugar

 I've got two activities folders which I want to test : 2048.activity and
Valorar.activity.

 I can run sugar and provide those activities by running the script like
this :

 $sh run.sh 2048.activity Valorar.activity

 Sugar shows up and activities are available in the list.

 You can edit the scripts from the host, they are synced with the docker
container.

 Maybe you have some specific topics I could look into to get something
useful for your needs ?

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-11 18:26 GMT+02:00 Michaël Ohayon mohayo...@gmail.com:

 Hi,

 I've just setup something to run sugar with docker.

 It will work on GNU/Linux only with X11 and pulseaudio.

 I've published it on the docker registry and github.

 - https://github.com/mikklfr/docker-sugar
 - The docker image is mikkl/sugar

 It's kind of a poc for now.
 I'll setup a script to test an activity asap.

 If you want to test it :

 - Download and start docker service
 - Run the .sh script : https://github.com/mikklfr
/docker-sugar/blob/master/run.sh

 I'll give updates :)


 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice.
 And you have a docker recipe to create a sugar development environment?
 Can be used in any operating system?
 I am asking because we are thinking in how make easier develop in
different os,
 and also how distribute Sugar to users in other platforms.

 Gonzalo

 On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
wrote:

 Thanks,

 Docker is a great tool for booting up a container using LXC, you can
refer to it as a very light vm focused on a specific task.
 You can script in minutes a way to boot a program by targetting a
specific OS from any GNU/Linux

 For instance here is a Dockerfile to
 - bootup an archlinux container
 - upgrading packages
 - copy a nginx conf file
 - clone sugarizer repository
 - expose nginx to port 80 on the host

 [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
 FROM base/archlinux:latest

 RUN yes | pacman -Syy
 RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git

 COPY nginx.conf /etc/nginx/nginx.conf

 RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
 RUN cd /opt/sugarizer/server; npm install
 RUN mkdir /opt/sugarizer/db

 EXPOSE 80

 CMD [/usr/bin/nginx]
 [ohayon_m@ohayon-m-thinkpad /tmp]$

 Each modification of a container is handled like a git commit so you
can rollback at any time and launch specific snapshots.
 It has a cache system. It will bootup almost instantly after the
container is build.

 I see it like a great tool to setup an env without having to script
install for every OS or if you don't want to install every
lib/framework/etc in your OS just for some testing.
 It can be used in production and manage/scale with the new tools :
Docker Swarm and Docker Compose

 Hope you'll find it usefull !



 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-04-30 21:00 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Michaël,
 Welcome!

 Few months later, I joined the Docker Paris Hackathon and had built
Sugarizer and Sugar containers (with 

Re: [Sugar-devel] Introduction to the list

2015-05-11 Thread Michaël Ohayon
Hi !

I've updated the script.
You can now start a sugar environment and provide activities folders !

https://github.com/mikklfr/docker-sugar

I've got two activities folders which I want to test : 2048.activity and
Valorar.activity.

I can run sugar and provide those activities by running the script like
this :

$sh run.sh 2048.activity Valorar.activity

Sugar shows up and activities are available in the list.

You can edit the scripts from the host, they are synced with the docker
container.

Maybe you have some specific topics I could look into to get something
useful for your needs ?

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-11 18:26 GMT+02:00 Michaël Ohayon mohayo...@gmail.com:

 Hi,

 I've just setup something to run sugar with docker.

 It will work on GNU/Linux only with X11 and pulseaudio.

 I've published it on the docker registry and github.

 - https://github.com/mikklfr/docker-sugar
 - The docker image is mikkl/sugar

 It's kind of a poc for now.
 I'll setup a script to test an activity asap.

 If you want to test it :

 - Download and start docker service
 - Run the .sh script :
 https://github.com/mikklfr/docker-sugar/blob/master/run.sh

 I'll give updates :)


 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice.
 And you have a docker recipe to create a sugar development environment?
 Can be used in any operating system?
 I am asking because we are thinking in how make easier develop in
 different os,
 and also how distribute Sugar to users in other platforms.

 Gonzalo

 On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Thanks,

 Docker is a great tool for booting up a container using LXC, you can
 refer to it as a very light vm focused on a specific task.
 You can script in minutes a way to boot a program by targetting a
 specific OS from any GNU/Linux

 For instance here is a Dockerfile to
 - bootup an archlinux container
 - upgrading packages
 - copy a nginx conf file
 - clone sugarizer repository
 - expose nginx to port 80 on the host

 [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
 FROM base/archlinux:latest

 RUN yes | pacman -Syy
 RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git

 COPY nginx.conf /etc/nginx/nginx.conf

 RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
 RUN cd /opt/sugarizer/server; npm install
 RUN mkdir /opt/sugarizer/db

 EXPOSE 80

 CMD [/usr/bin/nginx]
 [ohayon_m@ohayon-m-thinkpad /tmp]$

 Each modification of a container is handled like a git commit so you can
 rollback at any time and launch specific snapshots.
 It has a cache system. It will bootup almost instantly after the
 container is build.

 I see it like a great tool to setup an env without having to script
 install for every OS or if you don't want to install every
 lib/framework/etc in your OS just for some testing.
 It can be used in production and manage/scale with the new tools :
 Docker Swarm and Docker Compose

 Hope you'll find it usefull !



 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-04-30 21:00 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Michaël,
 Welcome!

 Few months later, I joined the Docker Paris Hackathon and had built
 Sugarizer and Sugar containers (with graphical support for the Sugar one).


 Interesting. I don't know more from Docker than the sporadic news,
 could explain what can be done with the Sugar container?


 My proposal is the SugarWeb Basic ActivitySet which is a writting of
 some essential apps for the web version of Sugar.


 Here's the link to my GSOC proposal :
 http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet


 Great. Keep connected :)

 Gonzalo





 --
 Gonzalo Odiard

 SugarLabs - Software for children learning



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [UKids] Re: [IAEP] Announcing OLPC OS 13.2.4 for XO-1

2015-05-11 Thread James Cameron
I've set Reply-to sugar-devel@.

On Tue, May 12, 2015 at 12:19:56AM +, tkk...@nurturingasia.com wrote:
 When I try to use the sugar-install-bundle to install/add new
 activities (e.g. recall-4.xo) it stall at the end with the message:
 
 caution: excluded filename not matched: mimetype

The message is normal, but is not the cause of the hang.

I've reproduced this.  The hang lasts for a few minutes.

The hang is caused by code in Sugar that is continually trying to set
an inotify watch on /usr/local/share/sugar/activities

You can work around the problem by creating this directory:

sudo mkdir /usr/local/share/sugar/activities

You would not have this problem if you had used olpc-os-builder, which
is the method recommended and tested by OLPC.

@Sam, any ideas?

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Introduction to the list

2015-05-11 Thread Gonzalo Odiard
I have installed docker-io

As root:
# dnf install -y docker-io
# systemctl start docker.service
# systemctl enable docker.service

Then, with my user I cloned the repo:
git clone https://github.com/mikklfr/docker-sugar.git
cd docker-sugar/
sh run.sh

FATA[] Post http:///var/run/docker.sock/v1.18/containers/create: dial
unix /var/run/docker.sock: no such file or directory. Are you trying to
connect to a TLS-enabled daemon without TLS?

Any idea?

Gonzalo

On Mon, May 11, 2015 at 6:54 PM, Michaël Ohayon mohayo...@gmail.com wrote:

 Yes, I'll add an option to enable using just a folder, it will be better
 that way.

 I'm running this under ArchLinux.

 The docker-io is the correct package, the another one is something not
 related at all. It's a dock applet systray program : https://fedorahosted
 .org/fpc/ticket/341
 Many distros are getting into this naming problem.

 So, you should remove docker and get docker-io.
 I think that the docker service will start automatically.

 This docker recipe should work across distributions as I didn't used
 specific items.

 I forgot to tell it but docker will only run on amd64 machines.

 The first time you'll run the script, docker will fetch the sugar image
 I've built. It's around 500mb, the source code used is in the Dockerfile
 located inside the github repo.
 It will be cached and the next launches will be almost instant.

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-11 23:44 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:
 
  Maybe point to  directory where you have installed your activities?
  Or take it from a env variable.
 
  A few questions:
  What is your testing environment?
  I am looking at how to install docker in Fedora, and have different
 instructions
  depending on the version https://fedoraproject.org/wiki/Docker
  I am using F21, should I remove docker and install docker-io?
 
  What about other distributions? The docker recipe works across distros
  or we need a different recipe for everyone?
 
  Gonzalo
 
  Gonzalo
 
  On Mon, May 11, 2015 at 6:35 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:
 
  Hi !
 
  I've updated the script.
  You can now start a sugar environment and provide activities folders !
 
  https://github.com/mikklfr/docker-sugar
 
  I've got two activities folders which I want to test : 2048.activity
 and Valorar.activity.
 
  I can run sugar and provide those activities by running the script like
 this :
 
  $sh run.sh 2048.activity Valorar.activity
 
  Sugar shows up and activities are available in the list.
 
  You can edit the scripts from the host, they are synced with the docker
 container.
 
  Maybe you have some specific topics I could look into to get something
 useful for your needs ?
 
  --
  Michaël Ohayon
  Manager de l'Innovation Cloud et Mobilité
  Epitech Innovation Hub
 
  2015-05-11 18:26 GMT+02:00 Michaël Ohayon mohayo...@gmail.com:
 
  Hi,
 
  I've just setup something to run sugar with docker.
 
  It will work on GNU/Linux only with X11 and pulseaudio.
 
  I've published it on the docker registry and github.
 
  - https://github.com/mikklfr/docker-sugar
  - The docker image is mikkl/sugar
 
  It's kind of a poc for now.
  I'll setup a script to test an activity asap.
 
  If you want to test it :
 
  - Download and start docker service
  - Run the .sh script : https://github.com/mikklfr
 /docker-sugar/blob/master/run.sh
 
  I'll give updates :)
 
 
  --
  Michaël Ohayon
  Manager de l'Innovation Cloud et Mobilité
  Epitech Innovation Hub
 
  2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:
 
  Nice.
  And you have a docker recipe to create a sugar development
 environment?
  Can be used in any operating system?
  I am asking because we are thinking in how make easier develop in
 different os,
  and also how distribute Sugar to users in other platforms.
 
  Gonzalo
 
  On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:
 
  Thanks,
 
  Docker is a great tool for booting up a container using LXC, you
 can refer to it as a very light vm focused on a specific task.
  You can script in minutes a way to boot a program by targetting a
 specific OS from any GNU/Linux
 
  For instance here is a Dockerfile to
  - bootup an archlinux container
  - upgrading packages
  - copy a nginx conf file
  - clone sugarizer repository
  - expose nginx to port 80 on the host
 
  [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
  FROM base/archlinux:latest
 
  RUN yes | pacman -Syy
  RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git
 
  COPY nginx.conf /etc/nginx/nginx.conf
 
  RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
  RUN cd /opt/sugarizer/server; npm install
  RUN mkdir /opt/sugarizer/db
 
  EXPOSE 80
 
  CMD [/usr/bin/nginx]
  [ohayon_m@ohayon-m-thinkpad /tmp]$
 
  Each modification of a container is handled like a git commit so you
 can rollback at any time and launch specific snapshots.
  

Re: [Sugar-devel] Introduction to the list

2015-05-11 Thread Gonzalo Odiard
Maybe point to  directory where you have installed your activities?
Or take it from a env variable.

A few questions:
What is your testing environment?
I am looking at how to install docker in Fedora, and have different
instructions
depending on the version https://fedoraproject.org/wiki/Docker
I am using F21, should I remove docker and install docker-io?

What about other distributions? The docker recipe works across distros
or we need a different recipe for everyone?

Gonzalo

Gonzalo

On Mon, May 11, 2015 at 6:35 PM, Michaël Ohayon mohayo...@gmail.com wrote:

 Hi !

 I've updated the script.
 You can now start a sugar environment and provide activities folders !

 https://github.com/mikklfr/docker-sugar

 I've got two activities folders which I want to test : 2048.activity and
 Valorar.activity.

 I can run sugar and provide those activities by running the script like
 this :

 $sh run.sh 2048.activity Valorar.activity

 Sugar shows up and activities are available in the list.

 You can edit the scripts from the host, they are synced with the docker
 container.

 Maybe you have some specific topics I could look into to get something
 useful for your needs ?

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-11 18:26 GMT+02:00 Michaël Ohayon mohayo...@gmail.com:

 Hi,

 I've just setup something to run sugar with docker.

 It will work on GNU/Linux only with X11 and pulseaudio.

 I've published it on the docker registry and github.

 - https://github.com/mikklfr/docker-sugar
 - The docker image is mikkl/sugar

 It's kind of a poc for now.
 I'll setup a script to test an activity asap.

 If you want to test it :

 - Download and start docker service
 - Run the .sh script :
 https://github.com/mikklfr/docker-sugar/blob/master/run.sh

 I'll give updates :)


 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice.
 And you have a docker recipe to create a sugar development environment?
 Can be used in any operating system?
 I am asking because we are thinking in how make easier develop in
 different os,
 and also how distribute Sugar to users in other platforms.

 Gonzalo

 On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Thanks,

 Docker is a great tool for booting up a container using LXC, you can
 refer to it as a very light vm focused on a specific task.
 You can script in minutes a way to boot a program by targetting a
 specific OS from any GNU/Linux

 For instance here is a Dockerfile to
 - bootup an archlinux container
 - upgrading packages
 - copy a nginx conf file
 - clone sugarizer repository
 - expose nginx to port 80 on the host

 [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
 FROM base/archlinux:latest

 RUN yes | pacman -Syy
 RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git

 COPY nginx.conf /etc/nginx/nginx.conf

 RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
 RUN cd /opt/sugarizer/server; npm install
 RUN mkdir /opt/sugarizer/db

 EXPOSE 80

 CMD [/usr/bin/nginx]
 [ohayon_m@ohayon-m-thinkpad /tmp]$

 Each modification of a container is handled like a git commit so you
 can rollback at any time and launch specific snapshots.
 It has a cache system. It will bootup almost instantly after the
 container is build.

 I see it like a great tool to setup an env without having to script
 install for every OS or if you don't want to install every
 lib/framework/etc in your OS just for some testing.
 It can be used in production and manage/scale with the new tools :
 Docker Swarm and Docker Compose

 Hope you'll find it usefull !



 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-04-30 21:00 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Michaël,
 Welcome!

 Few months later, I joined the Docker Paris Hackathon and had built
 Sugarizer and Sugar containers (with graphical support for the Sugar 
 one).


 Interesting. I don't know more from Docker than the sporadic news,
 could explain what can be done with the Sugar container?


 My proposal is the SugarWeb Basic ActivitySet which is a writting of
 some essential apps for the web version of Sugar.


 Here's the link to my GSOC proposal :
 http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet


 Great. Keep connected :)

 Gonzalo





 --
 Gonzalo Odiard

 SugarLabs - Software for children learning






-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Announcing OLPC OS 13.2.4 for XO-1

2015-05-11 Thread Walter Bender
Nice!!!

-walter

On Mon, May 11, 2015 at 1:35 AM, James Cameron qu...@laptop.org wrote:

 G'day,

 We're pleased to announce the release of OLPC OS 13.2.4 for XO-1.

 It is Sugar 0.104 on Fedora 18, with a fix to using Browse with Google
 Search.

 To install on XO-1:

 http://wiki.laptop.org/go/Release_notes/13.2.4/Installation/XO-1

 To install on SD card on XO-1:


 http://wiki.laptop.org/go/Release_notes/13.2.4/Installation/XO-1/SD

 Details of new features, known issues, and how to download, install or
 upgrade can be found in the release notes:

 http://wiki.laptop.org/go/Release_notes/13.2.4

 Many thanks to all contributors, testers, upstreams, and those who
 have provided feedback of any kind.

 32016o0

 --
 James Cameron
 http://quozl.linux.org.au/

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Avoid an Activity appears on Ring or List View.

2015-05-11 Thread Gustavo Duarte
I found a way something like that:

export SUGAR_BUNDLE_PATH=/home/olpc/MyCustom.activity
sugar-activity -a 1234567890 activity.MyCustom

The only one detail missing, is the icon isn't appear on the frame.

On Mon, May 11, 2015 at 11:33 PM, Gustavo Duarte gus.dua...@gmail.com wrote:
 Hi Walter, thanks for your prompt answer, so i will reformulate my
 question, how i can execute an Activity installed on a different path,
 from a terminal ?

 Because, sugar-launch will fail if the activitiy isn't on the activity path.

 Gustavo.

 On Mon, May 11, 2015 at 4:01 PM, Walter Bender walter.ben...@gmail.com 
 wrote:
 If the activity is not in any of the activity paths it will not appear.
 Presumably from the Terminal you can excete the activity from somewhere
 else?

 -walter

 On Mon, May 11, 2015 at 2:57 PM, Gustavo Duarte gus.dua...@gmail.com
 wrote:

 Hi Guys,

 I need create an Activity witch doesn't appears on Ring view and List
 View. The idea is that Activity only could be executed from a
 terminal.

 That is it possible ?

 Thanks in advance.

 Gustavo.
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Avoid an Activity appears on Ring or List View.

2015-05-11 Thread Gustavo Duarte
Hi Walter, thanks for your prompt answer, so i will reformulate my
question, how i can execute an Activity installed on a different path,
from a terminal ?

Because, sugar-launch will fail if the activitiy isn't on the activity path.

Gustavo.

On Mon, May 11, 2015 at 4:01 PM, Walter Bender walter.ben...@gmail.com wrote:
 If the activity is not in any of the activity paths it will not appear.
 Presumably from the Terminal you can excete the activity from somewhere
 else?

 -walter

 On Mon, May 11, 2015 at 2:57 PM, Gustavo Duarte gus.dua...@gmail.com
 wrote:

 Hi Guys,

 I need create an Activity witch doesn't appears on Ring view and List
 View. The idea is that Activity only could be executed from a
 terminal.

 That is it possible ?

 Thanks in advance.

 Gustavo.
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Introduction to the list

2015-05-11 Thread Michaël Ohayon
Hi,

I've just setup something to run sugar with docker.

It will work on GNU/Linux only with X11 and pulseaudio.

I've published it on the docker registry and github.

- https://github.com/mikklfr/docker-sugar
- The docker image is mikkl/sugar

It's kind of a poc for now.
I'll setup a script to test an activity asap.

If you want to test it :

- Download and start docker service
- Run the .sh script :
https://github.com/mikklfr/docker-sugar/blob/master/run.sh

I'll give updates :)


--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice.
 And you have a docker recipe to create a sugar development environment?
 Can be used in any operating system?
 I am asking because we are thinking in how make easier develop in
 different os,
 and also how distribute Sugar to users in other platforms.

 Gonzalo

 On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Thanks,

 Docker is a great tool for booting up a container using LXC, you can
 refer to it as a very light vm focused on a specific task.
 You can script in minutes a way to boot a program by targetting a
 specific OS from any GNU/Linux

 For instance here is a Dockerfile to
 - bootup an archlinux container
 - upgrading packages
 - copy a nginx conf file
 - clone sugarizer repository
 - expose nginx to port 80 on the host

 [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
 FROM base/archlinux:latest

 RUN yes | pacman -Syy
 RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git

 COPY nginx.conf /etc/nginx/nginx.conf

 RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
 RUN cd /opt/sugarizer/server; npm install
 RUN mkdir /opt/sugarizer/db

 EXPOSE 80

 CMD [/usr/bin/nginx]
 [ohayon_m@ohayon-m-thinkpad /tmp]$

 Each modification of a container is handled like a git commit so you can
 rollback at any time and launch specific snapshots.
 It has a cache system. It will bootup almost instantly after the
 container is build.

 I see it like a great tool to setup an env without having to script
 install for every OS or if you don't want to install every
 lib/framework/etc in your OS just for some testing.
 It can be used in production and manage/scale with the new tools : Docker
 Swarm and Docker Compose

 Hope you'll find it usefull !



 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-04-30 21:00 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Michaël,
 Welcome!

 Few months later, I joined the Docker Paris Hackathon and had built
 Sugarizer and Sugar containers (with graphical support for the Sugar one).


 Interesting. I don't know more from Docker than the sporadic news,
 could explain what can be done with the Sugar container?


 My proposal is the SugarWeb Basic ActivitySet which is a writting of
 some essential apps for the web version of Sugar.


 Here's the link to my GSOC proposal :
 http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet


 Great. Keep connected :)

 Gonzalo





 --
 Gonzalo Odiard

 SugarLabs - Software for children learning

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel