[Checkins] SVN: zope.security/trunk/ Release engineering.

Tres Seaver tseaver at palladion.com
Wed Apr 5 12:50:23 EDT 2006


Log message for revision 66560:
  Release engineering.

Changed:
  _U  zope.security/trunk/
  U   zope.security/trunk/CHANGES.txt
  U   zope.security/trunk/INSTALL.txt
  U   zope.security/trunk/README.txt
  _U  zope.security/trunk/include/
  U   zope.security/trunk/setup.py
  _U  zope.security/trunk/src/
  _U  zope.security/trunk/src/zope/
  U   zope.security/trunk/test.py

-=-

Property changes on: zope.security/trunk
___________________________________________________________________
Name: svn:ignore
   + bin
build
dist
lib
setup.cfg


Modified: zope.security/trunk/CHANGES.txt
===================================================================
--- zope.security/trunk/CHANGES.txt	2006-04-05 16:16:35 UTC (rev 66559)
+++ zope.security/trunk/CHANGES.txt	2006-04-05 16:50:23 UTC (rev 66560)
@@ -1,32 +1,55 @@
-zope.XXX Package Changelog
-==========================
+zope.security Package Changelog
+===============================
 
-zope.XXX version 3.2.1 (2006/03/26)
------------------------------------
+zope.security version 3.2.0 (2006/01/05)
+----------------------------------------
 
-- Corresponds to the verison of the zope.XXX package shipped as part of
-  the Zope 3.2.1 release.
+- Corresponds to the verison of the zope.security package shipped as part of
+  the Zope 3.2.0 release.
 
-zope.XXX version 3.2.0 (2006/01/05)
------------------------------------
+- Removed deprecated helper functions, 'proxy.trustedRemoveSecurityProxy'
+  and 'proxy.getProxiedObject'.
 
-- Corresponds to the verison of the zope.XXX package shipped as part of
-  the Zope 3.2.0 release.
+- Made handling of 'management.{end,restore}Interaction' more careful
+  w.r.t. edge cases.
 
-zope.XXX version 3.1.0 (2005/10/03)
------------------------------------
+- Made behavior of 'canWrite' consistent with 'canAccess':  if 'canAccess'
+  does not raise 'ForbiddenAttribute', then neither will 'canWrite'.  See:
+  http://www.zope.org/Collectors/Zope3-dev/506
 
-- Corresponds to the verison of the zope.XXX package shipped as part of
+- Code style / documentation / test fixes.
+
+zope.security version 3.1.0 (2005/10/03)
+----------------------------------------
+
+- Added support for use of the new Python 2.4 datatypes, 'set' and
+  'frozenset', within checked code.
+
+- C security proxy acquired a dependency on the 'proxy.h' header from the
+  'zope.proxy' package.
+  
+  XXX: the spelling of the '#include' is bizarre!  It seems to be related
+       to 'zpkg'-based builds, and should likely be revisited.  For the
+       moment, I have linked in the 'zope.proxy' package into our own
+       'include' directory.  See the subversion checkin:
+       http://svn.zope.org/Zope3/?rev=37882&view=rev
+
+- Updated checker to avoid re-proxying objects which have and explicit
+  '__Security_checker__' assigned.
+
+- Corresponds to the verison of the zope.security package shipped as part of
   the Zope 3.1.0 release.
 
-zope.XXX version 3.0.1 (2005/07/27)
------------------------------------
+- Clarified contract of 'IChecker' to indicate that its 'check*' methods
+  may raise only 'Forbidden' or 'Unauthorized' exceptions.
 
-- Corresponds to the verison of the zope.XXX package shipped as part of
-  the Zope X3.0.1 release.
+- Added interfaces, ('IPrincipal', 'IGroupAwarePrincipal', 'IGroup', and
+  'IPermission') specifying contracts of components in the security framework.
 
-zope.XXX version 3.0.0 (2004/11/07)
------------------------------------
+- Code style / documentation / test fixes.
 
-- Corresponds to the verison of the zope.XXX package shipped as part of
+zope.security version 3.0.0 (2004/11/07)
+----------------------------------------
+
+- Corresponds to the verison of the zope.security package shipped as part of
   the Zope X3.0.0 release.

Modified: zope.security/trunk/INSTALL.txt
===================================================================
--- zope.security/trunk/INSTALL.txt	2006-04-05 16:16:35 UTC (rev 66559)
+++ zope.security/trunk/INSTALL.txt	2006-04-05 16:50:23 UTC (rev 66560)
@@ -26,9 +26,9 @@
 
 Check out the package from subversion:
 
-  $ svn co svn+ssh://svn.zope.org/repos/main/zope.XXX/trunk \
-    src/zope.XXX
-  $ cd src/zope.XXX
+  $ svn co svn+ssh://svn.zope.org/repos/main/zope.security/trunk \
+    src/zope.security
+  $ cd src/zope.security
 
 Install it as a "devlopment egg" (which also installs its "hard"
 dependencies):
@@ -67,8 +67,8 @@
 
 You can also install it from a source distribution:
 
-  $ /path/to/easy_install --find-links="...." -eb src zope.XXX
-  $ cd src/zope.XXX
+  $ /path/to/easy_install --find-links="...." -eb src zope.security
+  $ cd src/zope.security
   $ /path/to/your/python setup.py devel
 
 
