tahoe-lafs/tahoe-lafs.git
16 years agomutable/servermap: improve test coverage
Brian Warner [Sat, 19 Apr 2008 03:13:28 +0000 (20:13 -0700)]
mutable/servermap: improve test coverage

16 years agomutable: improve test coverage, fix bug in privkey fetching, add .finished to stats...
Brian Warner [Sat, 19 Apr 2008 02:55:12 +0000 (19:55 -0700)]
mutable: improve test coverage, fix bug in privkey fetching, add .finished to stats, remove dead code

16 years agosetup: remove the try: except: around the import of pkg_resources -- we now require...
Zooko O'Whielacronx [Fri, 18 Apr 2008 20:24:59 +0000 (13:24 -0700)]
setup: remove the try: except: around the import of pkg_resources -- we now require setuptools at run time and at build time

16 years agomutable.node: avoid reentrancy problems in Deferred code on twisted2.5, by adding...
Brian Warner [Fri, 18 Apr 2008 07:43:29 +0000 (00:43 -0700)]
mutable.node: avoid reentrancy problems in Deferred code on twisted2.5, by adding an eventual-send call

16 years agosetup: don't try __import__(name) in _auto_deps.py
Zooko O'Whielacronx [Fri, 18 Apr 2008 19:17:22 +0000 (12:17 -0700)]
setup: don't try __import__(name) in _auto_deps.py
This happens to work, because all of our "distribution" (i.e. distributable packaged Python code) names to coincide with all of their "package" (i.e. a directory with a __init__.py in it, which is "import"-able) names, except, I think for Twisted on Brian's debian sid system.

But there's no reason why it should always work, and the only reason for that __import__() was to give us an explicit error message indicating missing requirements in the case that pkg_resources isn't importable or that the requirements don't have correct .egg-info metadata.  So, by removing this stanza we may allow certain places to get a more ad-hoc failure message, i.e. an ImportError from somewhere, instead of an ImportError from _auto_deps.py, but that's okay.

Note that dependencies which do not have their .egg-info metadata with them are increasingly rare, since Python 2.5 distutils creates the .egg-info file by default, and Linux distributions have stopped their former practice of actively deleting the .egg-info files.

16 years agosetup: trivial change to metadata to test patch/branch/build system
Zooko O'Whielacronx [Fri, 18 Apr 2008 18:58:00 +0000 (11:58 -0700)]
setup: trivial change to metadata to test patch/branch/build system

