[Systems] API for activities.sugarlabs.org?

David Farning dfarning at sugarlabs.org
Thu Feb 25 12:50:46 EST 2010


Hey Pablo,
I am glad you and Ceibal find activities.sugarlabs.org useful:)

On Wed, Feb 24, 2010 at 3:53 PM, Pablo Flores <pflores2 at gmail.com> wrote:

> Hello Dogi, David.
>
> I'm working in ceibalJAM!, an NGO that is developing educational free
> software for Ceibal Plan in Uruguay.
>

Awesome. The more the merrier.  I am ccing the systems list because this
sounds like a closely related to an effort to share Turtle Art Creations.


> Right now we have in our portal some tools for developers, that we are
> thinking in the possibility of integrating them as much as possible with
> SugarLabs. Specifically, we would like to automate some way to synchronize
> the activities we upload in our portal (
> http://drupal.ceibaljam.org/?q=lista_descargas) with yours (
> http://activities.sugarlabs.org).
>
>
My first thought is to adapt the ASLO portal with some new php templates to
match your input and output requirements.  Then create a work flow for
ceibalJAM to push it's activities though the sugar labs translation system
so they are automatically available to the entire world.

My Rational.

1. One of Sugar Labs strengths as an Open Source project is to create an
environment where it is possible to leverage and share the work of
individuals and groups with the entire world.  As much as possible we want
to keep stuff in tree.  Activities.sugarlabs.org is in tree for activities.

2.  Maintaining individual download portals is hard. ASLO is _just_ the
front end to a Content Distribution Network which allows us to serve
activities via a global mirror network.  http://mirrors.sugarlabs.org/

So, the first question is, does your software provide some API for updating
> our uploads in your activities zone automatically?
>

We do not have an API for uploading to ASLO.  The downloading api can be
seen in the 'update from aslo' code in Sugar .88.
http://wiki.sugarlabs.org/go/Features/Sugar_Update_Control_ASLO .  The
example given on that page shows a user requesting information about the
latest version of browser for sugar .82.


> Thanks, and go ahead with your great work!
>

Moving forward.

1.  Would it be possible to give you, or another trusted developer at
ceibalJam, Admin access to activities.sugarlabs.org so you can maintain your
activities there?  If not, what are the shortcomings of ASLO which prevent
it from meeting your needs?


or 2. Can you point the download links on the
http://drupal.ceibaljam.org/?q=lista_descargas to upstream ASLO links such
as
http://activities.sugarlabs.org/en-US/sugar/downloads/latest/4030/addon-4030-latest.xo?src=CeibalJAMwhere
4030 is the ASLO number of individual activities?  This guarantees
that down loaders will get the most recent version of a given activity.
This will let you build on our existing content delivery network.  +1 for
setting up a Sugar Labs CDN mirror in
Uruguay<http://drupal.ceibaljam.org/?q=node/12>.

or 3. Can we work together to extend the ASLO update APIs to meet your needs
and create upload APIs which allow you to upload new activities to ASLO via
a client side script.

david

Saludos,
> Pablo Flores
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/private/systems/attachments/20100225/cfbb6541/attachment.htm 


More information about the Systems mailing list