[Checkins] SVN: zc.sourcefactory/trunk/ Merge changes from 0.3
branch which cleaned up the buildout, documentation and
Christian Theune
ct at gocept.com
Tue Jun 10 10:57:47 EDT 2008
Log message for revision 87290:
Merge changes from 0.3 branch which cleaned up the buildout, documentation and
provides the changes on the pypi page.
Changed:
U zc.sourcefactory/trunk/CHANGES.txt
U zc.sourcefactory/trunk/buildout.cfg
U zc.sourcefactory/trunk/setup.py
U zc.sourcefactory/trunk/src/zc/sourcefactory/README.txt
-=-
Modified: zc.sourcefactory/trunk/CHANGES.txt
===================================================================
--- zc.sourcefactory/trunk/CHANGES.txt 2008-06-10 14:53:32 UTC (rev 87289)
+++ zc.sourcefactory/trunk/CHANGES.txt 2008-06-10 14:57:38 UTC (rev 87290)
@@ -1,37 +1,39 @@
-=======
Changes
=======
+0.4.0 (unreleased)
+------------------
+
0.3.2 (2008-04-09)
-==================
+------------------
- Fixed scalability bug caused by missing __nonzero__ on ValueMappingSource
0.3.1 (2008-02-12)
-==================
+------------------
- Fixed scalability bug caused by missing __nonzero__ on BasicSourceFactory
0.3.0 (??????????)
-==================
+------------------
- Added class-level defaults for attributes that are declared in the
interfaces to not have the Zope 2 security machinery complain about
them.
-0.2.1 - 2007-07-10
-==================
+0.2.1 (2007-07-10)
+------------------
- Fixed a bug in the contextual token policy that was handling the
resolution of values for a given token incorrectly.
-0.2.0 - 2007-07-10
-==================
+0.2.0 (2007-07-10)
+------------------
- Added a contextual token policy interface that allows getToken and
getValue to access the cotext for contextual sources.
Modified: zc.sourcefactory/trunk/buildout.cfg
===================================================================
--- zc.sourcefactory/trunk/buildout.cfg 2008-06-10 14:53:32 UTC (rev 87289)
+++ zc.sourcefactory/trunk/buildout.cfg 2008-06-10 14:57:38 UTC (rev 87290)
@@ -1,92 +1,7 @@
[buildout]
develop = .
parts = test
-find-links = http://download.zope.org/distribution/
-versions = versions
[test]
recipe = zc.recipe.testrunner
eggs = zc.sourcefactory [test]
-
-[versions]
-RestrictedPython = 3.4.2
-ZConfig = 2.5
-ZODB3 = 3.9.0-dev-r77011
-docutils = 0.4
-pytz = 2007f
-setuptools = 0.6c7
-zc.buildout = 1.0.0b30
-zc.recipe.egg = 1.0.0b6
-zc.recipe.testrunner = 1.0.0b8
-zdaemon = 2.0.0
-zodbcode = 3.4.0b1dev-r75670
-zope.annotation = 3.4.0
-zope.app.applicationcontrol = 3.4-dev-r73715
-zope.app.appsetup = 3.4.0a1
-zope.app.authentication = 3.4.0b1
-zope.app.basicskin = 3.4.0a1
-zope.app.broken = 3.4.0a1
-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.4.0a1
-zope.app.exception = 3.4.0a1
-zope.app.folder = 3.4.0a1
-zope.app.form = 3.4.0b2.dev-r77626
-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.5.0b1
-zope.app.locales = 3.4.0b1.dev-r77033
-zope.app.pagetemplate = 3.4.0b1dev-r75616
-zope.app.principalannotation = 3.4.0a1
-zope.app.publication = 3.4.0a1-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.session = 3.5.0dev-r77333
-zope.app.testing = 3.4.0b1-r78707
-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.0a1
-zope.configuration = 3.4.0b1
-zope.contenttype = 3.4.0a1
-zope.copypastemove = 3.4.0a1
-zope.datetime = 3.4.0
-zope.deferredimport = 3.4.0
-zope.deprecation = 3.4.0
-zope.dottedname = 3.4.0
-zope.dublincore = 3.4.0a1
-zope.event = 3.4.0
-zope.exceptions = 3.4.0b2
-zope.filerepresentation = 3.4.0a1
-zope.formlib = 3.4.0a1
-zope.hookable = 3.4.0
-zope.i18n = 3.4.0b5.dev-r78840
-zope.i18nmessageid = 3.4.0
-zope.interface = 3.4.0
-zope.lifecycleevent = 3.4.0
-zope.location = 3.4.0b2
-zope.minmax = 1.0b2
-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.0b1dev-r77624
-zope.security = 3.4.0b5
-zope.size = 3.4.0
-zope.structuredtext = 3.4.0
-zope.tal = 3.4.0b1
-zope.tales = 3.4.0a1
-zope.testing = 3.5.1
-zope.thread = 3.4
-zope.traversing = 3.5.0a1.dev-r78730
Modified: zc.sourcefactory/trunk/setup.py
===================================================================
--- zc.sourcefactory/trunk/setup.py 2008-06-10 14:53:32 UTC (rev 87289)
+++ zc.sourcefactory/trunk/setup.py 2008-06-10 14:57:38 UTC (rev 87290)
@@ -10,10 +10,12 @@
description="An easy way to create custom Zope 3 sources.",
- long_description=open(
+ long_description=(open(
os.path.join(os.path.dirname(__file__),
"src", "zc", "sourcefactory", "README.txt"),
- "r").read(),
+ "r").read() + "\n\n" +
+ open(os.path.join(os.path.dirname(__file__), "CHANGES.txt"),
+ "r").read()),
packages=find_packages('src'),
package_dir={'':'src'},
Modified: zc.sourcefactory/trunk/src/zc/sourcefactory/README.txt
===================================================================
--- zc.sourcefactory/trunk/src/zc/sourcefactory/README.txt 2008-06-10 14:53:32 UTC (rev 87289)
+++ zc.sourcefactory/trunk/src/zc/sourcefactory/README.txt 2008-06-10 14:57:38 UTC (rev 87290)
@@ -16,7 +16,7 @@
Simple case
------------
+===========
In the most simple case, you only have to provide a method that returns a list
of values and derive from `BasicSourceFactory`:
@@ -44,7 +44,7 @@
Contextual sources
-------------------
+==================
Sometimes we need context to determine the values. In this case, the
`getValues`-method gets a parameter `context`.
@@ -88,7 +88,7 @@
Filtering
----------
+=========
Additional to providing the `getValues`-method you can also provide a
`filterValue`-method that will allow you to reduce the items from the list,
@@ -130,7 +130,7 @@
Scaling
--------
+=======
Sometimes the number of items available through a source is very large. So
large that you only want to access them if absolutely neccesary. One such
@@ -151,7 +151,7 @@
Simple case
------------
+===========
In the most simple case, you only have to provide a method that returns a list
of values and derive from `BasicSourceFactory`:
@@ -179,7 +179,7 @@
WARNING about the standard adapters for ITerms
-----------------------------------------------
+==============================================
The standard adapters for ITerms are only suitable if the value types returned
by your `getValues` function are homogenous. Mixing integers, persistent
More information about the Checkins
mailing list