[Chandler-dev] Reload is not import
vajda at osafoundation.org
Fri Apr 13 18:00:08 PDT 2007
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
>> 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.
More information about the chandler-dev