[Sugar-devel] A small request.

Martin Langhoff martin.langhoff at gmail.com
Mon Feb 2 01:06:21 EST 2009


On Mon, Feb 2, 2009 at 6:38 PM, C. Scott Ananian <cscott at laptop.org> wrote:
> I still believe the proper way to do this is to have a local offline
> cache.  The protocol was explicitly designed to be easily cacheable.

Because the use case looks like this:

1 - the XS has no way to know what activities are on the XO
2 - an activity on the XO can name a URL in its metadata that the XS
does _not_ know about
3 - the XS cannot intercept that request unless we develop
mind-reading interfaces

> But it probably wouldn't be hard to add an "override URL" to the
> current lookup routine, which is always checked first.  You'd have to
> add the activity id somehow to generate the full url.

Exactly, that's what I am proposing.

>  You could set a
> the override URL in the sugar configuration.

No no. The local LAN server should be able to tell you "here is the
local activity install/update service, _try it first_". Over
zeroconf/mdns if that doesn't murder the mesh.

cheers,


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Sugar-devel mailing list