]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
19 years agoremove old filetree code
Brian Warner [Tue, 26 Jun 2007 03:34:19 +0000 (20:34 -0700)]
remove old filetree code

19 years agovdrive: switch to URI:DIR and URI:DIR-RO, providing transitive readonlyness
Brian Warner [Mon, 25 Jun 2007 20:23:51 +0000 (13:23 -0700)]
vdrive: switch to URI:DIR and URI:DIR-RO, providing transitive readonlyness

19 years agomisc/count_dirs.py: dev tool to estimate filetree space consumption
Brian Warner [Sun, 17 Jun 2007 04:55:13 +0000 (21:55 -0700)]
misc/count_dirs.py: dev tool to estimate filetree space consumption

19 years agowebish: log dirname in mkdir
Brian Warner [Fri, 15 Jun 2007 09:48:19 +0000 (02:48 -0700)]
webish: log dirname in mkdir

19 years agowebish: when mounting a shared directory, don't automatically move to it
Brian Warner [Fri, 15 Jun 2007 09:34:24 +0000 (02:34 -0700)]
webish: when mounting a shared directory, don't automatically move to it

19 years agowebish: add option to export/import shared directories (always read-write)
Brian Warner [Fri, 15 Jun 2007 09:31:23 +0000 (02:31 -0700)]
webish: add option to export/import shared directories (always read-write)

19 years agotest_system.py: match change to /global_vdrive URL
Brian Warner [Fri, 15 Jun 2007 08:38:55 +0000 (01:38 -0700)]
test_system.py: match change to /global_vdrive URL

19 years agocreate a personal (non-shared) vdrive, in addition to the global shared one
Brian Warner [Fri, 15 Jun 2007 08:33:24 +0000 (01:33 -0700)]
create a personal (non-shared) vdrive, in addition to the global shared one

19 years agowebish: enable deletion of directories
Brian Warner [Fri, 15 Jun 2007 08:32:57 +0000 (01:32 -0700)]
webish: enable deletion of directories

19 years agowebish.py: put the URI in a narrower auto-scrolling box (with CSS)
Brian Warner [Fri, 15 Jun 2007 08:32:20 +0000 (01:32 -0700)]
webish.py: put the URI in a narrower auto-scrolling box (with CSS)

19 years agorunner.py: add 'dump-directory-node' command
Brian Warner [Fri, 15 Jun 2007 07:47:05 +0000 (00:47 -0700)]
runner.py: add 'dump-directory-node' command

19 years agomake new vdrive work, implement convenience wrapper, passes all tests
Brian Warner [Fri, 15 Jun 2007 07:37:32 +0000 (00:37 -0700)]
make new vdrive work, implement convenience wrapper, passes all tests

19 years agotest_filetable: fix to match new vdrive approach
Brian Warner [Fri, 15 Jun 2007 07:01:01 +0000 (00:01 -0700)]
test_filetable: fix to match new vdrive approach

19 years agomake-version.py invokes darcs as "darcs" instead of "realdarcs"
Zooko O'Whielacronx [Fri, 29 Jun 2007 21:22:50 +0000 (14:22 -0700)]
make-version.py invokes darcs as "darcs" instead of "realdarcs"
Some other people might use the official Windows build of darcs, and people who use my cygwin wrapper for darcs will be compatible with this patch as long as they use the latest version of the wrapper.

19 years agoupdate CREDITS file
Zooko O'Whielacronx [Fri, 29 Jun 2007 21:22:30 +0000 (14:22 -0700)]
update CREDITS file

19 years agorevamp vdrive: nodes with furls. tests still fail.
Brian Warner [Fri, 15 Jun 2007 03:14:34 +0000 (20:14 -0700)]
revamp vdrive: nodes with furls. tests still fail.

19 years agofiletable: switch to new approach with anonymous nodes
Brian Warner [Fri, 15 Jun 2007 00:24:56 +0000 (17:24 -0700)]
filetable: switch to new approach with anonymous nodes

19 years agomake-version.py: it is sys.platform, not os.platform
Brian Warner [Wed, 13 Jun 2007 01:06:10 +0000 (18:06 -0700)]
make-version.py: it is sys.platform, not os.platform

19 years agomake make-version.py exec darcs correctly on windows
robk-org [Wed, 13 Jun 2007 00:56:55 +0000 (17:56 -0700)]
make make-version.py exec darcs correctly on windows

19 years agoupload.py: minor refactoring
Brian Warner [Tue, 12 Jun 2007 02:21:51 +0000 (19:21 -0700)]
upload.py: minor refactoring

19 years agoroadmap.txt: update w.r.t. filetree and repairer
Brian Warner [Tue, 12 Jun 2007 01:41:12 +0000 (18:41 -0700)]
roadmap.txt: update w.r.t. filetree and repairer

19 years agoadd 'allmydata-tahoe dump-uri-extension' utility command
Brian Warner [Tue, 12 Jun 2007 01:38:21 +0000 (18:38 -0700)]
add 'allmydata-tahoe dump-uri-extension' utility command

19 years agorefactor URI_extension handlers out of encode/download and into uri.py
Brian Warner [Tue, 12 Jun 2007 01:25:18 +0000 (18:25 -0700)]
refactor URI_extension handlers out of encode/download and into uri.py

19 years agowebish: display program/library versions on the welcome page
Brian Warner [Mon, 11 Jun 2007 17:51:11 +0000 (10:51 -0700)]
webish: display program/library versions on the welcome page

19 years agoshebang usr bin env python
Zooko O'Whielacronx [Wed, 13 Jun 2007 01:55:25 +0000 (18:55 -0700)]
shebang usr bin env python

19 years agocatch EnvironmentError from attempt to invoke darcs using subprocess module
Zooko O'Whielacronx [Mon, 11 Jun 2007 18:59:57 +0000 (11:59 -0700)]
catch EnvironmentError from attempt to invoke darcs using subprocess module

19 years agoURI-extension.txt: update docs, we aren't using bencode for this.
Brian Warner [Tue, 12 Jun 2007 00:02:50 +0000 (17:02 -0700)]
URI-extension.txt: update docs, we aren't using bencode for this.

19 years agozfec: import latest version.py module from pyutil library
Zooko O'Whielacronx [Wed, 9 May 2007 22:58:40 +0000 (15:58 -0700)]
zfec: import latest version.py module from pyutil library

19 years agozfec: fix bug in in-line doc
Zooko O'Whielacronx [Wed, 9 May 2007 22:58:24 +0000 (15:58 -0700)]
zfec: fix bug in in-line doc

19 years agozfec: tweak licence text
Zooko O'Whielacronx [Wed, 9 May 2007 22:57:53 +0000 (15:57 -0700)]
zfec: tweak licence text

19 years agofix the relnotes.txt -- don't incorrectly attribute a compatibility break to foolscap
Zooko O'Whielacronx [Mon, 11 Jun 2007 17:20:14 +0000 (10:20 -0700)]
fix the relnotes.txt -- don't incorrectly attribute a compatibility break to foolscap

19 years agosome edits to the README
Zooko O'Whielacronx [Mon, 11 Jun 2007 16:40:54 +0000 (09:40 -0700)]
some edits to the README

19 years agoTAG allmydata-tahoe-0.3.0 allmydata-tahoe-0.3.0
Zooko O'Whielacronx [Mon, 11 Jun 2007 16:22:21 +0000 (09:22 -0700)]
TAG allmydata-tahoe-0.3.0

19 years agoupdate the relnotes.txt for v0.3
Zooko O'Whielacronx [Mon, 11 Jun 2007 16:21:42 +0000 (09:21 -0700)]
update the relnotes.txt for v0.3

19 years agowebish: show vdrive and introducer connectedness separately
Brian Warner [Sun, 10 Jun 2007 04:03:57 +0000 (21:03 -0700)]
webish: show vdrive and introducer connectedness separately
Also don't offer a link to the vdrive webpages if we don't have a vdrive.furl

19 years agorename fileid/verifierid to plaintext_hash/crypttext_hash
Brian Warner [Sun, 10 Jun 2007 03:46:04 +0000 (20:46 -0700)]
rename fileid/verifierid to plaintext_hash/crypttext_hash

