Commit Graph

990 Commits

Author SHA1 Message Date
Brian Warner
ea78b4b605 check_memory: getting closer, now we have memusage numbers for uploads of 10kB and 10MB files 2007-05-29 17:39:39 -07:00
Zooko O'Whielacronx
04b649f971 switch from FieldStorage.value to FieldStorage.file
Unfortunately this doesn't make the O(n) memory usage go away.  It might reduce the constants -- I'm not sure.  I look forward to enhancement #54 -- memory usage tests!
2007-05-25 16:00:19 -07:00
Zooko O'Whielacronx
763cfc7874 amdlib.util: merge in changes to humanreadable.py that were made in pyutil 2007-05-25 15:49:57 -07:00
Zooko O'Whielacronx
12268ee50f mark #22 finished in source:roadmap.txt 2007-05-25 15:48:01 -07:00
Brian Warner
c405c6117f check_memory.py: finish the failsafe-shutdown code 2007-05-24 17:34:42 -07:00
Brian Warner
4c7c5df41e runner.py: spoke too soon. Really fix #51 this time. 2007-05-24 11:20:39 -07:00
Brian Warner
d0db98cc40 runner.py: expanduser() basedirs, so '~' works. Closes #51. 2007-05-24 11:10:19 -07:00
Brian Warner
8b9d7d6306 .darcs-boringfile: ignore the buildbot's source-stampfile 2007-05-23 18:12:42 -07:00
Brian Warner
13e2af8033 makefile: add a test-clean target 2007-05-23 17:57:48 -07:00
Brian Warner
8fc1bf4330 test_node.py: hush pyflakes warnings 2007-05-23 17:55:04 -07:00
Brian Warner
cbca430062 node.py: hush pyflakes warnings 2007-05-23 17:54:48 -07:00
Brian Warner
319516a5a2 makefile: add a test-darcs-boringfile target 2007-05-23 17:51:28 -07:00
Brian Warner
2d21029367 test_introducer_and_vdrive: remove the assumption that startService returns a Deferred 2007-05-23 17:37:20 -07:00
Brian Warner
83daa265ba test_system.py: check size in web-ui display. closes #37 2007-05-23 17:25:49 -07:00
Zooko O'Whielacronx
80b09b6d54 add in-line doc that Josh wrote as he was trying to understand this code 2007-05-23 15:11:23 -07:00
Zooko O'Whielacronx
44902c5152 add unit test for "advertised_ip_addresses" feature and fix bug in that feature uncovered by this unit test 2007-05-23 15:08:55 -07:00
Zooko O'Whielacronx
77f55f368a make stopService() defer until startService() completes (fixes a problem with the new not-yet-committed unit test) 2007-05-23 15:08:03 -07:00
Zooko O'Whielacronx
841840b5be fix one last use of "--root" in building which was corrupting the pathnames in .pyc files 2007-05-23 15:01:49 -07:00
Brian Warner
f9e45391f6 node.py: use 'node.pem' for all nodes
Rather than use separate client.pem and introducer.pem files, use 'node.pem'
for all nodes regardless of what type it is. This is slightly cleaner, but
introduces a compatibility. Users who upgrade to this change should do
'mv client.pem node.pem' to avoid generating a new certificate and thus
changing their TubID.
2007-05-23 12:48:52 -07:00
Brian Warner
9edc6574ae node.py: use Tub's certFile= argument instead of doing it ourselves 2007-05-23 12:41:23 -07:00
Zooko O'Whielacronx
3872e94da2 rename all "*PBURL*" to "*FURL*"
This breaks backwards compatibility with Tahoe v0.2 -- the first public release of Tahoe.
2007-05-22 14:08:30 -07:00
Zooko O'Whielacronx
9cd1757799 refactor iputil and make it return addresses in descending order of goodness instead of in a set
Actually of course iputil can't tell exactly how good they are, and a wise user
of iputil will try all of them.  But you can't try all of them simultaneously,
so you might as well try the best ones first.
2007-05-22 14:06:37 -07:00
Zooko O'Whielacronx
921e643b93 don't check for existence of portnum file and then try to open it -- instead try to open it and catch exception
This avoids a race condition, also known as time-of-check-to-time-of-use.
2007-05-22 14:06:00 -07:00
Zooko O'Whielacronx
98066ccaee don't test for existence of certfile and then try to open it -- instead try to open it and catch exception
This avoids a race condition, also known as time-of-check-to-time-of-use.
2007-05-22 14:04:16 -07:00
Zooko O'Whielacronx
a2970cf7c1 fix handling of local_ip file and rename it to advertised_ip_addresses and document it in README 2007-05-22 14:01:40 -07:00
Zooko O'Whielacronx
10df6fac02 raise constraint on FURLs from 150 chars to 1000 chars 2007-05-22 13:59:17 -07:00
Brian Warner
05163ec8e1 change uri-packer-unpacker to deal with dictionaries, not fragile tuples 2007-05-23 11:18:49 -07:00
Zooko O'Whielacronx
3d1adf6d30 update docs, remove extraneous licence text, sort module names in import statement
closes #46 ?
2007-05-21 13:42:51 -07:00
Zooko O'Whielacronx
930b3e2050 add roadmap element: XML-RPC interface
as per ticket #48
http://allmydata.org/trac/tahoe/ticket/48
2007-05-21 12:19:39 -07:00
Zooko O'Whielacronx
eaa93014e5 don't use --root, instead use --single-version-externally-managed
fixes #35
2007-05-21 10:47:14 -07:00
Brian Warner
c946a5f40c make-version.py: remove the strip-until-<changelog> workaround 2007-05-16 12:02:58 -07:00
Brian Warner
b90d4a243e make-version.py: use 'subprocess' module instead of 'commands', to improve windows compatibility 2007-05-16 11:57:20 -07:00
Zooko O'Whielacronx
9b70d17d4b enable private upload, in which the file is inserted at the grid layer but not at the vdrive layer
This patch is actually by Faried Nawaz, as per ticket #33:

