]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
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

15 years agosetup: remove a couple of horrible work-arounds in setup.py now that we rely on our...
Zooko O'Whielacronx [Wed, 4 Feb 2009 06:24:05 +0000 (23:24 -0700)]
setup: remove a couple of horrible work-arounds in setup.py now that we rely on our own toothpick of setuptools which fixes those issues
also specify that we need our latest revision (11dev) of our toothpick of setuptools
also *always* setup_require setuptools_darcs at module import time.  Formerly we added setup_require setuptools_darcs only if the PKG-INFO file were not already created.  There is some weird, irreproducible bug to do with setuptool_darcs, and I guess that the fact that whether it is required or not depends on that autogenerated file might have something to do with it.  Anyway, this is simpler.

15 years agosetup: remove old bundled setuptools_trial
Zooko O'Whielacronx [Wed, 4 Feb 2009 06:17:32 +0000 (23:17 -0700)]
setup: remove old bundled setuptools_trial

15 years agosetup: bundle new setuptools_trial-0.5.1
Zooko O'Whielacronx [Wed, 4 Feb 2009 06:17:18 +0000 (23:17 -0700)]
setup: bundle new setuptools_trial-0.5.1

15 years agosetup: bundle new setuptools_darcs-1.2.5
Zooko O'Whielacronx [Wed, 4 Feb 2009 06:17:04 +0000 (23:17 -0700)]
setup: bundle new setuptools_darcs-1.2.5

15 years agosetup: remove old bundled setuptools_darcs
Zooko O'Whielacronx [Wed, 4 Feb 2009 06:16:40 +0000 (23:16 -0700)]
setup: remove old bundled setuptools_darcs

15 years agosetup: remove bundled darcsver in gzipped format
Zooko O'Whielacronx [Wed, 4 Feb 2009 06:16:28 +0000 (23:16 -0700)]
setup: remove bundled darcsver in gzipped format

15 years agosetup: bundle darcsver in ungzipped format
Zooko O'Whielacronx [Wed, 4 Feb 2009 06:16:17 +0000 (23:16 -0700)]
setup: bundle darcsver in ungzipped format

15 years agodocs: mention issues using flogtool on Windows
Zooko O'Whielacronx [Wed, 4 Feb 2009 04:34:10 +0000 (21:34 -0700)]
docs: mention issues using flogtool on Windows

15 years agowebapi: add verifycap (spelled 'verify_url') to the t=json output on files and direct...
Brian Warner [Wed, 4 Feb 2009 02:22:48 +0000 (19:22 -0700)]
webapi: add verifycap (spelled 'verify_url') to the t=json output on files and directories. Closes #559.

15 years agosetup: stop trying to add specific dirs to site-dirs to work-around setuptools #17
Zooko O'Whielacronx [Tue, 3 Feb 2009 05:23:52 +0000 (22:23 -0700)]
setup: stop trying to add specific dirs to site-dirs to work-around setuptools #17