19 years agothingA.txt has finally been renamed
Brian Warner [Sun, 10 Jun 2007 03:32:34 +0000 (20:32 -0700)]
thingA.txt has finally been renamed

19 years agoupdate thingA/uri-extension docs
Brian Warner [Sun, 10 Jun 2007 03:31:48 +0000 (20:31 -0700)]
update thingA/uri-extension docs

19 years agohandle uri_extension with a non-bencode serialization scheme
Brian Warner [Fri, 8 Jun 2007 23:17:54 +0000 (16:17 -0700)]
handle uri_extension with a non-bencode serialization scheme

19 years agorename thingA to 'uri extension'
Brian Warner [Fri, 8 Jun 2007 22:59:16 +0000 (15:59 -0700)]
rename thingA to 'uri extension'

19 years agoconsolidate multiple definitions of NotEnoughPeersError
Brian Warner [Fri, 8 Jun 2007 05:20:55 +0000 (22:20 -0700)]
consolidate multiple definitions of NotEnoughPeersError

19 years agoremove several leftover defintions of netstring()
Brian Warner [Fri, 8 Jun 2007 05:13:18 +0000 (22:13 -0700)]
remove several leftover defintions of netstring()

19 years agotest_client.py: improve test coverage a bit
Brian Warner [Fri, 8 Jun 2007 05:09:02 +0000 (22:09 -0700)]
test_client.py: improve test coverage a bit

19 years agodocs/thingA.txt: describe what this does, even if it doesn't yet have a name
Brian Warner [Fri, 8 Jun 2007 04:50:58 +0000 (21:50 -0700)]
docs/thingA.txt: describe what this does, even if it doesn't yet have a name

19 years agomove almost all hashing to SHA256, consolidate into hashutil.py
Brian Warner [Fri, 8 Jun 2007 04:47:21 +0000 (21:47 -0700)]
move almost all hashing to SHA256, consolidate into hashutil.py

The only SHA-1 hash that remains is used in the permutation of nodeids,
where we need to decide if we care about performance or long-term security.
I suspect that we could use a much weaker hash (and faster) hash for
this purpose. In the long run, we'll be doing thousands of such hashes
for each file uploaded or downloaded (one per known peer).

19 years agotest_encode.py: even more testing of merkle trees, getting fairly comprehensive now
Brian Warner [Fri, 8 Jun 2007 04:24:39 +0000 (21:24 -0700)]
test_encode.py: even more testing of merkle trees, getting fairly comprehensive now

19 years agoadd tests for bad/inconsistent plaintext/crypttext merkle tree hashes
Brian Warner [Fri, 8 Jun 2007 02:32:29 +0000 (19:32 -0700)]
add tests for bad/inconsistent plaintext/crypttext merkle tree hashes

19 years agotest_encode.py: further refactoring of send_and_recover
Brian Warner [Fri, 8 Jun 2007 01:36:25 +0000 (18:36 -0700)]
test_encode.py: further refactoring of send_and_recover

19 years agotest_encode.py: refactor send_and_recover a bit
Brian Warner [Fri, 8 Jun 2007 01:24:26 +0000 (18:24 -0700)]
test_encode.py: refactor send_and_recover a bit

19 years agoclient.py: allow operation without vdrive.furl, for storage-only no-UI nodes
Brian Warner [Fri, 8 Jun 2007 00:55:49 +0000 (17:55 -0700)]
client.py: allow operation without vdrive.furl, for storage-only no-UI nodes

