[Pkg-zope-developers] Products path

Igor Stroh igor@rulim.de
Wed, 21 Jul 2004 14:50:51 +0200


Encolpe DEGOUTE wrote:
[...]
>>>b) /usr/share/zope/Products
>>>
>>>You cannot use /usr/lib/zope/lib/python/Products if your Zope
>>>instances use incompatible products.
>>
>>What do you mean by incompatible? If I'd like to install Products that
>>don't "like"
>>each other, I'd put them into the Products/ dir of the appropriate 
>>instance, like
>>/var/lib/zope[]2.7/instance/<instance name>/Products, right? Anyway,
>>if a Product
>>is incompatible with another Product then it's package should use the 
>>appropriate
>>"Conflicts: [..]".
> 
> 
> That's why default installation path for Zope products have to be
> '/usr/share/zope/Products'. It permits to remove conflicts between
> Plone and CPS packages for example.
> With Zope 2.6 and abive there's no reason to use something else that 
> /var/lib/zope(|2.7)/instance/<instance name>/Products to install any
> products but specific one like DirectoryStorage or ZopeTestCase.

Ok, sounds reasonable. Now what about the old packages using
a) /usr/lib/zope/lib/python/Products? Should they move to
b) /usr/share/zope/Products ASAP? If so, what's the best way to do it?
I mean one definitely has to purge a) before an update, but is it safe to
just remove those files? What if they were locally modified?

Igor