[Sugar-devel] Journal oddity: metadata with no file?

Tomeu Vizoso tomeu at sugarlabs.org
Mon Mar 30 11:25:54 EDT 2009


On Mon, Mar 30, 2009 at 17:19, Gary C Martin <gary at garycmartin.com> wrote:
> Hi Martin,
>
> On 30 Mar 2009, at 15:54, Martin Langhoff wrote:
>
>> Working a bit on the restore angle of things, if I look at the
>> metadata entries to build a restorable Journal Entry Bundle... well...
>> in many cases there is no file to build it from.
>
> I know previous releases of Sugar had a design flaw that lost any non-
> standard metadata after a reboot (Read resuming back to the page you
> were reading was a common issue). Pretty sure Tomeu fixed this with
> his re-build of the datastore (sorry should really go check/test). If
> so, arbitrary metadata is a **great** way for storing small items of
> data rather than building a new file format.

Yup, should be working now.

Regards,

Tomeu

> I just think of all the time I (and others) wasted with json/
> simplejson/cjson for Moon :-( when all I'm keeping is a couple of
> preference flags for the view state (I'd first implemented in
> metadata, until I realised the original design flaw).
>
> Journal entries made of just metadata is a great feature for Activity
> developers, not a flaw.
>
> Regards,
> --Gary
>
>> Is that normal. Expected? I am tempted to skip those 'Journal entries'
>> as they have no apparent value. Do people generally agree, or am I
>> being bling to some obvious useful part to them?
>>
>> Offtopic: Some of the complaints about 'noise' and clutter in the
>> Journal are probably about these content-less entries. Yes, the user
>> has opened Browse.xo 3 times today, but that's hardly a document
>> worthy of backing up, or even storing.
>>
>> cheers,
>>
>>
>> martin
>> --
>> martin.langhoff at gmail.com
>> martin at laptop.org -- School Server Architect
>> - ask interesting questions
>> - don't get distracted with shiny stuff  - working code first
>> - http://wiki.laptop.org/go/User:Martinlanghoff
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


More information about the Sugar-devel mailing list