[Bugs] #916 NORM: Allow sugar on non-XO hardware to register with an XS server

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Tue Aug 25 12:25:42 EDT 2009


#916: Allow sugar on non-XO hardware to register with an XS server
-----------------------------+----------------------------------------------
    Reporter:  hamiltonchua  |          Owner:  tomeu                      
        Type:  enhancement   |         Status:  new                        
    Priority:  Normal        |      Milestone:  Unspecified by Release Team
   Component:  sugar         |        Version:  Unspecified                
    Severity:  Unspecified   |     Resolution:                             
    Keywords:  r!            |   Distribution:  Unspecified                
Status_field:  Unconfirmed   |  
-----------------------------+----------------------------------------------

Comment(by hamiltonchua):

 The changes to the exceptions and logging towards the end of the patch
 shouldn't be included, I have removed them.

 I have changed JABBER_SERVER to jabber_server.

 It now uses the env module from sugar to get the profile path.

 I have renamed create_identifier_sn to generate_mfgdata_sn. This def
 generates a serial number based on 3 random uppercase letters and the last
 8 digits of the current unix seconds.

 I have removed the get_epoch def and used time.time() as you suggested.
 Thanks :-)

 I have renamed create_identifier_uuid to generate_mfgdata_uuid. I
 simplified it further but decided to keep it as a separate function for
 consistency.

 Thank you very much for your time and patience reviewing this patch. I
 really appreciate it.

 I'm not sure what "r!" means in the Keywords field. I'm leaving it as is.

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/916#comment:26>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list