[Checkins] SVN: gocept.zeoraid/trunk/ Fixed copyright headers.

Christian Theune ct at gocept.com
Mon Feb 11 05:16:42 EST 2008


Log message for revision 83746:
  Fixed copyright headers.
  

Changed:
  U   gocept.zeoraid/trunk/COPYRIGHT.txt
  U   gocept.zeoraid/trunk/setup.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/__init__.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/datatypes.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/interfaces.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/manage.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/recovery.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/tests/failingstorage.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/tests/test_basics.py
  U   gocept.zeoraid/trunk/src/gocept/zeoraid/utils.py

-=-
Modified: gocept.zeoraid/trunk/COPYRIGHT.txt
===================================================================
--- gocept.zeoraid/trunk/COPYRIGHT.txt	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/COPYRIGHT.txt	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,4 +1,4 @@
-Copyright (c) 2007 gocept gmbh & co. kg and contributors.
+Copyright (c) 2007-2008 Zope Foundation and contributors.
 All Rights Reserved.
 
 This software is subject to the provisions of the Zope Public License,
@@ -6,4 +6,4 @@
 THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-FOR A PARTICULAR PURPOSE. 
+FOR A PARTICULAR PURPOSE.

Modified: gocept.zeoraid/trunk/setup.py
===================================================================
--- gocept.zeoraid/trunk/setup.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/setup.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,3 +1,19 @@
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup for gocept.zeoraid package.
+"""
+
 from setuptools import setup, find_packages
 
 name = "gocept.zeoraid"

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/__init__.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/__init__.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/__init__.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,5 +1,14 @@
-# vim:fileencoding=utf-8
-# Copyright (c) 2007 gocept gmbh & co. kg
-# See also LICENSE.txt
-# $Id$
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 """ZEORaid storage implementation."""

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/datatypes.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/datatypes.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/datatypes.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,3 +1,19 @@
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""ZConfig storage type definitions.
+"""
+
 import ZODB.config
 import gocept.zeoraid.storage
 

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/interfaces.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/interfaces.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/interfaces.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,7 +1,16 @@
-# vim:fileencoding=utf-8
-# Copyright (c) 2007 gocept gmbh & co. kg
-# See also LICENSE.txt
-# $Id$
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 """Interface descriptions"""
 
 

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/manage.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/manage.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/manage.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,3 +1,19 @@
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""The management utility for gocept.zeoraid.
+"""
+
 import sys
 
 import ZEO.zrpc.client

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/recovery.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/recovery.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/recovery.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,7 +1,16 @@
-# vim:fileencoding=utf-8
-# Copyright (c) 2007 gocept gmbh & co. kg
-# See also LICENSE.txt
-# $Id$
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 """ZEORaid online recovery implementation."""
 
 
@@ -20,6 +29,9 @@
         self.target_transaction_count = ...
         # initialize counting up self.raid_transaction_count
 
+    # transaction_log(offset, length) -> [undo_info, ...]
+    # transaction_details(tid) -> [oid, ...]
+
     def get_raid_transaction_info(self, n):
         """Retrieves the n-th transaction info from the RAID, counting from
         the beginning of the storage's history.
@@ -45,13 +57,13 @@
         # We need to do a "while True" loop in order to be able to check on
         # our progress and finalize recovery atomically.
         while True:
-            lock
+            commit lock
             try:
                 if self._current == self.raid_transaction_count:
                     no longer degraded
                     break
             finally:
-                unlock
+                commit unlock
 
             # Recover transaction self._current.
             foo

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,7 +1,16 @@
-# vim:fileencoding=utf-8
-# Copyright (c) 2007 gocept gmbh & co. kg
-# See also LICENSE.txt
-# $Id$
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 """ZEORaid storage implementation."""
 
 import threading

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/tests/failingstorage.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/tests/failingstorage.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/tests/failingstorage.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,7 +1,16 @@
-# vim:fileencoding=utf-8
-# Copyright (c) 2007 gocept gmbh & co. kg
-# See also LICENSE.txt
-# $Id$
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 """Unit test support."""
 
 import tempfile

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/tests/test_basics.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/tests/test_basics.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/tests/test_basics.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,7 +1,16 @@
-# vim:fileencoding=utf-8
-# Copyright (c) 2007 gocept gmbh & co. kg
-# See also LICENSE.txt
-# $Id$
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 """Test harness for gocept.zeoraid."""
 
 import unittest

Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/utils.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/utils.py	2008-02-11 10:16:18 UTC (rev 83745)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/utils.py	2008-02-11 10:16:42 UTC (rev 83746)
@@ -1,7 +1,16 @@
-# vim:fileencoding=utf-8
-# Copyright (c) 2007 gocept gmbh & co. kg
-# See also LICENSE.txt
-# $Id$
+##############################################################################
+#
+# Copyright (c) 2007-2008 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 """Utilities."""
 
 import logging



More information about the Checkins mailing list