[Zope-Checkins] SVN: Zope/branches/2.12/versions.cfg ZODB 3.9.0b2
Log message for revision 100877: ZODB 3.9.0b2 Changed: U Zope/branches/2.12/versions.cfg -=- Modified: Zope/branches/2.12/versions.cfg === --- Zope/branches/2.12/versions.cfg 2009-06-11 17:15:39 UTC (rev 100876) +++ Zope/branches/2.12/versions.cfg 2009-06-11 17:28:08 UTC (rev 100877) @@ -13,7 +13,7 @@ ClientForm = 0.2.10 RestrictedPython = 3.5.1 ZConfig = 2.6.1 -ZODB3 = 3.9.0b1 +ZODB3 = 3.9.0b2 docutils = 0.5 lxml = 2.2 mechanize = 0.1.11 ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.12/doc/CHANGES.rst updated to ZODB 3.0.0b2
Log message for revision 100878: updated to ZODB 3.0.0b2 Changed: U Zope/branches/2.12/doc/CHANGES.rst -=- Modified: Zope/branches/2.12/doc/CHANGES.rst === --- Zope/branches/2.12/doc/CHANGES.rst 2009-06-11 17:28:08 UTC (rev 100877) +++ Zope/branches/2.12/doc/CHANGES.rst 2009-06-11 17:29:27 UTC (rev 100878) @@ -5,6 +5,18 @@ Change information for previous versions of Zope can be found in the file HISTORY.txt. + +Zope 2.12.0 b3 (unreleased) +--- + +Features Added +++ + +- Updated packages: + + * ZODB 3.9.0b2 + + Zope 2.12.0 b2 (2009/05/27) --- ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/versions.cfg ZODB==3.9.0b2
Log message for revision 100879: ZODB==3.9.0b2 Changed: U Zope/trunk/versions.cfg -=- Modified: Zope/trunk/versions.cfg === --- Zope/trunk/versions.cfg 2009-06-11 17:29:27 UTC (rev 100878) +++ Zope/trunk/versions.cfg 2009-06-11 17:29:59 UTC (rev 100879) @@ -13,7 +13,7 @@ ClientForm = 0.2.10 RestrictedPython = 3.5.1 ZConfig = 2.6.1 -ZODB3 = 3.9.0b1 +ZODB3 = 3.9.0b2 docutils = 0.5 lxml = 2.2 mechanize = 0.1.11 ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/ Updated to zope.testing = 3.7.5 and ZConfig = 2.7.0
Log message for revision 100891: Updated to zope.testing = 3.7.5 and ZConfig = 2.7.0 Changed: U Zope/trunk/doc/CHANGES.rst U Zope/trunk/versions.cfg -=- Modified: Zope/trunk/doc/CHANGES.rst === --- Zope/trunk/doc/CHANGES.rst 2009-06-11 19:46:25 UTC (rev 100890) +++ Zope/trunk/doc/CHANGES.rst 2009-06-11 23:55:59 UTC (rev 100891) @@ -27,6 +27,8 @@ - zope.app.pagetemplate = 3.7.1 - zope.contenttype = 3.4.2 - zope.server = 3.6.0 + - zope.testing = 3.7.5 + - ZConfig = 2.7.0 - ZODB = 3.9.0b2 Bugs Fixed Modified: Zope/trunk/versions.cfg === --- Zope/trunk/versions.cfg 2009-06-11 19:46:25 UTC (rev 100890) +++ Zope/trunk/versions.cfg 2009-06-11 23:55:59 UTC (rev 100891) @@ -7,12 +7,11 @@ ExtensionClass = 2.11.1 Persistence = 2.11.1 tempstorage = 2.11.1 -zLOG = 2.11.1 # Zope Toolkit KGS ClientForm = 0.2.10 RestrictedPython = 3.5.1 -ZConfig = 2.6.1 +ZConfig = 2.7.0 ZODB3 = 3.9.0b2 docutils = 0.5 lxml = 2.2 @@ -127,6 +126,6 @@ zope.tal = 3.5.1 zope.tales = 3.4.0 zope.testbrowser = 3.6.0a2 -zope.testing = 3.7.4 +zope.testing = 3.7.5 zope.traversing = 3.7.0 zope.viewlet = 3.5.0 ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/versions.cfg Updated the KGS to match the list of packages used during alltests
Log message for revision 100892: Updated the KGS to match the list of packages used during alltests Changed: U Zope/trunk/versions.cfg -=- Modified: Zope/trunk/versions.cfg === --- Zope/trunk/versions.cfg 2009-06-11 23:55:59 UTC (rev 100891) +++ Zope/trunk/versions.cfg 2009-06-12 00:07:07 UTC (rev 100892) @@ -27,30 +27,25 @@ zdaemon = 2.0.4 zodbcode = 3.4.0 zope.annotation = 3.4.2 -zope.app.apidoc = 3.6.2 zope.app.applicationcontrol = 3.5.0 zope.app.appsetup = 3.11 +zope.app.authentication = 3.6.0 zope.app.basicskin = 3.4.0 zope.app.broken = 3.5.0 zope.app.cache = 3.6.0 -zope.app.catalog = 3.8.0 zope.app.component = 3.8.2 zope.app.container = 3.8.0 zope.app.content = 3.4.0 -zope.app.dav = 3.5.0 zope.app.debug = 3.4.1 zope.app.dependable = 3.4.0 -zope.app.dtmlpage = 3.5.0 zope.app.error = 3.5.2 zope.app.exception = 3.5.0 -zope.app.file = 3.5.0 zope.app.folder = 3.5.1 zope.app.form = 3.8.0 zope.app.generations = 3.5.0 zope.app.http = 3.6.0 zope.app.i18n = 3.6.0 zope.app.interface = 3.5.0 -zope.app.intid = 3.7.0 zope.app.locales = 3.5.1 zope.app.localpermission = 3.7.0 zope.app.pagetemplate = 3.7.1 @@ -58,16 +53,13 @@ zope.app.publication = 3.7.0 zope.app.publisher = 3.8.1 zope.app.renderer = 3.5.0 +zope.app.rotterdam = 3.5.0 zope.app.schema = 3.5.0 zope.app.security = 3.7.0 zope.app.securitypolicy = 3.5.1 -zope.app.server = 3.4.2 zope.app.session = 3.6.0 zope.app.testing = 3.6.2 -zope.app.traversing = 3.4.0 -zope.app.undo = 3.5.0 zope.app.wsgi = 3.5.2 -zope.app.zapi = 3.4.0 zope.app.zcmlfiles = 3.5.3 zope.app.zopeappgenerations = 3.5.0 zope.app.zptpage = 3.5.0 ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/versions.cfg Two older zope.* packages were not listed in the versions.cfg
Log message for revision 100893: Two older zope.* packages were not listed in the versions.cfg Changed: U Zope/trunk/versions.cfg -=- Modified: Zope/trunk/versions.cfg === --- Zope/trunk/versions.cfg 2009-06-12 00:07:07 UTC (rev 100892) +++ Zope/trunk/versions.cfg 2009-06-12 00:15:57 UTC (rev 100893) @@ -98,8 +98,9 @@ zope.lifecycleevent = 3.5.2 zope.location = 3.5.4 zope.minmax = 1.1.0 +zope.modulealias = 3.4.0 +zope.pagetemplate = 3.5.0 zope.password = 3.5.1 -zope.pagetemplate = 3.5.0 zope.principalannotation = 3.6.0 zope.principalregistry = 3.7.0 zope.processlifetime = 1.0 @@ -119,5 +120,6 @@ zope.tales = 3.4.0 zope.testbrowser = 3.6.0a2 zope.testing = 3.7.5 +zope.thread = 3.4 zope.traversing = 3.7.0 zope.viewlet = 3.5.0 ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
Re: [Zope-dev] Zope2 / Zope3 catalog index fork / divergence
2009/6/10 Tres Seaver tsea...@palladion.com: This effort could be the focus of a sprint team, if there was interest. Indexing fascinates me. I would be up for putting down some effort on some sort of improved indexing. I'm not sure how much of the time I would help and how much I would be in the way, but there you go. :) -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope sprinting at EP
Hi there, I see we have a grok sprint working towards grok 1.0 at the EP. I'd like to spend my sprinting time on ZTK issues which currently include: - Organisational stuff (Bug tracking, things listed in steering group topic list) - Further improvements to package dependencies If anybody wants to join me, I've added the sprint to the EP wiki: http://wiki.europython.eu/Sprints Christian -- Christian Theune · c...@gocept.com gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1 Zope and Plone consulting and development signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Bug tracking
Hello, I'm trying to understand how we are using the bug tracker. I noticed that on Launchpad right now there are both umbrella projects such as Zope2 and Zope3, and individual projects such as zope.app.form and zope.testing -- but the list of those subprojects is very far from comprehensive. I don't understand this duplication. If I fix a bug in, say, zope.testing, I now have to mark it fixed twice, once for zope.testing and once for Zope3, and I don't see how this gains us any information. Shouldn't we rename Zope3 to Zope Toolkit and then fold the various subprojects into that? (We could still use tags or something like that if we need additional filtering capabilities) Am I missing something here? Wolfgang ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope2 / Zope3 catalog index fork / divergence
On 10.06.09 18:10, Tres Seaver wrote: This is somewhat the same pattern as Andreas used to merge the ZPT implementations, I think. This effort could be the focus of a sprint team, if there was interest. The better example is TXNG3 where the Zope 2 and Zope 3 parts were completely refactored into eggs: http://pypi.python.org/pypi?%3Aaction=searchterm=zopyx.txngsubmit=search Andreas begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope2 / Zope3 catalog index fork / divergence
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: I propose that we consider merging the two implementations, along the lines of the following: 1. Review the change history of the two codebases since the original fork, porting relevant changes from the Z2 indexes to the corresponding Z3 implementations. 2. Review / update the tests for the Z3 indexes, with a goal of 100% coverage, as well as improving the quality of the tests. The zope.index package now has 100% unit test coverage under Python 2.4, 2.5, and 2.6 (measured with nose + coverage: I couldn't figure out how to get the z3c.coverage bit to ignore stuff like conditional imports). 3. Re-implement the Z2 indexes as thin wrappers around the Z3 versions, ensuring that all existing Z2 tests continue to pass. This is somewhat the same pattern as Andreas used to merge the ZPT implementations, I think. This effort could be the focus of a sprint team, if there was interest. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKMM3M+gerLs4ltQ4RAnMAAKCpWqjs+h1gILkYzteXSFqpAYw5jACgnlXy QaVbg+eTgfvPcT3G0tFClKs= =iydI -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope sprinting at EP
On 2009-06-11, Christian Theune c...@gocept.com wrote: I see we have a grok sprint working towards grok 1.0 at the EP. For those that haven't seen it: http://reinout.vanrees.org/weblog/2009/06/09/grok-europython-sprint.html I'd like to spend my sprinting time on ZTK issues which currently include: - Organisational stuff (Bug tracking, things listed in steering group topic list) - Further improvements to package dependencies If anybody wants to join me, I've added the sprint to the EP wiki: http://wiki.europython.eu/Sprints Great! Reinout -- Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org Software developer at http://www.thehealthagency.com Military engineers build missiles. Civil engineers build targets ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 8 OK
Summary of messages to the zope-tests list. Period Wed Jun 10 12:00:00 2009 UTC to Thu Jun 11 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Wed Jun 10 20:45:44 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011915.html Subject: OK : Zope-2.11 Python-2.4.6 : Linux From: Zope Tests Date: Wed Jun 10 20:47:48 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011916.html Subject: OK : Zope-trunk Python-2.4.6 : Linux From: Zope Tests Date: Wed Jun 10 20:49:52 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011917.html Subject: OK : Zope-trunk Python-2.5.4 : Linux From: Zope Tests Date: Wed Jun 10 20:51:53 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011918.html Subject: OK : Zope-trunk Python-2.6.1 : Linux From: Zope Tests Date: Wed Jun 10 20:53:57 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011919.html Subject: OK : Zope-trunk-alltests Python-2.4.6 : Linux From: Zope Tests Date: Wed Jun 10 20:55:58 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011920.html Subject: OK : Zope-trunk-alltests Python-2.5.4 : Linux From: Zope Tests Date: Wed Jun 10 20:57:58 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011921.html Subject: OK : Zope-trunk-alltests Python-2.6.1 : Linux From: Zope Tests Date: Wed Jun 10 20:59:58 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-June/011922.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: Zope/branches/2.10/ backport r94905 to 2.10: Acquisition wrappers now correctly proxy `__iter__`.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Zeidler wrote: Log message for revision 94907: backport r94905 to 2.10: Acquisition wrappers now correctly proxy `__iter__`. Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/Acquisition/_Acquisition.c U Zope/branches/2.10/lib/python/Acquisition/tests.py -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === --- Zope/branches/2.10/doc/CHANGES.txt2009-01-21 16:25:34 UTC (rev 94906) +++ Zope/branches/2.10/doc/CHANGES.txt2009-01-21 16:26:38 UTC (rev 94907) @@ -19,6 +19,8 @@ Bugs fixed + - Acquisition wrappers now correctly proxy __iter__. + - Products.PluginIndexes.PathIndex: backported doc fixes / optiimizations from trunk (and ExtendedPathIndex). Modified: Zope/branches/2.10/lib/python/Acquisition/_Acquisition.c === --- Zope/branches/2.10/lib/python/Acquisition/_Acquisition.c 2009-01-21 16:25:34 UTC (rev 94906) +++ Zope/branches/2.10/lib/python/Acquisition/_Acquisition.c 2009-01-21 16:26:38 UTC (rev 94907) @@ -38,7 +38,8 @@ *py__long__, *py__float__, *py__oct__, *py__hex__, *py__getitem__, *py__setitem__, *py__delitem__, *py__getslice__, *py__setslice__, *py__delslice__, *py__contains__, - *py__len__, *py__of__, *py__call__, *py__repr__, *py__str__, *py__cmp__; + *py__len__, *py__of__, *py__call__, *py__repr__, *py__str__, *py__cmp__, + *py__iter__; static PyObject *Acquired=0; @@ -82,7 +83,8 @@ INIT_PY_NAME(__repr__); INIT_PY_NAME(__str__); INIT_PY_NAME(__cmp__); - + INIT_PY_NAME(__iter__); + #undef INIT_PY_NAME } @@ -817,6 +819,12 @@ return c; } +static PyObject * +Wrapper_iter(Wrapper *self) +{ + return CallMethodO(OBJECT(self), py__iter__, NULL, NULL); +} + static PySequenceMethods Wrapper_as_sequence = { (inquiry)Wrapper_length,/*sq_length*/ (binaryfunc)Wrapper_add,/*sq_concat*/ @@ -1222,7 +1230,7 @@ /* tp_clear */ (inquiry)Wrapper_clear, /* tp_richcompare*/ (richcmpfunc)0, /* tp_weaklistoffset */ (long)0, - /* tp_iter */ (getiterfunc)0, + (getiterfunc)Wrapper_iter, /*tp_iter*/ /* tp_iternext */ (iternextfunc)0, /* tp_methods*/ Wrapper_methods, /* tp_members*/ 0, @@ -1266,7 +1274,7 @@ /* tp_clear */ (inquiry)Wrapper_clear, /* tp_richcompare*/ (richcmpfunc)0, /* tp_weaklistoffset */ (long)0, - /* tp_iter */ (getiterfunc)0, + (getiterfunc)Wrapper_iter, /*tp_iter*/ /* tp_iternext */ (iternextfunc)0, /* tp_methods*/ Wrapper_methods, /* tp_members*/ 0, Modified: Zope/branches/2.10/lib/python/Acquisition/tests.py === --- Zope/branches/2.10/lib/python/Acquisition/tests.py2009-01-21 16:25:34 UTC (rev 94906) +++ Zope/branches/2.10/lib/python/Acquisition/tests.py2009-01-21 16:26:38 UTC (rev 94907) @@ -1636,6 +1636,9 @@ ... def __contains__(self, key): ... print 'contains', repr(key) ... return key == 5 +... def __iter__(self): +... print 'iterating...' +... return iter((42,)) The naked class behaves like this: @@ -1646,6 +1649,9 @@ 5 in c contains 5 True + list(c) +iterating... +[42] Let's put c in the context of i: @@ -1660,7 +1666,59 @@ 5 in i.c contains 5 True + list(i.c) +iterating... +[42] +Let's let's test the same again with an explicit wrapper: + + import Acquisition + class Impl(Acquisition.Explicit): +... pass + + class C(Acquisition.Explicit): +... def __getitem__(self, key): +... print 'getitem', key +... if key == 4: +... raise IndexError +... return key +... def __contains__(self, key): +... print 'contains', repr(key) +... return key == 5 +... def __iter__(self): +... print 'iterating...' +... return iter((42,)) + +The naked class behaves like this: + + c = C() + 3 in c +contains 3 +False + 5 in c +contains 5 +True + list(c) +iterating... +[42] + +Let's put c in the context of i: + + i = Impl() + i.c = c + +Now check that __contains__ is properly used: + + 3 in i.c # c.__of__(i) +contains 3 +False + 5 in i.c +contains 5 +True + list(i.c) +iterating... +[42] + This doctest is failing for me in an up-to-date checkout of the 2.10 branch. Andreas, can you
Re: [Zope-dev] [ZODB-Dev] Removing the unused and untested ZODB.Mount module
On Jun 11, 2009, at 2:19 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: It looking for the ZODBMountPoint object that Tarek refered to, I saw that there is still a Mount module in the ZODB package. AFAIK, this a fossil that never should have been included in ZODB in the first place. I'm going to remove it from the trunk and from 3.8. A somewhat late follow up :) : I backported today the change from the Zope2 trunk to the 2.10 and 2.11 branches, moving that module from ZODB to the TemporaryStorage product. It should now be easier for folks to experiment with using ZODB 3.9.x in the earlier Z2 versions. Cool. Thanks. :) Jim -- Jim Fulton Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Removing the unused and untested ZODB.Mount module
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: It looking for the ZODBMountPoint object that Tarek refered to, I saw that there is still a Mount module in the ZODB package. AFAIK, this a fossil that never should have been included in ZODB in the first place. I'm going to remove it from the trunk and from 3.8. A somewhat late follow up :) : I backported today the change from the Zope2 trunk to the 2.10 and 2.11 branches, moving that module from ZODB to the TemporaryStorage product. It should now be easier for folks to experiment with using ZODB 3.9.x in the earlier Z2 versions. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKMUq2+gerLs4ltQ4RAldwAKCyzdB2WTlMTPszM0zGQMuKBNy7qACfdliy grPiT6MlslndOjVOmWx/MLc= =+Z8y -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: Zope/branches/2.10/ backport r94905 to 2.10: Acquisition wrappers now correctly proxy `__iter__`.
On 11.06.09 20:10, Tres Seaver wrote: This doctest is failing for me in an up-to-date checkout of the 2.10 branch. Andreas, can you please investigate? No failures for me with fresh 2.10 checkouts on Linux and Mac. Andreas begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] HA storage for zope
On Jun 2, 2009, at 7:04 PM, Miles Waller wrote: ... 3. ZRS If I'm right, ZRS still has a limitation in that there is a single server for writes. Yup. ... Having read the factsheet, I'm a bit unsure as to how it is functionally different from ZeoRAID - can anyone explain? I'm not very familiar with ZEORaid, but, I think ZEORaid replicates during transactions. That is, it writes to each replica at the same time it writes to the main storage. In ZRS, replication is asynchronous from writes. This means that transactions only have to wait for writes to be completed on the main storage. ZRS also support chaining replication, meaning a secondary can replicate from another secondary. For example, we typically have off- site secondaries that replicate from an on-site secondary. Note that ZRS has been used for years in large-scale critical environments. Also note that ZRS 2, which we've been using in production for more than 2 years doesn't use spread and is much easier to configure and more flexible than earlier versions. See http://www.zope.com/products/zope_replication_services.html for more information. Jim -- Jim Fulton Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: Zope/branches/2.10/ backport r94905 to 2.10: Acquisition wrappers now correctly proxy `__iter__`.
On 11.06.09 22:14, Tres Seaver wrote: Andreas Jung wrote: On 11.06.09 20:10, Tres Seaver wrote: This doctest is failing for me in an up-to-date checkout of the 2.10 branch. Andreas, can you please investigate? No failures for me with fresh 2.10 checkouts on Linux and Mac. Heh, I was asking for Andreas Zeidler to check it out. Nevertheless, your feedback promped me to check whether I had up-to-date versions of the C extensions: after a 'make clean all inplace', the tests pass. Sorry for implying that the change was elsewhere than my own head! No problem :) Andreas begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope] Getting Auto Increment value
I am working with zope mysql. I have a table with SERIAL column type, I create z-sql method for insert operation, how can I get the value for the auto increment column? I know that in mysql I can call last_insert_id(), how do I call it, should I create another z sql method and if I do, how can I be sure the the value return is for my insert command and not for another. Is there a way to call 2 query from the same z sql method? I am really lost on this, any help will be wellcom. Thank in advanced. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Getting Auto Increment value
On 11.06.09 14:36, Merav Ben-David wrote: I am working with zope mysql. I have a table with SERIAL column type, I create “z-sql method” for insert operation, how can I get the value for the auto increment column? I know that in mysql I can call last_insert_id(), how do I call it, should I create another “z sql method” and if I do, how can I be sure the the value return is for my insert command and not for another. Is there a way to call 2 query from the same “z sql method”? I am really lost on this, any help will be wellcom. Thank in advanced. You should be able to write two ZSQL methods and wrap them into a PythonScript. So you call the PythonScript instead of the ZSQL method(s) directly. In addition there is a sql-delimiter tag in DTML afaik - possibly undocumented. I would go for the PythonScript + 2 ZSQL methods approach. -aj begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Getting Auto Increment value
I am suspecting that serial in MySQL works like serial in PostgreSQL in which a sequence is automatically created. If so, you should be able to query the last_value field in the sequence without having to call the function. The field name might be different in MySQL, I don't know. This will give you the last value inserted and if you need the next just add 1. Also, if it is an auto increment column and again if it is like PostgreSQL then all you have to do is use the word 'default' without quotes and it auto increments the value for the new insert. See if there is a default for your serial field. Thomas On Thursday 11 June 2009 08:36:21 Merav Ben-David wrote: I am working with zope mysql. I have a table with SERIAL column type, I create z-sql method for insert operation, how can I get the value for the auto increment column? I know that in mysql I can call last_insert_id(), how do I call it, should I create another z sql method and if I do, how can I be sure the the value return is for my insert command and not for another. Is there a way to call 2 query from the same z sql method? I am really lost on this, any help will be wellcom. Thank in advanced. -- Normally I'm against big things, I think the world is going to be saved by millions of small things. Too many things can go wrong when they get big. - Pete Seeger at his 90th birthday party Sunday May 3, 2009 == Thomas McMillan Grant Bennett Appalachian State University Operations Systems AnalystP O Box 32026 University LibraryBoone, North Carolina 28608 (828) 262 6587 Library Systems Help Desk: https://www.library.appstate.edu/help/ == ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Is there a Zope migration tool?
2009/6/11 Aleksey Tsalolikhin atsaloli.t...@gmail.com: I am trying to figure out how move this beastie over with all its data and all its users. Zope typically stores all it's data in a database called ZODB. It stores everything in a file called Data.fs. Copy it over from the old server to the new server. Done! -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )