[Zodb-checkins] SVN: ZODB/trunk/ Added delayed news about development changes, and

Tim Peters tim.one at comcast.net
Fri Aug 12 20:59:34 EDT 2005


Log message for revision 37910:
  Added delayed news about development changes, and
  the new addBeforeCommitHook() method of transactions.
  
  Minor, unrelated changes in release.py.
  

Changed:
  U   ZODB/trunk/NEWS.txt
  U   ZODB/trunk/release.py

-=-
Modified: ZODB/trunk/NEWS.txt
===================================================================
--- ZODB/trunk/NEWS.txt	2005-08-13 00:42:39 UTC (rev 37909)
+++ ZODB/trunk/NEWS.txt	2005-08-13 00:59:34 UTC (rev 37910)
@@ -30,6 +30,16 @@
   marked a savepoint as invalid after its first use.  The implementation has
   been repaired, to match the docs.
 
+Commit hooks
+------------
+
+- (3.5a8) A new ``addBeforeCommitHook()`` method of transactions generalizes
+  the older ``beforeCommitHook()`` method, with a more-robust signature
+  and an optional new ``order`` argument to influence the order in which
+  commit hooks are invoked.  ``beforeCommitHook()`` is now deprecated, and
+  will be removed in ZODB 3.7.  Thanks to Julien Anguenot for contributing
+  code and tests.
+
 ZEO client cache
 ----------------
 
@@ -166,7 +176,18 @@
   convert "old" BTrees to "new" BTrees, but the "old" BTree implementation
   was removed from ZODB years ago.
 
+Development
+-----------
 
+- (3.5a7) ZODB's ``setup.py`` now uses zpkg for checkout-tree builds,
+  ensuring that the same code is used to build and test ZODB on a daily
+  basis as is used to build ZODB releases.  In order to support this,
+  the ZODB repository now stitches in part of zpkgtools (via
+  ``svn:externals``), all script files were moved into a new ``scripts``
+  directory in the checkout tree, and intra-ZODB ``#include`` directives
+  in ZODB's C code were rewritten in minor ways.
+
+
 What's new in ZODB3 3.4.1?
 ==========================
 Release date: 09-Aug-2005

Modified: ZODB/trunk/release.py
===================================================================
--- ZODB/trunk/release.py	2005-08-13 00:42:39 UTC (rev 37909)
+++ ZODB/trunk/release.py	2005-08-13 00:59:34 UTC (rev 37910)
@@ -3,7 +3,7 @@
 
 usage: release.py version date
 
-version should be a string like "3.2c1"
+version should be a string like "3.2.0c1"
 date should be a string like "23-Sep-2003"
 
 The following files are updated:
@@ -50,9 +50,10 @@
 # someone asked for it so that a shell script could read up the ZEO
 # version easily.
 # Before ZODB 3.4, the ZEO version was one smaller than the ZODB version;
-# e.g., ZEO 2.2.7 shipped with ZODB 3.2.7.
+# e.g., ZEO 2.2.7 shipped with ZODB 3.2.7.  Now ZEO and ZODB share their
+# version number.
 def write_zeoversion(path, version):
-    f = file(path, "w")
+    f = open(path, "w")
     print >> f, version
     f.close()
 



More information about the Zodb-checkins mailing list