[Sugar-devel] [PATCH] add activity counter to metadata

Sascha Silbe silbe at activitycentral.com
Thu Jan 19 13:57:32 EST 2012

Excerpts from Walter Bender's message of 2012-01-17 12:10:18 +0100:

> We agreed to a less ambitious intervention in
> the Journal for 0.96, but the goal of my data capture is to provide
> feedback not just to the administrator, but to the teacher and child
> directly in the Journal itself.

Can you describe the use case in detail? Maybe we can come up with an
alternative intermediate solution that doesn't break with a versioned
data store.

It may even go a good way towards laying the foundations for the Action
View. As discussed with Gary at Sugar Camp Paris 2011, we don't store
enough information yet to implement this view.

Actions and events like creating, resuming or closing/suspending an
activity instance, receiving a file from a buddy, getting invited to a
shared activity or being presented with the disk-full alert would be
recorded in the data store as metadata-only entries with a "type"
property. Lack of a type property means the entry is a "traditional"
object entry, rather than an action or event. Objects can be referenced
from actions/events using their object_id (uid resp. tree_id+version_id).

Unlike objects, the actions and events entries are small and can be
retained for a long time.

> Any ETA re landing some versioning bits?

To a large degree that will depend on others (the changes need to get
reviewed and included), but I will push for it during the Sugar 0.98
time line. Fortunately the UI changes are small, the major lifting is in
parts that should be unaffected by the GTK3 work.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120119/04cc7c9c/attachment.pgp>

More information about the Sugar-devel mailing list