Re: [Sugar-devel] Proposing backup/restore as feature for 0.102

2013-11-12 Thread Martin Abente
Hello Gonzalo,

I created this wiki page with some RAW thoughts about things we can
consider for improving [1].

Saludos,
tch

Refs:
1. 
http://wiki.sugarlabs.org/go/Features/Backup_and_Restore/Enhancementhttp://wiki.sugarlabs.org/go/Features/Backup_and_Restore/Enhancements#Difficulties
s


On Mon, Nov 11, 2013 at 10:40 AM, Gonzalo Odiard gonz...@laptop.org wrote:

 One of the features we want upstream is Backup/Restore of the Journal.

 There are already a page for this feature [1] but the currently only
 is implemented
 the backup/restore to a connected device (pen drive), and not to/from
 the school server.

 I did the port to Sugar 0.100 of the code in dextrose, (patches [2] and
 [3])
 but still think need more work before pushing upstream.

 Here my comments/questions:

 * Right now, the access to backup/restore functionality is available in
 the menu
 of the connected device (see [4]). May be should be in the Journal button,
 to allow other destinations in the future, like google drive/dropbox/etc?
 Or should be as a option in the control panel? (If the control panel is
 only
 for configuration this may be not the right place)

 * The screen look alien [5]. Should be better if we add a toolbar or
 should be in a modal dialog similar to the control panel/ object chooser?

 * We need a better icon.

 * The actual implementation have scripts to backup/restore from the
 command line.
 Then the sugar code execute the scripts, and the scripts execute tar. Is
 needed
 this indirection or should be better call tar from sugar?

 This implementation can be tested in our AU images [6]

 Comments?

 Gonzalo

 [1] http://wiki.sugarlabs.org/go/Features/Backup_and_Restore

 [2]
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Backup-and-Restore-to-a-mounted-device.patch

 [3]
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Fix-backup-restore-functionality-SL-4616.patch

 [4] http://wiki.sugarlabs.org/go/File:Backup_usb_menu.png

 [5] http://wiki.sugarlabs.org/go/File:Backup_before.png

 [6] http://wiki.sugarlabs.org/index.php?title=0.100/Testing
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Proposing backup/restore as feature for 0.102

2013-11-12 Thread Gonzalo Odiard
Thanks Martin, good job.
looking forward to work with you in this topic.
I have added a few comments.

Gonzalo

PS: Probably I will not be available the next two days


On Tue, Nov 12, 2013 at 10:15 PM, Martin Abente 
martin.abente.lah...@gmail.com wrote:

 Hello Gonzalo,

 I created this wiki page with some RAW thoughts about things we can
 consider for improving [1].

 Saludos,
 tch

 Refs:
 1. 
 http://wiki.sugarlabs.org/go/Features/Backup_and_Restore/Enhancementhttp://wiki.sugarlabs.org/go/Features/Backup_and_Restore/Enhancements#Difficulties
 s


 On Mon, Nov 11, 2013 at 10:40 AM, Gonzalo Odiard gonz...@laptop.orgwrote:

 One of the features we want upstream is Backup/Restore of the Journal.

 There are already a page for this feature [1] but the currently only
 is implemented
 the backup/restore to a connected device (pen drive), and not to/from
 the school server.

 I did the port to Sugar 0.100 of the code in dextrose, (patches [2] and
 [3])
 but still think need more work before pushing upstream.

 Here my comments/questions:

 * Right now, the access to backup/restore functionality is available in
 the menu
 of the connected device (see [4]). May be should be in the Journal button,
 to allow other destinations in the future, like google drive/dropbox/etc?
 Or should be as a option in the control panel? (If the control panel is
 only
 for configuration this may be not the right place)

 * The screen look alien [5]. Should be better if we add a toolbar or
 should be in a modal dialog similar to the control panel/ object chooser?

 * We need a better icon.

 * The actual implementation have scripts to backup/restore from the
 command line.
 Then the sugar code execute the scripts, and the scripts execute tar. Is
 needed
 this indirection or should be better call tar from sugar?

 This implementation can be tested in our AU images [6]

 Comments?

 Gonzalo

 [1] http://wiki.sugarlabs.org/go/Features/Backup_and_Restore

 [2]
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Backup-and-Restore-to-a-mounted-device.patch

 [3]
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Fix-backup-restore-functionality-SL-4616.patch

 [4] http://wiki.sugarlabs.org/go/File:Backup_usb_menu.png

 [5] http://wiki.sugarlabs.org/go/File:Backup_before.png

 [6] http://wiki.sugarlabs.org/index.php?title=0.100/Testing
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Proposing backup/restore as feature for 0.102

2013-11-12 Thread Walter Bender
On Tue, Nov 12, 2013 at 9:42 PM, Gonzalo Odiard gonz...@laptop.org wrote:
 Thanks Martin, good job.
 looking forward to work with you in this topic.
 I have added a few comments.

Me too.


 Gonzalo

 PS: Probably I will not be available the next two days

Me too.


BTW, started writing up some notes on the new features for testing
[1]. We need to write up how to do that testing.

-walter

