[Checkins] SVN: grok/branches/0.10/ Update the 0.10 maintenance branch to work with pinned versions too.

Jan-Wijbrand Kolman janwijbrand at gmail.com
Fri Oct 5 10:29:22 EDT 2007


Log message for revision 80651:
  Update the 0.10 maintenance branch to work with pinned versions too.
  
  

Changed:
  U   grok/branches/0.10/buildout.cfg
  U   grok/branches/0.10/src/grok/admin/objectinfo.txt
  U   grok/branches/0.10/src/grok/ftests/security/handle_exception.py
  U   grok/branches/0.10/src/grok/ftests/security/require.py
  A   grok/branches/0.10/versions.cfg

-=-
Modified: grok/branches/0.10/buildout.cfg
===================================================================
--- grok/branches/0.10/buildout.cfg	2007-10-05 14:25:57 UTC (rev 80650)
+++ grok/branches/0.10/buildout.cfg	2007-10-05 14:29:22 UTC (rev 80651)
@@ -2,8 +2,8 @@
 develop = . doc grokwiki
 parts = docs grokwiki zopectl data test
 find-links = http://download.zope.org/distribution/
-index = http://download.zope.org/ppix
-versions = release-0.10
+extends = versions.cfg
+versions = versions
 
 [release-0.10]
 ZODB3 = 3.8.0b2
@@ -57,5 +57,5 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = grok 
+eggs = grok
 defaults = ['--tests-pattern', '^f?tests$', '-v']

Modified: grok/branches/0.10/src/grok/admin/objectinfo.txt
===================================================================
--- grok/branches/0.10/src/grok/admin/objectinfo.txt	2007-10-05 14:25:57 UTC (rev 80650)
+++ grok/branches/0.10/src/grok/admin/objectinfo.txt	2007-10-05 14:29:22 UTC (rev 80651)
@@ -2,7 +2,7 @@
 Object Infos
 ============
 
-Retrieve information about objects. 
+Retrieve information about objects.
 
 ObjectInfos are used by the Grok object browser to retrieve the data
 displayed in the ``inspect.html`` view. See inspect.txt to learn more
@@ -31,7 +31,7 @@
 
 An ObjectInfo's job is it, to find out as much as possible about
 Manfred. We create an ObjectInfo by giving the object to examine as
-parameter: 
+parameter:
 
   >>> from grok.admin.objectinfo import ObjectInfo
   >>> info = ObjectInfo(manfred)
@@ -334,7 +334,7 @@
 directly provided ones.
 
   >>> root_info.getProvidedInterfaces()
-  (<InterfaceClass zope.app.folder.interfaces.IFolder>, <InterfaceClass persistent.interfaces.IPersistent>, <InterfaceClass zope.app.component.interfaces.IPossibleSite>, <InterfaceClass zope.app.container.interfaces.IContained>)
+  (<InterfaceClass zope.app.folder.interfaces.IFolder>, <InterfaceClass persistent.interfaces.IPersistent>, <InterfaceClass zope.location.interfaces.IPossibleSite>, <InterfaceClass zope.app.container.interfaces.IContained>)
 
   >>> sweethome_info.getProvidedInterfaces()
   (<InterfaceClass zope.annotation.interfaces.IAttributeAnnotatable>, <InterfaceClass zope.app.container.interfaces.IContainer>, <InterfaceClass zope.app.container.interfaces.IContained>, <InterfaceClass persistent.interfaces.IPersistent>)
@@ -370,13 +370,13 @@
 debugging happens.
 
 Attributes are given as an iterator over dicts, each dict containing
-the keys 
+the keys
 
 - ``name``: name of attribute.
 
 - ``value``: value of attribute as string.
 
-- ``value_linkable``: 
+- ``value_linkable``:
 
   a boolean indicating, whether the attribute is reachable directly,
   for instance calling a special URL. Linkable values can be examined
@@ -397,7 +397,7 @@
   or ``None``.
 
 - ``read_perm`` and ``write_perm``: permissions to read/write the
-  attribute. 
+  attribute.
 
 To get the attributes as a list, you can use ``list()`` as shown
 below.
@@ -413,7 +413,7 @@
   True
 
 And the ``data`` attribute should have eight entries (as described
-above): 
+above):
 
   >>> data_attr = [x for x in attrs if x['name'] == 'data'][0]
   >>> len(data_attr)
@@ -448,7 +448,7 @@
   True
 
 There are no special permissions defined to read or write the 'data'
-attribute. 
+attribute.
 
   >>> data_attr['read_perm'] is None
   True
@@ -465,7 +465,7 @@
 be of interest, when debugging happens.
 
 Methods are given as an iterator over dicts, each dict containing
-the keys 
+the keys
 
 - ``name``: the name of the method.
 
@@ -477,7 +477,7 @@
   any).
 
 - ``read_perm`` and ``write_perm``: permissions to read/write the
-  method. 
+  method.
 
 We first get the methods of the root object. Because ``getMethods``
 returns an iterable, we form a list, using ``list()``:

Modified: grok/branches/0.10/src/grok/ftests/security/handle_exception.py
===================================================================
--- grok/branches/0.10/src/grok/ftests/security/handle_exception.py	2007-10-05 14:25:57 UTC (rev 80650)
+++ grok/branches/0.10/src/grok/ftests/security/handle_exception.py	2007-10-05 14:29:22 UTC (rev 80651)
@@ -10,7 +10,8 @@
   >>> browser = Browser()
   >>> browser.open("http://localhost/@@cave")
   Traceback (most recent call last):
-  HTTPError: HTTP Error 500: Internal Server Error
+  ...
+  httperror_seek_wrapper: HTTP Error 500: Internal Server Error
   >>> browser.contents
   "It's gone!"
 