http://allmydata.org/trac/tahoe/ticket/33
2007-05-16 08:40:19 -07:00
Brian Warner
78e537de0c README: mention the additional included libraries (zfec, foolscap, pycrypto) 2007-05-15 18:13:02 -07:00
Brian Warner
267a068fe4 update to foolscap-0.1.4 2007-05-15 17:33:52 -07:00
Brian Warner
985925d70c make-version.py: accomodate windows by ignoring the junk that appears at the start of 'darcs changes' 2007-05-15 17:10:42 -07:00
Zooko O'Whielacronx
17b31a6e82 update README concerning dependent libraries that the user has to install 2007-05-16 08:34:33 -07:00
Brian Warner
82ba0f8540 UNDO: forget about old peers (closes #26)
Add a new method to RIIntroducer, to allow the central introducer node to
remove peers from the active set after they've gone away. Without this,
client nodes accumulate stale peer FURLs forever. This introduces a
compatibility break, as old introducers won't know about the 'lost_peers'
message, although the errors produced are probably harmless.
2007-05-07 19:10:24 -07:00
Brian Warner
04af4a48b5 forget about old peers (closes #26)
Add a new method to RIIntroducer, to allow the central introducer node to
remove peers from the active set after they've gone away. Without this,
client nodes accumulate stale peer FURLs forever. This introduces a
compatibility break, as old introducers won't know about the 'lost_peers'
message, although the errors produced are probably harmless.
2007-05-07 19:10:24 -07:00
Zooko O'Whielacronx
e0bedb64ea manually merge recent changes to pyutil's copy of "version.py" with allmydata's copy of "version.py" 2007-05-09 16:04:05 -07:00
Zooko O'Whielacronx
21db2bfa3f zfec: disable the feature of leaving unit test tmp dirs lying around for post-mortem analysis
fixes #41 in the allmydata.org trac

http://allmydata.org/trac/tahoe/ticket/41
2007-05-09 10:50:48 -07:00
Zooko O'Whielacronx
ea52a9cd7d fix typo in CREDITS file 2007-05-06 14:26:42 -07:00
Zooko O'Whielacronx
529b080547 add CREDITS file where people who contribute source code, docs, web page updates, etc., are recorded 2007-05-06 14:11:43 -07:00
Brian Warner
24d4e072dd do not include foolscap or zfec coverage in the figleaf reports for the moment: they have their own test suites 2007-05-04 17:00:18 -07:00
Faried Nawaz
2016b846b9 display file size in directory.xhtml 2007-05-04 13:07:32 -07:00
Brian Warner
5b3a1cdc56 test_introducer.py: turn off the defer.setDebugging(True) call that was left over from a troubleshooting session: it slows down the test suite by a factor of 2 2007-05-04 00:45:23 -07:00
Brian Warner
03c5d75d90 add deb-etch target, rearrange make-version a bit, closes #23 2007-05-04 00:07:06 -07:00
Zooko O'Whielacronx
17ac89b33a add link to ticket #36 -- FUSE integration 2007-05-04 10:06:01 -07:00
Zooko O'Whielacronx
005e65ef05 add link to ticket #34 -- disk space limits in storage servers 2007-05-03 22:57:52 -07:00
Brian Warner
f11b1c7f25 makefile: delete .pycs before running tests, since our build process puts the wrong filenames into them 2007-05-03 21:12:15 -07:00