[Zope-dev] symbolic link patch

Bjorn Stabell bjorn@exoweb.net
Tue, 19 Feb 2002 00:05:13 +0800


Well, this would be similar to the approach used by the PortableHole
product.  It's more like a hard link than symbolic link; if you run your
site through ZSync, ZSync will unwind all the links and make separate
copies.

-----Original Message-----
From: Maik Jablonski [mailto:maik.jablonski@uni-bielefeld.de]=20
Posted At: Monday, February 18, 2002 23:26
Posted To: Zope Developer
Conversation: [Zope-dev] symbolic link patch
Subject: [Zope-dev] symbolic link patch


hello,

i found this "patch" for creating symbolic links within zope:

http://lists.zope.org/pipermail/zope-dev/2001-August/012711.html

<snip>
- edited CopySupport.py
- copied the manage_pasteObjects method to a manage_pasteMonikers
    method
- commented the #ob=3Dob._getCopy(self)  line  (the duplicate object =
part)
- added a "Paste Ref" button to the lib/python/OFS/dtml/main.dtml file
that
    calls the pasteMonikers method
</snip>

it seems to be great for my purposes & works fine & i plan to use it on
a production system.

has someone any information about problems with this kind of "patching"?
something like breaking the database in long terms or even more ugly?

thank you,

Maik

--=20
Maik Jablonski
Zentrum fuer Lehrerbildung
Universitaet Bielefeld
Germany

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -=20
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )