[Bugs] #1124 UNSP: Allow SoaS backup and restore from an XS server

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Mon Aug 10 14:40:13 EDT 2009


#1124: Allow SoaS backup and restore from an XS server
------------------------------------------+---------------------------------
    Reporter:  hamiltonchua               |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Unspecified                |     Resolution:                             
    Keywords:  r?                         |   Distribution:  Unspecified                
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------

Comment(by martin.langhoff):

 Right - reviewing this. Thanks for the work you've put in the proposed
 patch.


 I have a couple of comments...

 In general, if this is deployed to machines that have been using current
 Sugar 0.82 it will fail :-/ because they have the info in the 'profile'
 object.

 on the python side...
  - if we are not using gconf, drop the import
  - rsync line: you are dropping -a and not telling us why. Unless
 justified, add -z to the mix, keep -a
  - why hardcode ~liveuser? Get homedir for current user from os
  - why hardcode .sugar/soas? Things land in .sugar/default (and that
 location may be something that Sugar defines somewhere). In any case, this
 seems like it could be used in a variety of modes. Maybe store it under a
 more neutral name like .sugar/default/identifiers ?

 Shell:
  - If we don't have a nameserver, we have no net, or an adhoc mesh net.
 Let's keep the test. It's ultra cheap and valid.
  - Why do you make skip_lowonbatt conditional? It _does_ have code for
 non-XO hw.

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


More information about the Bugs mailing list