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

Gonzalo Odiard gonzalo at laptop.org
Wed Jan 18 15:49:25 EST 2012


I agree this is not the place.
May be can be in sugar-toolkit/src/sugar/datastore/datastore.py get method ?
(and in the gtk3 toolkit too)
Then, when we have the new datastore, can be changed.

Gonzalo

On Mon, Jan 16, 2012 at 3:40 PM, Sascha Silbe <silbe at activitycentral.com>wrote:

> Excerpts from Walter Bender's message of 2012-01-12 18:39:46 +0100:
>
> > This patch adds/updates a new metadata field to instances of Sugar
> Activities.
> > Specifically, it maintains a count of how many times an activity
> instance has
> > be accessed. The mechanism used is to increment a counter each time an
> activity
> > is launched. (The counter is initialized to 1 on first launch.) This is
> part
> > of the "Activity-specific metadata" Feature described here [1].
>
> I don't think this patch should go into upstream Sugar. Using a version
> support enabled data store will naturally provide this information and
> in the meantime there are less intrusive ways [2,3] to achieve the same
> result.
>
> If we merge it now, the Journal entry metadata will become inconsistent
> with the information provided by a version support enabled data store
> once that gets rolled out as there may be multiple branches of the same
> entry.
>
> Sascha
>
> [2] https://wiki.sugarlabs.org/go/Sugar_Server_Kit/sugar-stats
> [3] https://wiki.sugarlabs.org/go/Platform_Team/Usage_Statistics
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120118/c2ef5597/attachment.html>


More information about the Sugar-devel mailing list