[Zope-Checkins] SVN: Zope/trunk/src/Products/SiteAccess/ Merge janitorial changes from 2.12 branch.

2010-05-20 Thread Tres Seaver
Log message for revision 112591: Merge janitorial changes from 2.12 branch. Changed: U Zope/trunk/src/Products/SiteAccess/SiteRoot.py U Zope/trunk/src/Products/SiteAccess/VirtualHostMonster.py U Zope/trunk/src/Products/SiteAccess/__init__.py U

[Zope-Checkins] SVN: Zope/branches/2.12/src/Products/SiteAccess/VirtualHostMonster.py Wrap long lines.

2010-05-20 Thread Tres Seaver
Log message for revision 112592: Wrap long lines. Changed: U Zope/branches/2.12/src/Products/SiteAccess/VirtualHostMonster.py -=- Modified: Zope/branches/2.12/src/Products/SiteAccess/VirtualHostMonster.py === ---

[Zope-Checkins] SVN: Zope/branches/2.12/src/Products/SiteAccess/tests/testVirtualHostMonster.py Flesh out edge case tests.

2010-05-20 Thread Tres Seaver
Log message for revision 112593: Flesh out edge case tests. Changed: U Zope/branches/2.12/src/Products/SiteAccess/tests/testVirtualHostMonster.py -=- Modified: Zope/branches/2.12/src/Products/SiteAccess/tests/testVirtualHostMonster.py

[Zope-Checkins] SVN: Zope/trunk/src/Products/SiteAccess/ Merge further janitorial changes from 2.12 branch.

2010-05-20 Thread Tres Seaver
Log message for revision 112594: Merge further janitorial changes from 2.12 branch. Changed: U Zope/trunk/src/Products/SiteAccess/VirtualHostMonster.py U Zope/trunk/src/Products/SiteAccess/tests/testVirtualHostMonster.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.12/src/Products/SiteAccess/tests/testVirtualHostMonster.py De-dupe testcase name.

2010-05-20 Thread Tres Seaver
Log message for revision 112595: De-dupe testcase name. Changed: U Zope/branches/2.12/src/Products/SiteAccess/tests/testVirtualHostMonster.py -=- Modified: Zope/branches/2.12/src/Products/SiteAccess/tests/testVirtualHostMonster.py

[Zope-Checkins] SVN: Zope/trunk/src/Products/SiteAccess/tests/testVirtualHostMonster.py Merge de-dupe from 2.12 branch.

2010-05-20 Thread Tres Seaver
Log message for revision 112596: Merge de-dupe from 2.12 branch. Changed: U Zope/trunk/src/Products/SiteAccess/tests/testVirtualHostMonster.py -=- Modified: Zope/trunk/src/Products/SiteAccess/tests/testVirtualHostMonster.py

[Zope-Checkins] SVN: Zope/branches/2.12/src/Products/SiteAccess/tests/testAccessRule.py Add unit tests for AccessRule's current behavior.

2010-05-20 Thread Tres Seaver
Log message for revision 112597: Add unit tests for AccessRule's current behavior. Changed: A Zope/branches/2.12/src/Products/SiteAccess/tests/testAccessRule.py -=- Added: Zope/branches/2.12/src/Products/SiteAccess/tests/testAccessRule.py

[Zope-dev] Summary of this week's meeting

2010-05-20 Thread Christian Theune
Hi, here's the summary: http://svn.zope.org/zopetoolkit/doc/source/zope-dev/zope-dev-20100518.rst?rev=112556view=auto It should also appear soonish in a rendered form here: http://docs.zope.org/zopetoolkit/zope-dev/zope-dev-20100518.html And for the impatient it's also attached. :) Christian

[Zope-dev] Zope Tests: 12 OK, 7 Failed

2010-05-20 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed May 19 12:00:00 2010 UTC to Thu May 20 12:00:00 2010 UTC. There were 19 messages: 6 from Zope Tests, 12 from ccomb at free.fr, 1 from ct at gocept.com. Test failures - Subject: FAILED: Repository policy check found errors in

