SVN: PluginRegistry/branches/1.0/ Merge changes made in 1.0.2 release to 1.0 branch.

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
Log message for revision 39936:
  Merge changes made in 1.0.2 release to 1.0 branch.

Changed:
  A   PluginRegistry/branches/1.0/CHANGES.txt
  A   PluginRegistry/branches/1.0/COPYRIGHT.txt
  A   PluginRegistry/branches/1.0/LICENSE.txt
  U   PluginRegistry/branches/1.0/tests/test_PluginRegistry.py
  U   PluginRegistry/branches/1.0/utils.py
  A   PluginRegistry/branches/1.0/version.txt

-=-
Added: PluginRegistry/branches/1.0/CHANGES.txt
===================================================================
--- PluginRegistry/branches/1.0/CHANGES.txt	2005-11-05 20:25:48 UTC (rev 39935)
+++ PluginRegistry/branches/1.0/CHANGES.txt	2005-11-05 20:28:21 UTC (rev 39936)
@@ -0,0 +1,16 @@
+PluginRegistry Product Changelog
+================================
+
+  PluginRegistry-1.0.2 (2005/08/30)
+
+    - CVS tag, 'PluginRegistry-1_0_2'.
+
+    - Added release management files.
+
+    - Repaired product directory computation.
+
+  PluginRegistry-1.0.1 (2004/04/28)
+
+    - CVS tag, 'PluginRegistry-1_0_1'.
+
+    - Initial public release


Property changes on: PluginRegistry/branches/1.0/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: PluginRegistry/branches/1.0/COPYRIGHT.txt
===================================================================
--- PluginRegistry/branches/1.0/COPYRIGHT.txt	2005-11-05 20:25:48 UTC (rev 39935)
+++ PluginRegistry/branches/1.0/COPYRIGHT.txt	2005-11-05 20:28:21 UTC (rev 39936)
@@ -0,0 +1,9 @@
+Copyright (c) 2004 Zope Corporation (TM) 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.


Property changes on: PluginRegistry/branches/1.0/COPYRIGHT.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: PluginRegistry/branches/1.0/LICENSE.txt
===================================================================
--- PluginRegistry/branches/1.0/LICENSE.txt	2005-11-05 20:25:48 UTC (rev 39935)
+++ PluginRegistry/branches/1.0/LICENSE.txt	2005-11-05 20:28:21 UTC (rev 39936)
@@ -0,0 +1,54 @@
+Zope Public License (ZPL) Version 2.1
+
+A copyright notice accompanies this license document that
+identifies the copyright holders.
+
+This license has been certified as open source. It has also
+been designated as GPL compatible by the Free Software
+Foundation (FSF).
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the
+following conditions are met:
+
+1. Redistributions in source code must retain the
+   accompanying copyright notice, this list of conditions,
+   and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the accompanying
+   copyright notice, this list of conditions, and the
+   following disclaimer in the documentation and/or other
+   materials provided with the distribution.
+
+3. Names of the copyright holders must not be used to
+   endorse or promote products derived from this software
+   without prior written permission from the copyright
+   holders.
+
+4. The right to distribute this software or to use it for
+   any purpose does not give you the right to use
+   Servicemarks (sm) or Trademarks (tm) of the copyright
+   holders. Use of them is covered by separate agreement
+   with the copyright holders.
+
+5. If any files are modified, you must cause the modified
+   files to carry prominent notices stating that you changed
+   the files and the date of any change.
+
+Disclaimer
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS''
+  AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+  NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+  AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
+  NO EVENT SHALL THE COPYRIGHT HOLDERS BE
+  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+  DAMAGE.
+


Property changes on: PluginRegistry/branches/1.0/LICENSE.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: PluginRegistry/branches/1.0/tests/test_PluginRegistry.py
===================================================================
--- PluginRegistry/branches/1.0/tests/test_PluginRegistry.py	2005-11-05 20:25:48 UTC (rev 39935)
+++ PluginRegistry/branches/1.0/tests/test_PluginRegistry.py	2005-11-05 20:28:21 UTC (rev 39936)
@@ -300,3 +300,8 @@
 
 if __name__ == "__main__":
     unittest.main()
+
+def test_suite():
+    return unittest.TestSuite((
+        unittest.makeSuite( PluginRegistryTests ),
+        ))

Modified: PluginRegistry/branches/1.0/utils.py
===================================================================
--- PluginRegistry/branches/1.0/utils.py	2005-11-05 20:25:48 UTC (rev 39935)
+++ PluginRegistry/branches/1.0/utils.py	2005-11-05 20:28:21 UTC (rev 39936)
@@ -15,6 +15,8 @@
 import os
 import unittest
 
+from Globals import package_home
+
 try:
     from zope.interface import directlyProvides
 except ImportError:
@@ -23,15 +25,9 @@
                                tuple( interfaces )
                              )
 
-product_dir, utils_module_file = os.path.split( __file__ )
+product_dir = package_home( globals() )
+product_prefix = os.path.join( os.path.split(product_dir)[:-1] )
 
-product_prefix = product_dir
-while product_prefix:
-    product_prefix, module = os.path.split( product_prefix )
-    if module == 'Products':
-        break
-
-
 _wwwdir = os.path.join( product_dir, 'www' )
 
 #

Added: PluginRegistry/branches/1.0/version.txt
===================================================================
--- PluginRegistry/branches/1.0/version.txt	2005-11-05 20:25:48 UTC (rev 39935)
+++ PluginRegistry/branches/1.0/version.txt	2005-11-05 20:28:21 UTC (rev 39936)
@@ -0,0 +1 @@
+PluginRegistry-1_0_2


Property changes on: PluginRegistry/branches/1.0/version.txt
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.