16 years agolet MutableFileNode.__repr__() return something useful even if it isn't not initializ...
Zooko O'Whielacronx [Fri, 18 Apr 2008 04:32:38 +0000 (21:32 -0700)]
let MutableFileNode.__repr__() return something useful even if it isn't not initialize yet
This is because I sometimes log or examine a repr of an object from a function which is being called from that object's own __init__()...
(I'm committing this patch in order to test our patch management infrastructure.)

16 years agodocs: tiny update to webapi.txt
Zooko O'Whielacronx [Fri, 18 Apr 2008 04:09:12 +0000 (21:09 -0700)]
docs: tiny update to webapi.txt
I'm actually committing this just to test our patch management infrastructure.

16 years agodocs: tiny change in webapi.txt
Zooko O'Whielacronx [Fri, 18 Apr 2008 04:00:51 +0000 (21:00 -0700)]
docs: tiny change in webapi.txt
(I'm actually committing this patch only in order to test our patch management infrastructure.)

16 years agodocs: merge conflicts between the patch to document "127.0.0.1" instead of "localhost...
Zooko O'Whielacronx [Fri, 18 Apr 2008 03:57:41 +0000 (20:57 -0700)]
docs: merge conflicts between the patch to document "127.0.0.1" instead of "localhost" and some other patches (precisely which, I don't know)

16 years agodocs: use "127.0.0.1" instead of "localhost"
Zooko O'Whielacronx [Fri, 18 Apr 2008 03:45:34 +0000 (20:45 -0700)]
docs: use "127.0.0.1" instead of "localhost"
Unfortunately there are occasionally configurations in the real world where "localhost" does not resolve to 127.0.0.1, and if a user has such a configuration then using 'localhost' could lead to an authority leak.

16 years agosetup: a tiny tweak to setup to avoid requiring darcsver package if the user isn...
Zooko O'Whielacronx [Fri, 18 Apr 2008 05:07:52 +0000 (22:07 -0700)]
setup: a tiny tweak to setup to avoid requiring darcsver package if the user isn't invoking "./setup.py darcsver"
The real reason for this patch is to test our patch management infrastructure.

16 years agodirnode: return to 'delete fails if the child wasn't actually there' semantics, to...
Brian Warner [Fri, 18 Apr 2008 03:06:06 +0000 (20:06 -0700)]
dirnode: return to 'delete fails if the child wasn't actually there' semantics, to make tests pass. There's a switch to enable/disable this

16 years agotest_mutable: hush pyflakes
Brian Warner [Fri, 18 Apr 2008 02:57:55 +0000 (19:57 -0700)]
test_mutable: hush pyflakes

16 years agodirnode: update to use MutableFileNode.modify
Brian Warner [Fri, 18 Apr 2008 02:57:04 +0000 (19:57 -0700)]
dirnode: update to use MutableFileNode.modify

16 years agotestutil: minor reformatting
Brian Warner [Fri, 18 Apr 2008 02:56:45 +0000 (19:56 -0700)]
testutil: minor reformatting

16 years agotest_mutable: factor out ShouldFailMixin
Brian Warner [Fri, 18 Apr 2008 02:55:51 +0000 (19:55 -0700)]
test_mutable: factor out ShouldFailMixin

16 years agomutable: implement MutableFileNode.modify, plus tests
Brian Warner [Fri, 18 Apr 2008 02:12:42 +0000 (19:12 -0700)]
mutable: implement MutableFileNode.modify, plus tests

16 years agomutable: replace MutableFileNode API, update tests. Changed all callers to use overwr...
Brian Warner [Fri, 18 Apr 2008 00:51:38 +0000 (17:51 -0700)]
mutable: replace MutableFileNode API, update tests. Changed all callers to use overwrite(), but that will change soon

16 years agomutable WIP: merge in patches from current trunk
Brian Warner [Thu, 17 Apr 2008 20:09:22 +0000 (13:09 -0700)]
mutable WIP: merge in patches from current trunk

16 years agomutable WIP: use fireOnOneErrback when using a DeferredList
Brian Warner [Thu, 17 Apr 2008 20:11:48 +0000 (13:11 -0700)]
mutable WIP: use fireOnOneErrback when using a DeferredList

16 years agomutable WIP: clean up status handling, shrink the code a lot, improve test coverage
Brian Warner [Thu, 17 Apr 2008 20:02:22 +0000 (13:02 -0700)]
mutable WIP: clean up status handling, shrink the code a lot, improve test coverage

16 years agomutable WIP: add servermap update status pages
Brian Warner [Thu, 17 Apr 2008 02:05:41 +0000 (19:05 -0700)]
mutable WIP: add servermap update status pages

16 years agomutable WIP: oops, fix test_mutable
Brian Warner [Thu, 17 Apr 2008 01:06:54 +0000 (18:06 -0700)]
mutable WIP: oops, fix test_mutable

16 years agomutable WIP: publish status doesn't know its size early enough to update the stats_pr...
Brian Warner [Thu, 17 Apr 2008 00:55:17 +0000 (17:55 -0700)]
mutable WIP: publish status doesn't know its size early enough to update the stats_provider

16 years agomutable WIP: re-enable publish/retrieve status
Brian Warner [Thu, 17 Apr 2008 00:49:06 +0000 (17:49 -0700)]
mutable WIP: re-enable publish/retrieve status

16 years agomisc/sizes.py: update to match current defaults: 128KiB segsize, 3-of-10
Brian Warner [Wed, 16 Apr 2008 23:29:53 +0000 (16:29 -0700)]
misc/sizes.py: update to match current defaults: 128KiB segsize, 3-of-10

16 years agomutable WIP: improve logging a bit
Brian Warner [Wed, 16 Apr 2008 22:22:30 +0000 (15:22 -0700)]
mutable WIP: improve logging a bit

16 years agomutable WIP: rewrite ServerMap data structure, add tests
Brian Warner [Wed, 16 Apr 2008 21:49:47 +0000 (14:49 -0700)]
mutable WIP: rewrite ServerMap data structure, add tests

16 years agomutable WIP: rename NotEnoughPeersError to NotEnoughSharesError
Brian Warner [Tue, 15 Apr 2008 23:08:32 +0000 (16:08 -0700)]
mutable WIP: rename NotEnoughPeersError to NotEnoughSharesError

16 years agomutable WIP: if corrupt shares cause a retrieve to fail, restart it once, ignoring...
Brian Warner [Tue, 15 Apr 2008 22:58:02 +0000 (15:58 -0700)]
mutable WIP: if corrupt shares cause a retrieve to fail, restart it once, ignoring those shares and using different ones

16 years agomutable WIP: merge conflicts in test_system.py
Brian Warner [Tue, 15 Apr 2008 22:57:28 +0000 (15:57 -0700)]
mutable WIP: merge conflicts in test_system.py

16 years agomutable WIP: split mutable.py into separate files. All tests pass.
Brian Warner [Fri, 11 Apr 2008 21:31:16 +0000 (14:31 -0700)]
mutable WIP: split mutable.py into separate files. All tests pass.

16 years agomutable WIP: all tests pass, but publish/retrieve status is still stubbed out
Brian Warner [Fri, 11 Apr 2008 02:26:35 +0000 (19:26 -0700)]
mutable WIP: all tests pass, but publish/retrieve status is still stubbed out

16 years agomutable: WIP. make Publish work, remove some test scaffolding. test_system still...
Brian Warner [Fri, 11 Apr 2008 01:44:06 +0000 (18:44 -0700)]
mutable: WIP. make Publish work, remove some test scaffolding. test_system still fails.

16 years agomutable.py: checkpointing #303 work part 2, Publish is sketched out
Brian Warner [Tue, 8 Apr 2008 02:01:28 +0000 (19:01 -0700)]
mutable.py: checkpointing #303 work part 2, Publish is sketched out

16 years agomutable.py: checkpointing #303 work: retrieve does what I want, now starting in on...
Brian Warner [Sat, 5 Apr 2008 00:09:26 +0000 (17:09 -0700)]
mutable.py: checkpointing #303 work: retrieve does what I want, now starting in on publish

16 years agoclient: add 'node.uptime' to the stats we collect
Brian Warner [Thu, 17 Apr 2008 18:13:39 +0000 (11:13 -0700)]
client: add 'node.uptime' to the stats we collect

16 years agonative client (windows) - This update fixes Williams issue getting files to show...
Peter Secor [Wed, 16 Apr 2008 23:25:23 +0000 (16:25 -0700)]
native client (windows) - This update fixes Williams issue getting files to show up on the drive after

16 years agowindows installer - added commands to stop the services if the user is installing...
Peter Secor [Wed, 16 Apr 2008 17:52:21 +0000 (10:52 -0700)]
windows installer - added commands to stop the services if the user is installing over a running instance of Allmydata

16 years agonative client - updated to correctly choose a drive letter if the previous drive...
Peter Secor [Wed, 16 Apr 2008 10:21:35 +0000 (03:21 -0700)]
native client - updated to correctly choose a drive letter if the previous drive letter has been otherwise taken while the client was not running

16 years agodownload: DownloadStopped isn't SCARY, lower the log severity
Brian Warner [Tue, 15 Apr 2008 23:06:09 +0000 (16:06 -0700)]
download: DownloadStopped isn't SCARY, lower the log severity

16 years agotest_mutable.py: remove spurious Retrieve during a publish test
Brian Warner [Tue, 15 Apr 2008 18:20:38 +0000 (11:20 -0700)]
test_mutable.py: remove spurious Retrieve during a publish test

16 years agoweb/statistics: fix typo that make immutable-download stats missing
Brian Warner [Tue, 15 Apr 2008 18:20:04 +0000 (11:20 -0700)]
web/statistics: fix typo that make immutable-download stats missing

16 years agoupload.py: add some notes: extensions are more like 419 than 1000 bytes
Brian Warner [Tue, 15 Apr 2008 18:14:58 +0000 (11:14 -0700)]
upload.py: add some notes: extensions are more like 419 than 1000 bytes

16 years agoweb: return a proper error upon POST with a bad t= value
Brian Warner [Tue, 15 Apr 2008 18:11:29 +0000 (11:11 -0700)]
web: return a proper error upon POST with a bad t= value

16 years agomisc/boodlegrid.tac: tweak sounds a bit
Brian Warner [Tue, 15 Apr 2008 18:01:49 +0000 (11:01 -0700)]
misc/boodlegrid.tac: tweak sounds a bit

16 years agoweb: don't break status page when there is no helper running
Brian Warner [Tue, 15 Apr 2008 06:42:20 +0000 (23:42 -0700)]
web: don't break status page when there is no helper running

16 years agohelper: log SI in ciphertext-read-failed message
Brian Warner [Tue, 15 Apr 2008 02:41:23 +0000 (19:41 -0700)]
helper: log SI in ciphertext-read-failed message

16 years agohelper: add SI to logged progress messages
Brian Warner [Tue, 15 Apr 2008 02:26:53 +0000 (19:26 -0700)]
helper: add SI to logged progress messages

16 years agohelper status: include percentage fetched+pushed, add helper-uploads to the upload...
Brian Warner [Tue, 15 Apr 2008 01:36:27 +0000 (18:36 -0700)]
helper status: include percentage fetched+pushed, add helper-uploads to the upload/download list

16 years agowebish: fix 'not running helper' status indicator on welcome page, add tests
Brian Warner [Mon, 14 Apr 2008 23:28:11 +0000 (16:28 -0700)]
webish: fix 'not running helper' status indicator on welcome page, add tests

16 years agostats: add /statistics web page to show them, add tests
Brian Warner [Mon, 14 Apr 2008 21:17:08 +0000 (14:17 -0700)]
stats: add /statistics web page to show them, add tests

16 years agooffloaded: add fetched-percentage to the log message
Brian Warner [Mon, 14 Apr 2008 21:16:38 +0000 (14:16 -0700)]
offloaded: add fetched-percentage to the log message

16 years agohelper stats: fix the /helper_status page, the recent conflict merging missed some...
Brian Warner [Mon, 14 Apr 2008 20:18:53 +0000 (13:18 -0700)]
helper stats: fix the /helper_status page, the recent conflict merging missed some uses. Added tests, updated the munin plugins to match

16 years agoremove size constraint on ShareData: large directories caused errors which triggered...
Brian Warner [Sat, 12 Apr 2008 05:51:54 +0000 (22:51 -0700)]
remove size constraint on ShareData: large directories caused errors which triggered massive memory usage. See #379 for details

16 years agomutable.py: catch errors during publish.. previously they were ignored. oops.
Brian Warner [Sat, 12 Apr 2008 05:51:02 +0000 (22:51 -0700)]
mutable.py: catch errors during publish.. previously they were ignored. oops.

17 years agocopy pyutil.time_format into src/allmydata/util
Zooko O'Whielacronx [Tue, 14 Aug 2007 16:33:49 +0000 (09:33 -0700)]
copy pyutil.time_format into src/allmydata/util
time_format() provides a good format for logging timestamps

16 years agodoc: slightly clarify an error message
Zooko O'Whielacronx [Mon, 14 Apr 2008 18:43:05 +0000 (11:43 -0700)]
doc: slightly clarify an error message

16 years agosetup: mark Tahoe in the Trove classifiers as Production/Stable instead of Beta
Zooko O'Whielacronx [Mon, 14 Apr 2008 18:08:23 +0000 (11:08 -0700)]
setup: mark Tahoe in the Trove classifiers as Production/Stable instead of Beta

16 years agosetup: fix spacing in error output messages from makefile
Zooko O'Whielacronx [Mon, 14 Apr 2008 13:52:21 +0000 (06:52 -0700)]
setup: fix spacing in error output messages from makefile
Looking over Brian's shoulder the other day, I saw a message that said "Please seedocs/install.html".
Looking at the source code of the Makefile, it seems like it should say

       @echo "ERROR: Not all of Tahoe's dependencies are in place.  Please see \
docs/install.html for help on installing dependencies."

instead of its current:

       @echo "ERROR: Not all of Tahoe's dependencies are in place.  Please see\
docs/install.html for help on installing dependencies."

But, I remember changing this more than once in the past, so either there is a different version of make somewhere which interprets trailing backslashes differently, or someone (possibly me) has repeatedly gotten confused about this issue.  Anyway, this time around, I'm trying:

       @echo "ERROR: Not all of Tahoe's dependencies are in place.  Please see docs/install.html for help on installing dependencies."

Even though it is > 80 chars.

16 years agonative client - changing sector size to allow for larger uploads on Vista, XP doesn...
Peter Secor [Fri, 11 Apr 2008 18:11:30 +0000 (11:11 -0700)]
native client - changing sector size to allow for larger uploads on Vista, XP doesn't seem to pay attention to those parameters on the virtual drive

16 years agonative client - upgrading to 0.6 WinFUSE, need to add new files and remove old ones
Peter Secor [Fri, 11 Apr 2008 01:58:59 +0000 (18:58 -0700)]
native client - upgrading to 0.6 WinFUSE, need to add new files and remove old ones

16 years agonative client - upgrade to WinFUSE 0.6, attempting to solve the issue where the Windo...
Peter Secor [Fri, 11 Apr 2008 01:48:27 +0000 (18:48 -0700)]
native client - upgrade to WinFUSE 0.6, attempting to solve the issue where the Windows client thinks there isn't enough room on the virtual drive to do a copy

16 years agostats_gatherer: fix typo in helper stats gathering.
robk-tahoe [Fri, 11 Apr 2008 00:41:42 +0000 (17:41 -0700)]
stats_gatherer: fix typo in helper stats gathering.

16 years agostats_gatherer: reconcile helper stats gathering
robk-tahoe [Fri, 11 Apr 2008 00:25:44 +0000 (17:25 -0700)]
stats_gatherer: reconcile helper stats gathering

I'd implemented stats gathering hooks in the helper a while back.
Brian did the same without reference to my changes.  This reconciles
those two changes, encompassing all the stats in both changes,
implemented through the stats_provider interface.

this also provide templates for all 10 helper graphs in the
tahoe-stats munin plugin.

16 years agoconflict reconciliation (part 1, stats gathering in helper)
robk-tahoe [Fri, 28 Mar 2008 00:25:16 +0000 (17:25 -0700)]
conflict reconciliation (part 1, stats gathering in helper)

16 years agomunin: added a series of munin graphs to report upload helper state
robk-tahoe [Wed, 26 Mar 2008 01:30:46 +0000 (18:30 -0700)]
munin: added a series of munin graphs to report upload helper state

16 years agostats: added stats reporting to the upload helper
robk-tahoe [Wed, 26 Mar 2008 01:19:08 +0000 (18:19 -0700)]
stats: added stats reporting to the upload helper

adds a stats_producer for the upload helper, which provides a series of counters
to the stats gatherer, under the name 'chk_upload_helper'.

it examines both the 'incoming' directory, and the 'encoding' dir, providing
inc_count inc_size inc_size_old enc_count enc_size enc_size_old, respectively
the number of files in each dir, the total size thereof, and the aggregate
size of all files older than 48hrs

16 years agominor patch, to trigger the buildbot
Brian Warner [Thu, 10 Apr 2008 23:47:52 +0000 (16:47 -0700)]
minor patch, to trigger the buildbot

16 years agoback our runtime setuptools dependency down to 0.6a9 . We need a newer version to...
Brian Warner [Thu, 10 Apr 2008 23:31:59 +0000 (16:31 -0700)]
back our runtime setuptools dependency down to 0.6a9 . We need a newer version to build, but can handle an older version to simply run a pre-built package

16 years agodebian: use our own /usr/bin/tahoe, remove runtime dependency on setuptools (since...
Brian Warner [Thu, 10 Apr 2008 23:29:59 +0000 (16:29 -0700)]
debian: use our own /usr/bin/tahoe, remove runtime dependency on setuptools (since it required egg-aware versions of all dependencies too)

16 years agodebian: we now require setuptools at build time, and that or pkg_resources at runtime
Brian Warner [Thu, 10 Apr 2008 22:43:56 +0000 (15:43 -0700)]
debian: we now require setuptools at build time, and that or pkg_resources at runtime

16 years agodebian: use setuptools-generated support/bin/tahoe instead of bin/tahoe, to match...
Brian Warner [Thu, 10 Apr 2008 21:36:27 +0000 (14:36 -0700)]
debian: use setuptools-generated support/bin/tahoe instead of bin/tahoe, to match Zooko's change that makes our in-tree bin/tahoe spawn support/bin/tahoe

16 years agokey_generator: fix edge case found on windows
robk-tahoe [Thu, 10 Apr 2008 21:27:35 +0000 (14:27 -0700)]
key_generator: fix edge case found on windows

the windows (cygwin) buildslave has been failing the key generator test

it turns out that the time check on whether to refill the pool, and the
reactor, are interacting such that when the maybe_refill_pool call posted
on the reactor fires, the test on whether to fill the pool fails.

this adds a loop in the failure case to retry each 1s until it is time
to refill the pool, thus mitigating this timing accuracy problem on
windows.

16 years agostats gathering: fix storage server stats if not tracking consumed
robk-tahoe [Thu, 10 Apr 2008 01:23:06 +0000 (18:23 -0700)]
stats gathering: fix storage server stats if not tracking consumed

the RIStatsProvider interface requires that counter and stat values be
ChoiceOf(float, int, long)  the recent changes to storage server to not
track 'consumed' led to returning None as the value of a counter.
this causes violations to be experienced by nodes whose stats are being
gathered.

this patch simply omits that stat if 'consumed' is not being tracked.

16 years agostats gathering: added counters to upload,download,mutablewatcher
robk-tahoe [Thu, 10 Apr 2008 01:08:59 +0000 (18:08 -0700)]
stats gathering: added counters to upload,download,mutablewatcher

counting number of operations, and for immutable files, bytes transferred

16 years agooops, change debian dependency on zfec to 1.1, not 1.1.0
Brian Warner [Thu, 10 Apr 2008 00:45:52 +0000 (17:45 -0700)]
oops, change debian dependency on zfec to 1.1, not 1.1.0

16 years agodocs: yay! We can remove Twisted from the list of "Manual Dependencies" that users...
Zooko O'Whielacronx [Fri, 11 Apr 2008 01:44:07 +0000 (18:44 -0700)]
docs: yay!  We can remove Twisted from the list of "Manual Dependencies" that users have to be aware of when installing

16 years agosetup: we now require setuptools at run-time
Zooko O'Whielacronx [Thu, 10 Apr 2008 22:46:10 +0000 (15:46 -0700)]
setup: we now require setuptools at run-time

16 years agosetup: execute ../support/bin/tahoe from ./bin/tahoe
Zooko O'Whielacronx [Thu, 10 Apr 2008 21:40:37 +0000 (14:40 -0700)]
setup: execute ../support/bin/tahoe from ./bin/tahoe

16 years agostats_gatherer: verbose debug logging
robk-tahoe [Wed, 9 Apr 2008 23:10:53 +0000 (16:10 -0700)]
stats_gatherer: verbose debug logging

one of the storage servers is throwing foolscap violations about the
return value of get_stats().  this adds a log of the data returned
to the foolscap log event stream at the debug level '12' (between
NOISY(10) and OPERATIONAL(20))  hopefully this will facilitate
finding the cause of this problem.

16 years agonative client - small bug fix to run the used_quota update on startup as well as...
Peter Secor [Wed, 9 Apr 2008 22:18:43 +0000 (15:18 -0700)]
native client - small bug fix to run the used_quota update on startup as well as on upload

16 years agonative client - adding change to allow drive properties to reflect actual usage of...
Peter Secor [Wed, 9 Apr 2008 21:06:14 +0000 (14:06 -0700)]
native client - adding change to allow drive properties to reflect actual usage of the virtual drive

16 years agodocs: another small edit (don't mention docs/ directory in about.html now that docs...
Zooko O'Whielacronx [Wed, 9 Apr 2008 23:02:45 +0000 (16:02 -0700)]
docs: another small edit (don't mention docs/ directory in about.html now that docs/ is prominent on wiki:Docs)

16 years agodocs: a couple of tiny docs updates
Zooko O'Whielacronx [Wed, 9 Apr 2008 22:57:59 +0000 (15:57 -0700)]
docs: a couple of tiny docs updates

16 years agosetup: setup_requires twisted, because foolscap <= 0.2.5 imports twisted in its setup...
Zooko O'Whielacronx [Wed, 9 Apr 2008 18:30:53 +0000 (11:30 -0700)]
setup: setup_requires twisted, because foolscap <= 0.2.5 imports twisted in its setup.py and because we want trial to be available at build time

16 years agomake debian dependencies match _auto_deps.py ones, for foolscap and zfec
Brian Warner [Wed, 9 Apr 2008 17:23:01 +0000 (10:23 -0700)]
make debian dependencies match _auto_deps.py ones, for foolscap and zfec

16 years agowindows installer - changed display name to Allmydata 3.0 for presentation purposes
Peter Secor [Wed, 9 Apr 2008 17:01:51 +0000 (10:01 -0700)]
windows installer - changed display name to Allmydata 3.0 for presentation purposes

16 years agonative installer - updated installer to have a better formatted string in the install...
Peter Secor [Wed, 9 Apr 2008 00:22:39 +0000 (17:22 -0700)]
native installer - updated installer to have a better formatted string in the install screen and in the Add/Remove Programs screen

16 years agokey_generator: remove poll timeouts from test
robk-tahoe [Tue, 8 Apr 2008 18:06:58 +0000 (11:06 -0700)]
key_generator: remove poll timeouts from test

the timeouts on uses of 'poll' were there purely to make sure a test doesn't
poll indefinitely.  however having such timeouts makes tests susceptible
to premature timeouts under high load, or on slow machines. (e.g. cygwin
slaves running in virtual machines on loaded hosts)

purportedly trial by default applies a timeout to tests to prevent them
hanging out indefinitely, so these poll timeouts are redundant and cause
intermittent failures on slow hosts.  hence they're more bother than they're
worth, and should be culled.

16 years agokey_generator: fix a typo in the .tac generating create-key-generator
robk-tahoe [Tue, 8 Apr 2008 18:06:06 +0000 (11:06 -0700)]
key_generator: fix a typo in the .tac generating create-key-generator

verbose is an object attribute, no longer settable via init args

16 years agosetup: require twisted >= 2.4.0
Zooko O'Whielacronx [Wed, 9 Apr 2008 01:12:00 +0000 (18:12 -0700)]
setup: require twisted >= 2.4.0

16 years agodon't do a du on startup if there is no size limit configured
Zooko O'Whielacronx [Tue, 8 Apr 2008 18:36:56 +0000 (11:36 -0700)]
don't do a du on startup if there is no size limit configured
This also turns off the production of the "space measurement done" log message, if there is no size limit configured.

16 years agonative client - added icon to About screen, added ability to change backup client...
Peter Secor [Tue, 8 Apr 2008 08:19:02 +0000 (01:19 -0700)]
native client - added icon to About screen, added ability to change backup client that is launched, changed capitalization in share namme to Allmydata, changed tool-tip to Allmydata 3.0, updated linking method to automatically link if the next file will take more than 60sec to upload or it's already been 5 minutes since the last link happened

16 years agonative client - took out the Palissimo name, corrected file dates
Peter Secor [Mon, 7 Apr 2008 05:09:56 +0000 (22:09 -0700)]
native client - took out the Palissimo name, corrected file dates

16 years agonative client - updated flashing icon, removed the word "Beta" from About screen...
Peter Secor [Fri, 4 Apr 2008 08:04:04 +0000 (01:04 -0700)]
native client - updated flashing icon, removed the word "Beta" from About screen, fixed some wording

16 years agokey_generator: fix timing, make tests more robust
robk-tahoe [Fri, 4 Apr 2008 01:43:46 +0000 (18:43 -0700)]
key_generator: fix timing, make tests more robust

previously there was an edge case in the timing of expected behaviour
of the key_generator (w.r.t. the refresh delay and twisted/foolscap
delivery).  if it took >6s for a key to be generated, then it was
possible for the pool refresh delay to transpire _during_ the
synchronous creation of a key in remote_get_rsa_key_pair.  this could
lead to the timer elapsing during key creation and hence the pool
being refilled before control returned to the client.

this change ensures that the time window from a get key request
until the key gen reactor blocks to refill the pool is the time
since a request was answered, not since a request was asked.
this causes the behaviour to match expectations, as embodied in
test_keygen, even if the delay window is dropped to 0.1s

16 years agokey_generator: up timeouts on keygen test
robk-tahoe [Thu, 3 Apr 2008 23:26:24 +0000 (16:26 -0700)]
key_generator: up timeouts on keygen test

in both these cases, the timeout only serves to abort a stuck test, and
the key_generator should respond more quickly, but seeing test failures
in buildbot on some platforms suggests that the test is too susceptible
to timing issues on loaded buildslaves.

16 years agoupdate our misc/dependencies to have foolscap-0.2.5
Brian Warner [Thu, 3 Apr 2008 23:08:22 +0000 (16:08 -0700)]
update our misc/dependencies to have foolscap-0.2.5