[Zope] long running methods

2010-05-20 Thread Jürgen Herrmann
hi there! as our zope2 zodb grows we experience more and more conflicts with long running transactions. so i'm going to rewrite these methods to commit transactions in batches - here my attempt to tackle this problem. the idea is to get a list of objects to be modified in this transaction,

[Zope] PAU + loginpagename = FAIL

2010-05-20 Thread Dr. Volker Jaenisch
Hi zope list! Tried to use the PAU feature of the challenge mechanism of the sessionbasedcredential plugin in bluebream. The main registration of PAU : @adapter(INewMLSApplicationEvent) def createPAU( event ): sm = event.object.getSiteManager() pau = PluggableAuthentication()

Re: [Zope] long running methods

2010-05-20 Thread Patrick Gerken
On Thu, May 20, 2010 at 14:18, Jürgen Herrmann juergen.herrm...@xlhost.dewrote: hi there! as our zope2 zodb grows we experience more and more conflicts with long running transactions. so i'm going to rewrite these methods to commit transactions in batches - here my attempt to tackle this

Re: [Zope] long running methods

2010-05-20 Thread Jürgen Herrmann
On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken do3cc...@googlemail.com wrote: On Thu, May 20, 2010 at 14:18, Jürgen Herrmann juergen.herrm...@xlhost.dewrote: hi there! as our zope2 zodb grows we experience more and more conflicts with long running transactions. so i'm going to

Re: [Zope] long running methods

2010-05-20 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Gerken wrote: On Thu, May 20, 2010 at 14:18, Jürgen Herrmann juergen.herrm...@xlhost.de mailto:juergen.herrm...@xlhost.de wrote: hi there! as our zope2 zodb grows we experience more and more conflicts with long running

Re: [Zope] long running methods

2010-05-20 Thread Maik Derstappen, Derstappen IT
Am 20.05.2010 16:05, schrieb Jürgen Herrmann: On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken do3cc...@googlemail.com wrote: On Thu, May 20, 2010 at 14:18, Jürgen Herrmann juergen.herrm...@xlhost.dewrote: hi there! as our zope2 zodb grows we experience more and more conflicts with

Re: [Zope] long running methods

2010-05-20 Thread robert rottermann
Am 20.05.2010 19:34, schrieb Maik Derstappen, Derstappen IT: Am 20.05.2010 16:05, schrieb Jürgen Herrmann: On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken do3cc...@googlemail.com wrote: On Thu, May 20, 2010 at 14:18, Jürgen Herrmann juergen.herrm...@xlhost.dewrote: hi there! as our

Re: [Zope] long running methods

2010-05-20 Thread Maik Derstappen, Derstappen IT
Am 20.05.2010 20:04, schrieb robert rottermann: Am 20.05.2010 19:34, schrieb Maik Derstappen, Derstappen IT: Am 20.05.2010 16:05, schrieb Jürgen Herrmann: On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken do3cc...@googlemail.com wrote: On Thu, May 20, 2010 at 14:18,

Re: [Zope] long running methods

2010-05-20 Thread robert rottermann
Am 20.05.2010 21:01, schrieb Maik Derstappen, Derstappen IT: Am 20.05.2010 20:04, schrieb robert rottermann: Am 20.05.2010 19:34, schrieb Maik Derstappen, Derstappen IT: Am 20.05.2010 16:05, schrieb Jürgen Herrmann: On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken

Re: [Zope] long running methods

2010-05-20 Thread Shane Hathaway
On 05/20/2010 06:18 AM, Jürgen Herrmann wrote: def myLongRunningMethod(self): BATCH_SIZE = 10 MAX_CONFLICTS = 3 work_items = [some, work, to , do, ...] # list of persistent objects to be modified in this method idx = 0 while idx len(work_items): conflicts = 0