[Cosmo-dev] object identity in cosmo

Ted Leung twl at osafoundation.org
Mon Sep 18 15:33:39 PDT 2006


This sounds good to me.

On Sep 15, 2006, at 12:52 PM, Brian Moseley wrote:

> On 9/15/06, Ted Leung <twl at osafoundation.org> wrote:
>
>> How do all these UUID's correspond to the UUID's of shared Chandler
>> items?  Or are there even more ID fields?
>
> at the moment there is no correspondence, but thinking about it, it
> seems correct for the chandler and cosmo globally unique id for an
> item to be the same. i also don't see any reason for the icalendar uid
> to be different.
>
> i think this is pointing to:
>
> 1) if the data originates inside cosmo, we generate our own uuid that
> is used in morse code (chandler) sharing and in icalendar sharing
>
> 2) if the data originates outside cosmo, we use the uid provided to
> us, whether from morse code or icalendar or some other mechanism that
> may come along, unless no uid is given to us for the data, in which
> case we generate our own.
>
> i think we might need to add uids for users too, especially if we wind
> up partitioning the user database someday as well. usernames shouldn't
> necessarily have to be globally unique.
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev



More information about the cosmo-dev mailing list