[Zope-Checkins] SVN: Zope/trunk/ Finished the move of five.formlib to an extra package and removed it from Zope 2 itself. Upgrade notes have been added to the news section of the release notes.

Hanno Schlichting hannosch at hannosch.eu
Thu Jan 14 16:39:02 EST 2010


Log message for revision 108132:
  Finished the move of five.formlib to an extra package and removed it from Zope 2 itself. Upgrade notes have been added to the news section of the release notes.
  

Changed:
  U   Zope/trunk/ZOPE_APP_DEPENDENCIES.rst
  U   Zope/trunk/buildout.cfg
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/doc/WHATSNEW.rst
  U   Zope/trunk/setup.py
  U   Zope/trunk/src/Products/Five/browser/adding.py
  U   Zope/trunk/src/Products/Five/configure.zcml
  U   Zope/trunk/src/Products/Five/doc/directives.txt
  D   Zope/trunk/src/Products/Five/form/
  D   Zope/trunk/src/Products/Five/formlib/
  U   Zope/trunk/src/Products/Five/meta.zcml
  U   Zope/trunk/versions.cfg

-=-
Modified: Zope/trunk/ZOPE_APP_DEPENDENCIES.rst
===================================================================
--- Zope/trunk/ZOPE_APP_DEPENDENCIES.rst	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/ZOPE_APP_DEPENDENCIES.rst	2010-01-14 21:39:01 UTC (rev 108132)
@@ -121,8 +121,8 @@
 - [X] zope.copypastemove
       * zope.container
 
-- [ ] zope.datetime
-      o zope.app.form
+- [X] zope.datetime
+      * zope.app.form
       * zope.dublincore
 
 - [X] zope.dublincore
@@ -135,7 +135,7 @@
 - [X] zope.authentication (seems to be used for some ILogin related stuff)
       * zope.publisher
 
-- [ ] zope.broken (this is really just one interface, merge into ZODB3!)
+- [ ] zope.broken (this is merged into ZODB3 starting with the unreleased 3.10)
       o zope.container
 
 - [X] zope.cachedescriptors
@@ -166,7 +166,6 @@
 
 - [ ] zope.proxy
       o zope.annotation
-      o zope.app.form
       o zope.browserresource
       o zope.component
       o zope.deferredimport
@@ -177,14 +176,12 @@
       o zope.traversing
 
 - [ ] zope.security
-      o zope.app.form
       o zope.authentication
       o zope.browsermenu
       o zope.browserpage
       o zope.browserresource
       o zope.component
       o zope.container
-      o zope.formlib
       o zope.pagetemplate
       o zope.ptresource
       o zope.publisher

Modified: Zope/trunk/buildout.cfg
===================================================================
--- Zope/trunk/buildout.cfg	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/buildout.cfg	2010-01-14 21:39:01 UTC (rev 108132)
@@ -45,7 +45,6 @@
     ExtensionClass
     Persistence
     RestrictedPython
-    five.formlib
     tempstorage
     zope.browser
     zope.browsermenu

Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/doc/CHANGES.rst	2010-01-14 21:39:01 UTC (rev 108132)
@@ -11,6 +11,10 @@
 Restructuring
 +++++++++++++
 
+- Finished the move of five.formlib to an extra package and removed it from
+  Zope 2 itself. Upgrade notes have been added to the news section of the
+  release notes.
+
 - Moved Products.Sessions APIs from ``SessionInterfaces`` to ``interfaces``,
   leaving behind the old module / names for backward compatibility.
 

Modified: Zope/trunk/doc/WHATSNEW.rst
===================================================================
--- Zope/trunk/doc/WHATSNEW.rst	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/doc/WHATSNEW.rst	2010-01-14 21:39:01 UTC (rev 108132)
@@ -8,7 +8,23 @@
 about all minor new features and bugs being solved in this release.
 
 
-News!
------
+Optional Formlib support
+------------------------
 
