[Sugar-devel] [PATCH] add activity counter to metadata
Walter Bender
walter.bender at gmail.com
Tue Jan 17 06:10:18 EST 2012
On Mon, Jan 16, 2012 at 1: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/
Thanks for the pointers. I have been discussing some of these data
with Aleksey in a separate thread. My one concern about his approach
regarding the problem I am trying to address is that it is not
immediately apparent to me how to utilize these data, captured
externally, in Sugar. 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. In any case, it seems there is more
investigation to be done before landing this or some other patch.
Any ETA re landing some versioning bits?
regards.
-walter
--
Walter Bender
Sugar Labs
http://www.sugarlabs.org
More information about the Sugar-devel
mailing list