Re: [ZODB-Dev] db.undoLog() does not work as documented ..

2010-08-23 Thread Jim Fulton
On Sat, Aug 21, 2010 at 5:39 AM, steve st...@lonetwin.net wrote:
 Hi,

 I was reading up on the zodb docs, specifically about undoing tansactions[1]
 where it mentions that ...

 
 undoLog(start, end[, func])() method on the DB instance returns the log of 
 past
 transactions, returning transactions between the times start and end, measured
 in seconds from the epoch.
 

That documentation is incorrect.

See the definition of undoLog in ZODB/interfaces.py

Jim

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

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


Re: [ZODB-Dev] db.undoLog() does not work as documented ..

2010-08-23 Thread steve
Hello Jim,

On 08/23/2010 08:59 PM, Jim Fulton wrote:
 On Sat, Aug 21, 2010 at 5:39 AM, stevest...@lonetwin.net  wrote:
  Hi,

  I was reading up on the zodb docs, specifically about undoing tansactions[1]
  where it mentions that ...

  
  undoLog(start, end[, func])() method on the DB instance returns the log of 
 past
  transactions, returning transactions between the times start and end, 
 measured
  in seconds from the epoch.
  

 That documentation is incorrect.

 See the definition of undoLog in ZODB/interfaces.py


Thanks for clarifying that. I've filed a bug:

https://bugs.launchpad.net/zodb/+bug/622828

cheers,
- steve

-- 
random spiel: http://lonetwin.net/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

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


Re: [ZODB-Dev] db.undoLog() does not work as documented ..

2010-08-23 Thread Jim Fulton
On Mon, Aug 23, 2010 at 12:23 PM, steve st...@lonetwin.net wrote:
 Hello Jim,

 On 08/23/2010 08:59 PM, Jim Fulton wrote:

 On Sat, Aug 21, 2010 at 5:39 AM, stevest...@lonetwin.net  wrote:

  Hi,

  I was reading up on the zodb docs, specifically about undoing
 tansactions[1]

It's worth noting that these are not the docs.  I didn't write or
review them.  I don't have any control over zodb.org. I have no idea
how to comment on the docs. (I could possibly find out, but I don't have time
to work that hard.)

  where it mentions that ...

  
  undoLog(start, end[, func])() method on the DB instance returns the log
 of past
  transactions, returning transactions between the times start and end,
 measured
  in seconds from the epoch.
  

 That documentation is incorrect.

 See the definition of undoLog in ZODB/interfaces.py


 Thanks for clarifying that. I've filed a bug:

 https://bugs.launchpad.net/zodb/+bug/622828

This is problematic.  I didn't write the docs and the docs
are not part of the software.  I can't do anything about this
I don't know if anyone who can deal with bugs has any control
over zodb.org.

Jim

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

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


Re: [ZODB-Dev] db.undoLog() does not work as documented ..

2010-08-23 Thread Laurence Rowe
On 23 August 2010 17:51, Jim Fulton j...@zope.com wrote:
 It's worth noting that these are not the docs.  I didn't write or
 review them.  I don't have any control over zodb.org. I have no idea
 how to comment on the docs. (I could possibly find out, but I don't have time
 to work that hard.)
...
 This is problematic.  I didn't write the docs and the docs
 are not part of the software.  I can't do anything about this
 I don't know if anyone who can deal with bugs has any control
 over zodb.org.

That website is created from svn+ssh://svn.zope.org/repos/main/zodbdocs/trunk

Those docs used to live in ZODB. I converted them to rst from latex to
make them easier to edit. They've mostly not been updated since 2002
though.

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

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


Re: [ZODB-Dev] db.undoLog() does not work as documented ..

2010-08-23 Thread Jim Fulton
On Mon, Aug 23, 2010 at 1:08 PM, Laurence Rowe l...@lrowe.co.uk wrote:
 On 23 August 2010 17:51, Jim Fulton j...@zope.com wrote:
 It's worth noting that these are not the docs.  I didn't write or
 review them.  I don't have any control over zodb.org. I have no idea
 how to comment on the docs. (I could possibly find out, but I don't have time
 to work that hard.)
 ...
 This is problematic.  I didn't write the docs and the docs
 are not part of the software.  I can't do anything about this
 I don't know if anyone who can deal with bugs has any control
 over zodb.org.

 That website is created from svn+ssh://svn.zope.org/repos/main/zodbdocs/trunk

Cool.

 Those docs used to live in ZODB. I converted them to rst from latex to
 make them easier to edit.

I appreciate the good intention. :) Honestly.

 They've mostly not been updated since 2002
 though.

:/ Sigh.

I'll have to think about what the next step is then.  This will probably
involve deleting lots of wrong content.

Do you maintain zodb.org then?  What's the process for updating it?

Jim

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

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


Re: [ZODB-Dev] db.undoLog() does not work as documented ..

2010-08-23 Thread Laurence Rowe
On 23 August 2010 19:08, Jim Fulton j...@zope.com wrote:
 On Mon, Aug 23, 2010 at 1:08 PM, Laurence Rowe l...@lrowe.co.uk wrote:
 On 23 August 2010 17:51, Jim Fulton j...@zope.com wrote:
 It's worth noting that these are not the docs.  I didn't write or
 review them.  I don't have any control over zodb.org. I have no idea
 how to comment on the docs. (I could possibly find out, but I don't have 
 time
 to work that hard.)
 ...
 This is problematic.  I didn't write the docs and the docs
 are not part of the software.  I can't do anything about this
 I don't know if anyone who can deal with bugs has any control
 over zodb.org.

 That website is created from svn+ssh://svn.zope.org/repos/main/zodbdocs/trunk

 Cool.

 Those docs used to live in ZODB. I converted them to rst from latex to
 make them easier to edit.

 I appreciate the good intention. :) Honestly.

 They've mostly not been updated since 2002
 though.

 :/ Sigh.

 I'll have to think about what the next step is then.  This will probably
 involve deleting lots of wrong content.

 Do you maintain zodb.org then?  What's the process for updating it?

I created the zodbdocs following the examples of zope2docs and
zope3docs for docs.zope.org. Jens Vagelpohl added them to the cron job
that updates docs.zope.org and is the person responsible for that site
as far as I know. At some point they were moved to zodb.org, which
runs on the same box.

As for updating it, just check in changes to svn. The cron job picks
up changes and rebuilds the sphinx docs every hour (or perhaps every
day).

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

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


Re: [ZODB-Dev] db.undoLog() does not work as documented ..

2010-08-23 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8/24/10 00:11 , Laurence Rowe wrote:
 I created the zodbdocs following the examples of zope2docs and
 zope3docs for docs.zope.org. Jens Vagelpohl added them to the cron job
 that updates docs.zope.org and is the person responsible for that site
 as far as I know. At some point they were moved to zodb.org, which
 runs on the same box.
 
 As for updating it, just check in changes to svn. The cron job picks
 up changes and rebuilds the sphinx docs every hour (or perhaps every
 day).

The script checks for changes every 15 minutes and rebuilds the Sphinx
output if there are any.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkxzCE8ACgkQRAx5nvEhZLLHKwCgsWhPqmXqwZltHQmqgt/154Q3
VdMAnR+8YbDu82qEjmNPpRlcu1tSakHc
=kJCw
-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
https://mail.zope.org/mailman/listinfo/zodb-dev