CVS log for ZODB3/Tools/Attic/repozo.py

Zope

Help

(back) Up to [Zope] / ZODB3 / Tools

Request diff between arbitrary revisions / Display revisions graphically


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision Tasks Diffs Branches and Tags Age Author
1.9 Download
View as text
View 1.9
View annotated
[select for diffs]
FILE REMOVED
MAIN
7 years, 11 months ago
Wed Jun 2 16:29:51 2004
tseaver
Log:
- The CVS HEAD is dead; long live SVN!
1.5.6.6 Download
View as text
View 1.5.6.6
View annotated
[select for diffs]
Diff to previous 1.5.6.5
Zope-2_7-branch
Diff to next MAIN 1.6
Diff to branch point 1.5
7 years, 11 months ago
Mon May 24 16:31:39 2004
tim_one
Log:
Docstring clarifications.
1.5.6.5 Download
View as text
View 1.5.6.5
View annotated
[select for diffs]
Diff to previous 1.5.6.4
Zope-2_7-branch
Diff to branch point 1.5
7 years, 11 months ago
Sat May 22 15:04:45 2004
tim_one
Log:
find_files(): When trying to do recovery to a time earlier than that
of the most recent full backup, repozo.py failed to find the appropriate
files, erroneously claiming

No files in repository before <specified time>

Repaired that. Also made it much more robust against "junk files" the
user may create, or leave behind, in the backup directory. Added test.
1.5.6.4 Download
View as text
View 1.5.6.4
View annotated
[select for diffs]
Diff to previous 1.5.6.3
Zope-2_7-branch
Diff to branch point 1.5
 
7 years, 11 months ago
Fri May 21 16:47:24 2004
tim_one
Log:
Collector #1330: repozo.py -R can create corrupt .fs.
When looking for the backup files needed to recreate a Data.fs file,
repozo could (unintentionally) include its meta .dat files in the list,
or random files of any kind created by the user in the backup directory.
These would then get copied verbatim into the reconstructed file, filling
parts with junk. Repaired by filtering the file list to include only
files with the data extensions repozo.py creates (.fs, .fsz, .deltafs,
and .deltafsz). Thanks to James Henderson for the diagnosis.

Also removed Barryisms (control characters at various spots in the file,
presumably for the benefit of the way he used Emacs), and Python 2.1-isms.
Documented that the backup directory must already exist.
1.5.6.3 Download
View as text
View 1.5.6.3
View annotated
[select for diffs]
Diff to previous 1.5.6.2
Zope-2_7-branch
Diff to branch point 1.5
 
