[ZODB-Dev] Re: Cleaning up storage interfaces

2007-04-25 Thread Jim Fulton


On Apr 25, 2007, at 12:10 AM, Tres Seaver wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Theune wrote:


Am Dienstag, den 24.04.2007, 13:16 -0400 schrieb Jim Fulton:

I'm finally trying to clean up the storage interfaces.  I have a
question.  I'll probably have more later, but I'm going to deal with
them one by one rather than trying to save them up.

Does anyone know if getSerial is used for anything?  I suspect that
it is an old name for getTid and would like to remove it in favor of
getTid.

In particular, it's plumbed through the storage and client servers,
but I can't see any evidence that people are using it.


Hmm. Looks like it. getTid looks like it's used from ZEO in the
verify() method. I didn't find any place where getSerial was used.
Zope 3 uses neither (and it probably shouldn't anyway.)


DirectoryStorage[1] is probably the major out-of-tree storage
implementation to check;  PGStorage[2] is likel a distant second in
terms of usage:

[1] http://dirstorage.sourceforge.net/

[2] http://hathawaymix.org/Software/PGStorage/


I hope very much that Toby and Shane are paying attention to this  
effort or at least pay attention to the alpha release. :)


Jim

--
Jim Fulton  mailto:[EMAIL PROTECTED]Python 
Powered!
CTO (540) 361-1714  
http://www.python.org
Zope Corporationhttp://www.zope.com http://www.zope.org



___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


[ZODB-Dev] Re: Cleaning up storage interfaces

2007-04-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Theune wrote:

 Am Dienstag, den 24.04.2007, 13:16 -0400 schrieb Jim Fulton:
 I'm finally trying to clean up the storage interfaces.  I have a  
 question.  I'll probably have more later, but I'm going to deal with  
 them one by one rather than trying to save them up.

 Does anyone know if getSerial is used for anything?  I suspect that  
 it is an old name for getTid and would like to remove it in favor of  
 getTid.

 In particular, it's plumbed through the storage and client servers,  
 but I can't see any evidence that people are using it.
 
 Hmm. Looks like it. getTid looks like it's used from ZEO in the
 verify() method. I didn't find any place where getSerial was used.
 Zope 3 uses neither (and it probably shouldn't anyway.)

DirectoryStorage[1] is probably the major out-of-tree storage
implementation to check;  PGStorage[2] is likel a distant second in
terms of usage:

[1] http://dirstorage.sourceforge.net/

[2] http://hathawaymix.org/Software/PGStorage/


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLtS7+gerLs4ltQ4RAvn7AJ98Wgm7D/EbA3YS/A/gbJ5bKjbR5QCgtuyv
tX4is0ClS1zf1Pa6Oc2RwkE=
=I2S0
-END PGP SIGNATURE-

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Re: Cleaning up storage interfaces

2007-04-24 Thread David Pratt
Hi. I am going to be doing an egg release for pgstorage at some point in 
the next couple of weeks. The current repository is:


http://pgstorage.cvs.sourceforge.net/pgstorage/PGStorage/

getSerial is not used in the source. Many thanks.

Regards,
David



Tres Seaver wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Theune wrote:


Am Dienstag, den 24.04.2007, 13:16 -0400 schrieb Jim Fulton:
I'm finally trying to clean up the storage interfaces.  I have a  
question.  I'll probably have more later, but I'm going to deal with  
them one by one rather than trying to save them up.


Does anyone know if getSerial is used for anything?  I suspect that  
it is an old name for getTid and would like to remove it in favor of  
getTid.


In particular, it's plumbed through the storage and client servers,  
but I can't see any evidence that people are using it.

Hmm. Looks like it. getTid looks like it's used from ZEO in the
verify() method. I didn't find any place where getSerial was used.
Zope 3 uses neither (and it probably shouldn't anyway.)


DirectoryStorage[1] is probably the major out-of-tree storage
implementation to check;  PGStorage[2] is likel a distant second in
terms of usage:

[1] http://dirstorage.sourceforge.net/

[2] http://hathawaymix.org/Software/PGStorage/


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLtS7+gerLs4ltQ4RAvn7AJ98Wgm7D/EbA3YS/A/gbJ5bKjbR5QCgtuyv
tX4is0ClS1zf1Pa6Oc2RwkE=
=I2S0
-END PGP SIGNATURE-

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev