[Sugar-devel] Journal oddity: metadata with no file?
Gary C Martin
gary at garycmartin.com
Mon Mar 30 11:19:25 EDT 2009
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.
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 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.
> 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
More information about the Sugar-devel