19 years agoclient.py: use persistent FURLs for our Node, to reduce spurious connection attempts...
Brian Warner [Thu, 7 Jun 2007 22:32:21 +0000 (15:32 -0700)]
client.py: use persistent FURLs for our Node, to reduce spurious connection attempts (#26)

19 years agoencode.py: hush pyflakes warnings
Brian Warner [Thu, 7 Jun 2007 20:18:55 +0000 (13:18 -0700)]
encode.py: hush pyflakes warnings

19 years agoencode/download: reduce memory footprint by deleting large intermediate buffers as...
Brian Warner [Thu, 7 Jun 2007 20:15:58 +0000 (13:15 -0700)]
encode/download: reduce memory footprint by deleting large intermediate buffers as soon as possible, improve hash tree usage

19 years agoencode.py: fix generation of plaintext/crypttext merkle trees
Brian Warner [Thu, 7 Jun 2007 20:14:14 +0000 (13:14 -0700)]
encode.py: fix generation of plaintext/crypttext merkle trees

19 years agohashtree.BadHashError: mention which leaf caused the problem
Brian Warner [Thu, 7 Jun 2007 19:38:22 +0000 (12:38 -0700)]
hashtree.BadHashError: mention which leaf caused the problem

19 years agoiputil.get_local_ip_for: tolerate running on a disconnected host
Brian Warner [Fri, 8 Jun 2007 02:23:33 +0000 (19:23 -0700)]
iputil.get_local_ip_for: tolerate running on a disconnected host

19 years agofetch plaintext/crypttext merkle trees during download, but don't check the segments...
Brian Warner [Thu, 7 Jun 2007 07:15:41 +0000 (00:15 -0700)]
fetch plaintext/crypttext merkle trees during download, but don't check the segments against them yet

19 years agodownload.py: refactor get-thingA-from-somebody to reuse the logic for other things
Brian Warner [Thu, 7 Jun 2007 06:50:02 +0000 (23:50 -0700)]
download.py: refactor get-thingA-from-somebody to reuse the logic for other things

19 years agoencode.py: fix pyflakes warning
Brian Warner [Thu, 7 Jun 2007 09:56:16 +0000 (02:56 -0700)]
encode.py: fix pyflakes warning

19 years agoencode: add plaintext/crypttext merkle trees to the shares, and the thingA block...
Brian Warner [Thu, 7 Jun 2007 02:40:20 +0000 (19:40 -0700)]
encode: add plaintext/crypttext merkle trees to the shares, and the thingA block. Still needs tests and download-side verification.

19 years agorunner.py: allow --multiple to enable starting/stopping/creating multiple nodes at...
Brian Warner [Wed, 6 Jun 2007 21:06:57 +0000 (14:06 -0700)]
runner.py: allow --multiple to enable starting/stopping/creating multiple nodes at once

19 years agolog a prominent warning message in the case that the introducer cannot be reached
robk-org [Tue, 5 Jun 2007 01:48:53 +0000 (18:48 -0700)]
log a prominent warning message in the case that the introducer cannot be reached

19 years agocatch failures in startService() and abort process
robk-org [Tue, 5 Jun 2007 01:46:37 +0000 (18:46 -0700)]
catch failures in startService() and abort process

19 years agoadd a missing up-call in introducer.startService()
robk-org [Tue, 5 Jun 2007 01:45:40 +0000 (18:45 -0700)]
add a missing up-call in introducer.startService()

19 years agochange the 'ez_setup.py' script to have distinct desired & minimum required versions...
robk-org [Wed, 6 Jun 2007 19:49:03 +0000 (12:49 -0700)]
change the 'ez_setup.py' script to have distinct desired & minimum required versions of setuptools

and change zfec/setup.py's invocation of ez_setup to require 0.6a9 (which happens to be the default
version installed by apt-get on dapper machines) while leaving the default (desired) version at 0.6c5

19 years agoencode.py: clean up handling of lost peers during upload, add some logging
Brian Warner [Wed, 6 Jun 2007 19:40:16 +0000 (12:40 -0700)]
encode.py: clean up handling of lost peers during upload, add some logging

19 years agorunner.py: allow all directory-using commands (create/start/stop) to accept argv...
Brian Warner [Wed, 6 Jun 2007 18:37:19 +0000 (11:37 -0700)]
runner.py: allow all directory-using commands (create/start/stop) to accept argv[-1] as well as --basedir

