Re: Generations in Zope 2

Christian Zagrodnick <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On 2009-12-15 11:20:19 +0100, Wichert Akkerman <[email protected]> said:

> On 12/15/09 11:02 , Christian Zagrodnick wrote:
>> Hi,
>> 
>> to get generations working in Zope 2 the following subscriber is needed:
>> 
>> @zope.component.adapter(zope.app.appsetup.IProcessStartingEvent)
>> def evolve_minimum(event):
>> zope.app.generations.generations.evolve(
>> Zope2.DB, zope.app.generations.generations.EVOLVEMINIMUM)
>> 
>> 
>> I think should become part of Zope 2 / Five. Objections?
> 
> -1, this would add a needless dependency on zope.app.generations to Zope
> 2 as far as I can see. Why not move include this in zope.app.generations
> itself in a [zope2] extra ? Or create a tiny five.generations package to
> do this.

five.generations is "part of five" enough for me ;)

I don't like an zope2 extra for zope.app.generations.


-- 
Christian Zagrodnick · [email protected]
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development


_______________________________________________
Zope-Dev maillist  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.