[Sugar-devel] [Server-devel] consequences of re-registering with XS

Daniel Drake dsd at laptop.org
Mon Feb 16 16:01:44 EST 2009


2009/2/14 Martin Langhoff <martin.langhoff at gmail.com>:
> On Fri, Feb 13, 2009 at 2:25 AM, Daniel Drake <dsd at laptop.org> wrote:
>> To avoid this situation in future (should we ever run into it again,
>> fingers crossed we won't), we are considering a small modification to
>> the paraguay OS build which makes the "Discard network history" button
>> also clear the XS registration information (by deleting the
>> server.backup1 line from sugar config). This code modification can be
>> done with a single sed call, since there is already an unused sugar
>> function to clear registration info.
>
> And if you post it as a nice patch, I'll push for it to be folded into
> Sugar. It's been on my Sugar wishlist for a while...

I've come short of a nice patch (too many pressures at the moment,
sorry) but I have shared our hack here:
http://dev.sugarlabs.org/ticket/362

> Nope. If an XO forgets it's registered and registers again, nothing
> bad happens. The XS welcomes back the long lost son, no prickly
> questions asked.

Excellent, thanks for the clarification.

Daniel


More information about the Sugar-devel mailing list