tahoe-lafs/tahoe-lafs.git
15 years agoswitch all foolscap imports to use foolscap.api or foolscap.logging
Brian Warner [Fri, 22 May 2009 00:38:23 +0000 (17:38 -0700)]
switch all foolscap imports to use foolscap.api or foolscap.logging

15 years ago_auto_deps.py: bump our foolscap dependency to 0.4.0, since I'm about to start using...
Brian Warner [Fri, 22 May 2009 00:21:00 +0000 (17:21 -0700)]
_auto_deps.py: bump our foolscap dependency to 0.4.0, since I'm about to start using its new features

15 years agotest_runner.py: fix minor typo
Brian Warner [Wed, 20 May 2009 03:36:20 +0000 (20:36 -0700)]
test_runner.py: fix minor typo

15 years agosetup: fix bug (wrong import) in error message, as noticed by pyflakes
Zooko O'Whielacronx [Tue, 19 May 2009 19:56:42 +0000 (12:56 -0700)]
setup: fix bug (wrong import) in error message, as noticed by pyflakes

15 years agosetup: fix trivial bug in recent patch to test base64.py at startup
Zooko O'Whielacronx [Tue, 19 May 2009 19:51:29 +0000 (12:51 -0700)]
setup: fix trivial bug in recent patch to test base64.py at startup

