Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore

2010-04-05 Thread James Cameron
Putting this function in the journal UI seems more logical to me than
stowing it in a control panel.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore

2010-04-06 Thread Bernie Innocenti
On Mon, 2010-04-05 at 11:39 -0300, Esteban Arias wrote:
> Hi,
> 
> In Plan Ceibal (Uruguay) , we developed solution of jorunal
> backup/restore on sugar 0.82. We added button "Backup" and button
> "Restore" on toolbar of the Journal activitie. If exist pendrive
> connected, the system do backup/restore in the extern dispositive.
> When the user press the button, the system run script to do
> backup/restore. 

> The script is based of solution of Daniel Drake.

The UI looks very nice! We were undecided whether to write a control
panel item or add these functions to the journal.

Are patches available anywhere? How much work would it be to adapt them
to Sugar 0.84 and 0.88?

It would be useful to make the git trees of Ceibal developers available
for public review somewhere (either git.sugarlabs.org or a local
gitweb), as you guys probably have accumulated plenty of other useful
things that we might like to have.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

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


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore

2010-04-06 Thread Esteban Arias
hi,

source on 0.82:
https://desarrollo.ceibal.edu.uy/projects/respaldodiario/files

we in uruguay could be adapt to 0.84 (to image of paraguay)...


2010/4/6 Bernie Innocenti 

> On Mon, 2010-04-05 at 11:39 -0300, Esteban Arias wrote:
> > Hi,
> >
> > In Plan Ceibal (Uruguay) , we developed solution of jorunal
> > backup/restore on sugar 0.82. We added button "Backup" and button
> > "Restore" on toolbar of the Journal activitie. If exist pendrive
> > connected, the system do backup/restore in the extern dispositive.
> > When the user press the button, the system run script to do
> > backup/restore.
>
> > The script is based of solution of Daniel Drake.
>
> The UI looks very nice! We were undecided whether to write a control
> panel item or add these functions to the journal.
>
> Are patches available anywhere? How much work would it be to adapt them
> to Sugar 0.84 and 0.88?
>
> It would be useful to make the git trees of Ceibal developers available
> for public review somewhere (either git.sugarlabs.org or a local
> gitweb), as you guys probably have accumulated plenty of other useful
> things that we might like to have.
>
> --
>   // Bernie Innocenti - http://codewiz.org/
>  \X/  Sugar Labs   - http://sugarlabs.org/
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore

2010-04-08 Thread Tomeu Vizoso
On Tue, Apr 6, 2010 at 21:16, Esteban Arias  wrote:
> hi,
>
> source on 0.82:
> https://desarrollo.ceibal.edu.uy/projects/respaldodiario/files

couldn't access that URL, anybody else outside LATU can?

Regards,

Tomeu

> we in uruguay could be adapt to 0.84 (to image of paraguay)...
>
>
> 2010/4/6 Bernie Innocenti 
>>
>> On Mon, 2010-04-05 at 11:39 -0300, Esteban Arias wrote:
>> > Hi,
>> >
>> > In Plan Ceibal (Uruguay) , we developed solution of jorunal
>> > backup/restore on sugar 0.82. We added button "Backup" and button
>> > "Restore" on toolbar of the Journal activitie. If exist pendrive
>> > connected, the system do backup/restore in the extern dispositive.
>> > When the user press the button, the system run script to do
>> > backup/restore.
>>
>> > The script is based of solution of Daniel Drake.
>>
>> The UI looks very nice! We were undecided whether to write a control
>> panel item or add these functions to the journal.
>>
>> Are patches available anywhere? How much work would it be to adapt them
>> to Sugar 0.84 and 0.88?
>>
>> It would be useful to make the git trees of Ceibal developers available
>> for public review somewhere (either git.sugarlabs.org or a local
>> gitweb), as you guys probably have accumulated plenty of other useful
>> things that we might like to have.
>>
>> --
>>   // Bernie Innocenti - http://codewiz.org/
>>  \X/  Sugar Labs       - http://sugarlabs.org/
>>
>
>
> ___
> 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] [DESIGN] Simple Journal Backup & Restore

2010-04-08 Thread Gabriel Eirea
2010/4/8 Tomeu Vizoso :
> On Tue, Apr 6, 2010 at 21:16, Esteban Arias  wrote:
>> hi,
>>
>> source on 0.82:
>> https://desarrollo.ceibal.edu.uy/projects/respaldodiario/files
>
> couldn't access that URL, anybody else outside LATU can?

I can, but you need to add an exception for the certificate.

(Most of uruguayan certificates have expired and no one bothered to
update them, it's sad.)

Regards,

Gabriel

>
> Regards,
>
> Tomeu
>
>> we in uruguay could be adapt to 0.84 (to image of paraguay)...
>>
>>
>> 2010/4/6 Bernie Innocenti 
>>>
>>> On Mon, 2010-04-05 at 11:39 -0300, Esteban Arias wrote:
>>> > Hi,
>>> >
>>> > In Plan Ceibal (Uruguay) , we developed solution of jorunal
>>> > backup/restore on sugar 0.82. We added button "Backup" and button
>>> > "Restore" on toolbar of the Journal activitie. If exist pendrive
>>> > connected, the system do backup/restore in the extern dispositive.
>>> > When the user press the button, the system run script to do
>>> > backup/restore.
>>>
>>> > The script is based of solution of Daniel Drake.
>>>
>>> The UI looks very nice! We were undecided whether to write a control
>>> panel item or add these functions to the journal.
>>>
>>> Are patches available anywhere? How much work would it be to adapt them
>>> to Sugar 0.84 and 0.88?
>>>
>>> It would be useful to make the git trees of Ceibal developers available
>>> for public review somewhere (either git.sugarlabs.org or a local
>>> gitweb), as you guys probably have accumulated plenty of other useful
>>> things that we might like to have.
>>>
>>> --
>>>   // Bernie Innocenti - http://codewiz.org/
>>>  \X/  Sugar Labs       - http://sugarlabs.org/
>>>
>>
>>
>> ___
>> 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
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore

2010-04-08 Thread Tomeu Vizoso
On Thu, Apr 8, 2010 at 17:25, Gabriel Eirea  wrote:
> 2010/4/8 Tomeu Vizoso :
>> On Tue, Apr 6, 2010 at 21:16, Esteban Arias  
>> wrote:
>>> hi,
>>>
>>> source on 0.82:
>>> https://desarrollo.ceibal.edu.uy/projects/respaldodiario/files
>>
>> couldn't access that URL, anybody else outside LATU can?
>
> I can, but you need to add an exception for the certificate.
>
> (Most of uruguayan certificates have expired and no one bothered to
> update them, it's sad.)

Works now, I had to remove an expired personal certificate I had around.

Regards,

Tomeu

> Regards,
>
> Gabriel
>
>>
>> Regards,
>>
>> Tomeu
>>
>>> we in uruguay could be adapt to 0.84 (to image of paraguay)...
>>>
>>>
>>> 2010/4/6 Bernie Innocenti 

 On Mon, 2010-04-05 at 11:39 -0300, Esteban Arias wrote:
 > Hi,
 >
 > In Plan Ceibal (Uruguay) , we developed solution of jorunal
 > backup/restore on sugar 0.82. We added button "Backup" and button
 > "Restore" on toolbar of the Journal activitie. If exist pendrive
 > connected, the system do backup/restore in the extern dispositive.
 > When the user press the button, the system run script to do
 > backup/restore.

 > The script is based of solution of Daniel Drake.

 The UI looks very nice! We were undecided whether to write a control
 panel item or add these functions to the journal.

 Are patches available anywhere? How much work would it be to adapt them
 to Sugar 0.84 and 0.88?

 It would be useful to make the git trees of Ceibal developers available
 for public review somewhere (either git.sugarlabs.org or a local
 gitweb), as you guys probably have accumulated plenty of other useful
 things that we might like to have.

 --
   // Bernie Innocenti - http://codewiz.org/
  \X/  Sugar Labs       - http://sugarlabs.org/

>>>
>>>
>>> ___
>>> 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
>>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore

2010-04-08 Thread Esteban Arias
Another possible design:

In the volumes Toolbar of the Journal, when the user press click right on
the volume connected, the palette shows also: "Backup Journal" and "Restore
Journal"

Esteban.

2010/4/8 Tomeu Vizoso 

> On Thu, Apr 8, 2010 at 17:25, Gabriel Eirea  wrote:
> > 2010/4/8 Tomeu Vizoso :
> >> On Tue, Apr 6, 2010 at 21:16, Esteban Arias 
> wrote:
> >>> hi,
> >>>
> >>> source on 0.82:
> >>> https://desarrollo.ceibal.edu.uy/projects/respaldodiario/files
> >>
> >> couldn't access that URL, anybody else outside LATU can?
> >
> > I can, but you need to add an exception for the certificate.
> >
> > (Most of uruguayan certificates have expired and no one bothered to
> > update them, it's sad.)
>
> Works now, I had to remove an expired personal certificate I had around.
>
> Regards,
>
> Tomeu
>
> > Regards,
> >
> > Gabriel
> >
> >>
> >> Regards,
> >>
> >> Tomeu
> >>
> >>> we in uruguay could be adapt to 0.84 (to image of paraguay)...
> >>>
> >>>
> >>> 2010/4/6 Bernie Innocenti 
> 
>  On Mon, 2010-04-05 at 11:39 -0300, Esteban Arias wrote:
>  > Hi,
>  >
>  > In Plan Ceibal (Uruguay) , we developed solution of jorunal
>  > backup/restore on sugar 0.82. We added button "Backup" and button
>  > "Restore" on toolbar of the Journal activitie. If exist pendrive
>  > connected, the system do backup/restore in the extern dispositive.
>  > When the user press the button, the system run script to do
>  > backup/restore.
> 
>  > The script is based of solution of Daniel Drake.
> 
>  The UI looks very nice! We were undecided whether to write a control
>  panel item or add these functions to the journal.
> 
>  Are patches available anywhere? How much work would it be to adapt
> them
>  to Sugar 0.84 and 0.88?
> 
>  It would be useful to make the git trees of Ceibal developers
> available
>  for public review somewhere (either git.sugarlabs.org or a local
>  gitweb), as you guys probably have accumulated plenty of other useful
>  things that we might like to have.
> 
>  --
>    // Bernie Innocenti - http://codewiz.org/
>   \X/  Sugar Labs   - http://sugarlabs.org/
> 
> >>>
> >>>
> >>> ___
> >>> 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
> >>
> >
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore

2010-04-08 Thread Martin Abente
I like the idea, but i think it will be very volumes-dependent, maybe
we should consider the fact that there are many backups technologies
(to/from a flash drive, to/from a xs server, to/from ftp... etc).
Therefore, at least the interface should be independent from the
technology.

On Thu, Apr 8, 2010 at 5:04 PM, Esteban Arias  wrote:
> Another possible design:
>
> In the volumes Toolbar of the Journal, when the user press click right on
> the volume connected, the palette shows also: "Backup Journal" and "Restore
> Journal"
>
> Esteban.
>
> 2010/4/8 Tomeu Vizoso 
>>
>> On Thu, Apr 8, 2010 at 17:25, Gabriel Eirea  wrote:
>> > 2010/4/8 Tomeu Vizoso :
>> >> On Tue, Apr 6, 2010 at 21:16, Esteban Arias 
>> >> wrote:
>> >>> hi,
>> >>>
>> >>> source on 0.82:
>> >>> https://desarrollo.ceibal.edu.uy/projects/respaldodiario/files
>> >>
>> >> couldn't access that URL, anybody else outside LATU can?
>> >
>> > I can, but you need to add an exception for the certificate.
>> >
>> > (Most of uruguayan certificates have expired and no one bothered to
>> > update them, it's sad.)
>>
>> Works now, I had to remove an expired personal certificate I had around.
>>
>> Regards,
>>
>> Tomeu
>>
>> > Regards,
>> >
>> > Gabriel
>> >
>> >>
>> >> Regards,
>> >>
>> >> Tomeu
>> >>
>> >>> we in uruguay could be adapt to 0.84 (to image of paraguay)...
>> >>>
>> >>>
>> >>> 2010/4/6 Bernie Innocenti 
>> 
>>  On Mon, 2010-04-05 at 11:39 -0300, Esteban Arias wrote:
>>  > Hi,
>>  >
>>  > In Plan Ceibal (Uruguay) , we developed solution of jorunal
>>  > backup/restore on sugar 0.82. We added button "Backup" and button
>>  > "Restore" on toolbar of the Journal activitie. If exist pendrive
>>  > connected, the system do backup/restore in the extern dispositive.
>>  > When the user press the button, the system run script to do
>>  > backup/restore.
>> 
>>  > The script is based of solution of Daniel Drake.
>> 
>>  The UI looks very nice! We were undecided whether to write a control
>>  panel item or add these functions to the journal.
>> 
>>  Are patches available anywhere? How much work would it be to adapt
>>  them
>>  to Sugar 0.84 and 0.88?
>> 
>>  It would be useful to make the git trees of Ceibal developers
>>  available
>>  for public review somewhere (either git.sugarlabs.org or a local
>>  gitweb), as you guys probably have accumulated plenty of other useful
>>  things that we might like to have.
>> 
>>  --
>>    // Bernie Innocenti - http://codewiz.org/
>>   \X/  Sugar Labs       - http://sugarlabs.org/
>> 
>> >>>
>> >>>
>> >>> ___
>> >>> 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
>> >>
>> >
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore

2010-04-08 Thread Bernie Innocenti
On Thu, 2010-04-08 at 17:04 -0300, Esteban Arias wrote:
> Another possible design:
> 
> In the volumes Toolbar of the Journal, when the user press click right
> on the volume connected, the palette shows also: "Backup Journal" and
> "Restore Journal"

+1. I like this idea.

To backup/restore on the schoolserver, we could add similar commands to
the palette of the Journal icon on the volumes toolbar. It sounds more
natural there than in the control panel.

Martin (Langhoff, not Abente): the backup UI delegates the actual work
to 3 simple shell scripts which were written by Daniel Drake last year.
They depend on other files from ds-backup-client, so it would make sense
to fold them in there.

The glue scripts are here:

 http://people.sugarlabs.org/bernie/sugar/journal-backup
 http://people.sugarlabs.org/bernie/sugar/journal-backup-list
 http://people.sugarlabs.org/bernie/sugar/journal-restore

Alternatively, we could put these into the sugar-datastore package
alongside with the other bits from the ds-backup-client package. This
would save us the time to get a new package through the Fedora review
process.

Since we need a working backup/restore solution by next Monday, I've
already included the scripts in a custom ds-backup-client package. If we
decide to go for a different solution, I'll make the necessary changes
after the release.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

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


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore Control Panel

2010-03-31 Thread James Cameron
On Wed, Mar 31, 2010 at 06:36:06PM -0300, mabente wrote:
> So, what do you guys think?

I like it.

I presume it won't appear unless a school server is known?

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore Control Panel

2010-03-31 Thread Bernie Innocenti
On Thu, 2010-04-01 at 09:21 +1100, James Cameron wrote:
> On Wed, Mar 31, 2010 at 06:36:06PM -0300, mabente wrote:
> > So, what do you guys think?
> 
> I like it.
> 
> I presume it won't appear unless a school server is known?

I wonder if this can be done at the control panel level... probably
easier to let the icon appear anyway, and then disable the functionality
in the window.

In the future, we may want to add a backup/restore function for
removable storage.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

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


Re: [Sugar-devel] [DESIGN] Simple Journal Backup & Restore Control Panel

2010-04-08 Thread Tomeu Vizoso
On Thu, Apr 1, 2010 at 04:30, Bernie Innocenti  wrote:
> On Thu, 2010-04-01 at 09:21 +1100, James Cameron wrote:
>> On Wed, Mar 31, 2010 at 06:36:06PM -0300, mabente wrote:
>> > So, what do you guys think?
>>
>> I like it.
>>
>> I presume it won't appear unless a school server is known?
>
> I wonder if this can be done at the control panel level... probably
> easier to let the icon appear anyway, and then disable the functionality
> in the window.
>
> In the future, we may want to add a backup/restore function for
> removable storage.

Any comments from the design team?

Regards,

Tomeu

> --
>   // Bernie Innocenti - http://codewiz.org/
>  \X/  Sugar Labs       - http://sugarlabs.org/
>
> ___
> 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] [DESIGN] Simple Journal Backup & Restore Control Panel

2010-05-16 Thread Eben Eliason
Hello,

I realize it's been a while since this was discussed, but I figured
I'd share some thoughts, in no particular order before I archived the
thread.

• Having a settings module for this seems reasonable. It might be more
fitting to just call it "Journal Backup" instead of "Management",
since it is exclusively for this function. I could see adding any
pertinent versioning settings here as well in the future, even with
the more specific name.

• It could also be nice to have a "Back up now" option in the Journal
palette. I don't think it's necessary to expose the restore action in
the palette, though.

• The icon looks reasonable, though using the "fullscreen" icon in
this context is somewhat confusing. It might be better to use the keep
icon, with bidirectional arrows, to maintain the visual language
there.

• The large clickable buttons are nice. I think in this instance it
would be even better to have nice large up and down arrows to further
emphasize the actions. The ones that were made for the 3G device
traffic could work in this context, too.

• I think this might work better as a two column layout, with backup
on the left and restore on the right, with accompanying text and
information. As it stands, the description is a bit far removed from
the actual buttons, making it look more like the buttons are one unit
and the descriptions are a second unit, instead od relating the
description to the button.

• I would change the label to "Back up now" instead of "Backup." Two
notes on that: first, it's a pet peeve, but "back up" should be two
words when used as a verb (a "backup" is a noun), and buttons should
always read as actions; second, I think emphasizing the "do it now"
nature of the button is useful here, especially since backups should
be made automatically, periodically. In fact, changing the description
to convey this would also be useful.

• It would also be great to have an indication of the last time a
backup was made, to know whether or not it's worth invoking another. I
would add a "Last backup:" label with a relative date (eg. "3 hours
ago") to the backup column.

• The restore column would do well to convey the results of the
action. Specifically, that it will restore the Journal to a previous
state, which could result in data loss.

• It's not clear from the image what happens when either of these
actions are invoked. I'd recommend immediately disabling the "other
column" (eg. disable the restore button when a backup is initiated),
and replacing the button clicked with an inline progress bar
(determinate, if at all possible; perhaps indeterminate during
initialization) so there's adequate feedback.

• If there is any way to detect when a Journal has been
corrupted/wiped, it would be great to have the empty Journal screen be
replaced by a prompt to recover from backup, if one is known to exist.
This would make it much easier for kids to recover the Journal as it
was in such circumstances.

Eben

PS. I think its useful to consider the UI for Apple's Time Machine
here, since it has a number of similarities.


On Thu, Apr 8, 2010 at 11:05 AM, Tomeu Vizoso  wrote:
> On Thu, Apr 1, 2010 at 04:30, Bernie Innocenti  wrote:
>> On Thu, 2010-04-01 at 09:21 +1100, James Cameron wrote:
>>> On Wed, Mar 31, 2010 at 06:36:06PM -0300, mabente wrote:
>>> > So, what do you guys think?
>>>
>>> I like it.
>>>
>>> I presume it won't appear unless a school server is known?
>>
>> I wonder if this can be done at the control panel level... probably
>> easier to let the icon appear anyway, and then disable the functionality
>> in the window.
>>
>> In the future, we may want to add a backup/restore function for
>> removable storage.
>
> Any comments from the design team?
>
> Regards,
>
> Tomeu
>
>> --
>>   // Bernie Innocenti - http://codewiz.org/
>>  \X/  Sugar Labs       - http://sugarlabs.org/
>>
>> ___
>> 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