-No major new features are available in this version yet.
+Zope 2 made a number of frameworks available through its integration layer
+Products.Five. Among these has been direct support for an automated form
+generation framework called zope.formlib with its accompanying widget library
+zope.app.form.
+
+This form generation framework has seen only minor adoption throughout the Zope
+community and more popular alternatives like z3c.form exist. To reflect this
+status Zope 2 no longer directly contains formlib support.
+
+If you rely on formlib, you need to add a dependency to the new five.formlib
+distribution and change all related imports pointing to Products.Five.form or
+Products.Five.formlib to point to the new package instead.
+
+In order to ease the transition, five.formlib has been backported to the 2.12
+release series. Starting in 2.12.3 you can already use the new five.formlib
+package, but backwards compatibility imports are left in place in Products.Five.
+This allows you to easily adopt your packages to work with both 2.12 and 2.13.

Modified: Zope/trunk/setup.py
===================================================================
--- Zope/trunk/setup.py	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/setup.py	2010-01-14 21:39:01 UTC (rev 108132)
@@ -94,7 +94,6 @@
       'ZConfig',
       'ZODB3',
       'docutils',
-      'five.formlib',
       'pytz',
       'setuptools',
       'tempstorage',

Modified: Zope/trunk/src/Products/Five/browser/adding.py
===================================================================
--- Zope/trunk/src/Products/Five/browser/adding.py	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/src/Products/Five/browser/adding.py	2010-01-14 21:39:01 UTC (rev 108132)
@@ -90,8 +90,7 @@
     def nextURL(self):
         """See zope.browser.interfaces.IAdding"""
         # XXX this is definitely not right for all or even most uses
-        # of Five, but can be overridden by an AddView subclass, using
-        # the class attribute of a zcml:addform directive
+        # of Five, but can be overridden by an AddView subclass
         return absoluteURL(self.context, self.request) + '/manage_main'
 
     # set in BrowserView.__init__

Modified: Zope/trunk/src/Products/Five/configure.zcml
===================================================================
--- Zope/trunk/src/Products/Five/configure.zcml	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/src/Products/Five/configure.zcml	2010-01-14 21:39:01 UTC (rev 108132)
@@ -10,8 +10,6 @@
 
   <include package=".component" />
   <include package=".browser" />
-  <include package=".form" />
-  <include package=".formlib" />
   <include package=".skin" />
   <include package=".utilities" />
   <include package=".viewlet" />

Modified: Zope/trunk/src/Products/Five/doc/directives.txt
===================================================================
--- Zope/trunk/src/Products/Five/doc/directives.txt	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/src/Products/Five/doc/directives.txt	2010-01-14 21:39:01 UTC (rev 108132)
@@ -66,16 +66,6 @@
 Declare the name of the view that should be used for the default when viewing
 the object; i.e. when the object is traversed to without a view.
 
-editform
---------
-
-Create an edit form based on a schema.
-
-addform
---------
-
-Create an add form based on a schema.
-
 menu
 ----
 

Modified: Zope/trunk/src/Products/Five/meta.zcml
===================================================================
--- Zope/trunk/src/Products/Five/meta.zcml	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/src/Products/Five/meta.zcml	2010-01-14 21:39:01 UTC (rev 108132)
@@ -8,7 +8,6 @@
   <include package="zope.i18n" file="meta.zcml" />
 
   <include package=".browser" file="meta.zcml" />
-  <include package=".form" file="meta.zcml" />
 
   <meta:directives namespace="http://namespaces.zope.org/zope">
 

Modified: Zope/trunk/versions.cfg
===================================================================
--- Zope/trunk/versions.cfg	2010-01-14 21:31:36 UTC (rev 108131)
+++ Zope/trunk/versions.cfg	2010-01-14 21:39:01 UTC (rev 108132)
@@ -8,7 +8,6 @@
 distribute = 0.6.10
 docutils = 0.6
 ExtensionClass = 2.11.3
-five.formlib = 1.0.2
 Jinja2 = 2.2.1
 mechanize = 0.1.11
 Persistence = 2.11.1
@@ -30,7 +29,6 @@
 zdaemon = 2.0.4
 ZODB3 = 3.9.4
 zope.annotation = 3.5.0
-zope.app.form = 3.12.1
 zope.broken = 3.6.0
 zope.browser = 1.2
 zope.browsermenu = 3.9.0
@@ -47,7 +45,6 @@
 zope.event = 3.4.1
 zope.exceptions = 3.5.2
 zope.filerepresentation = 3.6.0
-zope.formlib = 3.10.0
 zope.i18n = 3.7.2
 zope.i18nmessageid = 3.5.0
 zope.interface = 3.5.3



More information about the Zope-Checkins mailing list