]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
14 years agosrc/allmydata/__init__.py: make the package paths more accurate when we fail to get...
david-sarah [Sun, 8 Aug 2010 17:12:35 +0000 (10:12 -0700)]
src/allmydata/__init__.py: make the package paths more accurate when we fail to get them from setuptools.

14 years agotest_runner.py: another try at calculating the rootdir correctly for test-from-egg...
david-sarah [Sun, 8 Aug 2010 15:43:07 +0000 (08:43 -0700)]
test_runner.py: another try at calculating the rootdir correctly for test-from-egg and test-from-prefixdir.

14 years agotest_runner.py: calculate the location of bin/tahoe correctly for test-from-prefixdir...
david-sarah [Sun, 8 Aug 2010 04:28:17 +0000 (21:28 -0700)]
test_runner.py: calculate the location of bin/tahoe correctly for test-from-prefixdir (by copying code from misc/build_helpers/run_trial.py). Also fix the false-positive check for Unicode paths in test_the_right_code, which was causing skips that should have been failures.

14 years agoTAG allmydata-tahoe-1.8.0c1 allmydata-tahoe-1.8.0c1
david-sarah [Sat, 7 Aug 2010 00:45:46 +0000 (17:45 -0700)]
TAG allmydata-tahoe-1.8.0c1

14 years agohow_to_make_a_tahoe-lafs_release.txt: add step to check that release will report...
david-sarah [Sat, 7 Aug 2010 00:42:54 +0000 (17:42 -0700)]
how_to_make_a_tahoe-lafs_release.txt: add step to check that release will report itself as the intended version.

14 years agorelnotes.txt: 1.8.0c1 release
david-sarah [Sat, 7 Aug 2010 00:36:46 +0000 (17:36 -0700)]
relnotes.txt: 1.8.0c1 release

14 years agoNEWS, quickstart.html and known_issues.txt for 1.8.0c1 release.
david-sarah [Fri, 6 Aug 2010 23:51:11 +0000 (16:51 -0700)]
NEWS, quickstart.html and known_issues.txt for 1.8.0c1 release.

14 years agoTAG allmydata-tahoe-1.8.0rc1 allmydata-tahoe-1.8.0rc1
Brian Warner [Fri, 6 Aug 2010 08:04:50 +0000 (01:04 -0700)]
TAG allmydata-tahoe-1.8.0rc1

14 years agoupdate NEWS and other docs in preparation for 1.8.0rc1
Brian Warner [Fri, 6 Aug 2010 08:02:28 +0000 (01:02 -0700)]
update NEWS and other docs in preparation for 1.8.0rc1

in particular, merge the various 1.8.0b1/b2 sections, and remove the
datestamp. NEWS gets updated just before a release, doesn't need to precisely
describe pre-release candidates, and the datestamp gets updated just before
the final release is tagged

Also, I removed the BOM from some files. My toolchain made it hard to retain,
and BOMs in UTF-8 don't make a whole lot of sense anyway. Sorry if that
messes anything up.

14 years agodownloader.Segmentation: unregisterProducer when asked to stopProducing, this
Brian Warner [Fri, 6 Aug 2010 07:07:05 +0000 (00:07 -0700)]
downloader.Segmentation: unregisterProducer when asked to stopProducing, this
seems to avoid the #1155 log message which reveals the URI (and filecap).

Also add an [ERROR] marker to the flog entry, since unregisterProducer also
makes interrupted downloads appear "200 OK"; this makes it more obvious that
the download did not complete.

14 years agoTAG allmydata-tahoe-1.8.0b2 allmydata-tahoe-1.8.0b2
david-sarah [Fri, 6 Aug 2010 05:24:15 +0000 (22:24 -0700)]
TAG allmydata-tahoe-1.8.0b2

14 years agorelnotes.txt and docs/known_issues.txt for 1.8.0beta2.
david-sarah [Fri, 6 Aug 2010 04:08:23 +0000 (21:08 -0700)]
relnotes.txt and docs/known_issues.txt for 1.8.0beta2.

