[Sugar-devel] ASLO vs. wiki.laptop.org activities

David Farning dfarning at sugarlabs.org
Thu Jun 18 13:01:11 EDT 2009


On Thu, Jun 18, 2009 at 11:39 AM, Aleksey Lim<alsroot at member.fsf.org> wrote:
> On Thu, Jun 18, 2009 at 11:13:52AM -0500, David Farning wrote:
>> James,
>>
>> That looks good.  You can also point directly to the Read Etexts
>> activity on ASLO with
>>
>> http://activities.sugarlabs.org/sugar/addon/4035
>>
>> and you can point to the download with
>>
>> http://activities.sugarlabs.org/sugar/downloads/latest/4035
>>
>> If browse correctly reports the Sugar version, ALSO will download the
>> latest activity version which works with a given version of sugar.
> hmm.. I'm not sure about "with a given version of sugar" part
> afaik it returns just last version.. or I missed something in ASLO patches

I believe the url rewrite appends /platform:# to the end of the string
if platform has been defined by the browser.  # is a number
representing one of the ASLO defined platforms:

ALL ()
GNU/Linux (linux)
OLPC Software Release 8.2.0 (Build 767) (olpc-767)
Sugar on a Stick 1 (F10 based) (soas-1)
Sugar on a Stick 2 (F11 based) (soas-2)

I think /platform:7  OLPC Software Release 8.2.0 (Build 767) (olpc-767)

If platform is undefined it defaults to most recent.

You can append the platform number yourself such as:

http://activities.sugarlabs.org/sugar/downloads/latest/4024/platform:7

david


More information about the Sugar-devel mailing list