[Bugs] #1152 UNSP: automate school server registration
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Mon Aug 10 07:14:21 EDT 2009
#1152: automate school server registration
------------------------------------------+---------------------------------
Reporter: dsd | Owner: tomeu
Type: enhancement | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Getting first time users to register is quite a challenge and this can be
automated.
Here are some hacks for sugar-0.82 to implement this, dependent on #1151.
It is tricky because python doesn't offer asynchronous xmlrpc, and
threading should also be avoided, so the approach I took is to run the
registration as a subprocess which communicates back to sugar and the
presence service using dbus.
It runs on first sugar boot, on sugar boot when a network connection is
already established, and every time that a network connection is
established after boot. It is unconditional meaning that it will register
to any server, including ones that it was already registered to, or ones
that it has never seen before. this means that there are no issues when an
XS gets reinstalled, or when the kid moves school, but it also means that
someone could set up something to receive a copy of a kids files (because
of the automatic backup system).
--
Ticket URL: <http://dev.sugarlabs.org/ticket/1152>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list