[1] http://wiki.sugarlabs.org/go/0.100/Testing#New_features_to_test


 On Tue, Nov 12, 2013 at 10:15 PM, Martin Abente
 martin.abente.lah...@gmail.com wrote:

 Hello Gonzalo,

 I created this wiki page with some RAW thoughts about things we can
 consider for improving [1].

 Saludos,
 tch

 Refs:
 1. http://wiki.sugarlabs.org/go/Features/Backup_and_Restore/Enhancements


 On Mon, Nov 11, 2013 at 10:40 AM, Gonzalo Odiard gonz...@laptop.org
 wrote:

 One of the features we want upstream is Backup/Restore of the Journal.

 There are already a page for this feature [1] but the currently only
 is implemented
 the backup/restore to a connected device (pen drive), and not to/from
 the school server.

 I did the port to Sugar 0.100 of the code in dextrose, (patches [2] and
 [3])
 but still think need more work before pushing upstream.

 Here my comments/questions:

 * Right now, the access to backup/restore functionality is available in
 the menu
 of the connected device (see [4]). May be should be in the Journal
 button,
 to allow other destinations in the future, like google drive/dropbox/etc?
 Or should be as a option in the control panel? (If the control panel is
 only
 for configuration this may be not the right place)

 * The screen look alien [5]. Should be better if we add a toolbar or
 should be in a modal dialog similar to the control panel/ object chooser?

 * We need a better icon.

 * The actual implementation have scripts to backup/restore from the
 command line.
 Then the sugar code execute the scripts, and the scripts execute tar. Is
 needed
 this indirection or should be better call tar from sugar?

 This implementation can be tested in our AU images [6]

 Comments?

 Gonzalo

 [1] http://wiki.sugarlabs.org/go/Features/Backup_and_Restore

 [2]
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Backup-and-Restore-to-a-mounted-device.patch

 [3]
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Fix-backup-restore-functionality-SL-4616.patch

 [4] http://wiki.sugarlabs.org/go/File:Backup_usb_menu.png

 [5] http://wiki.sugarlabs.org/go/File:Backup_before.png

 [6] http://wiki.sugarlabs.org/index.php?title=0.100/Testing
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Proposing backup/restore as feature for 0.102

2013-11-11 Thread Martin Abente
The level of indirection was added because it used different backup
mechanisms, IE: to the XS (via dsd's rsync scripts) and to memory sticks.
Not sure who else is using dsd's scripts, other than Paraguay though.


On Mon, Nov 11, 2013 at 10:40 AM, Gonzalo Odiard gonz...@laptop.org wrote:

 One of the features we want upstream is Backup/Restore of the Journal.

 There are already a page for this feature [1] but the currently only
 is implemented
 the backup/restore to a connected device (pen drive), and not to/from
 the school server.

 I did the port to Sugar 0.100 of the code in dextrose, (patches [2] and
 [3])
 but still think need more work before pushing upstream.

 Here my comments/questions:

 * Right now, the access to backup/restore functionality is available in
 the menu
 of the connected device (see [4]). May be should be in the Journal button,
 to allow other destinations in the future, like google drive/dropbox/etc?
 Or should be as a option in the control panel? (If the control panel is
 only
 for configuration this may be not the right place)

 * The screen look alien [5]. Should be better if we add a toolbar or
 should be in a modal dialog similar to the control panel/ object chooser?

 * We need a better icon.

 * The actual implementation have scripts to backup/restore from the
 command line.
 Then the sugar code execute the scripts, and the scripts execute tar. Is
 needed
 this indirection or should be better call tar from sugar?

 This implementation can be tested in our AU images [6]

 Comments?

 Gonzalo

 [1] http://wiki.sugarlabs.org/go/Features/Backup_and_Restore

 [2]
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Backup-and-Restore-to-a-mounted-device.patch

 [3]
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Fix-backup-restore-functionality-SL-4616.patch

 [4] http://wiki.sugarlabs.org/go/File:Backup_usb_menu.png

 [5] http://wiki.sugarlabs.org/go/File:Backup_before.png

 [6] http://wiki.sugarlabs.org/index.php?title=0.100/Testing
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Proposing backup/restore as feature for 0.102

2013-11-11 Thread David Farning
On Mon, Nov 11, 2013 at 7:40 AM, Gonzalo Odiard gonz...@laptop.org wrote:
 One of the features we want upstream is Backup/Restore of the Journal.

 There are already a page for this feature [1] but the currently only
 is implemented
 the backup/restore to a connected device (pen drive), and not to/from
 the school server.

 I did the port to Sugar 0.100 of the code in dextrose, (patches [2] and [3])
 but still think need more work before pushing upstream.

 Here my comments/questions:

 * Right now, the access to backup/restore functionality is available in the 
 menu
 of the connected device (see [4]). May be should be in the Journal button,
 to allow other destinations in the future, like google drive/dropbox/etc?
 Or should be as a option in the control panel? (If the control panel is only
 for configuration this may be not the right place)

 * The screen look alien [5]. Should be better if we add a toolbar or
 should be in a modal dialog similar to the control panel/ object chooser?

 * We need a better icon.

 * The actual implementation have scripts to backup/restore from the
 command line.
 Then the sugar code execute the scripts, and the scripts execute tar. Is 
 needed
 this indirection or should be better call tar from sugar?

 This implementation can be tested in our AU images [6]

 Comments?

Perfect. Cleaning up the Dextrose patches and included them in
mainline Sugar is an excellent way of adding value:
1. The patches represent feedback from deployments in the form of
issues they felt were important enough to pay to fix.
2. The patches are often limited in their scoop due to deployment
budget restraints.
3. After a clean up, they will be available to anyone using Sugar.

 Gonzalo

 [1] http://wiki.sugarlabs.org/go/Features/Backup_and_Restore

 [2] 
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Backup-and-Restore-to-a-mounted-device.patch

 [3] 
 https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Fix-backup-restore-functionality-SL-4616.patch

 [4] http://wiki.sugarlabs.org/go/File:Backup_usb_menu.png

 [5] http://wiki.sugarlabs.org/go/File:Backup_before.png

 [6] http://wiki.sugarlabs.org/index.php?title=0.100/Testing
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
David Farning
Activity Central: http://www.activitycentral.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel