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

Sascha Silbe silbe at activitycentral.com
Mon Jan 16 13:40:18 EST 2012


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/
-------------- 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/20120116/374266bc/attachment.pgp>


More information about the Sugar-devel mailing list