14 years agotest_util.py: use SHA-256 from pycryptopp instead of MD5 from hashlib (for uses in...
david-sarah [Fri, 6 Aug 2010 05:00:51 +0000 (22:00 -0700)]
test_util.py: use SHA-256 from pycryptopp instead of MD5 from hashlib (for uses in which any hash will do), since hashlib was only added to the stdlib in Python 2.5.

14 years agotest_runner.py: increase timeout to cater for Francois' ARM buildslave.
david-sarah [Fri, 6 Aug 2010 04:26:01 +0000 (21:26 -0700)]
test_runner.py: increase timeout to cater for Francois' ARM buildslave.

14 years agotest_util.py: remove use of 'a if p else b' syntax that requires Python 2.5.
david-sarah [Fri, 6 Aug 2010 04:16:16 +0000 (21:16 -0700)]
test_util.py: remove use of 'a if p else b' syntax that requires Python 2.5.

14 years agoNEWS and docs/quickstart.html for 1.8.0beta2.
david-sarah [Fri, 6 Aug 2010 03:51:12 +0000 (20:51 -0700)]
NEWS and docs/quickstart.html for 1.8.0beta2.

14 years agodocs/quickstart.html: remove link to tahoe-lafs-ticket798-1.8.0b.zip, due to appname...
david-sarah [Fri, 6 Aug 2010 00:24:35 +0000 (17:24 -0700)]
docs/quickstart.html: remove link to tahoe-lafs-ticket798-1.8.0b.zip, due to appname regression. refs #1159

14 years agotest_download.DownloadTest.test_simultaneous_goodguess: enable some disabled
Brian Warner [Thu, 5 Aug 2010 18:41:08 +0000 (11:41 -0700)]
test_download.DownloadTest.test_simultaneous_goodguess: enable some disabled
checks that used to fail but work now.

14 years agoDownloadNode: fix lost-progress in fetch_failed, tolerate cancel when no segment...
Brian Warner [Thu, 5 Aug 2010 18:45:49 +0000 (11:45 -0700)]
DownloadNode: fix lost-progress in fetch_failed, tolerate cancel when no segment-fetch is active. Fixes #1154.

The lost-progress bug occurred when two simultanous read() calls fetched
different segments, and the first one failed (due to corruption, or the other
bugs in #1154): the second read() would never complete. While in this state,
cancelling the second read by having its consumer call stopProducing) would
trigger the cancel-intolerance bug. Finally, in downloader.node.Cancel,
prevent late cancels by adding an 'active' flag

14 years agoutil/spans.py: __nonzero__ cannot return a long either. for #1154
Brian Warner [Thu, 5 Aug 2010 17:46:18 +0000 (10:46 -0700)]
util/spans.py: __nonzero__ cannot return a long either. for #1154

14 years agotest_storage.py: change skip note for test_large_share to say that Windows doesn...
david-sarah [Thu, 5 Aug 2010 02:26:12 +0000 (19:26 -0700)]
test_storage.py: change skip note for test_large_share to say that Windows doesn't support sparse files. refs #569

14 years agoOne fix for bug #1154: webapi GETs with a 'Range' header broke new-downloader.
Brian Warner [Wed, 4 Aug 2010 18:45:49 +0000 (11:45 -0700)]
One fix for bug #1154: webapi GETs with a 'Range' header broke new-downloader.

The Range header causes n.read() to be called with an offset= of type 'long',
which eventually got used in a Spans/DataSpans object's __len__ method.
Apparently python doesn't permit __len__() to return longs, only ints.
Rewrote Spans/DataSpans to use s.len() instead of len(s) aka s.__len__() .
Added a test in test_download. Note that test_web didn't catch this because
it uses mock FileNodes for speed: it's probably time to rewrite that.

There is still an unresolved error-recovery problem in #1154, so I'm not
closing the ticket quite yet.

14 years agotest_download: minor cleanup
Brian Warner [Wed, 4 Aug 2010 17:55:55 +0000 (10:55 -0700)]
test_download: minor cleanup

14 years agofetcher.py: improve comments
Brian Warner [Wed, 4 Aug 2010 07:28:14 +0000 (00:28 -0700)]
fetcher.py: improve comments

14 years agolazily create DownloadNode upon first read()/get_segment()
Brian Warner [Wed, 4 Aug 2010 07:28:08 +0000 (00:28 -0700)]
lazily create DownloadNode upon first read()/get_segment()

14 years agotest_hung_server: update comments, remove dead "stage_4_d" code
Brian Warner [Wed, 4 Aug 2010 07:28:00 +0000 (00:28 -0700)]
test_hung_server: update comments, remove dead "stage_4_d" code

14 years agocopy the rest of David-Sarah's changes to make my tree match 1.8.0beta
Brian Warner [Wed, 4 Aug 2010 07:27:52 +0000 (00:27 -0700)]
copy the rest of David-Sarah's changes to make my tree match 1.8.0beta

14 years agoShareFinder: add 10s OVERDUE timer, send new requests to replace overdue ones
Brian Warner [Wed, 4 Aug 2010 07:27:41 +0000 (00:27 -0700)]
ShareFinder: add 10s OVERDUE timer, send new requests to replace overdue ones

The fixed 10-second timer will eventually be replaced with a per-server
value, calculated based on observed response times.

test_hung_server.py: enhance to exercise DYHB=OVERDUE state. Split existing
mutable+immutable tests into two pieces for clarity. Reenabled several tests.
Deleted the now-obsolete "test_failover_during_stage_4".

14 years agoRewrite immutable downloader (#798). This patch adds and updates unit tests.
Brian Warner [Wed, 4 Aug 2010 07:27:10 +0000 (00:27 -0700)]
Rewrite immutable downloader (#798). This patch adds and updates unit tests.

14 years agoRewrite immutable downloader (#798). This patch includes higher-level
Brian Warner [Wed, 4 Aug 2010 07:27:02 +0000 (00:27 -0700)]
Rewrite immutable downloader (#798). This patch includes higher-level
integration into the NodeMaker, and updates the web-status display to handle
the new download events.

14 years agoRewrite immutable downloader (#798). This patch rearranges the rest of src/allmydata...
Brian Warner [Wed, 4 Aug 2010 07:26:39 +0000 (00:26 -0700)]
Rewrite immutable downloader (#798). This patch rearranges the rest of src/allmydata/immutable/ .

14 years agoRewrite immutable downloader (#798). This patch adds the new downloader itself.
Brian Warner [Wed, 4 Aug 2010 07:26:29 +0000 (00:26 -0700)]
Rewrite immutable downloader (#798). This patch adds the new downloader itself.

14 years agoutil/observer.py: add EventStreamObserver
Brian Warner [Wed, 4 Aug 2010 07:26:12 +0000 (00:26 -0700)]
util/observer.py: add EventStreamObserver

14 years agoAdd a byte-spans utility class, like perl's Set::IntSpan for .newsrc files.
Brian Warner [Wed, 4 Aug 2010 07:26:00 +0000 (00:26 -0700)]
Add a byte-spans utility class, like perl's Set::IntSpan for .newsrc files.
Also a data-spans class, which records a byte (instead of a bit) for each
index.

14 years agocheck-umids: oops, forgot to add the tool
Brian Warner [Wed, 4 Aug 2010 07:17:13 +0000 (00:17 -0700)]
check-umids: oops, forgot to add the tool

14 years agocoverage tools: ignore errors, display lines-uncovered in elisp mode. Fix Makefile...
Brian Warner [Wed, 4 Aug 2010 07:11:31 +0000 (00:11 -0700)]
coverage tools: ignore errors, display lines-uncovered in elisp mode. Fix Makefile paths.

14 years agocheck-umids: new tool to check uniqueness of umids
Brian Warner [Wed, 4 Aug 2010 07:10:42 +0000 (00:10 -0700)]
check-umids: new tool to check uniqueness of umids

14 years agomisc/simulators/sizes.py: update, we now use SHA256 (not SHA1), so large-file overhea...
Brian Warner [Wed, 4 Aug 2010 07:09:42 +0000 (00:09 -0700)]
misc/simulators/sizes.py: update, we now use SHA256 (not SHA1), so large-file overhead grows to 0.5%

14 years agostorage-overhead: try to fix, probably still broken
Brian Warner [Wed, 4 Aug 2010 07:08:15 +0000 (00:08 -0700)]
storage-overhead: try to fix, probably still broken

14 years agodocs/quickstart.html: link to 1.8.0beta zip, and note 'bin\tahoe' on Windows.
david-sarah [Tue, 3 Aug 2010 23:32:54 +0000 (16:32 -0700)]
docs/quickstart.html: link to 1.8.0beta zip, and note 'bin\tahoe' on Windows.

14 years agodocs: relnotes.txt for 1.8.0β
Zooko O'Whielacronx [Tue, 3 Aug 2010 15:49:13 +0000 (08:49 -0700)]
docs: relnotes.txt for 1.8.0β

14 years agotest_storage.py: avoid spurious test failure by accepting either 'Next crawl in 59...
david-sarah [Tue, 3 Aug 2010 10:20:58 +0000 (03:20 -0700)]
test_storage.py: avoid spurious test failure by accepting either 'Next crawl in 59 minutes' or 'Next crawl in 60 minutes'. fixes #1140

14 years agomisc/build_helpers/show-tool-versions.py: get sys.std{out,err}.encoding and 'as'...
david-sarah [Tue, 3 Aug 2010 10:11:28 +0000 (03:11 -0700)]
misc/build_helpers/show-tool-versions.py: get sys.std{out,err}.encoding and 'as' version correctly, and improve formatting.

14 years agomisc/build_helpers/show-tool-versions.py: avoid error message when 'as -version'...
david-sarah [Tue, 3 Aug 2010 09:48:12 +0000 (02:48 -0700)]
misc/build_helpers/show-tool-versions.py: avoid error message when 'as -version' does not create a.out.

14 years agoCLI: further improve consistency of basedir options and add tests. addresses #118
david-sarah [Tue, 3 Aug 2010 08:54:16 +0000 (01:54 -0700)]
CLI: further improve consistency of basedir options and add tests. addresses #118

14 years agoCLI: make the synopsis for 'tahoe unlink' say unlink instead of rm.
david-sarah [Tue, 3 Aug 2010 08:53:59 +0000 (01:53 -0700)]
CLI: make the synopsis for 'tahoe unlink' say unlink instead of rm.

14 years agoCLI: make all of the option descriptions imperative sentences.
david-sarah [Tue, 3 Aug 2010 08:48:01 +0000 (01:48 -0700)]
CLI: make all of the option descriptions imperative sentences.

14 years agotest_cli.py: make 'tahoe mkdir' tests slightly less dumb (check for 'URI:' in the...
david-sarah [Tue, 3 Aug 2010 08:47:20 +0000 (01:47 -0700)]
test_cli.py: make 'tahoe mkdir' tests slightly less dumb (check for 'URI:' in the output).

14 years agotest_cli.py: use u-escapes instead of UTF-8.
david-sarah [Tue, 3 Aug 2010 08:35:38 +0000 (01:35 -0700)]
test_cli.py: use u-escapes instead of UTF-8.

14 years agoNEWS: remove XXX comment and separate description of #890.
david-sarah [Tue, 3 Aug 2010 05:08:27 +0000 (22:08 -0700)]
NEWS: remove XXX comment and separate description of #890.

14 years agodocs: more updates to NEWS for 1.8.0β
Zooko O'Whielacronx [Tue, 3 Aug 2010 04:46:18 +0000 (21:46 -0700)]
docs: more updates to NEWS for 1.8.0β

14 years agodocs: incomplete beginnings of a NEWS update for v1.8β
Zooko O'Whielacronx [Mon, 2 Aug 2010 07:28:40 +0000 (00:28 -0700)]
docs: incomplete beginnings of a NEWS update for v1.8β

14 years agodocs/quickstart.html: extra step to open a new Command Prompt or log out/in on Windows.
david-sarah [Tue, 3 Aug 2010 00:49:38 +0000 (17:49 -0700)]
docs/quickstart.html: extra step to open a new Command Prompt or log out/in on Windows.

14 years agoupdate bundled zetuptools with doc changes, change to script setup for Windows XP...
david-sarah [Tue, 3 Aug 2010 00:38:15 +0000 (17:38 -0700)]
update bundled zetuptools with doc changes, change to script setup for Windows XP, and to have the 'develop' command run script setup.

14 years agobundled setuptools/command/scriptsetup.py: use SendMessageTimeoutW, to test whether...
david-sarah [Mon, 2 Aug 2010 22:45:05 +0000 (15:45 -0700)]
bundled setuptools/command/scriptsetup.py: use SendMessageTimeoutW, to test whether that broadcasts environment changes any better.

14 years agobundled zetuptoolz: add missing setuptools/command/scriptsetup.py
david-sarah [Mon, 2 Aug 2010 07:21:29 +0000 (00:21 -0700)]
bundled zetuptoolz: add missing setuptools/command/scriptsetup.py

14 years agotest_runner.py: add test_run_with_python_options, which checks that the Windows scrip...
david-sarah [Mon, 2 Aug 2010 06:25:58 +0000 (23:25 -0700)]
test_runner.py: add test_run_with_python_options, which checks that the Windows script changes haven't broken 'python <options> bin/tahoe'.

14 years agotest_runner.py: fix missing import of get_filesystem_encoding
david-sarah [Mon, 2 Aug 2010 06:09:02 +0000 (23:09 -0700)]
test_runner.py: fix missing import of get_filesystem_encoding

14 years agoBundle setuptools-0.6c16dev (with Windows script changes, and the change to only...
david-sarah [Mon, 2 Aug 2010 06:06:02 +0000 (23:06 -0700)]
Bundle setuptools-0.6c16dev (with Windows script changes, and the change to only warn if site.py wasn't generated by setuptools) instead of 0.6c15dev. addresses #565, #1073, #1074

14 years ago.darcs-boringfile: changes needed to take account of egg directories being bundled...
david-sarah [Mon, 2 Aug 2010 05:03:13 +0000 (22:03 -0700)]
.darcs-boringfile: changes needed to take account of egg directories being bundled. Also, make _trial_temp a prefix rather than exact match.

14 years ago.darcs-boringfile: changes needed to take account of pyscript wrappers on Windows.
david-sarah [Mon, 2 Aug 2010 05:01:28 +0000 (22:01 -0700)]
.darcs-boringfile: changes needed to take account of pyscript wrappers on Windows.

14 years agomisc/build_helpers/run_trial.py: check that the root from which the module we are...
david-sarah [Mon, 2 Aug 2010 04:55:35 +0000 (21:55 -0700)]
misc/build_helpers/run_trial.py: check that the root from which the module we are testing was loaded is the current directory. This version of the patch folds in later fixes to the logic for caculating the directories to compare, and improvements to error messages. addresses #1137

14 years agoSkip option arguments to the python interpreter when reconstructing Unicode argv...
david-sarah [Wed, 28 Jul 2010 06:27:31 +0000 (23:27 -0700)]
Skip option arguments to the python interpreter when reconstructing Unicode argv on Windows.

14 years agowindows/fixups.py: improve comments and reference some relevant Python bugs.
david-sarah [Tue, 27 Jul 2010 18:19:21 +0000 (11:19 -0700)]
windows/fixups.py: improve comments and reference some relevant Python bugs.

14 years agowindows/fixups.py: make errors reported to original_stderr have enough information...
david-sarah [Mon, 26 Jul 2010 22:19:04 +0000 (15:19 -0700)]
windows/fixups.py: make errors reported to original_stderr have enough information to debug even if we can't see the traceback.

14 years agowindows/fixups.py: fix paste-o in name of Unicode stderr wrapper.
david-sarah [Mon, 26 Jul 2010 21:47:36 +0000 (14:47 -0700)]
windows/fixups.py: fix paste-o in name of Unicode stderr wrapper.

14 years agowindows/fixups.py: Don't rely on buggy MSVCRT library for Unicode output, use the...
david-sarah [Mon, 26 Jul 2010 04:50:19 +0000 (21:50 -0700)]
windows/fixups.py: Don't rely on buggy MSVCRT library for Unicode output, use the Win32 API instead. This should make it work on XP. Also, change how we handle the case where sys.stdout and sys.stderr are redirected, since the .encoding attribute isn't necessarily writeable.

14 years agotest_runner.py: change to code for locating the bin/tahoe script that was missed...
david-sarah [Sun, 25 Jul 2010 18:20:08 +0000 (11:20 -0700)]
test_runner.py: change to code for locating the bin/tahoe script that was missed when rebasing the patch for #1074.

14 years agoAdd missing windows/fixups.py (for setting up Unicode args and output on Windows).
david-sarah [Sun, 25 Jul 2010 09:28:49 +0000 (02:28 -0700)]
Add missing windows/fixups.py (for setting up Unicode args and output on Windows).

14 years agoChanges to Tahoe needed to work with new zetuptoolz (that does not use .exe wrappers...
david-sarah [Sun, 25 Jul 2010 08:32:16 +0000 (01:32 -0700)]
Changes to Tahoe needed to work with new zetuptoolz (that does not use .exe wrappers on Windows), and to support Unicode arguments and stdout/stderr -- v5

14 years agoscripts/common.py: fix an error introduced when rebasing to the ticket798 branch...
david-sarah [Mon, 2 Aug 2010 06:49:29 +0000 (23:49 -0700)]
scripts/common.py: fix an error introduced when rebasing to the ticket798 branch, which caused base directories to be duplicated in self.basedirs.

14 years agoBasedir/node directory option improvements for ticket798 branch. addresses #188,...
david-sarah [Mon, 2 Aug 2010 04:30:04 +0000 (21:30 -0700)]
Basedir/node directory option improvements for ticket798 branch. addresses #188, #706, #715, #772, #890

14 years agoscripts/create_node.py: allow nickname to be Unicode. Also ensure webport is validly...
david-sarah [Mon, 2 Aug 2010 00:02:12 +0000 (17:02 -0700)]
scripts/create_node.py: allow nickname to be Unicode. Also ensure webport is validly encoded in config file.

14 years agotest_runner.py: Fix error in message arguments to 'fail' calls.
david-sarah [Mon, 2 Aug 2010 01:35:26 +0000 (18:35 -0700)]
test_runner.py: Fix error in message arguments to 'fail' calls.

14 years agoAdditional Unicode basedir changes for ticket798 branch.
david-sarah [Mon, 2 Aug 2010 01:05:52 +0000 (18:05 -0700)]
Additional Unicode basedir changes for ticket798 branch.

14 years agoUnicode basedir changes for ticket798 branch.
david-sarah [Sun, 1 Aug 2010 23:53:10 +0000 (16:53 -0700)]
Unicode basedir changes for ticket798 branch.

14 years agofileutil: change WindowsError to OSError in abspath_expanduser_unicode, because Windo...
david-sarah [Sun, 25 Jul 2010 22:26:03 +0000 (15:26 -0700)]
fileutil: change WindowsError to OSError in abspath_expanduser_unicode, because WindowsError might not exist.

14 years agotest_system: correct a failure in _test_runner caused by Unicode basedir patch on...
david-sarah [Sat, 24 Jul 2010 03:21:23 +0000 (20:21 -0700)]
test_system: correct a failure in _test_runner caused by Unicode basedir patch on non-Unicode platforms.

14 years agoFix test failures due to Unicode basedir patches.
david-sarah [Sun, 25 Jul 2010 01:03:18 +0000 (18:03 -0700)]
Fix test failures due to Unicode basedir patches.

14 years agoutil.encodingutil: change quote_output to do less unnecessary escaping, and to use...
david-sarah [Fri, 23 Jul 2010 07:53:14 +0000 (00:53 -0700)]
util.encodingutil: change quote_output to do less unnecessary escaping, and to use double-quotes more consistently when needed. This version avoids u-escaping for characters that are representable in the output encoding, when double quotes are used, and includes tests. fixes #1135

14 years agoReplace uses of os.path.abspath with abspath_expanduser_unicode where necessary....
david-sarah [Thu, 22 Jul 2010 00:14:18 +0000 (17:14 -0700)]
Replace uses of os.path.abspath with abspath_expanduser_unicode where necessary. This makes basedir paths consistently represented as Unicode.

14 years agoutil.fileutil, test.test_util: add abspath_expanduser_unicode function, to work aroun...
david-sarah [Wed, 21 Jul 2010 23:15:07 +0000 (16:15 -0700)]
util.fileutil, test.test_util: add abspath_expanduser_unicode function, to work around <http://bugs.python.org/issue3426>. util.encodingutil: add a convenience function argv_to_abspath.

14 years agosetup: increase requirement on foolscap from >= 0.4.1 to >= 0.5.1 to avoid the foolsc...
Zooko O'Whielacronx [Mon, 2 Aug 2010 07:17:48 +0000 (00:17 -0700)]
setup: increase requirement on foolscap from >= 0.4.1 to >= 0.5.1 to avoid the foolscap performance bug with transferring large mutable files

14 years agoupload: tidy up logging messages
Zooko O'Whielacronx [Mon, 2 Aug 2010 07:02:12 +0000 (00:02 -0700)]
upload: tidy up logging messages
reformat code to be less than 100 chars wide, refactor formatting of logging messages, add log levels to some logging messages, M-x whitespace-cleanup

14 years agoabbreviate time edge case python2.5 unit test
jacob.lyles [Thu, 29 Jul 2010 21:06:38 +0000 (14:06 -0700)]
abbreviate time edge case python2.5 unit test

14 years agotest_upload.py: rename test_problem_layout_ticket1124 to test_problem_layout_ticket_1...
david-sarah [Thu, 29 Jul 2010 15:29:27 +0000 (08:29 -0700)]
test_upload.py: rename test_problem_layout_ticket1124 to test_problem_layout_ticket_1124 -- fix .todo reference.

14 years agotest_upload.py: rename test_problem_layout_ticket1124 to test_problem_layout_ticket_1...
david-sarah [Thu, 29 Jul 2010 14:22:50 +0000 (07:22 -0700)]
test_upload.py: rename test_problem_layout_ticket1124 to test_problem_layout_ticket_1124 for consistency.

14 years agotests: remove debug print
Zooko O'Whielacronx [Mon, 2 Aug 2010 06:33:39 +0000 (23:33 -0700)]
tests: remove debug print

14 years agodocs: update the list of forums to announce Tahoe-LAFS too, add empty checkboxes trac-4600
Zooko O'Whielacronx [Mon, 2 Aug 2010 06:33:14 +0000 (23:33 -0700)]
docs: update the list of forums to announce Tahoe-LAFS too, add empty checkboxes

14 years agoimmutable: tidy-up some code by using a set instead of list to hold homeless_shares
Zooko O'Whielacronx [Mon, 2 Aug 2010 06:20:04 +0000 (23:20 -0700)]
immutable: tidy-up some code by using a set instead of list to hold homeless_shares

14 years agosetup: fix a couple instances of hard-coded 'allmydata-tahoe' in the scripts, tighten...
Zooko O'Whielacronx [Sun, 1 Aug 2010 16:42:07 +0000 (09:42 -0700)]
setup: fix a couple instances of hard-coded 'allmydata-tahoe' in the scripts, tighten the tests (as suggested by David-Sarah)

14 years agosetup: replace hardcoded 'allmydata-tahoe' with allmydata.__appname__
Zooko O'Whielacronx [Sun, 1 Aug 2010 16:05:17 +0000 (09:05 -0700)]
setup: replace hardcoded 'allmydata-tahoe' with allmydata.__appname__

14 years agoNEWS: describe #1055
Zooko O'Whielacronx [Sun, 1 Aug 2010 03:43:38 +0000 (20:43 -0700)]
NEWS: describe #1055

14 years agoimmutable: use PrefixingLogMixin to organize logging in Tahoe2PeerSelector and add...
Zooko O'Whielacronx [Mon, 19 Jul 2010 08:20:00 +0000 (01:20 -0700)]
immutable: use PrefixingLogMixin to organize logging in Tahoe2PeerSelector and add more detailed messages about peer

14 years agobenchmarking: update bench_dirnode to be correct and use the shiniest new pyutil...
Zooko O'Whielacronx [Mon, 19 Jul 2010 04:49:48 +0000 (21:49 -0700)]
benchmarking: update bench_dirnode to be correct and use the shiniest new pyutil.benchutil features concerning what units you measure in

14 years agotrivial: rename and add in-line doc to clarify "used_peers" => "upload_servers"
Zooko O'Whielacronx [Mon, 19 Jul 2010 04:47:44 +0000 (21:47 -0700)]
trivial: rename and add in-line doc to clarify "used_peers" => "upload_servers"

14 years agodocs: add Jacob Lyles to CREDITS
Zooko O'Whielacronx [Fri, 30 Jul 2010 23:05:00 +0000 (16:05 -0700)]
docs: add Jacob Lyles to CREDITS

14 years agoweb: don't use %d formatting on a potentially large negative float -- there is a...
jacob.lyles [Fri, 30 Jul 2010 22:05:50 +0000 (15:05 -0700)]
web: don't use %d formatting on a potentially large negative float -- there is a bug in Python 2.5 in that case
fixes #1055

14 years agodocs: fix licensing typo that was earlier fixed in [20090921164651-92b7f-7f97b58101d9...
Zooko O'Whielacronx [Thu, 29 Jul 2010 05:29:23 +0000 (22:29 -0700)]
docs: fix licensing typo that was earlier fixed in [20090921164651-92b7f-7f97b58101d93dc588445c52a9aaa56a2c7ae336]
I wish we didn't copies of this licensing text in several different files so that changes can be accidentally omitted from some of them.

14 years agomisc/build_helpers/run-with-pythonpath.py: fix stale comment, and remove 'trial'...
david-sarah [Mon, 26 Jul 2010 22:57:29 +0000 (15:57 -0700)]
misc/build_helpers/run-with-pythonpath.py: fix stale comment, and remove 'trial' example that is not the right way to run trial.