19 years agobin/allmydata-tahoe: also update PYTHONPATH so that child processes (like twistd...
Brian Warner [Wed, 6 Jun 2007 18:36:48 +0000 (11:36 -0700)]
bin/allmydata-tahoe: also update PYTHONPATH so that child processes (like twistd) will work

19 years agobin/allmydata-tahoe: add a sys.path-modifying preamble to make it easy to run from...
Brian Warner [Wed, 6 Jun 2007 18:24:00 +0000 (11:24 -0700)]
bin/allmydata-tahoe: add a sys.path-modifying preamble to make it easy to run from source

19 years agoencode: tolerate lost peers, as long as we still get enough shares out. Closes #17.
Brian Warner [Wed, 6 Jun 2007 17:32:40 +0000 (10:32 -0700)]
encode: tolerate lost peers, as long as we still get enough shares out. Closes #17.

19 years agoroadmap.txt: minor cleanups
Brian Warner [Wed, 6 Jun 2007 16:49:42 +0000 (09:49 -0700)]
roadmap.txt: minor cleanups

19 years agoREADME: mention strports-ness of NODE/webport, closes #55
Brian Warner [Wed, 6 Jun 2007 16:49:18 +0000 (09:49 -0700)]
README: mention strports-ness of NODE/webport, closes #55

19 years agomove validation data to thingA, URI has storage_index plus thingA hash
Brian Warner [Sat, 2 Jun 2007 01:48:01 +0000 (18:48 -0700)]
move validation data to thingA, URI has storage_index plus thingA hash

This (compatibility-breaking) change moves much of the validation data and
encoding parameters out of the URI and into the so-called "thingA" block
(which will get a better name as soon as we find one we're comfortable with).
The URI retains the "storage_index" (a generalized term for the role that
we're currently using the verifierid for, the unique index for each file
that gets used by storage servers to decide which shares to return), the
decryption key, the needed_shares/total_shares counts (since they affect
peer selection), and the hash of the thingA block.

This shortens the URI and lets us add more kinds of validation data without
growing the URI (like plaintext merkle trees, to enable strong incremental
plaintext validation), at the cost of maybe 150 bytes of alacrity. Each
storage server holds an identical copy of the thingA block.

This is an incompatible change: new messages have been added to the storage
server interface, and the URI format has changed drastically.

19 years agonode.py: multi-class exception calls need parentheses
Brian Warner [Fri, 1 Jun 2007 01:32:21 +0000 (18:32 -0700)]
node.py: multi-class exception calls need parentheses

19 years agodownload.py: refactor bucket_failed() a bit, add some docs
Brian Warner [Fri, 1 Jun 2007 01:31:36 +0000 (18:31 -0700)]
download.py: refactor bucket_failed() a bit, add some docs

19 years agotest_system.py: minor reformatting
Brian Warner [Fri, 1 Jun 2007 01:31:01 +0000 (18:31 -0700)]
test_system.py: minor reformatting

19 years agonode.py: add logging of startup/shutdown, for the cygwin test_system failure
Brian Warner [Thu, 31 May 2007 20:44:22 +0000 (13:44 -0700)]
node.py: add logging of startup/shutdown, for the cygwin test_system failure

19 years agotest_system.py: add a log message to help track down the occasional cygwin failure
Brian Warner [Thu, 31 May 2007 19:01:14 +0000 (12:01 -0700)]
test_system.py: add a log message to help track down the occasional cygwin failure

19 years agonode.py: log twisted version along with tahoe/foolscap/zfec versions
Brian Warner [Thu, 31 May 2007 18:21:06 +0000 (11:21 -0700)]
node.py: log twisted version along with tahoe/foolscap/zfec versions

19 years agocheck_memory: getting closer, now we have memusage numbers for uploads of 10kB and...
Brian Warner [Wed, 30 May 2007 00:39:39 +0000 (17:39 -0700)]
check_memory: getting closer, now we have memusage numbers for uploads of 10kB and 10MB files

19 years agoswitch from FieldStorage.value to FieldStorage.file
Zooko O'Whielacronx [Fri, 25 May 2007 23:00:19 +0000 (16:00 -0700)]
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!

19 years agoamdlib.util: merge in changes to humanreadable.py that were made in pyutil
Zooko O'Whielacronx [Fri, 25 May 2007 22:49:57 +0000 (15:49 -0700)]
amdlib.util: merge in changes to humanreadable.py that were made in pyutil

19 years agomark #22 finished in source:roadmap.txt
Zooko O'Whielacronx [Fri, 25 May 2007 22:48:01 +0000 (15:48 -0700)]
mark #22 finished in source:roadmap.txt

19 years agocheck_memory.py: finish the failsafe-shutdown code
Brian Warner [Fri, 25 May 2007 00:34:42 +0000 (17:34 -0700)]
check_memory.py: finish the failsafe-shutdown code

19 years agorunner.py: spoke too soon. Really fix #51 this time.
Brian Warner [Thu, 24 May 2007 18:20:39 +0000 (11:20 -0700)]
runner.py: spoke too soon. Really fix #51 this time.

19 years agorunner.py: expanduser() basedirs, so '~' works. Closes #51.
Brian Warner [Thu, 24 May 2007 18:10:19 +0000 (11:10 -0700)]
runner.py: expanduser() basedirs, so '~' works. Closes #51.

19 years ago.darcs-boringfile: ignore the buildbot's source-stampfile
Brian Warner [Thu, 24 May 2007 01:12:42 +0000 (18:12 -0700)]
.darcs-boringfile: ignore the buildbot's source-stampfile

19 years agomakefile: add a test-clean target
Brian Warner [Thu, 24 May 2007 00:57:48 +0000 (17:57 -0700)]
makefile: add a test-clean target

19 years agotest_node.py: hush pyflakes warnings
Brian Warner [Thu, 24 May 2007 00:55:04 +0000 (17:55 -0700)]
test_node.py: hush pyflakes warnings

19 years agonode.py: hush pyflakes warnings
Brian Warner [Thu, 24 May 2007 00:54:48 +0000 (17:54 -0700)]
node.py: hush pyflakes warnings

19 years agomakefile: add a test-darcs-boringfile target
Brian Warner [Thu, 24 May 2007 00:51:28 +0000 (17:51 -0700)]
makefile: add a test-darcs-boringfile target

19 years agotest_introducer_and_vdrive: remove the assumption that startService returns a Deferred
Brian Warner [Thu, 24 May 2007 00:37:20 +0000 (17:37 -0700)]
test_introducer_and_vdrive: remove the assumption that startService returns a Deferred

19 years agotest_system.py: check size in web-ui display. closes #37
Brian Warner [Thu, 24 May 2007 00:25:49 +0000 (17:25 -0700)]
test_system.py: check size in web-ui display. closes #37

19 years agoadd in-line doc that Josh wrote as he was trying to understand this code
Zooko O'Whielacronx [Wed, 23 May 2007 22:11:23 +0000 (15:11 -0700)]
add in-line doc that Josh wrote as he was trying to understand this code

19 years agoadd unit test for "advertised_ip_addresses" feature and fix bug in that feature uncov...
Zooko O'Whielacronx [Wed, 23 May 2007 22:08:55 +0000 (15:08 -0700)]
add unit test for "advertised_ip_addresses" feature and fix bug in that feature uncovered by this unit test

19 years agomake stopService() defer until startService() completes (fixes a problem with the...
Zooko O'Whielacronx [Wed, 23 May 2007 22:08:03 +0000 (15:08 -0700)]
make stopService() defer until startService() completes (fixes a problem with the new not-yet-committed unit test)

19 years agofix one last use of "--root" in building which was corrupting the pathnames in .pyc...
Zooko O'Whielacronx [Wed, 23 May 2007 22:01:49 +0000 (15:01 -0700)]
fix one last use of "--root" in building which was corrupting the pathnames in .pyc files

19 years agonode.py: use 'node.pem' for all nodes
Brian Warner [Wed, 23 May 2007 19:48:52 +0000 (12:48 -0700)]
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.

19 years agonode.py: use Tub's certFile= argument instead of doing it ourselves
Brian Warner [Wed, 23 May 2007 19:41:23 +0000 (12:41 -0700)]
node.py: use Tub's certFile= argument instead of doing it ourselves

19 years agorename all "*PBURL*" to "*FURL*"
Zooko O'Whielacronx [Tue, 22 May 2007 21:08:30 +0000 (14:08 -0700)]
rename all "*PBURL*" to "*FURL*"
This breaks backwards compatibility with Tahoe v0.2 -- the first public release of Tahoe.