On Fri, Aug 1, 2008 at 1:32 PM, Laurence Rowe <[EMAIL PROTECTED]> wrote: > > > Rudá Porto Filgueiras wrote: >> >> Now I have some code and tests working for 1 and 2, but get trouble >> with archetypes.sqlalchemystorage that depends on especifc version of >> collective.lead: >> https://svn.plone.org/svn/collective/collective.lead/branches/sqlalchemy-0.4 >> >> This version don't support transaction.savepoint and have some unique >> event dispatch used by archetypes.sqlalchemystorage. >> These events are: >> >> class SessionFlushedEvent(SessionEvent): >> implements(ISessionFlushedEvent) >> >> class BeforeSessionFlushEvent(SessionEvent): >> implements(IBeforeSessionFlushEvent) >> >> Why these events don't get merged into collective.lead trunk? >> There is any other aprouch (hooks) to be used by >> archetypes.sqlalchemystorage by this porpouse: >> >> > > This functionality would be better implemented with a MapperExtension rather > than an event fired from a SessionExtension.
Thanks, I will investigate how to do it ;-) >> >> I also check another collective.lead branch that supports savepoints: >> http://svn.plone.org/svn/collective/collective.lead/branches/elro-tpc/ >> Is it the base for collective.lead 2.0 right? What is it status? Beta, >> Alpha? >> >> > > It ended up as zope.sqlalchemy. I merged a zope.sqlalchemy dependency into > trunk but broke the persistent database configuration pattern in the > process. I don't have an immediate need for a new collective.lead version, > so will probably refactor it again based on z3c.saconfig before making a 2.0 > release. I follow all discussion in zope-dev about zope.sqlalchemy and at this moment I'm testing a modified branch of archetypes.sqlalchemystorage to incoporate events and use zope.sqlalchemy with a custom Database object much like collective.lead. I also investigate z3c.saconfig but it has some tests that don't run against Zope 2.9 and it depends on localsite support. Plone 2.5 with Five 1.4.4 can be configurated to have local utilities rigth? Thanks again by feedback. > Laurence > -- > View this message in context: > http://n2.nabble.com/Status-of-archetypes.sqlalchemystorage-and-collective.lead-%28tpc-branch%29-tp663084p664571.html > Sent from the Product Developers mailing list archive at Nabble.com. > > > _______________________________________________ > Product-Developers mailing list > [email protected] > http://lists.plone.org/mailman/listinfo/product-developers > -- ===================================== Rudá Porto Filgueiras Weimar Consulting http://python-blog.blogspot.com Plone, Django, Zope 3, Grok Hosting http://www.pytown.com =====================================
_______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