@@ -78,6 +78,6 @@
 Install the package as a "binary egg" (which also installs its "hard"
 dependencies):
 
-  $ /path/to/easy_install --find-links="...." zope.XXX
+  $ /path/to/easy_install --find-links="...." zope.security
 
 

Modified: zope.security/trunk/README.txt
===================================================================
--- zope.security/trunk/README.txt	2006-04-05 16:16:35 UTC (rev 66559)
+++ zope.security/trunk/README.txt	2006-04-05 16:50:23 UTC (rev 66560)
@@ -1,11 +1,15 @@
-zope.XXX Package Readme
+zope.security Package Readme
 =======================
 
 Overview
 --------
 
-Lorem ipsum delorem.
+The Security framework provides a generic mechanism to implement security
+policies on Python objects.
 
+See 'src/zope/security/README.txt'.
+
+
 Changes
 -------
 
@@ -22,16 +26,16 @@
 
 - Subversion browser:
 
-  http://svn.zope.org/zope.XXX/
+  http://svn.zope.org/zope.security/
 
 - Read-only Subversion checkout:
 
-  $ svn co svn://svn.zope.org/repos/main/zope.XXX/trunk
+  $ svn co svn://svn.zope.org/repos/main/zope.security/trunk
 
 - Writable Subversion checkout:
 
-  $ svn co svn://svn.zope.org/repos/main/zope.XXX/trunk
+  $ svn co svn://svn.zope.org/repos/main/zope.security/trunk
 
-- Note that the 'src/zope/XXX' package is acutally a 'svn:externals' link
+- Note that the 'src/zope/security' package is acutally a 'svn:externals' link
   to the corresponding package in the Zope3 trunk (or to a specific tag,
   for released versions of the package).


Property changes on: zope.security/trunk/include
___________________________________________________________________
Name: svn:externals
   - proxy svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/proxy

   + zope.proxy svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/proxy


Modified: zope.security/trunk/setup.py
===================================================================
--- zope.security/trunk/setup.py	2006-04-05 16:16:35 UTC (rev 66559)
+++ zope.security/trunk/setup.py	2006-04-05 16:50:23 UTC (rev 66560)
@@ -1,6 +1,6 @@
 ##############################################################################
 #
-# Copyright (c) 2004 Zope Corporation and Contributors.
+# Copyright (c) 2006 Zope Corporation and Contributors.
 # All Rights Reserved.
 #
 # This software is subject to the provisions of the Zope Public License,
@@ -11,7 +11,7 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-"""Setup for zope.i18nmessageid package
+"""Setup for zope.security package
 
 $Id$
 """
@@ -23,27 +23,42 @@
 except ImportError, e:
     from distutils.core import setup, Extension
 
-setup(name='zope.XXX',
+setup(name='zope.security',
       version='1.0',
-      url='http://svn.zope.org/zope.XXX',
+      url='http://svn.zope.org/zope.security',
       license='ZPL 2.1',
-      description='XXX',
+      description='Zope3 Security Architecture',
       author='Zope Corporation and Contributors',
       author_email='zope3-dev at zope.org',
-      long_description='',
+      long_description='The Security framework provides a generic mechanism '
+                       'to implement security policies on Python objects.',
       
-      packages=['zope', 'zope.XXX'],
+      packages=['zope',
+                'zope.security',
+                'zope.security.untrustedpython',
+               ],
       package_dir = {'': os.path.join(os.path.dirname(__file__), 'src')},
 
-##       ext_modules=[Extension("zope.XXX._zope_XXX",
-##                              [os.path.join('src', 'zope', 'XXX',
-##                                            "_zope_XXX.c")
-##                               ]),
-##                    ],
+      ext_modules=[Extension("zope.security._proxy",
+                             [os.path.join('src', 'zope', 'security',
+                                           "_proxy.c")
+                              ], include_dirs=['include']),
+                   Extension("zope.security._zope_security_checker",
+                             [os.path.join('src', 'zope', 'security',
+                                           "_zope_security_checker.c")
+                              ]),
+                   ],
 
       namespace_packages=['zope',],
       tests_require = ['zope.testing'],
-      install_requires=['zope.deprecation'],
+      install_requires=['pytz',
+                        'zope.exceptions',
+                        'zope.interface',
+                        'zope.proxy',
+                        'zope.schema',
+                        'zope.thread',
+                       ],
+      extras_require = {'untrustedpython': ["RestrictedPython"]},
       include_package_data = True,
 
       zip_safe = False,


Property changes on: zope.security/trunk/src
___________________________________________________________________
Name: svn:ignore
   + zope.security.egg-info



Property changes on: zope.security/trunk/src/zope
___________________________________________________________________
Name: svn:externals
   - 

   + security svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/security


Modified: zope.security/trunk/test.py
===================================================================
--- zope.security/trunk/test.py	2006-04-05 16:16:35 UTC (rev 66559)
+++ zope.security/trunk/test.py	2006-04-05 16:50:23 UTC (rev 66560)
@@ -28,9 +28,10 @@
 
 defaults = [
     '--path', src,
-    '--package', 'zope.i18nmessageid',
+    '--package', 'zope.security',
     '--tests-pattern', '^tests$',
     ]
 
+# Tests of 'untrusted' stuff require RestrictedPython.
 sys.exit(testrunner.run(defaults))
 



More information about the Checkins mailing list