[Sugar-devel] A prototype of SugarWeb / SugarAndroid - Technical questions

Daniel Narvaez dwnarvaez at gmail.com
Sat Nov 16 17:45:51 EST 2013


On 16 November 2013 21:37, Lionel Laské <lionel at olpc-france.org> wrote:

> Okay it make sense.  Thanks.
> Few more questions about link between datastore and journal.
> I understand that because each objectId has an activityId, it's easy for
> the journal to display the related activity for each datastore entry. Right
> ? But what if an activity create extra datastore entries ? Is there also
> the activtyId field in these extra datastore entries ?
>

The toolkit is not adding an activityId. Honestly I'm not sure if any
activity authors have been doing that but... I think it would be wrong and
break stuff.


>
> If yes, how avoiding display it in the journal ? Guess also that each
> datastore entry has a date time entry ?
>

Yes, time is added automatically in the metadata by the datastore. There
are few properties like this you will might need to support. That I can see
at least creation_time, filesize, timestamp, they might not be documented
other than by the code

https://github.com/sugarlabs/sugar-datastore/blob/master/src/carquinyol/datastore.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131116/fde93e8b/attachment.html>


More information about the Sugar-devel mailing list