Modified: grok/branches/0.10/src/grok/ftests/security/require.py
===================================================================
--- grok/branches/0.10/src/grok/ftests/security/require.py	2007-10-05 14:25:57 UTC (rev 80650)
+++ grok/branches/0.10/src/grok/ftests/security/require.py	2007-10-05 14:29:22 UTC (rev 80651)
@@ -9,7 +9,8 @@
   >>> browser = Browser()
   >>> browser.open("http://localhost/@@cavepainting")
   Traceback (most recent call last):
-  HTTPError: HTTP Error 401: Unauthorized
+  ...
+  httperror_seek_wrapper: HTTP Error 401: Unauthorized
 
 When we log in (e.g. as a manager), we can access the view just fine:
 

Copied: grok/branches/0.10/versions.cfg (from rev 80641, grok/trunk/versions.cfg)
===================================================================
--- grok/branches/0.10/versions.cfg	                        (rev 0)
+++ grok/branches/0.10/versions.cfg	2007-10-05 14:29:22 UTC (rev 80651)
@@ -0,0 +1,104 @@
+[versions]
+ClientForm = 0.2.7
+CPygments = 0.8.1
+RestrictedPython = 3.4.2
+ZConfig = 2.5
+ZODB3 = 3.8.0b2
+docutils = 0.4
+martian = 0.9
+mechanize = 0.1.7b
+pytz = 2007g
+simplejson = 1.7.1
+z3c.flashmessage = 1.0b2
+zc.catalog = 1.2b
+zc.recipe.egg = 1.0.0b6
+zc.recipe.filestorage = 1.0a5
+zc.recipe.testrunner = 1.0.0b8
+zc.zope3recipes = 0.6b1
+zdaemon = 2.0.0
+zodbcode = 3.4.0b1dev-r75670
+zope.annotation = 3.4.0
+zope.app.apidoc = 3.4.0a1
+zope.app.applicationcontrol = 3.4.1
+zope.app.appsetup = 3.4.1
+zope.app.authentication = 3.4.0a1
+zope.app.basicskin = 3.4.0a1
+zope.app.broken = 3.4.0a1
+zope.app.catalog = 3.4.0a2
+zope.app.component = 3.4.0b3
+zope.app.container = 3.5.0a1
+zope.app.content = 3.4.0a1
+zope.app.debug = 3.4.0a1
+zope.app.dependable = 3.4.0a1
+zope.app.error = 3.5.1
+zope.app.exception = 3.4.0a1
+zope.app.file = 3.4.0a1
+zope.app.folder = 3.4.0a1
+zope.app.form = 3.4.0b2
+zope.app.generations = 3.4.0a1
+zope.app.http = 3.4.0a1
+zope.app.i18n = 3.4.0a1
+zope.app.interface = 3.4.0a1
+zope.app.intid = 3.4.0a2
+zope.app.keyreference = 3.4.0a1
+zope.app.locales = 3.4.0b1.dev-r77033
+zope.app.onlinehelp = 3.4.0a1
+zope.app.pagetemplate = 3.4.0
+zope.app.preference = 3.4.0a1
+zope.app.principalannotation = 3.4.0a1
+zope.app.publication = 3.4.2
+zope.app.publisher = 3.5.0a2
+zope.app.renderer = 3.4.0a1
+zope.app.rotterdam = 3.4.0a1
+zope.app.schema = 3.4.0a1
+zope.app.security = 3.4.0a1-1
+zope.app.securitypolicy = 3.4.0a1
+zope.app.server = 3.4.0b1dev-r75388
+zope.app.session = 3.4.0a1
+zope.app.skins = 3.4.0a1
+zope.app.testing = 3.4.0b1-r78707
+zope.app.tree = 3.4.0a1
+zope.app.twisted = 3.4.0b1-r76119
+zope.app.wsgi = 3.4.0
+zope.app.zapi = 3.4.0a1
+zope.app.zcmlfiles = 3.4.0a1
+zope.app.zopeappgenerations = 3.4.0a1
+zope.cachedescriptors = 3.4.0
+zope.component = 3.4.0
+zope.configuration = 3.4.0
+zope.contenttype = 3.4.0
+zope.copypastemove = 3.4.0
+zope.datetime = 3.4.0
+zope.deferredimport = 3.4.0
+zope.deprecation = 3.4.0
+zope.dottedname = 3.4.2
+zope.dublincore = 3.4.0
+zope.error = 3.5.1
+zope.event = 3.4.0
+zope.exceptions = 3.4.0
+zope.filerepresentation = 3.4.0
+zope.formlib = 3.4.0
+zope.hookable = 3.4.0
+zope.i18n = 3.4.0b5.dev-r78840
+zope.i18nmessageid = 3.4.0a1
+zope.index = 3.4.1
+zope.interface = 3.4.0
+zope.lifecycleevent = 3.4.0
+zope.location = 3.4.0b2
+zope.minmax = 1.0
+zope.modulealias = 3.4.0a1
+zope.pagetemplate = 3.4.0a1
+zope.proxy = 3.4.0
+zope.publisher = 3.5.0a1.dev-r78838
+zope.schema = 3.4.0
+zope.security = 3.4.0b5
+zope.server = 3.5.0a2
+zope.session = 3.4.1
+zope.size = 3.4.0
+zope.structuredtext = 3.4.0
+zope.tal = 3.4.0b1
+zope.tales = 3.4.0a1
+zope.testbrowser = 3.4.1
+zope.testing = 3.5.1
+zope.thread = 3.4
+zope.traversing = 3.5.0a1.dev-r78730



More information about the Checkins mailing list