Brian Warner
d0db98cc40
runner.py: expanduser() basedirs, so '~' works. Closes #51 .
2007-05-24 11:10:19 -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
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
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
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
267a068fe4
update to foolscap-0.1.4
2007-05-15 17:33:52 -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
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
9bd213abe7
version.py: handle both '0.2.0' and '0.2.0-1', remove 'tags' for now
2007-05-03 20:31:27 -07:00
Brian Warner
3f6b660272
update version-number handling, pull release tags from darcs history
2007-05-03 20:14:07 -07:00
Zooko O'Whielacronx
5610a1b2ce
tahoe v0.2.0-0-UNSTABLE
2007-05-02 16:23:23 -07:00
Zooko O'Whielacronx
ff08abb67e
bump test timeout even higher
...
It does indeed take longer than 2400 seconds to run test_upload_and_download on a virtual windows machine when the underlying real machine is heavily loaded down with filesystem analysis runs...
2007-05-02 15:31:05 -07:00
Brian Warner
ee9b0d1de6
import foolscap-0.1.3
2007-05-02 15:20:40 -07:00
Zooko O'Whielacronx
d198b55846
zfec: v1.0.0
2007-05-02 15:25:41 -07:00
Brian Warner
6c295337b7
import new foolscap snapshot, still 0.1.2+ but very close to 0.1.3 . This version is fully compatible with the previous 0.1.2+ snapshot
2007-05-02 11:55:47 -07:00
Brian Warner
0650e5543f
figleaf_htmlizer: when all counts are zero, claim 0% instead of 100%, since it probably means that coverage checking has failed completely
2007-05-01 11:07:28 -07:00
Zooko O'Whielacronx
75e0284471
v0.2.0b2-0-UNSTABLE
2007-05-01 15:46:19 -07:00
Zooko O'Whielacronx
40e1c4be71
grand unified version numbers
...
Now the allmydata python package, the setup.py script, and the debian packages all get their tahoe version number from the same place.
2007-05-01 13:23:15 -07:00
Zooko O'Whielacronx
e697c84df1
bump timeout up because it timed out even on my super fast MacBook Pro
...
Hm. This probably means that it is never going to finish...
2007-04-30 23:16:06 -07:00
Zooko O'Whielacronx
f724719744
v0.2.0b1-0-UNSTABLE
2007-04-30 23:11:23 -07:00
Zooko O'Whielacronx
eebc32f48d
foolscap snapshot: bump some unit tests up to very high timeouts because my poor G4 867 MHz PowerBook, which is busy doing video iChat, takes a long time to run these tests
2007-04-30 21:04:26 -07:00
Zooko O'Whielacronx
137a427a47
bump some unit tests up to very high timeouts because my poor G4 867 MHz PowerBook, which is busy doing video iChat, takes a long time to run these tests
2007-04-30 21:03:43 -07:00
Brian Warner
461d64e371
test_system: increase timeouts to almost 20 minutes: we have buildslaves that take more than 5 minutes to finish these tests.
2007-04-30 20:14:58 -07:00
Zooko O'Whielacronx
e8c5795e36
zfec: complete the removal of the 15-second delay when downloading setuptools
2007-04-30 17:56:43 -07:00
Zooko O'Whielacronx
381a3e6f1f
zfec: add note to README about conflict with older versions of setuptools
2007-04-30 13:26:56 -07:00
Zooko O'Whielacronx
90c654ca9c
zfec: switch back to minimum setuptools of 0.6c3
...
This is newer than the one that comes with Dapper Ubuntu 6.06, *but* if there is no setuptools at all installed, then the bootstrap script will download one itself. So with this patch, this will install cleanly on a Dapper system as long as the Dapper version of python-setuptools is *not* installed.
2007-04-30 13:18:38 -07:00
Zooko O'Whielacronx
e0a18d12af
globally search and replace "mesh" with "grid" and adjust description of the effect of NAT on the topology
2007-04-30 13:06:09 -07:00
Zooko O'Whielacronx
44f68c55a9
zfec: see if we can get by with the version of setuptools that comes with Ubuntu 6.06 Dapper
2007-04-30 11:16:47 -07:00
Zooko O'Whielacronx
117efd761b
zfec: see if we can get by with the version of setuptools that is already in Ubuntu 6.10
2007-04-30 11:08:30 -07:00
Zooko O'Whielacronx
74e01aa849
zfec: add mention of lrzip and edit text
2007-04-30 11:08:19 -07:00
Zooko O'Whielacronx
b027ee1489
v0.1.4b2-0-UNSTABLE
2007-04-30 10:00:07 -07:00
Zooko O'Whielacronx
d19d1058e0
extirpate all references the "queen" and "metatracker"
...
This is a potentially disruptive and potentially ugly change to the code base,
because I renamed the object that serves in both roles from "Queen" to
"IntroducerAndVdrive", which is a bit of an ugly name.
However, I think that clarity is important enough in this release to make this
change. All unit tests pass. I'm now darcs recording this patch in order to
pull it to other machines for more testing.
2007-04-30 09:57:52 -07:00