On Fri, 13 Apr 2007, Phillip J. Eby wrote:

At 02:57 PM 4/13/2007 -0700, Andi Vajda wrote:

On Fri, 13 Apr 2007, Morgen Sagen wrote:

Yeah, you're right -- fixed UUIDs for user modifiable items should be used with care -- we do use it for the Sidebar collection, and perhaps that's ok.

How about using a repository Path to the Sidebar instead ?

We don't use paths since those can change when the schema changes. Anything that would be a "well-known location" is emitted as part of a parcel-specific record type.

So, for example, we could have a "AppRecord" type that contained the UUID of the sidebar collection. That would be the equivalent to a path (i.e., designating an item by reference instead of identity).

Even better. Paths are just one way to do this. The requirement would be that the path doesn't change from schema to schema or that the dump/reload code knows how to match one with the other.
What I'm after here is not encoding that kind of information into UUIDs.

Andi..
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to