7 years, 11 months ago
Fri May 21 15:14:00 2004
tim_one
Log:
The __future__ has arrived for nested scopes in ZODB 3.2.
1.8 Download
View as text
View 1.8
View annotated
[select for diffs]
Diff to previous 1.7
MAIN
8 years, 2 months ago
Thu Mar 18 13:27:49 2004
yuppie
Log:
updated / unified sha-bang as discussed on zope-dev
(distutils mungs it anyway, so it's just relevant for developers)
1.5.6.2 Download
View as text
View 1.5.6.2
View annotated
[select for diffs]
Diff to previous 1.5.6.1
Zope-2_7-branch
Diff to branch point 1.5
8 years, 2 months ago
Thu Mar 18 13:24:02 2004
yuppie
Log:
updated / unified sha-bang as discussed on zope-dev
(distutils mungs it anyway, so it's just relevant for developers)
1.6.4.1 Download
View as text
View 1.6.4.1
View annotated
[select for diffs]
Diff to previous 1.6
ZODB3-mvcc-2-branch
Diff to next MAIN 1.7
8 years, 4 months ago
Tue Dec 23 19:06:09 2003
jeremy
Log:
Merge the head to the mvcc branch.

This merge should be the final preparation for merging the branch to
the trunk.
1.7 Download
View as text
View 1.7
View annotated
[select for diffs]
Diff to previous 1.6
MAIN
8 years, 6 months ago
Mon Nov 3 18:56:32 2003
jeremy
Log:
Remove future statements. The future is now.
1.5.6.1 Download
View as text
View 1.5.6.1
View annotated
[select for diffs]
Diff to previous 1.5
Zope-2_7-branch
8 years, 8 months ago
Mon Sep 15 17:03:02 2003
jeremy
Log:
Take two: Merge changes from ZODB3-3_2-branch to Zope-2_7-branch.

Please make all future changes on the Zope-2_7-branch instead.

The previous attempt used "cvs up -j ZODB3-3_2-branch", but appeared
to get only a small fraction of the changes. This attempt is based on
copying a checkout of ZODB3-3_2-branch over top of a checkout of
Zope-2_7-branch.
1.6 Download
View as text
View 1.6
View annotated
[select for diffs]
Diff to previous 1.5
MAIN
Branch point for: ZODB3-mvcc-2-branch
8 years, 8 months ago
Mon Sep 15 15:29:19 2003
jeremy
Log:
Merge changes from ZODB3-3_2-branch to Zope-2_7-branch.

Please make all future changes on the Zope-2_7-branch instead.
1.5.4.2 Download
View as text
View 1.5.4.2
View annotated
[select for diffs]
Diff to previous 1.5.4.1
ZODB3-3_2-branch
Diff to next MAIN 1.6
Diff to branch point 1.5
 
8 years, 8 months ago
Tue Sep 9 18:56:49 2003
tim_one
Log:
Ensure that all Tools scripts have the same shebang line,

#!python

The theory is that distutils replaces that with something sane.
1.5.4.1 Download
View as text
View 1.5.4.1
View annotated
[select for diffs]
Diff to previous 1.5
ZODB3-3_2-branch
 
8 years, 8 months ago
Tue Sep 9 17:41:36 2003
tim_one
Log:
Copying over the ZODB3-3_1-branch version, which recently grow many
bugfixes and docstring improvements.
1.1.2.12 Download
View as text
View 1.1.2.12
View annotated
[select for diffs]
Diff to previous 1.1.2.11
ZODB3-3_1-branch
Diff to next MAIN 1.2
Diff to branch point 1.1
8 years, 9 months ago
Sun Aug 17 03:25:36 2003
tim_one
Log:
do_incremental_backup(): This told copyfile() to copy more bytes than
it actually wanted to copy. If the Data.fs file grew another transaction
since the time do_incremental_backup() first figured out where to finish
copying, then, more data got written to the incremental file than the
.dat file recorded. This caused the next attempt to do an incremental
backup to believe the checksums were out of whack, triggering a needless
full backup.

copyfile(): Assert that the number of bytes processed by dofile() is
equal to the number of bytes copyfile() was told to process. This assert
would have caught the bug above.
1.1.2.11 Download
View as text
View 1.1.2.11
View annotated
[select for diffs]
Diff to previous 1.1.2.10
ZODB3-3_1-branch
Diff to branch point 1.1
 
8 years, 9 months ago
Sun Aug 17 02:57:46 2003
tim_one
Log:
dofile(): Don't blow up in earlier Pythons if more than 2GB needs to be
read. Documented was this does. Reworked the logic so it's more obvious
to my eyes.
1.1.2.10 Download
View as text
View 1.1.2.10
View annotated
[select for diffs]
Diff to previous 1.1.2.9
ZODB3-3_1-branch
Diff to branch point 1.1
 
8 years, 9 months ago
Sun Aug 17 02:28:31 2003
tim_one
Log:
do_backup(): in quick mode, if the checksums match and the .fs file
hasn't changed size since the last incremental, don't do anything (we
were writing out an incremental file for 0 bytes of "new data"; the non-
quick branch avoided this waste already).
1.1.2.9 Download
View as text
View 1.1.2.9
View annotated
[select for diffs]
Diff to previous 1.1.2.8
ZODB3-3_1-branch
Diff to branch point 1.1
 
8 years, 9 months ago
Sun Aug 17 02:05:31 2003
tim_one
Log:
do_backup(): Close the source .fs file after mucking with it in
incremental backup mode.
1.1.2.8 Download
View as text
View 1.1.2.8
View annotated
[select for diffs]
Diff to previous 1.1.2.7
ZODB3-3_1-branch
Diff to branch point 1.1
 
8 years, 9 months ago
Sun Aug 17 01:58:24 2003
tim_one
Log:
do_backup(): The .fs file must be opened in binary mode, explaining
catastrophic results on Windows.
1.1.2.7 Download
View as text
View 1.1.2.7
View annotated
[select for diffs]
Diff to previous 1.1.2.6
ZODB3-3_1-branch
Diff to branch point 1.1
 
8 years, 9 months ago
Sun Aug 17 01:46:03 2003
tim_one
Log:
There wasn't enough info in the module docstring for me to figure out how
to use this script (what's required, what's optional, what are default
values if something isn't specified). Tried to repair that. Removed the
TODO list since the two items in it appear to be done already.
1.1.2.6 Download
View as text
View 1.1.2.6
View annotated
[select for diffs]
Diff to previous 1.1.2.5
ZODB3-3_1-branch
Diff to branch point 1.1
 
8 years, 9 months ago
Sat Aug 16 22:31:52 2003
tim_one
Log:
scandat(): Simplify overly-complex logic for finding the last line. I
don't believe a .dat file can grow to gazillions of entries in reasonable
use, so there's no sane reason to avoid readlines(). Still untested.
1.1.2.5 Download
View as text
View 1.1.2.5
View annotated
[select for diffs]
Diff to previous 1.1.2.4
ZODB3-3_1-branch
Diff to branch point 1.1
 
8 years, 9 months ago
Sat Aug 16 22:28:24 2003
tim_one
Log:
scandat(): The logic was still wrong if the .dat file was empty.
Repaired, but still untested.
1.1.2.4 Download
View as text
View 1.1.2.4
View annotated
[select for diffs]
Diff to previous 1.1.2.3
ZODB3-3_1-branch
Diff to branch point 1.1
 
8 years, 9 months ago
Sat Aug 16 22:24:59 2003
tim_one
Log:
scandat(): The caller clearly believes that (None,)*4 should be returned
if the .dat file is missing or empty. However, the code actually tries to
do long(None) in either of those cases, and that leads to the traceback
death Jens reported. Repaired that in the obvious way, but this is
untested!

Also repaired out-of-date and inaccurate comments in scandat().
1.1.2.3 Download
View as text
View 1.1.2.3
View annotated
[select for diffs]
Diff to previous 1.1.2.2
ZODB3-3_1-branch
Diff to branch point 1.1
9 years, 1 month ago
Mon Apr 7 20:54:56 2003
bwarsaw
Log:
dofile(): Add the length of the data read from the file to the
bytesread accumulator, not the chunklen which is the number of bytes
we wanted to read.
1.5 Download
View as text
View 1.5
View annotated
[select for diffs]
Diff to previous 1.4
MAIN
Branch point for: Zope-2_7-branch
ZODB3-3_2-branch
9 years, 1 month ago
Mon Apr 7 20:51:36 2003
bwarsaw
Log:
dofile(): Add the length of the data read from the file to the
bytesread accumulator, not the chunklen which is the number of bytes
we wanted to read.
1.1.2.2 Download
View as text
View 1.1.2.2
View annotated
[select for diffs]
Diff to previous 1.1.2.1
ZODB3-3_1-branch
Diff to branch point 1.1
9 years, 3 months ago
Tue Feb 11 18:26:52 2003
bwarsaw
Log:
Port --quick and --gzip flag from 3.2 head.
1.4 Download
View as text
View 1.4
View annotated
[select for diffs]
Diff to previous 1.3
MAIN
9 years, 3 months ago
Fri Feb 7 00:01:57 2003
bwarsaw
Log:
Add -z/-gzip option to store the backup files compressed. Right now,
it just uses the gzip module's default compression level (i.e. 9).

No need to specify -z on recovery because the script will
automatically uncompress gzip'd files. It does this by looking at the
file extension, which will be .fsz or .deltafsz for compressed files.
1.3 Download
View as text
View 1.3
View annotated
[select for diffs]
Diff to previous 1.2
MAIN
 
9 years, 3 months ago
Thu Feb 6 22:44:54 2003
bwarsaw
Log:
Added a --Q / --quick option which does only md5 checksums the last
incremental instead of all the incrementals. Less assured consistency
but much less disk i/o.
1.2 Download
View as text
View 1.2
View annotated
[select for diffs]
Diff to previous 1.1
MAIN
 
9 years, 3 months ago
Fri Jan 31 15:55:13 2003
bwarsaw
Log:
Anthony Baxter's FileStorage backup script, significantly hacked upon
by Barry Warsaw.
1.1.2.1 Download
View as text
View 1.1.2.1
View annotated
[select for diffs]
Diff to previous 1.1
ZODB3-3_1-branch
9 years, 3 months ago
Fri Jan 31 15:52:41 2003
bwarsaw
Log:
Anthony Baxter's FileStorage backup script, significantly hacked upon
by Barry Warsaw.
1.1 Download
View as text
View 1.1
View annotated
[select for diffs]
FILE REMOVED
MAIN
Branch point for: ZODB3-3_1-branch
 
9 years, 3 months ago
Fri Jan 31 15:52:41 2003
bwarsaw
Log:
file repozo.py was initially added on branch ZODB3-3_1-branch.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

webmaster@zope.org
Powered by
ViewCVS 0.9.2