15 years agosetup: require and automatically use setuptools-0.6c11dev (our own toothpick of setup...
Zooko O'Whielacronx [Tue, 3 Feb 2009 05:23:23 +0000 (22:23 -0700)]
setup: require and automatically use setuptools-0.6c11dev (our own toothpick of setuptools) which is bundled

15 years agosetup: remove old bundled setuptools-0.6c10dev (our own toothpick of setuptools)
Zooko O'Whielacronx [Tue, 3 Feb 2009 05:23:04 +0000 (22:23 -0700)]
setup: remove old bundled setuptools-0.6c10dev (our own toothpick of setuptools)

15 years agosetup: bundle setuptools-0.6c11dev (our own toothpick of setuptools)
Zooko O'Whielacronx [Tue, 3 Feb 2009 05:19:50 +0000 (22:19 -0700)]
setup: bundle setuptools-0.6c11dev (our own toothpick of setuptools)
Hopefully this one fixes the issue with easy_install not searching the sys.path for packages that were requested to be installed, (setuptools #17), thus allowing us to do away with the "--site-dirs=" kludges, which are currently breaking some of our buildbots.

15 years agoCLI: tahoe_check: stop escaping the JSON output when using --raw
Brian Warner [Tue, 3 Feb 2009 04:12:32 +0000 (21:12 -0700)]
CLI: tahoe_check: stop escaping the JSON output when using --raw

15 years ago#598: first cut of 'tahoe backup' command: no backupdb, but yes shared-unchanged...
Brian Warner [Tue, 3 Feb 2009 04:09:02 +0000 (21:09 -0700)]
#598: first cut of 'tahoe backup' command: no backupdb, but yes shared-unchanged-directories and Archives/TIMESTAMP and Latest/

15 years agoCLI: move node-url -should-end-in-slash code into a common place, so other tools...
Brian Warner [Tue, 3 Feb 2009 04:08:56 +0000 (21:08 -0700)]
CLI: move node-url -should-end-in-slash code into a common place, so other tools can rely upon it later

15 years agotahoe_ls: CLI command should return rc=0, not None
Brian Warner [Tue, 3 Feb 2009 04:07:20 +0000 (21:07 -0700)]
tahoe_ls: CLI command should return rc=0, not None

15 years agosetup: add site-dirs for Debian and for some (?) Mac OS X
Zooko O'Whielacronx [Tue, 3 Feb 2009 01:09:55 +0000 (18:09 -0700)]
setup: add site-dirs for Debian and for some (?) Mac OS X

15 years agomisc/dependencies: update setuptools_trial from 0.4 to 0.5
Brian Warner [Tue, 3 Feb 2009 00:36:57 +0000 (17:36 -0700)]
misc/dependencies: update setuptools_trial from 0.4 to 0.5

15 years ago.darcs-boringfile: ignore bin/tahoe and bin/tahoe-script.py, since both are now generated
Brian Warner [Tue, 3 Feb 2009 00:03:33 +0000 (17:03 -0700)]
.darcs-boringfile: ignore bin/tahoe and bin/tahoe-script.py, since both are now generated

15 years agoMakefile: fix 'clean' target to remove bin/tahoe and bin/tahoe-script.py, since both...
Brian Warner [Tue, 3 Feb 2009 00:03:07 +0000 (17:03 -0700)]
Makefile: fix 'clean' target to remove bin/tahoe and bin/tahoe-script.py, since both are now generated

15 years agostorage: disable test_large_share again: my linux laptop has less than 4 GiB free
Zooko O'Whielacronx [Sat, 31 Jan 2009 05:16:49 +0000 (22:16 -0700)]
storage: disable test_large_share again: my linux laptop has less than 4 GiB free

15 years agoweb/directory: add a link from readwrite directories to a read-only version, and...
Brian Warner [Sat, 31 Jan 2009 02:32:05 +0000 (19:32 -0700)]
web/directory: add a link from readwrite directories to a read-only version, and fix the 'SI=xxx' header to actually use the storage index, not the writekey

15 years agouri: add abbrev_si() method, which returns the abbreviated storage index
Brian Warner [Sat, 31 Jan 2009 02:31:10 +0000 (19:31 -0700)]
uri: add abbrev_si() method, which returns the abbreviated storage index

15 years agosetup: make sure you use darcsver whenever you are going to run trial
Zooko O'Whielacronx [Fri, 30 Jan 2009 21:38:19 +0000 (14:38 -0700)]
setup: make sure you use darcsver whenever you are going to run trial
This fixes the bug Brian had where he ran "python ./setup.py trial" and the allmydata-tahoe version number came out as 0.0.0.

15 years agosetup: require setuptools_trial >= 0.5, and delegate to it the job of deciding which...
Zooko O'Whielacronx [Fri, 30 Jan 2009 05:31:33 +0000 (22:31 -0700)]
setup: require setuptools_trial >= 0.5, and delegate to it the job of deciding which Twisted reactor to use for the current platform

15 years agoMakefile: use 'setup.py test' for test/quicktest targets (instead of
Brian Warner [Fri, 30 Jan 2009 11:25:36 +0000 (04:25 -0700)]
Makefile: use 'setup.py test' for test/quicktest targets (instead of
'setup.py trial'). 'setup.py trial' clobbers the tahoe .egg's PKG-INFO
"Version:" field (resetting it to 0.0.0), possibly because it isn't invoking
the darcsver subcommand that 'setup.py test' does before it runs the 'trial'
subcommand.

This slows down quicktest by another couple of seconds (see #591) and adds
more noise to its output, but without this change, 'make test' and 'make
quicktest' fail on test_runner (which spawns bin/tahoe as a subprocess, and
with a mangled Version:, the setuptools-based entry point script refuses to
recognize our source tree as a usable version of Tahoe).

15 years agoMakefile: remove the obsolete stats-gatherer-run target
Brian Warner [Fri, 30 Jan 2009 02:01:31 +0000 (19:01 -0700)]
Makefile: remove the obsolete stats-gatherer-run target

15 years agosetup: remove the "build three times in a row" kludge now that #229 is fixed, and...
Zooko O'Whielacronx [Thu, 29 Jan 2009 20:59:52 +0000 (13:59 -0700)]
setup: remove the "build three times in a row" kludge now that #229 is fixed, and spell build "build" instead of "build_tahoe"

15 years agosetup: require darcsver >= 1.2.0 and rely exclusively on darcsver to set the version...
Zooko O'Whielacronx [Thu, 29 Jan 2009 19:56:40 +0000 (12:56 -0700)]
setup: require darcsver >= 1.2.0 and rely exclusively on darcsver to set the version string

15 years agosetup: add new bundled darcsver-1.2.0
Zooko O'Whielacronx [Thu, 29 Jan 2009 19:51:15 +0000 (12:51 -0700)]
setup: add new bundled darcsver-1.2.0

15 years agosetup: remove old bundled darcsver-1.1.8
Zooko O'Whielacronx [Thu, 29 Jan 2009 19:51:02 +0000 (12:51 -0700)]
setup: remove old bundled darcsver-1.1.8

15 years agosetup: add doc explaining why we set zip_safe=False
Zooko O'Whielacronx [Thu, 29 Jan 2009 18:48:02 +0000 (11:48 -0700)]
setup: add doc explaining why we set zip_safe=False

15 years agosetup: setup.cfg aliases get expanded only once, so put everything you want to happen...
Zooko O'Whielacronx [Thu, 29 Jan 2009 17:58:15 +0000 (10:58 -0700)]
setup: setup.cfg aliases get expanded only once, so put everything you want to happen during the "test" step in the alias

15 years agosetup: invoke darcsver whenever doing an sdist
Zooko O'Whielacronx [Thu, 29 Jan 2009 17:51:25 +0000 (10:51 -0700)]
setup: invoke darcsver whenever doing an sdist

15 years agosetup: more verbose assertion failure in test_runner
Zooko O'Whielacronx [Thu, 29 Jan 2009 17:49:06 +0000 (10:49 -0700)]
setup: more verbose assertion failure in test_runner

15 years agosetup: subclass setuptools.Command instead of distutils Command
Zooko O'Whielacronx [Thu, 29 Jan 2009 14:00:58 +0000 (07:00 -0700)]
setup: subclass setuptools.Command instead of distutils Command
There's almost no difference between them, but let's be consistent try to use the setuptools API as it was intended.

15 years agosetup: temporarily comment-out the horrible kludge to work-around setuptools #17...
Zooko O'Whielacronx [Thu, 29 Jan 2009 14:00:00 +0000 (07:00 -0700)]
setup: temporarily comment-out the horrible kludge to work-around setuptools #17, while I figure out how to solve it better

15 years agosetup: always create a support dir and populate it with a site-packages and add same...
Zooko O'Whielacronx [Thu, 29 Jan 2009 05:56:08 +0000 (22:56 -0700)]
setup: always create a support dir and populate it with a site-packages and add same to the PYTHONPATH, just in case someone is going to do "build", "develop", or "test" or something else which triggers a build
I think there must be a much better solution for this -- probably to fix setuptools #54 and ship our own fork of setuptools and rely on it.

15 years agosetup: if any of "build", "develop", or "test" appear in the sys.argv then that means...
Zooko O'Whielacronx [Thu, 29 Jan 2009 05:55:34 +0000 (22:55 -0700)]
setup: if any of "build", "develop", or "test" appear in the sys.argv then that means we'll be doing a develop, so add the workarounds for setuptools #17 in any case
I think there must be a much better solution for this -- probably to fix setuptools #17 and ship our own fork of setuptools and rely on it.

15 years agosetup: add metadata indicating compatibility with python 2.6
Zooko O'Whielacronx [Thu, 29 Jan 2009 01:26:28 +0000 (18:26 -0700)]
setup: add metadata indicating compatibility with python 2.6

15 years agosetup: a new improved way to create tahoe executables
Zooko O'Whielacronx [Thu, 29 Jan 2009 01:07:16 +0000 (18:07 -0700)]
setup: a new improved way to create tahoe executables
Create the 'tahoe-script.py' file under the 'bin' directory. The 'tahoe-script.py' file is exactly the same as the 'tahoe-script.template' script except that the shebang line is rewritten to use our sys.executable for the interpreter. On Windows, create a tahoe.exe will execute it.  On non-Windows, make a symlink to it from 'tahoe'.  The tahoe.exe will be copied from the setuptools egg's cli.exe and this will work from a zip-safe and non-zip-safe setuptools egg.

15 years agostorage: enable the test of a share larger than 2 GiB; this will probably be too...
Zooko O'Whielacronx [Wed, 28 Jan 2009 23:33:12 +0000 (16:33 -0700)]
storage: enable the test of a share larger than 2 GiB; this will probably be too expensive on Mac OS X, but I think it won't be on all the other platforms ; I will probably set it to SkipTest if the sys.platform is Mac after seeing the results of this buildbot run

15 years agosetup: bundle darcsver-1.1.8
Zooko O'Whielacronx [Wed, 28 Jan 2009 21:03:26 +0000 (14:03 -0700)]
setup: bundle darcsver-1.1.8

15 years agosetup: remove old bundled dependency darcsver-1.1.5
Zooko O'Whielacronx [Wed, 28 Jan 2009 19:20:12 +0000 (12:20 -0700)]
setup: remove old bundled dependency darcsver-1.1.5

15 years agoCLI: fix examples in tahoe put --help
Brian Warner [Tue, 27 Jan 2009 22:39:09 +0000 (15:39 -0700)]
CLI: fix examples in tahoe put --help

15 years agotrivial: remove unused imports noticed by pyflakes
Zooko O'Whielacronx [Tue, 27 Jan 2009 22:11:48 +0000 (15:11 -0700)]
trivial: remove unused imports noticed by pyflakes

15 years agosetup: fix test_runner to invoke bin/tahoe.exe instead of bin/tahoe if on Windows...
Zooko O'Whielacronx [Tue, 27 Jan 2009 21:37:17 +0000 (14:37 -0700)]
setup: fix test_runner to invoke bin/tahoe.exe instead of bin/tahoe if on Windows (this is what happens when a user invokes bin/tahoe on Windows)

15 years agosetup: fix test_runner to assert that lines which are output to stderr must end with...
Zooko O'Whielacronx [Tue, 27 Jan 2009 21:35:05 +0000 (14:35 -0700)]
setup: fix test_runner to assert that lines which are output to stderr must end with a punctuation mark (apparently re.search("x$", "x\r\n") does not match.  :-()

15 years agosetup: fix test_runner.RunNode.test_baddir -- it was left incomplete and broken by...
Zooko O'Whielacronx [Tue, 27 Jan 2009 21:32:45 +0000 (14:32 -0700)]
setup: fix test_runner.RunNode.test_baddir -- it was left incomplete and broken by a recent patch

15 years agosetup: hack the sys.argv to set poll reactor if "python ./setup.py test" in addition...
Zooko O'Whielacronx [Tue, 27 Jan 2009 05:40:46 +0000 (22:40 -0700)]
setup: hack the sys.argv to set poll reactor if "python ./setup.py test" in addition to if "python ./setup.py trial"; remove another hack which has been moved setup.cfg; remove setup_requires Twisted since now we actually setup_require setuptools_trial and it install_requires Twisted.

15 years agosetup: go ahead and check for noise in test_client_no_noise
Zooko O'Whielacronx [Tue, 27 Jan 2009 00:46:16 +0000 (17:46 -0700)]
setup: go ahead and check for noise in test_client_no_noise

15 years agosetup: always run "build" before running "test"
Zooko O'Whielacronx [Tue, 27 Jan 2009 00:32:40 +0000 (17:32 -0700)]
setup: always run "build" before running "test"

15 years agosetup: add a test for a warning message from importing nevow, marked as TODO, comment...
Zooko O'Whielacronx [Tue, 27 Jan 2009 00:30:46 +0000 (17:30 -0700)]
setup: add a test for a warning message from importing nevow, marked as TODO, comment-out the assertion of no-noise inside other test_runner tests

15 years agosetup: always run build_tahoe before running tests
Zooko O'Whielacronx [Tue, 27 Jan 2009 00:30:24 +0000 (17:30 -0700)]
setup: always run build_tahoe before running tests

15 years agodiskwatcher: cache growth results (which take 30s to generate) for 3 minutes, to...
Brian Warner [Mon, 26 Jan 2009 00:06:39 +0000 (17:06 -0700)]
diskwatcher: cache growth results (which take 30s to generate) for 3 minutes, to help munin, which invokes it 6 times in a row every 5 minutes

15 years agomake streaming-manifest stop doing work after the HTTP connection is dropped
Brian Warner [Sat, 24 Jan 2009 02:39:08 +0000 (19:39 -0700)]
make streaming-manifest stop doing work after the HTTP connection is dropped

15 years agosetup: sys.exit() raises a SystemExit exception on Python 2.4 on Solaris -- fix it...
Zooko O'Whielacronx [Sat, 24 Jan 2009 01:49:11 +0000 (18:49 -0700)]
setup: sys.exit() raises a SystemExit exception on Python 2.4 on Solaris -- fix it so that bin/tahoe doesn't interpret this as its brother having been non-executable

15 years agosetup: find a "bin/tahoe" executable to test based on allmydata.__file__ instead...
Zooko O'Whielacronx [Sat, 24 Jan 2009 01:34:37 +0000 (18:34 -0700)]
setup: find a "bin/tahoe" executable to test based on allmydata.__file__ instead of based on the CWD
This means that the tests still work if you are executing them from a CWD other than the src dir -- *if* the "bin/tahoe" is found at os.path.dirname(os.path.dirname(os.path.dirname(allmydata.__file__))).
If no file is found at that location, then just skip the tests of executing the "tahoe" executable, because we don't want to accidentally run those tests against an executable from a different version of tahoe.

15 years agorollback the #591 fix, since it breaks quicktest entirely
Brian Warner [Sat, 24 Jan 2009 00:28:12 +0000 (17:28 -0700)]
rollback the #591 fix, since it breaks quicktest entirely

15 years ago#509: remove non-streaming 'tahoe manifest' CLI form
Brian Warner [Sat, 24 Jan 2009 00:00:02 +0000 (17:00 -0700)]
#509: remove non-streaming 'tahoe manifest' CLI form

15 years agoCLI.txt: improve docs on 'tahoe manifest' to cover --verify-cap, --repair-cap, and...
Brian Warner [Fri, 23 Jan 2009 23:59:39 +0000 (16:59 -0700)]
CLI.txt: improve docs on 'tahoe manifest' to cover --verify-cap, --repair-cap, and streaming JSON

15 years ago#509 CLI: add 'tahoe manifest --stream'
Brian Warner [Fri, 23 Jan 2009 23:33:21 +0000 (16:33 -0700)]
#509 CLI: add 'tahoe manifest --stream'

15 years ago#509: test_system.py: add test for streamed-manifest
Brian Warner [Fri, 23 Jan 2009 23:32:47 +0000 (16:32 -0700)]
#509: test_system.py: add test for streamed-manifest