[Checkins] SVN: zope.pluggableauth/trunk/ Changed version to 1.0.1dev.

Souheil CHELFOUH souheil at chelfouh.com
Thu Feb 11 13:17:23 EST 2010


Log message for revision 108927:
  Changed version to 1.0.1dev.
  Moved the adapters registration to a new zcml file, to avoid duplication in zope.app.authentication.
  

Changed:
  U   zope.pluggableauth/trunk/CHANGES.txt
  U   zope.pluggableauth/trunk/setup.py
  U   zope.pluggableauth/trunk/src/zope/pluggableauth/configure.zcml
  A   zope.pluggableauth/trunk/src/zope/pluggableauth/principalfactories.zcml

-=-
Modified: zope.pluggableauth/trunk/CHANGES.txt
===================================================================
--- zope.pluggableauth/trunk/CHANGES.txt	2010-02-11 17:09:54 UTC (rev 108926)
+++ zope.pluggableauth/trunk/CHANGES.txt	2010-02-11 18:17:22 UTC (rev 108927)
@@ -2,10 +2,12 @@
 Changes
 =======
 
-1.1 (unreleased)
-----------------
+1.0.1 (unreleased)
+------------------
 
-* ...
+* Adapters are now declared in a new ZCML file :
+  `principalfactories.zcml`. This avoids duplication errors in
+  ``zope.app.authentication``.
 
 
 1.0 (2010-02-05)

Modified: zope.pluggableauth/trunk/setup.py
===================================================================
--- zope.pluggableauth/trunk/setup.py	2010-02-11 17:09:54 UTC (rev 108926)
+++ zope.pluggableauth/trunk/setup.py	2010-02-11 18:17:22 UTC (rev 108927)
@@ -30,7 +30,7 @@
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup(name='zope.pluggableauth',
-      version = '1.1dev',
+      version = '1.0.1dev',
       author='Zope Corporation and Contributors',
       author_email='zope-dev at zope.org',
       description='Pluggable Authentication Utility',

Modified: zope.pluggableauth/trunk/src/zope/pluggableauth/configure.zcml
===================================================================
--- zope.pluggableauth/trunk/src/zope/pluggableauth/configure.zcml	2010-02-11 17:09:54 UTC (rev 108926)
+++ zope.pluggableauth/trunk/src/zope/pluggableauth/configure.zcml	2010-02-11 18:17:22 UTC (rev 108927)
@@ -1,10 +1,8 @@
 <configure
     xmlns="http://namespaces.zope.org/zope"
-    xmlns:browser="http://namespaces.zope.org/browser"
     i18n_domain="zope">
 
-  <adapter factory=".factories.FoundPrincipalFactory" />
-  <adapter factory=".factories.AuthenticatedPrincipalFactory" />
+  <include file="principalfactories.zcml" />
 
   <include package=".plugins" file="session.zcml" />
   <include package=".plugins" file="httpplugins.zcml" />

Added: zope.pluggableauth/trunk/src/zope/pluggableauth/principalfactories.zcml
===================================================================
--- zope.pluggableauth/trunk/src/zope/pluggableauth/principalfactories.zcml	                        (rev 0)
+++ zope.pluggableauth/trunk/src/zope/pluggableauth/principalfactories.zcml	2010-02-11 18:17:22 UTC (rev 108927)
@@ -0,0 +1,8 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    i18n_domain="zope">
+
+  <adapter factory=".factories.FoundPrincipalFactory" />
+  <adapter factory=".factories.AuthenticatedPrincipalFactory" />
+
+</configure>



More information about the checkins mailing list