]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
15 years agotest_cli: improve test coverage slightly
Brian Warner [Mon, 16 Feb 2009 04:04:51 +0000 (21:04 -0700)]
test_cli: improve test coverage slightly

15 years agotest_util: get almost full test coverage of dictutil, starting with the original...
Brian Warner [Mon, 16 Feb 2009 03:32:10 +0000 (20:32 -0700)]
test_util: get almost full test coverage of dictutil, starting with the original pyutil tests as a base. The remaining three uncovered lines involve funny cases of ValueOrderedDict that I can't figure out how to get at

15 years agoprovisioning/reliability: add tests, hush pyflakes, remove dead code, fix web links
Brian Warner [Sun, 15 Feb 2009 23:24:51 +0000 (16:24 -0700)]
provisioning/reliability: add tests, hush pyflakes, remove dead code, fix web links

15 years agoutil/statistics: add tests, fix mean_repair_cost
Brian Warner [Sun, 15 Feb 2009 23:23:26 +0000 (16:23 -0700)]
util/statistics: add tests, fix mean_repair_cost

15 years agotest_repairer: hush pyflakes
Brian Warner [Sun, 15 Feb 2009 23:23:10 +0000 (16:23 -0700)]
test_repairer: hush pyflakes

15 years agolossmodel.lyx: move draft paper into docs/proposed/, since it's unfinished
Brian Warner [Sun, 15 Feb 2009 23:19:05 +0000 (16:19 -0700)]
lossmodel.lyx: move draft paper into docs/proposed/, since it's unfinished

15 years agobuild a 'reliability' web page, with a simulation of file decay and repair over time
Brian Warner [Sat, 14 Feb 2009 00:42:34 +0000 (17:42 -0700)]
build a 'reliability' web page, with a simulation of file decay and repair over time

15 years agoMore lossmodel work, on repair.
Shawn Willden [Fri, 16 Jan 2009 03:56:48 +0000 (20:56 -0700)]
More lossmodel work, on repair.

15 years agoLoss model work (temp1)
Shawn Willden [Thu, 15 Jan 2009 04:00:58 +0000 (21:00 -0700)]
Loss model work (temp1)

15 years agoStatistics module
Shawn Willden [Wed, 14 Jan 2009 03:12:35 +0000 (20:12 -0700)]
Statistics module

Added a statistics module for calculating various facets of
share survival statistics.

15 years agodocs: relnotes-short.txt
Zooko O'Whielacronx [Sun, 15 Feb 2009 17:35:10 +0000 (10:35 -0700)]
docs: relnotes-short.txt
linkedin.com imposed a strict limit on the number of characters I could post.  This forced me to prune and prune and edit and edit until relnotes.txt was a quarter of its former size.  Here's the short version.

15 years agoTAG allmydata-tahoe-1.3.0 allmydata-tahoe-1.3.0
Zooko O'Whielacronx [Sat, 14 Feb 2009 01:05:56 +0000 (18:05 -0700)]
TAG allmydata-tahoe-1.3.0

15 years agodocs: a few last-minute edits to the docs for 1.3.0 (also this patch will accompany...
Zooko O'Whielacronx [Sat, 14 Feb 2009 01:05:00 +0000 (18:05 -0700)]
docs: a few last-minute edits to the docs for 1.3.0 (also this patch will accompany the tag and conveniently trigger the buildbots to build a 1.3.0 version)

15 years agosetup: remove attempt to automatically satisfy dependency on pywin32
Zooko O'Whielacronx [Sat, 14 Feb 2009 00:49:39 +0000 (17:49 -0700)]
setup: remove attempt to automatically satisfy dependency on pywin32

15 years agoNEWS: mention #625 (deep-repair breaks when it tries to repair a read-only directory)
Brian Warner [Fri, 13 Feb 2009 23:55:34 +0000 (16:55 -0700)]
NEWS: mention #625 (deep-repair breaks when it tries to repair a read-only directory)

15 years agotest_dirnode: #625 run deep-check on a readonly dirnode too
Brian Warner [Fri, 13 Feb 2009 21:53:37 +0000 (14:53 -0700)]
test_dirnode: #625 run deep-check on a readonly dirnode too

15 years agodocs: CREDITS
Zooko O'Whielacronx [Fri, 13 Feb 2009 21:12:45 +0000 (14:12 -0700)]
docs: CREDITS

15 years agofigleaf_htmlizer: fix order of summary counters
Brian Warner [Fri, 13 Feb 2009 16:57:53 +0000 (09:57 -0700)]
figleaf_htmlizer: fix order of summary counters

15 years agoMakefile: minor, add .PHONY declarations
Brian Warner [Fri, 13 Feb 2009 08:23:41 +0000 (01:23 -0700)]
Makefile: minor, add .PHONY declarations

15 years agofigleaf_htmlizer: oops, re-ignore files that aren't under root, like code in auto...
Brian Warner [Fri, 13 Feb 2009 07:00:22 +0000 (00:00 -0700)]
figleaf_htmlizer: oops, re-ignore files that aren't under root, like code in auto-built eggs

15 years agosetup: relnotes.txt mention the iPhone app and CIFS/SMB (tahoe-w32-client)
Zooko O'Whielacronx [Fri, 13 Feb 2009 05:41:21 +0000 (22:41 -0700)]
setup: relnotes.txt mention the iPhone app and CIFS/SMB (tahoe-w32-client)

15 years agosetup: make the "full version string" be "allmydata-tahoe/1.3.0" instead of "allmydat...
Zooko O'Whielacronx [Fri, 13 Feb 2009 05:37:38 +0000 (22:37 -0700)]
setup: make the "full version string" be "allmydata-tahoe/1.3.0" instead of "allmydata-tahoe-1.3.0" and the UserAgent string of the cli be "allmydata-tahoe/1.3.0 (tahoe-client)"
This is webbish.  Thanks to kpreid for suggesting it.

15 years agodocs: relnotes.txt final (!?) update for 1.3.0!
Zooko O'Whielacronx [Fri, 13 Feb 2009 05:28:14 +0000 (22:28 -0700)]
docs: relnotes.txt final (!?) update for 1.3.0!

15 years agodocs: known_issues.txt: my version of #615, remove "issue numbers", edits, move tahoe...
Zooko O'Whielacronx [Fri, 13 Feb 2009 05:16:21 +0000 (22:16 -0700)]
docs: known_issues.txt: my version of #615, remove "issue numbers", edits, move tahoe-1.1.0 issues to historical

15 years agodocs: CREDITS
Zooko O'Whielacronx [Fri, 13 Feb 2009 04:42:28 +0000 (21:42 -0700)]
docs: CREDITS

15 years agoMakefile: add figleaf-delta-output, to render figleaf coverage differences with a...
Brian Warner [Thu, 12 Feb 2009 22:18:29 +0000 (15:18 -0700)]
Makefile: add figleaf-delta-output, to render figleaf coverage differences with a previous run

15 years agofigleaf_htmlizer: emit stats to stdout, so buildbot can see it
Brian Warner [Thu, 12 Feb 2009 22:10:20 +0000 (15:10 -0700)]
figleaf_htmlizer: emit stats to stdout, so buildbot can see it

15 years agofigleaf_htmlizer: render changes in coverage relative to a previous test run using...
Brian Warner [Thu, 12 Feb 2009 22:04:12 +0000 (15:04 -0700)]
figleaf_htmlizer: render changes in coverage relative to a previous test run using --old-coverage

15 years agoimmutable repairer: fix DownUpConnector so that it satisfies short reads the were...
Zooko O'Whielacronx [Fri, 13 Feb 2009 00:04:47 +0000 (17:04 -0700)]
immutable repairer: fix DownUpConnector so that it satisfies short reads the were requested after the last write and before the close
This is probably the cause of the very rare "loss of progress" bug.  This is tested by unit tests.  A recent patch changed this to errback instead of losing progress, and now this patch is changing it again to return a short read instead of errbacking.  Returning a short read is what the uploader (in encode.py) is expecting, when it is reading the last block of the ciphertext, which might be shorter than the other blocks.

15 years agoimmutable repairer: add an assertion that a certain value in this tricky function...
Zooko O'Whielacronx [Thu, 12 Feb 2009 23:31:32 +0000 (16:31 -0700)]
immutable repairer: add an assertion that a certain value in this tricky function is always what I think it is

15 years agoimmutable repairer: add tests of how it handles short reads
Zooko O'Whielacronx [Thu, 12 Feb 2009 23:48:53 +0000 (16:48 -0700)]
immutable repairer: add tests of how it handles short reads

15 years agonodeadmin: node stops itself if a hotline file hasn't been touched in 60 seconds...
Zooko O'Whielacronx [Thu, 12 Feb 2009 22:21:31 +0000 (15:21 -0700)]
nodeadmin: node stops itself if a hotline file hasn't been touched in 60 seconds now, instead of in 40 seconds
A test failed on draco (MacPPC) because it took 49 seconds to get around to running the test, and the node had already stopped itself when the hotline file was 40 seconds old.

15 years agoimmutable repairer: errback any pending readers of DownUpConnectorwhen it runs out...
Zooko O'Whielacronx [Thu, 12 Feb 2009 03:11:29 +0000 (20:11 -0700)]
immutable repairer: errback any pending readers of DownUpConnectorwhen it runs out of bytes, and test that fact

15 years agofigleaf_htmlizer: more rearranging, behavior should still be unchanged
Brian Warner [Thu, 12 Feb 2009 03:05:15 +0000 (20:05 -0700)]
figleaf_htmlizer: more rearranging, behavior should still be unchanged

15 years agofigleaf_htmlizer: break it up into subfunctions, behavior should still be unchanged
Brian Warner [Thu, 12 Feb 2009 02:56:07 +0000 (19:56 -0700)]
figleaf_htmlizer: break it up into subfunctions, behavior should still be unchanged

15 years agofigleaf_htmlizer: rewrite in class form, behavior should be the same as before
Brian Warner [Thu, 12 Feb 2009 02:40:50 +0000 (19:40 -0700)]
figleaf_htmlizer: rewrite in class form, behavior should be the same as before

15 years agofigleaf_htmlizer: rewrite with twisted.python.usage, remove logging: should behave...
Brian Warner [Thu, 12 Feb 2009 02:16:43 +0000 (19:16 -0700)]
figleaf_htmlizer: rewrite with twisted.python.usage, remove logging: should behave the same as before

15 years agofigleaf_htmlizer: expand tabs, fix to 4-space indents. No functional changes.
Brian Warner [Thu, 12 Feb 2009 02:05:42 +0000 (19:05 -0700)]
figleaf_htmlizer: expand tabs, fix to 4-space indents. No functional changes.

15 years agoMakefile: include the figleaf pickle in the uploaded coverage data, for later differe...
Brian Warner [Thu, 12 Feb 2009 01:09:13 +0000 (18:09 -0700)]
Makefile: include the figleaf pickle in the uploaded coverage data, for later differential analysis

15 years agoMakefile: fix test-clean, by ignoring _appname.py and removing src/allmydata_tahoe...
Brian Warner [Thu, 12 Feb 2009 01:04:34 +0000 (18:04 -0700)]
Makefile: fix test-clean, by ignoring _appname.py and removing src/allmydata_tahoe.egg-info

15 years agosetup: from the perspective of darcs, src/allmydata/_appname.py is a very boring...
Zooko O'Whielacronx [Thu, 12 Feb 2009 00:31:08 +0000 (17:31 -0700)]
setup: from the perspective of darcs, src/allmydata/_appname.py is a very boring file, indeed

15 years agoversioning: include an "appname" in the application version string in the versioning...
Zooko O'Whielacronx [Thu, 12 Feb 2009 00:18:16 +0000 (17:18 -0700)]
versioning: include an "appname" in the application version string in the versioning protocol, and make that appname be controlled by setup.py
It is currently hardcoded in setup.py to be 'allmydata-tahoe'.  Ticket #556 is to make it configurable by a runtime command-line argument to setup.py: "--appname=foo", but I suddenly wondered if we really wanted that and at the same time realized that we don't need that for tahoe-1.3.0 release, so this patch just hardcodes it in setup.py.
setup.py inspects a file named 'src/allmydata/_appname.py' and assert that it contains the string "__appname__ = 'allmydata-tahoe'", and creates it if it isn't already present.  src/allmydata/__init__.py import _appname and reads __appname__ from it.  The rest of the Python code imports allmydata and inspects "allmydata.__appname__", although actually every use it uses "allmydata.__full_version__" instead, where "allmydata.__full_version__" is created in src/allmydata/__init__.py to be:

__full_version__ = __appname + '-' + str(__version__).

All the code that emits an "application version string" when describing what version of a protocol it supports (introducer server, storage server, upload helper), or when describing itself in general (introducer client), usese allmydata.__full_version__.

This fixes ticket #556 at least well enough for tahoe-1.3.0 release.

15 years agosetup: add new darcsver-1.2.1 which includes Brian's and Nils Durner's patch to ignor...
Zooko O'Whielacronx [Wed, 11 Feb 2009 22:52:53 +0000 (15:52 -0700)]
setup: add new darcsver-1.2.1 which includes Brian's and Nils Durner's patch to ignore non-ascii chars in XML output

15 years agobackupdb: cosmetic: capitalize the no-pysqlite instructions properly. Thanks to Terre...
Brian Warner [Wed, 11 Feb 2009 22:28:30 +0000 (15:28 -0700)]
backupdb: cosmetic: capitalize the no-pysqlite instructions properly. Thanks to Terrell Russell for the catch.

15 years agotest_repairer: disable repair-from-corruption tests until other things are improved...
Brian Warner [Wed, 11 Feb 2009 22:01:59 +0000 (15:01 -0700)]
test_repairer: disable repair-from-corruption tests until other things are improved well enough to make it useful

15 years agoNEWS: explain limitations of the new repairer
Brian Warner [Wed, 11 Feb 2009 21:43:52 +0000 (14:43 -0700)]
NEWS: explain limitations of the new repairer

15 years agosetup: removed bundled darcsver-1.2.0
Zooko O'Whielacronx [Wed, 11 Feb 2009 21:19:04 +0000 (14:19 -0700)]
setup: removed bundled darcsver-1.2.0
(I'm about to add a new bundled darcsver-1.2.1, but I want to see what the buildbots will do when there is no bundled darcsver present.)

15 years agotrivial: whitespace
Zooko O'Whielacronx [Wed, 11 Feb 2009 18:19:35 +0000 (11:19 -0700)]
trivial: whitespace

15 years agodocs/known_issues: mention #615 javascript-vs-frames, for zooko to improve/rewrite
Brian Warner [Wed, 11 Feb 2009 21:14:53 +0000 (14:14 -0700)]
docs/known_issues: mention #615 javascript-vs-frames, for zooko to improve/rewrite

15 years agostorage: make add-lease work, change default ownernum=1 since 0 is reserved to mean...
Brian Warner [Wed, 11 Feb 2009 06:39:38 +0000 (23:39 -0700)]
storage: make add-lease work, change default ownernum=1 since 0 is reserved to mean 'no lease here'

15 years ago#620: storage: allow mutable shares to be deleted, with a writev where new_length=0
Brian Warner [Wed, 11 Feb 2009 06:37:56 +0000 (23:37 -0700)]
#620: storage: allow mutable shares to be deleted, with a writev where new_length=0

15 years agotest_cli.Backup: insert some stalls to make sure two successive backups get distinct...
Brian Warner [Wed, 11 Feb 2009 03:37:09 +0000 (20:37 -0700)]
test_cli.Backup: insert some stalls to make sure two successive backups get distinct timestamps, avoiding intermittent failures

15 years ago#619: make 'tahoe backup' complain and refuse to run if sqlite is unavailable and...
Brian Warner [Wed, 11 Feb 2009 01:49:10 +0000 (18:49 -0700)]
#619: make 'tahoe backup' complain and refuse to run if sqlite is unavailable and --no-backupdb is not passed

15 years agoNEWS: point out that 'tahoe backup' requires a 1.3.0-or-later client node
Brian Warner [Tue, 10 Feb 2009 22:00:25 +0000 (15:00 -0700)]
NEWS: point out that 'tahoe backup' requires a 1.3.0-or-later client node

15 years agotests: increase the default timeout for SystemTestMixin -based tests to 300 seconds...
Brian Warner [Tue, 10 Feb 2009 21:44:12 +0000 (14:44 -0700)]
tests: increase the default timeout for SystemTestMixin -based tests to 300 seconds, since our slower buildslaves sometimes take longer than the default 120s

15 years agoimmutable: repairer: add a simple test to exercise the "leftover" code path, fix...
Zooko O'Whielacronx [Tue, 10 Feb 2009 19:12:45 +0000 (12:12 -0700)]
immutable: repairer: add a simple test to exercise the "leftover" code path, fix the bug (and rename the variable "leftover" to "extra")

15 years agodocs: not-quite-final version of relnotes.txt for tahoe-1.3.0
Zooko O'Whielacronx [Tue, 10 Feb 2009 18:02:27 +0000 (11:02 -0700)]
docs: not-quite-final version of relnotes.txt for tahoe-1.3.0

15 years agodocs: small edit to about.html
Zooko O'Whielacronx [Tue, 10 Feb 2009 18:02:19 +0000 (11:02 -0700)]
docs: small edit to about.html

15 years agodocs: NEWS: move the most exciting items to the top, break them out of less exciting...
Zooko O'Whielacronx [Tue, 10 Feb 2009 09:48:43 +0000 (02:48 -0700)]
docs: NEWS: move the most exciting items to the top, break them out of less exciting categories, update a couple of stale bits, and a touch of editing

15 years agodocs: edit about.html
Zooko O'Whielacronx [Tue, 10 Feb 2009 09:01:02 +0000 (02:01 -0700)]
docs: edit about.html

15 years agoimmutable: tighten preconditions -- you can write empty strings or read zero bytes...
Zooko O'Whielacronx [Tue, 10 Feb 2009 07:56:47 +0000 (00:56 -0700)]
immutable: tighten preconditions -- you can write empty strings or read zero bytes, and add the first simple unit test of DownUpConnector

15 years agoimmutable: tests: the real WRITE_LEEWAY is 35 (it was a mistake to move it from 10...
Zooko O'Whielacronx [Tue, 10 Feb 2009 06:53:48 +0000 (23:53 -0700)]
immutable: tests: the real WRITE_LEEWAY is 35 (it was a mistake to move it from 10 to 35 earlier -- I had seen a failure in which it took 35 times as many writes as I thought were optimal, but I misread and thought it took only 20 times as many)

15 years agoimmutable: defensive programming: assert that the encrypted readable gave you no...
Zooko O'Whielacronx [Tue, 10 Feb 2009 06:46:05 +0000 (23:46 -0700)]
immutable: defensive programming: assert that the encrypted readable gave you no more than the number of bytes you asked for
(There is a bug in the current DownUpConnector which can cause it to give more bytes than you asked for on one request, and then less on the next, effectively shifting some of the bytes to an earlier request, but I think this bug never gets triggered in practice.)

15 years agodocs: suggest Python 2.5 -- Python 2.6 is not as well tested yet
Zooko O'Whielacronx [Tue, 10 Feb 2009 06:44:21 +0000 (23:44 -0700)]
docs: suggest Python 2.5 -- Python 2.6 is not as well tested yet

15 years agoimmutable: tests: sigh, raise, again the limit of how many extra writes you can do...
Zooko O'Whielacronx [Tue, 10 Feb 2009 03:09:31 +0000 (20:09 -0700)]
immutable: tests: sigh, raise, again the limit of how many extra writes you can do and still pass this test
Obviously requiring the code under test to perform within some limit isn't very meaningful if we raise the limit whenever the test goes outside of it.
But I still don't want to remove the test code which measures how many writes (and, elsewhere, how many reads) a client does in order to fulfill these duties.
Let this number -- now 20 -- stand as an approximation of the inefficiency of our code divided by my mental model of how many operations are actually optimal for these duties.

15 years agoimmutable: tests: assert that verifier gives a clean bill of health after corruption...
Zooko O'Whielacronx [Tue, 10 Feb 2009 03:08:41 +0000 (20:08 -0700)]
immutable: tests: assert that verifier gives a clean bill of health after corruption and repair (the previous patch mistakenly did this only after deletion and repair), and also test whether deleting seven other shares and then downloading works.  Also count the number of shares stored in the local filesystem.

15 years agoimmutable: test: add a test after attempting to repair from corruption: does a full...
Zooko O'Whielacronx [Tue, 10 Feb 2009 02:01:49 +0000 (19:01 -0700)]
immutable: test: add a test after attempting to repair from corruption: does a full verify run give the file a clean bill of health?  If not, the you haven't successfully repaired it.
This will make the repairer tests more consistent -- less accidentally passing due to getting lucky.

15 years agoimmutable: tests: put shares back to their pristine condition in between each test...
Zooko O'Whielacronx [Tue, 10 Feb 2009 01:29:56 +0000 (18:29 -0700)]
immutable: tests: put shares back to their pristine condition in between each test of corrupting-and-repairing them
This is important, because if the repairer doesn't completely repair all kinds of corruption (as the current one doesn't), then the successive tests get messed up by assuming that the shares were uncorrupted when the test first set about to corrupt them.

15 years agoupload: add a think-of-the-compatibility note to UploadResults
Brian Warner [Mon, 9 Feb 2009 21:50:04 +0000 (14:50 -0700)]
upload: add a think-of-the-compatibility note to UploadResults

15 years agohelper #609: uploading client should ignore old helper's UploadResults, which were...
Brian Warner [Mon, 9 Feb 2009 21:45:43 +0000 (14:45 -0700)]
helper #609: uploading client should ignore old helper's UploadResults, which were in a different format

15 years agotest_runner: skip all spawnProcess-using tests on cygwin, since spawnProcess just...
Brian Warner [Mon, 9 Feb 2009 09:34:00 +0000 (02:34 -0700)]
test_runner: skip all spawnProcess-using tests on cygwin, since spawnProcess just hangs forever

15 years agotest_runner.py: revert the CreateNode section to using runner() inline, rather than...
Brian Warner [Mon, 9 Feb 2009 09:26:17 +0000 (02:26 -0700)]
test_runner.py: revert the CreateNode section to using runner() inline, rather than spawning a process, to get more precise coverage

15 years agostorage #596: announce 'tolerates-immutable-read-overrun' to the version announcement...
Brian Warner [Mon, 9 Feb 2009 02:56:02 +0000 (19:56 -0700)]
storage #596: announce 'tolerates-immutable-read-overrun' to the version announcement, to indicate that a read() on an immutable share where offset+length is beyond the end of the file will return a truncated string instead of raising an exception

15 years agotest_upload: add test of maximum-immutable-share-size, to complete the last item...
Brian Warner [Mon, 9 Feb 2009 02:41:27 +0000 (19:41 -0700)]
test_upload: add test of maximum-immutable-share-size, to complete the last item of #538

15 years agodocs/specifications: add an outline of the spec documents we'd like to have some day
Brian Warner [Mon, 9 Feb 2009 00:47:48 +0000 (17:47 -0700)]
docs/specifications: add an outline of the spec documents we'd like to have some day

15 years agotest_cli.Backup: capture stderr when sqlite is unavailable
Brian Warner [Sat, 7 Feb 2009 22:14:40 +0000 (15:14 -0700)]
test_cli.Backup: capture stderr when sqlite is unavailable

15 years agodocs: add mac/README.txt to explain the first few basic facts about what the files...
Zooko O'Whielacronx [Sat, 7 Feb 2009 23:33:21 +0000 (16:33 -0700)]
docs: add mac/README.txt to explain the first few basic facts about what the files are in this directory

15 years agotest_repairer: wrap comments to 80cols, my laptop does not have a wide screen. No...
Brian Warner [Sat, 7 Feb 2009 21:06:26 +0000 (14:06 -0700)]
test_repairer: wrap comments to 80cols, my laptop does not have a wide screen. No functional changes.

15 years agoimmutable/checker: wrap comments to 80cols, my laptop does not have a wide screen...
Brian Warner [Sat, 7 Feb 2009 21:04:39 +0000 (14:04 -0700)]
immutable/checker: wrap comments to 80cols, my laptop does not have a wide screen. No functional changes.

15 years agotest/common.py: in share-layout-reading code, use '>L' consistently, since '>l' doesn...
Brian Warner [Sat, 7 Feb 2009 20:38:17 +0000 (13:38 -0700)]
test/common.py: in share-layout-reading code, use '>L' consistently, since '>l' doesn't specify the signedness and the windows tests appear to be failing with an endianness-like problem (version==0x01000000). Also use binary mode when editing sharefiles

15 years agotest_cli: increase timeout on test_backup, since our dapper buildslave is really...
Brian Warner [Fri, 6 Feb 2009 09:17:53 +0000 (02:17 -0700)]
test_cli: increase timeout on test_backup, since our dapper buildslave is really slow

15 years agobackupdb.py: catch OperationalError on duplicate-insert too, since pysqlite2 on dappe...
Brian Warner [Fri, 6 Feb 2009 08:34:01 +0000 (01:34 -0700)]
backupdb.py: catch OperationalError on duplicate-insert too, since pysqlite2 on dapper raises it instead of IntegrityError

15 years agotest_backupdb.py: reset the check-timers after one step, otherwise a slow host can...
Brian Warner [Fri, 6 Feb 2009 08:33:05 +0000 (01:33 -0700)]
test_backupdb.py: reset the check-timers after one step, otherwise a slow host can false-fail

15 years agoNEWS: announce the #598 'tahoe backup' command
Brian Warner [Fri, 6 Feb 2009 06:44:16 +0000 (23:44 -0700)]
NEWS: announce the #598 'tahoe backup' command

15 years agodocs/CLI: document 'tahoe backup'
Brian Warner [Fri, 6 Feb 2009 05:14:45 +0000 (22:14 -0700)]
docs/CLI: document 'tahoe backup'

15 years agotest_cli.backup: oops, fix test to work even when sqlite is unavailable
Brian Warner [Fri, 6 Feb 2009 05:10:42 +0000 (22:10 -0700)]
test_cli.backup: oops, fix test to work even when sqlite is unavailable

15 years ago#598: add cli+backupdb tests, improve user display, update docs, move docs out of...
Brian Warner [Fri, 6 Feb 2009 05:07:01 +0000 (22:07 -0700)]
#598: add cli+backupdb tests, improve user display, update docs, move docs out of proposed/

15 years ago#598: add backupdb to 'tahoe backup' command, enable it by default
Brian Warner [Fri, 6 Feb 2009 02:56:40 +0000 (19:56 -0700)]
#598: add backupdb to 'tahoe backup' command, enable it by default

15 years agoadd sqlite-based backupdb, for #598 and others (including 'tahoe cp'). Not enabled...
Brian Warner [Fri, 6 Feb 2009 01:17:56 +0000 (18:17 -0700)]
add sqlite-based backupdb, for #598 and others (including 'tahoe cp'). Not enabled yet.

15 years agosetup: require new bundled setuptools-0.6c12dev
Zooko O'Whielacronx [Thu, 5 Feb 2009 16:29:23 +0000 (09:29 -0700)]
setup: require new bundled setuptools-0.6c12dev

15 years agosetup: bundle setuptools-0.6c12dev (our own toothpick of setuptools) this version...
Zooko O'Whielacronx [Thu, 5 Feb 2009 16:28:18 +0000 (09:28 -0700)]
setup: bundle setuptools-0.6c12dev (our own toothpick of setuptools) this version completes my patch to fix http://bugs.python.org/setuptools/issue54 , which is necessary for tahoe to build with --prefix=support without doing a lot of PYTHONPATH gymnastics around the call to setup.py

15 years agosetup: remove old bundled setuptools-0.6c11dev (our own toothpick of setuptools)
Zooko O'Whielacronx [Thu, 5 Feb 2009 16:27:58 +0000 (09:27 -0700)]
setup: remove old bundled setuptools-0.6c11dev (our own toothpick of setuptools)

15 years agosetup: add a case to execute "python .../twistd.py" if "twistd" is not found
Zooko O'Whielacronx [Thu, 5 Feb 2009 01:06:20 +0000 (18:06 -0700)]
setup: add a case to execute "python .../twistd.py" if "twistd" is not found

15 years agodoc: specify Python >= 2.4.2
Zooko O'Whielacronx [Wed, 4 Feb 2009 22:38:40 +0000 (15:38 -0700)]
doc: specify Python >= 2.4.2

15 years agosetup: merge recent patches that change the set of bundled tools in misc/dependencies/
Zooko O'Whielacronx [Wed, 4 Feb 2009 20:32:22 +0000 (13:32 -0700)]
setup: merge recent patches that change the set of bundled tools in misc/dependencies/

15 years agosetup: bundle new setuptools_trial
Zooko O'Whielacronx [Wed, 4 Feb 2009 20:24:54 +0000 (13:24 -0700)]
setup: bundle new setuptools_trial

15 years agosetup: remove old bundled setuptools_trial
Zooko O'Whielacronx [Wed, 4 Feb 2009 20:24:42 +0000 (13:24 -0700)]
setup: remove old bundled setuptools_trial

15 years agosetup: bundle new setuptools_darcs
Zooko O'Whielacronx [Wed, 4 Feb 2009 20:24:29 +0000 (13:24 -0700)]
setup: bundle new setuptools_darcs

15 years agosetup: remove old bundled setuptools_darcs
Zooko O'Whielacronx [Wed, 4 Feb 2009 20:24:18 +0000 (13:24 -0700)]
setup: remove old bundled setuptools_darcs

15 years agoroll back the upgrade of the bundled setuptools_trial from 0.5 to 0.5.1
Zooko O'Whielacronx [Wed, 4 Feb 2009 08:38:36 +0000 (01:38 -0700)]
roll back the upgrade of the bundled setuptools_trial from 0.5 to 0.5.1
Upgrading setuptools trial in that way leads to a very tricky problem in setuptools's handling of recursive installation of the build-time dependencies of build-time dependencies...

rolling back:

Tue Feb  3 22:17:18 MST 2009  zooko@zooko.com
  * setup: bundle new setuptools_trial-0.5.1

    A ./misc/dependencies/setuptools_trial-0.5.1.tar
Tue Feb  3 22:17:32 MST 2009  zooko@zooko.com
  * setup: remove old bundled setuptools_trial

    R ./misc/dependencies/setuptools_trial-0.5.tar