[Zope-dev] Zope 2.12 - one more ZPublisher event

2009-11-10 Thread Martin Aspeli
Hi,

In Zope 2.12 ZPublisher we have a good set of events now, which provide 
useful hooks for modifying the response before or after publication. 
However, I'd like to add one more. ;-)

Basically, we have IPubFailure, but this is sent *after* 
transaction.abort() and endInteraction(). This means that it's 
impossible to read from the ZODB when trying to deal with a failure.

I'd like to add an event before that, IPubBeforeAbort, which mirrors 
IPubBeforeCommit in being sent before the transaction is aborted.

I can do this on Zope trunk + 2.12 branch if no-one objects.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Packing and GC versus packtime

2009-11-10 Thread Chris Withers
Reinout van Rees wrote:
> Sounds like you're working on your zeo sync tool? :-)

zeoraid. It's been around for a while now, but it's finally going to see 
some action...

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Packing and GC versus packtime

2009-11-10 Thread Reinout van Rees
On 2009-11-09, Christian Theune  wrote:
> On 11/09/2009 02:47 PM, Jim Fulton wrote:
>> On Mon, Nov 9, 2009 at 7:22 AM, Christian Theune  wrote:
>>>
>>> I'm wondering:
>>>
>>> Scenario 1: I pack a storage to a time T and append X transactions after
>>> that
>>>
>>> Scenario 2: I append X transactions to a storage and then pack it to time
>>> T.
>>>
>>> Will those scenarios end up with the same result? I can imagine GC to
>>> get in the way, but I'm not sure about how it does its thing exactly.
>>>
>>> The question can also be phrased as: Are the operations "pack" and
>>> "append transaction" for storages commutative?
>> 
>> Yes, as long as the pack time is before the time of the appended
>> transactions.
>
> Right. Cool. Oh joy, oh joy! :)

Sounds like you're working on your zeo sync tool? :-)

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
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 6 OK

2009-11-10 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon Nov  9 12:00:00 2009 UTC to Tue Nov 10 12:00:00 2009 UTC.
There were 6 messages: 6 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Mon Nov  9 20:38:20 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012986.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Mon Nov  9 20:40:20 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012987.html

Subject: OK : Zope-2.12 Python-2.6.2 : Linux
From: Zope Tests
Date: Mon Nov  9 20:42:20 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012988.html

Subject: OK : Zope-2.12-alltests Python-2.6.2 : Linux
From: Zope Tests
Date: Mon Nov  9 20:44:20 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012989.html

Subject: OK : Zope-trunk Python-2.6.2 : Linux
From: Zope Tests
Date: Mon Nov  9 20:46:20 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012990.html

Subject: OK : Zope-trunk-alltests Python-2.6.2 : Linux
From: Zope Tests
Date: Mon Nov  9 20:48:20 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012991.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )