[Zope-CVS] CVS: Products/Ape/lib/apelib/zope2 - apeconf.xml:1.5.2.1

Shane Hathaway shane at zope.com
Wed Feb 25 11:03:31 EST 2004


Update of /cvs-repository/Products/Ape/lib/apelib/zope2
In directory cvs.zope.org:/tmp/cvs-serv9748/lib/apelib/zope2

Modified Files:
      Tag: ape-fs-oid-branch
	apeconf.xml 
Log Message:
Created ape-fs-oid-branch, which changes Ape to use OIDs on the filesystem.

This solution will enable us to remove some of Ape's patches and
use the filesystem even more like a relational database.  It has been
difficult to find a clean strategy for doing this, but we're finally almost
there.

More tests pass than fail. ;-)


=== Products/Ape/lib/apelib/zope2/apeconf.xml 1.5 => 1.5.2.1 ===
--- Products/Ape/lib/apelib/zope2/apeconf.xml:1.5	Thu Feb 19 01:44:06 2004
+++ Products/Ape/lib/apelib/zope2/apeconf.xml	Wed Feb 25 11:03:30 2004
@@ -10,7 +10,7 @@
   <classifier factory="apelib.zope2.classifier.Classifier">
    <gateway factory="apelib.fs.classification.FSClassificationAnnotation" />
   </classifier>
-  <oid-generator factory="apelib.core.oidgen.PathOIDGenerator" />
+  <oid-generator factory="apelib.core.oidgen.SerialOIDGenerator" />
  </variation>
  <variation name="sql">
   <classifier factory="apelib.zope2.classifier.Classifier">
@@ -28,12 +28,11 @@
  <serializer name="roll_call" factory="apelib.zodb3.serializers.RollCall" />
  <variation name="filesystem">
   <gateway name="items" factory="apelib.fs.structure.root_mapping" />
-  <use-for oid="/_root" />
  </variation>
  <variation name="sql">
   <gateway name="items" factory="apelib.sql.structure.root_mapping" />
-  <use-for oid="0" />
  </variation>
+ <use-for oid="0" />
 </mapper>
 
 <!-- Abstract mappers -->
@@ -196,9 +195,6 @@
  <serializer name="id" enabled="false" />
  <gateway name="id" enabled="false" />
  <gateway name="items" use="dir_items" />
- <variation name="filesystem">
-  <use-for oid="/" />
- </variation>
 </mapper>
 
 <mapper name="anyfile">
@@ -209,4 +205,3 @@
 </mapper>
 
 </configuration>
-




More information about the Zope-CVS mailing list