[Zope] Getting Auto Increment value

2009-06-11 Thread Merav Ben-David
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, 

Re: [Zope] Getting Auto Increment value

2009-06-11 Thread Andreas Jung
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,

Re: [Zope] Getting Auto Increment value

2009-06-11 Thread Thomas Bennett
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

Re: [Zope] Is there a Zope migration tool?

2009-06-11 Thread Lennart Regebro
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

[Zope-Checkins] SVN: Zope/branches/2.12/versions.cfg ZODB 3.9.0b2

2009-06-11 Thread Andreas Jung
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-Checkins] SVN: Zope/branches/2.12/doc/CHANGES.rst updated to ZODB 3.0.0b2

2009-06-11 Thread Andreas Jung
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

[Zope-Checkins] SVN: Zope/trunk/versions.cfg ZODB==3.9.0b2

2009-06-11 Thread Andreas Jung
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

[Zope-Checkins] SVN: Zope/trunk/ Updated to zope.testing = 3.7.5 and ZConfig = 2.7.0

2009-06-11 Thread Hanno Schlichting
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-Checkins] SVN: Zope/trunk/versions.cfg Updated the KGS to match the list of packages used during alltests

2009-06-11 Thread Hanno Schlichting
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

[Zope-Checkins] SVN: Zope/trunk/versions.cfg Two older zope.* packages were not listed in the versions.cfg

2009-06-11 Thread Hanno Schlichting
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

Re: [Zope-dev] Zope2 / Zope3 catalog index fork / divergence

2009-06-11 Thread Lennart Regebro
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

[Zope-dev] Zope sprinting at EP

2009-06-11 Thread Christian Theune
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

[Zope-dev] Bug tracking

2009-06-11 Thread Wolfgang Schnerring
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

Re: [Zope-dev] Zope2 / Zope3 catalog index fork / divergence

2009-06-11 Thread Andreas Jung
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

Re: [Zope-dev] Zope2 / Zope3 catalog index fork / divergence

2009-06-11 Thread Tres Seaver
-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

Re: [Zope-dev] Zope sprinting at EP

2009-06-11 Thread Reinout van Rees
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

[Zope-dev] Zope Tests: 8 OK

2009-06-11 Thread Zope Tests Summarizer
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:

Re: [Zope-dev] SVN: Zope/branches/2.10/ backport r94905 to 2.10: Acquisition wrappers now correctly proxy `__iter__`.

2009-06-11 Thread Tres Seaver
-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

Re: [Zope-dev] [ZODB-Dev] Removing the unused and untested ZODB.Mount module

2009-06-11 Thread Jim Fulton
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

Re: [Zope-dev] Removing the unused and untested ZODB.Mount module

2009-06-11 Thread Tres Seaver
-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

Re: [Zope-dev] SVN: Zope/branches/2.10/ backport r94905 to 2.10: Acquisition wrappers now correctly proxy `__iter__`.

2009-06-11 Thread Andreas Jung
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.

Re: [Zope-dev] HA storage for zope

2009-06-11 Thread Jim Fulton
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

Re: [Zope-dev] SVN: Zope/branches/2.10/ backport r94905 to 2.10: Acquisition wrappers now correctly proxy `__iter__`.

2009-06-11 Thread Andreas Jung
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.