[Sugar-devel] Journal oddity: metadata with no file?
Gary C Martin
gary at garycmartin.com
Mon Mar 30 11:51:04 EDT 2009
On 30 Mar 2009, at 16:25, Tomeu Vizoso wrote:
> On Mon, Mar 30, 2009 at 17:19, Gary C Martin <gary at garycmartin.com>
>> 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...
>>> in many cases there is no file to build it from.
>> I know previous releases of Sugar had a design flaw that lost any
>> 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.
Fab! I'll make sure and give the code path a test once Labyrinth-5 is
out the way.
I'm just trying to work out how many beers we owe you now (perhaps to
be redeemed in Prague if I can make it over). Though I suggest it's a
large enough number not to be attempted all in one night :-)
>> 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.
>>> Is that normal. Expected? I am tempted to skip those 'Journal
>>> 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.
>>> 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
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
More information about the Sugar-devel