15 years agosetup: make Tahoe exit at startup with a useful error message if the base64.py module...
Zooko O'Whielacronx [Tue, 19 May 2009 19:45:55 +0000 (12:45 -0700)]
setup: make Tahoe exit at startup with a useful error message if the base64.py module is buggy (fixes part of #710)

15 years agotest_introducer.py: add a test for the python2.4.0/2.4.1 bug in base64.b32decode
Brian Warner [Tue, 19 May 2009 03:41:01 +0000 (20:41 -0700)]
test_introducer.py: add a test for the python2.4.0/2.4.1 bug in base64.b32decode

15 years agoimmutable WriteBucketProxy: use pipeline to speed up uploads by overlapping roundtrip...
Brian Warner [Mon, 18 May 2009 23:44:22 +0000 (16:44 -0700)]
immutable WriteBucketProxy: use pipeline to speed up uploads by overlapping roundtrips, for #392

15 years agoutil/pipeline.py: new utility class to manage size-limited work pipelines, for #392
Brian Warner [Mon, 18 May 2009 23:43:26 +0000 (16:43 -0700)]
util/pipeline.py: new utility class to manage size-limited work pipelines, for #392

15 years agodocs: add a diagram that I'm about to show to the Boulder Linux Users Group: network...
Zooko O'Whielacronx [Thu, 14 May 2009 23:20:59 +0000 (16:20 -0700)]
docs: add a diagram that I'm about to show to the Boulder Linux Users Group: network-and-reliance-topology.svg

15 years agotests: mark test_runner as coded in utf-8 instead of ascii
Zooko O'Whielacronx [Thu, 7 May 2009 22:31:51 +0000 (15:31 -0700)]
tests: mark test_runner as coded in utf-8 instead of ascii

15 years agotests: raise timeout on test_runner.RunNode.test_introducer from 120s to 240s, since...
Zooko O'Whielacronx [Thu, 7 May 2009 21:50:12 +0000 (14:50 -0700)]
tests: raise timeout on test_runner.RunNode.test_introducer from 120s to 240s, since it hit the 120s time-out on François Lenny-armv5tel

15 years agosetup: fix comment in setup.py
Zooko O'Whielacronx [Thu, 7 May 2009 21:50:03 +0000 (14:50 -0700)]
setup: fix comment in setup.py

15 years agodocs: how_to_make_a_tahoe_release.txt: a couple of small edits
Zooko O'Whielacronx [Thu, 7 May 2009 21:49:32 +0000 (14:49 -0700)]
docs: how_to_make_a_tahoe_release.txt: a couple of small edits

15 years ago.darcs-boringfile: also ignore .gitignore
Brian Warner [Wed, 15 Apr 2009 21:05:50 +0000 (14:05 -0700)]
.darcs-boringfile: also ignore .gitignore

15 years ago.darcs-boringfile: ignore .git, I'm starting to play around with it
Brian Warner [Wed, 15 Apr 2009 20:59:29 +0000 (13:59 -0700)]
.darcs-boringfile: ignore .git, I'm starting to play around with it

15 years agofix quicktest: stop using setuptools, add misc/run-with-pythonpath.py, to make it...
Brian Warner [Tue, 14 Apr 2009 20:14:00 +0000 (13:14 -0700)]
fix quicktest: stop using setuptools, add misc/run-with-pythonpath.py, to make it run faster

15 years agoTAG allmydata-tahoe-1.4.1 allmydata-tahoe-1.4.1
Zooko O'Whielacronx [Tue, 14 Apr 2009 02:56:36 +0000 (19:56 -0700)]
TAG allmydata-tahoe-1.4.1

15 years agodocs: inaugurate Tahoe-1.4.1, since I left out a handful of patches from the Tahoe...
Zooko O'Whielacronx [Tue, 14 Apr 2009 02:54:30 +0000 (19:54 -0700)]
docs: inaugurate Tahoe-1.4.1, since I left out a handful of patches from the Tahoe-1.4.0 release

15 years agodocs: add "darcs pull" to how_to_make_a_tahoe_release.txt, and renumber
Zooko O'Whielacronx [Tue, 14 Apr 2009 02:43:42 +0000 (19:43 -0700)]
docs: add "darcs pull" to how_to_make_a_tahoe_release.txt, and renumber

15 years agoTAG allmydata-tahoe-1.4.0 allmydata-tahoe-1.4.0
Zooko O'Whielacronx [Tue, 14 Apr 2009 02:20:15 +0000 (19:20 -0700)]
TAG allmydata-tahoe-1.4.0

15 years agodocs: edit relnotes.txt and promote Tahoe from filesystem to cloud storage thingie
Zooko O'Whielacronx [Tue, 14 Apr 2009 02:19:13 +0000 (19:19 -0700)]
docs: edit relnotes.txt and promote Tahoe from filesystem to cloud storage thingie

15 years agodocs: add note about pywin32 to install.html
Zooko O'Whielacronx [Mon, 13 Apr 2009 18:52:10 +0000 (11:52 -0700)]
docs: add note about pywin32 to install.html

15 years agotrivial: fix comment
Zooko O'Whielacronx [Mon, 13 Apr 2009 17:41:38 +0000 (10:41 -0700)]
trivial: fix comment

15 years agodocs: a few edits/updates about dirnodes
Zooko O'Whielacronx [Mon, 13 Apr 2009 16:08:37 +0000 (09:08 -0700)]
docs: a few edits/updates about dirnodes

15 years agodocs: change install.html to point to the 1.4.0 release zip file instead of 1.3.0
Zooko O'Whielacronx [Mon, 13 Apr 2009 16:06:49 +0000 (09:06 -0700)]
docs: change install.html to point to the 1.4.0 release zip file instead of 1.3.0

15 years agodocs: edit install.html regarding versions of Python
Zooko O'Whielacronx [Mon, 13 Apr 2009 16:06:12 +0000 (09:06 -0700)]
docs: edit install.html regarding versions of Python

15 years agodocs: some small edits to install.html
Zooko O'Whielacronx [Mon, 13 Apr 2009 16:04:14 +0000 (09:04 -0700)]
docs: some small edits to install.html

15 years agoNEWS: mention that the new 'reliability' page requires numpy
Brian Warner [Mon, 13 Apr 2009 11:04:46 +0000 (04:04 -0700)]
NEWS: mention that the new 'reliability' page requires numpy

15 years agodocs: update relnotes.txt, NEWS for Tahoe-1.4.0 release!
Zooko O'Whielacronx [Mon, 13 Apr 2009 04:14:05 +0000 (21:14 -0700)]
docs: update relnotes.txt, NEWS for Tahoe-1.4.0 release!

15 years agotests: remove obsolete test (it tests functionality that is long gone) which occasion...
Zooko O'Whielacronx [Mon, 13 Apr 2009 02:36:21 +0000 (19:36 -0700)]
tests: remove obsolete test (it tests functionality that is long gone) which occasionally ERRORs now that we have more metadata (since [20090411225205-92b7f-7adfb89cb4db4ac7d28427934dea3d2c108f6476])

15 years agotrivial: remove trailing whitespace and unused import
Zooko O'Whielacronx [Sun, 12 Apr 2009 02:17:42 +0000 (19:17 -0700)]
trivial: remove trailing whitespace and unused import

15 years agodirnode: add 'tahoe'/'linkcrtime' and 'tahoe'/'linkmotime' to take the place of what...
Zooko O'Whielacronx [Sat, 11 Apr 2009 22:52:05 +0000 (15:52 -0700)]
dirnode: add 'tahoe'/'linkcrtime' and 'tahoe'/'linkmotime' to take the place of what 'mtime'/'ctime' originally did, and make the 'tahoe' subdict be unwritable through the set_children API
Also add extensive documentation in docs/frontends/webapi.txt about the behaviors of these values.  See ticket #628.

15 years agodocs: webapi.txt edits to explain a few things better, adjust indentation, editing
Zooko O'Whielacronx [Sat, 11 Apr 2009 22:48:28 +0000 (15:48 -0700)]
docs: webapi.txt edits to explain a few things better, adjust indentation, editing

15 years agorollback [20090226150237-b2345-1e916a746a7f4627b050f02f0e442fae5caf69d4] for 1.4...
Zooko O'Whielacronx [Sat, 11 Apr 2009 18:19:06 +0000 (11:19 -0700)]
rollback [20090226150237-b2345-1e916a746a7f4627b050f02f0e442fae5caf69d4] for 1.4.0 release; #645

15 years agosetup: update comments about what versions we require of our dependencies
Zooko O'Whielacronx [Fri, 10 Apr 2009 17:43:45 +0000 (10:43 -0700)]
setup: update comments about what versions we require of our dependencies

15 years agoNEWS: finish formatting new items. Still needs proofreading and updating the release...
Brian Warner [Fri, 10 Apr 2009 01:56:55 +0000 (18:56 -0700)]
NEWS: finish formatting new items. Still needs proofreading and updating the release name+date

15 years ago#622: disable 'Repair' button on check-results page until we make it work correctly
Brian Warner [Thu, 9 Apr 2009 23:59:59 +0000 (16:59 -0700)]
#622: disable 'Repair' button on check-results page until we make it work correctly

15 years agoweb: make sure that PUT /uri?mutable=false really means immutable, fixes #675
Brian Warner [Wed, 8 Apr 2009 02:13:40 +0000 (19:13 -0700)]
web: make sure that PUT /uri?mutable=false really means immutable, fixes #675

15 years agoNEWS: format some (but not all) items
Brian Warner [Tue, 7 Apr 2009 21:15:14 +0000 (14:15 -0700)]
NEWS: format some (but not all) items

15 years agowui: edit some of the human-readable parts of the wui such as button labels
Zooko O'Whielacronx [Tue, 7 Apr 2009 18:54:59 +0000 (11:54 -0700)]
wui: edit some of the human-readable parts of the wui such as button labels
(The word "parent" suggests that you can go up a directory hierarchy -- perhaps that word is vestigial.)

15 years agowui: fix bug in which empty directory is marked as "unreadable", add test, remove...
Zooko O'Whielacronx [Tue, 7 Apr 2009 18:28:34 +0000 (11:28 -0700)]
wui: fix bug in which empty directory is marked as "unreadable", add test, remove exclamation point

15 years agoNEWS: add unformatted list of code changes since previous release
Brian Warner [Tue, 7 Apr 2009 02:11:55 +0000 (19:11 -0700)]
NEWS: add unformatted list of code changes since previous release

15 years agodocs: modify how-to-relase notes a tiny bit
Brian Warner [Tue, 7 Apr 2009 02:11:35 +0000 (19:11 -0700)]
docs: modify how-to-relase notes a tiny bit

15 years agohashtree.py: another micro-optimization, expand on a comment
Brian Warner [Sat, 4 Apr 2009 04:35:27 +0000 (21:35 -0700)]
hashtree.py: another micro-optimization, expand on a comment

15 years agohashtree: fix tests of depth_of
Zooko O'Whielacronx [Fri, 3 Apr 2009 23:56:14 +0000 (16:56 -0700)]
hashtree: fix tests of depth_of

15 years agotrivial: source code metadata
Zooko O'Whielacronx [Fri, 3 Apr 2009 23:33:15 +0000 (16:33 -0700)]
trivial: source code metadata

15 years agotrivial: whitespace
Zooko O'Whielacronx [Fri, 3 Apr 2009 23:33:02 +0000 (16:33 -0700)]
trivial: whitespace

15 years agohashtree: a couple of tiny improvements
Zooko O'Whielacronx [Fri, 3 Apr 2009 23:30:37 +0000 (16:30 -0700)]
hashtree: a couple of tiny improvements
 * calculate depth-first with math instead of traversing the actual tree
 * don't mark a node with a red dot if you instead compare it with an extant hash value (tiny optimization)
 * edit a comment about checking the root node

15 years agoleases, time_format: modify time stamping in lease description
Zooko O'Whielacronx [Fri, 3 Apr 2009 22:59:04 +0000 (15:59 -0700)]
leases, time_format: modify time stamping in lease description
 * emit lease expiry date in ISO-8601'ish format as well as Brian's format
 * rename iso_utc_time_to_localseconds() to iso_utc_time_to_seconds()
 * add iso_utc_date()
 * simplify the body of iso_utc_time_to_seconds()

15 years agohashtree: fix O(N**2) behavior, to improve fatal alacrity problems in a 10GB file...
Brian Warner [Tue, 31 Mar 2009 20:21:27 +0000 (13:21 -0700)]
hashtree: fix O(N**2) behavior, to improve fatal alacrity problems in a 10GB file (#670). Also improve docstring.

15 years agodocs: setup: Norm Hardy suggested that it would be easier if users realized that...
Zooko O'Whielacronx [Wed, 25 Mar 2009 03:54:59 +0000 (20:54 -0700)]
docs: setup: Norm Hardy suggested that it would be easier if users realized that they already had Python (especially true for Mac users)

15 years agoexpirer: include crawler progress in the JSON status output
Brian Warner [Tue, 24 Mar 2009 20:51:37 +0000 (13:51 -0700)]
expirer: include crawler progress in the JSON status output

15 years agodocs/proposed: new Accounting overview, discuss in #666
Brian Warner [Tue, 24 Mar 2009 01:57:52 +0000 (18:57 -0700)]
docs/proposed: new Accounting overview, discuss in #666

15 years agodocs/proposed: move old accounting docs out of the way
Brian Warner [Tue, 24 Mar 2009 01:54:57 +0000 (18:54 -0700)]
docs/proposed: move old accounting docs out of the way

15 years agomove GC docs out of proposed/, since it's all implemented now. Add reference to confi...
Brian Warner [Mon, 23 Mar 2009 23:08:20 +0000 (16:08 -0700)]
move GC docs out of proposed/, since it's all implemented now. Add reference to configuration.txt . Add expire.*= suggestions to tahoe.cfg .

15 years agostorage: use constant-time comparison for write-enablers and lease-secrets
Brian Warner [Mon, 23 Mar 2009 03:21:28 +0000 (20:21 -0700)]
storage: use constant-time comparison for write-enablers and lease-secrets

15 years agohashutil: add constant-time comparison function, to avoid timing attacks when python...
Brian Warner [Mon, 23 Mar 2009 03:20:55 +0000 (20:20 -0700)]
hashutil: add constant-time comparison function, to avoid timing attacks when python's short-circuiting data-dependent == operator is used to, say, check a write-enabler

15 years agoWUI: fix display of empty directories, it threw an exception before
Brian Warner [Fri, 20 Mar 2009 23:58:09 +0000 (16:58 -0700)]
WUI: fix display of empty directories, it threw an exception before

15 years agostorage webstatus: insert spaces when we're configured to expire multiple sharetypes
Brian Warner [Fri, 20 Mar 2009 22:44:50 +0000 (15:44 -0700)]
storage webstatus: insert spaces when we're configured to expire multiple sharetypes

15 years agoexpirer: tolerate empty buckets, refactor bucketsize-counting code a bit, don't incre...
Brian Warner [Fri, 20 Mar 2009 19:18:16 +0000 (12:18 -0700)]
expirer: tolerate empty buckets, refactor bucketsize-counting code a bit, don't increment -mutable/-immutable counters unless we actually know the sharetype

15 years agostorage: improve wording of status message
Brian Warner [Thu, 19 Mar 2009 18:48:37 +0000 (11:48 -0700)]
storage: improve wording of status message

15 years agoparse_date: insist that it returns an int
Brian Warner [Thu, 19 Mar 2009 18:44:43 +0000 (11:44 -0700)]
parse_date: insist that it returns an int

15 years agostorage status: report expiration-cutoff-date like 19-Mar-2009 (as opposed to the...
Brian Warner [Thu, 19 Mar 2009 18:07:56 +0000 (11:07 -0700)]
storage status: report expiration-cutoff-date like 19-Mar-2009 (as opposed to the tahoe.cfg input format of 2009-03-19), for redundancy: someone who gets the month and day switched will have a better chance to spot the problem in the storage-status output if it's in a different format

15 years agoexpirer: clean up constructor args, add tahoe.cfg controls, use cutoff_date instead...
Brian Warner [Thu, 19 Mar 2009 01:00:09 +0000 (18:00 -0700)]
expirer: clean up constructor args, add tahoe.cfg controls, use cutoff_date instead of date_cutoff

15 years agoutil/time_format: new routine to parse dates like 2009-03-18, switch expirer to use...
Brian Warner [Thu, 19 Mar 2009 00:58:14 +0000 (17:58 -0700)]
util/time_format: new routine to parse dates like 2009-03-18, switch expirer to use it. I'd prefer to use 18-Mar-2009, but it is surprisingly non-trivial to build a parser that will take UTC dates instead of local dates

15 years agoexpirer: change setup, config options, in preparation for adding tahoe.cfg controls
Brian Warner [Thu, 19 Mar 2009 00:21:38 +0000 (17:21 -0700)]
expirer: change setup, config options, in preparation for adding tahoe.cfg controls

15 years agoexpirer: track mutable-vs-immutable sharecounts and sizes, report them on the web...
Brian Warner [Wed, 18 Mar 2009 20:25:04 +0000 (13:25 -0700)]
expirer: track mutable-vs-immutable sharecounts and sizes, report them on the web status page for comparison

15 years agoadd utility function to parse durations, for lease-expiration config
Brian Warner [Tue, 17 Mar 2009 07:01:17 +0000 (00:01 -0700)]
add utility function to parse durations, for lease-expiration config

15 years agoexpirer: add mode to expire only-mutable or only-immutable shares
Brian Warner [Tue, 17 Mar 2009 06:51:18 +0000 (23:51 -0700)]
expirer: add mode to expire only-mutable or only-immutable shares

15 years agotahoe_ls.py: add comment about error cases to improve
Brian Warner [Tue, 17 Mar 2009 05:12:06 +0000 (22:12 -0700)]
tahoe_ls.py: add comment about error cases to improve

15 years agoGC: add date-cutoff -based expiration, add proposed docs
Brian Warner [Tue, 17 Mar 2009 05:10:41 +0000 (22:10 -0700)]
GC: add date-cutoff -based expiration, add proposed docs

15 years agotest_deepcheck: remove the 10s timeout: our dapper buildslave requires 30s, and the...
Brian Warner [Mon, 16 Mar 2009 00:51:34 +0000 (17:51 -0700)]
test_deepcheck: remove the 10s timeout: our dapper buildslave requires 30s, and the reduced timeout was only there because this tests fails by timeout rather than explicitly

15 years agotahoe cp -r: add --caps-only flag, to write filecaps into local files instead of...
Brian Warner [Sun, 15 Mar 2009 23:19:58 +0000 (16:19 -0700)]
tahoe cp -r: add --caps-only flag, to write filecaps into local files instead of actual file contents. Used only for debugging and as a quick tree-comparison tool.

15 years agodirnode deep_traverse: insert a turn break (fireEventually) at least once every 100...
Brian Warner [Fri, 13 Mar 2009 23:31:35 +0000 (16:31 -0700)]
dirnode deep_traverse: insert a turn break (fireEventually) at least once every 100 files, otherwise a CHK followed by more than 158 LITs can overflow the stack, sort of like #237.

15 years agoconsolidate: remove pointless 'else' after for loop
Brian Warner [Fri, 13 Mar 2009 08:27:51 +0000 (01:27 -0700)]
consolidate: remove pointless 'else' after for loop

15 years agoconsolidate: add eta, flush stdout
Brian Warner [Fri, 13 Mar 2009 08:24:51 +0000 (01:24 -0700)]
consolidate: add eta, flush stdout

15 years agoconsolidate: tolerate unicode dirnames
Brian Warner [Fri, 13 Mar 2009 06:54:02 +0000 (23:54 -0700)]
consolidate: tolerate unicode dirnames

15 years agodirnode.py: when doing deep-traverse, walk each directory in alphabetical order,...
Brian Warner [Fri, 13 Mar 2009 06:50:46 +0000 (23:50 -0700)]
dirnode.py: when doing deep-traverse, walk each directory in alphabetical order, to make things like 'manifest' more predictable

15 years agoconsolidator: add progress to scan-old-directory passes
Brian Warner [Fri, 13 Mar 2009 05:47:28 +0000 (22:47 -0700)]
consolidator: add progress to scan-old-directory passes

15 years agoconsolidator: fix cycle detection to not trigger on merely shared directories, add...
Brian Warner [Fri, 13 Mar 2009 04:22:29 +0000 (21:22 -0700)]
consolidator: fix cycle detection to not trigger on merely shared directories, add snapshot counter to progress

15 years agoconsolidator: re-use more directories, add total directories seen-vs-used counts
Brian Warner [Fri, 13 Mar 2009 03:48:01 +0000 (20:48 -0700)]
consolidator: re-use more directories, add total directories seen-vs-used counts

15 years agotahoe_backup.py: tolerate more time formats
Brian Warner [Fri, 13 Mar 2009 01:16:00 +0000 (18:16 -0700)]
tahoe_backup.py: tolerate more time formats

15 years agoconsolidator: add more verbose traversal of directories
Brian Warner [Thu, 12 Mar 2009 23:29:00 +0000 (16:29 -0700)]
consolidator: add more verbose traversal of directories

15 years agoconsolidate: create multiple numbered backups of the original Archives directory...
Brian Warner [Thu, 12 Mar 2009 23:04:27 +0000 (16:04 -0700)]
consolidate: create multiple numbered backups of the original Archives directory, not just the first time

15 years agoadd 'tahoe debug consolidate' command, to merge directories created by repeated ...
Brian Warner [Thu, 12 Mar 2009 20:56:06 +0000 (13:56 -0700)]
add 'tahoe debug consolidate' command, to merge directories created by repeated 'tahoe cp -r' or the allmydata win32 backup tool, into the form that would have been created by 'tahoe backup'.

15 years agotahoe_cp.py: return 0 for success, instead of None
Brian Warner [Thu, 12 Mar 2009 20:53:45 +0000 (13:53 -0700)]
tahoe_cp.py: return 0 for success, instead of None

15 years agosetup: specify in the debian/control files that tahoe is compatible with Python 2.6
Zooko O'Whielacronx [Wed, 11 Mar 2009 22:59:02 +0000 (15:59 -0700)]
setup: specify in the debian/control files that tahoe is compatible with Python 2.6

15 years agosetup: update the debian/copyright text to reflect the current licences
Zooko O'Whielacronx [Wed, 11 Mar 2009 15:29:52 +0000 (08:29 -0700)]
setup: update the debian/copyright text to reflect the current licences

15 years agoexpirer: fix prediction math, thanks to Zandr for the catch
Brian Warner [Mon, 9 Mar 2009 20:42:17 +0000 (13:42 -0700)]
expirer: fix prediction math, thanks to Zandr for the catch

15 years agostorage.expirer: oops, fix upgrade-handler code
Brian Warner [Mon, 9 Mar 2009 03:55:16 +0000 (20:55 -0700)]
storage.expirer: oops, fix upgrade-handler code

15 years agostorage.expirer: handle upgrades better
Brian Warner [Mon, 9 Mar 2009 03:42:20 +0000 (20:42 -0700)]
storage.expirer: handle upgrades better

15 years agostorage.expirer: exercise the last missing line of webstatus code
Brian Warner [Mon, 9 Mar 2009 03:38:28 +0000 (20:38 -0700)]
storage.expirer: exercise the last missing line of webstatus code

15 years agoexpirer: tolerate corrupt shares, add them to the state and history for future examin...
Brian Warner [Mon, 9 Mar 2009 03:08:40 +0000 (20:08 -0700)]
expirer: tolerate corrupt shares, add them to the state and history for future examination

15 years agostorage/immutable: raise a specific error upon seeing a bad version number, instead...
Brian Warner [Mon, 9 Mar 2009 03:07:32 +0000 (20:07 -0700)]
storage/immutable: raise a specific error upon seeing a bad version number, instead of using assert. Also wrap to 80cols.

15 years agostorage: add test coverage for BucketReader.__repr__
Brian Warner [Mon, 9 Mar 2009 03:05:27 +0000 (20:05 -0700)]
storage: add test coverage for BucketReader.__repr__

15 years agostorage/mutable: raise a specific error upon seeing bad magic, instead of using assert
Brian Warner [Mon, 9 Mar 2009 02:02:01 +0000 (19:02 -0700)]
storage/mutable: raise a specific error upon seeing bad magic, instead of using assert

15 years agonodeadmin: node stops itself if a hotline file hasn't been touched in 120 seconds...
Zooko O'Whielacronx [Sun, 8 Mar 2009 03:50:39 +0000 (20:50 -0700)]
nodeadmin: node stops itself if a hotline file hasn't been touched in 120 seconds now, instead of in 60 seconds
A test failed on draco (MacPPC) because it took 67.1 seconds to get around to running the test, and the node had already stopped itself when the hotline file was 60 seconds old.

15 years agoexpirer: make web display a bit more consistent
Brian Warner [Sat, 7 Mar 2009 23:14:42 +0000 (16:14 -0700)]
expirer: make web display a bit more consistent

15 years agoweb/storage.py: tolerate unknown-future displays, I'm not sure why LeaseCrawler.test_...
Brian Warner [Sat, 7 Mar 2009 23:02:43 +0000 (16:02 -0700)]
web/storage.py: tolerate unknown-future displays, I'm not sure why LeaseCrawler.test_unpredictable_future didn't catch this