]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
16 years agoupdate Arno's entry in CREDITS
Zooko O'Whielacronx [Tue, 7 Aug 2007 19:18:44 +0000 (12:18 -0700)]
update Arno's entry in CREDITS

16 years agoupdate README to reflect existence of "make install" target
Zooko O'Whielacronx [Tue, 7 Aug 2007 19:13:24 +0000 (12:13 -0700)]
update README to reflect existence of "make install" target

16 years agoupdate README to reflect requirement of setuptools 0.6c6
Zooko O'Whielacronx [Tue, 7 Aug 2007 19:12:59 +0000 (12:12 -0700)]
update README to reflect requirement of setuptools 0.6c6

16 years agoadd install target, works at lest on sudo-free cygwin
tahoe [Tue, 31 Jul 2007 23:55:45 +0000 (16:55 -0700)]
add install target, works at lest on sudo-free cygwin

16 years agosetuptools upgrade to 0.6c6
tahoe [Tue, 31 Jul 2007 23:18:11 +0000 (16:18 -0700)]
setuptools upgrade to 0.6c6

16 years agorefactor test_uri and add a test of the empty file
Zooko O'Whielacronx [Thu, 26 Jul 2007 17:48:30 +0000 (10:48 -0700)]
refactor test_uri and add a test of the empty file

16 years agomove nodelogs from BASEDIR/twistd.log* to BASEDIR/logs/twistd.log*, closes #61
Brian Warner [Wed, 25 Jul 2007 03:44:33 +0000 (20:44 -0700)]
move nodelogs from BASEDIR/twistd.log* to BASEDIR/logs/twistd.log*, closes #61

16 years agotest_web.py: oops, fix syntax error caused by removing comments
Brian Warner [Wed, 25 Jul 2007 10:21:30 +0000 (03:21 -0700)]
test_web.py: oops, fix syntax error caused by removing comments

16 years agotest_web.py: remove spurious '# YES' lines, now that all the tests pass
Brian Warner [Wed, 25 Jul 2007 03:16:21 +0000 (20:16 -0700)]
test_web.py: remove spurious '# YES' lines, now that all the tests pass

16 years agovdrive: eventually create public/private dirnodes event if the vdrive server isn...
Brian Warner [Wed, 25 Jul 2007 02:44:25 +0000 (19:44 -0700)]
vdrive: eventually create public/private dirnodes event if the vdrive server isn't available at start up

16 years agointerfaces: move signatures into docstrings, to reduce lines of code and improve...
Brian Warner [Wed, 25 Jul 2007 02:43:21 +0000 (19:43 -0700)]
interfaces: move signatures into docstrings, to reduce lines of code and improve code-coverage numbers

16 years agoremove unused imports: hush pyflakes warnings
Brian Warner [Wed, 25 Jul 2007 01:13:58 +0000 (18:13 -0700)]
remove unused imports: hush pyflakes warnings

16 years agoswitch from rfc 3548 base-32 to z-base-32 except for tubids/nodeids
Zooko O'Whielacronx [Tue, 24 Jul 2007 20:46:06 +0000 (13:46 -0700)]
switch from rfc 3548 base-32 to z-base-32 except for tubids/nodeids

16 years agoURI: we now derive the storage index from the encryption key
Brian Warner [Tue, 24 Jul 2007 09:55:42 +0000 (02:55 -0700)]
URI: we now derive the storage index from the encryption key

16 years agorefactor upload/encode, to split encrypt and encode responsibilities
Brian Warner [Tue, 24 Jul 2007 02:31:53 +0000 (19:31 -0700)]
refactor upload/encode, to split encrypt and encode responsibilities

16 years agoupdate architecture.txt a little bit
Brian Warner [Mon, 23 Jul 2007 03:30:05 +0000 (20:30 -0700)]
update architecture.txt a little bit

16 years agotruncate storage index to 128 bits, since it's derived from a 128 bit AES key
Brian Warner [Mon, 23 Jul 2007 02:48:44 +0000 (19:48 -0700)]
truncate storage index to 128 bits, since it's derived from a 128 bit AES key

16 years agosmall edit of relnotes
Zooko O'Whielacronx [Mon, 23 Jul 2007 01:23:37 +0000 (18:23 -0700)]
small edit of relnotes

16 years agoupdate relnotes.txt to reflect NJS's comments
Zooko O'Whielacronx [Mon, 23 Jul 2007 01:21:29 +0000 (18:21 -0700)]
update relnotes.txt to reflect NJS's comments

16 years agoCHK: remove the storage index from the URI, deriving it from the key instead
Brian Warner [Sun, 22 Jul 2007 01:23:15 +0000 (18:23 -0700)]
CHK: remove the storage index from the URI, deriving it from the key instead

16 years agouri.py: get keys and index from the URI instance
Brian Warner [Sun, 22 Jul 2007 00:45:00 +0000 (17:45 -0700)]
uri.py: get keys and index from the URI instance

16 years agodocs/uri.txt: document current URI formats
Brian Warner [Sun, 22 Jul 2007 00:29:01 +0000 (17:29 -0700)]
docs/uri.txt: document current URI formats

16 years agouri: implement URI-processing classes, IFileURI/IDirnodeURI, use internally
Brian Warner [Sat, 21 Jul 2007 22:40:36 +0000 (15:40 -0700)]
uri: implement URI-processing classes, IFileURI/IDirnodeURI, use internally

16 years agodirnode.build_manifest(): tolerate cycles in the directory graph
Brian Warner [Sat, 21 Jul 2007 22:40:13 +0000 (15:40 -0700)]
dirnode.build_manifest(): tolerate cycles in the directory graph

16 years agoupload: finish refactoring, all unit tests pass now
Brian Warner [Fri, 20 Jul 2007 05:53:29 +0000 (22:53 -0700)]
upload: finish refactoring, all unit tests pass now

16 years agoupload: refactor to enable streaming upload. not all tests pass yet
Brian Warner [Fri, 20 Jul 2007 01:21:44 +0000 (18:21 -0700)]
upload: refactor to enable streaming upload. not all tests pass yet

16 years agowebish: improve test coverage further
Brian Warner [Tue, 17 Jul 2007 19:28:29 +0000 (12:28 -0700)]
webish: improve test coverage further

16 years agowebish: improve test coverage of WebDownloadTarget
Brian Warner [Tue, 17 Jul 2007 19:16:45 +0000 (12:16 -0700)]
webish: improve test coverage of WebDownloadTarget

16 years agoMakefile/check-memory: put all stats in ./memstats.out
Brian Warner [Tue, 17 Jul 2007 17:41:41 +0000 (10:41 -0700)]
Makefile/check-memory: put all stats in ./memstats.out

16 years agocheck_memory.py: test POST-based uploads as well as from-disk ones
Brian Warner [Tue, 17 Jul 2007 03:17:51 +0000 (20:17 -0700)]
check_memory.py: test POST-based uploads as well as from-disk ones

16 years agovdrive.py: log a note when we successfully retrieve the global root directory
Brian Warner [Tue, 17 Jul 2007 03:17:06 +0000 (20:17 -0700)]
vdrive.py: log a note when we successfully retrieve the global root directory

16 years agointroducer.py: minor rearrangement of methods
Brian Warner [Tue, 17 Jul 2007 02:47:42 +0000 (19:47 -0700)]
introducer.py: minor rearrangement of methods

16 years agocheck_memory.py: fix benign-but-noisy vdrive.furl handling bug
Brian Warner [Tue, 17 Jul 2007 02:34:52 +0000 (19:34 -0700)]
check_memory.py: fix benign-but-noisy vdrive.furl handling bug

16 years agocheck_memory: update it, write stats to a file, disable 50MB test for now
Brian Warner [Tue, 17 Jul 2007 01:08:55 +0000 (18:08 -0700)]
check_memory: update it, write stats to a file, disable 50MB test for now

16 years agoclient.py: add a 'debug_no_storage' option to throw out all share data
Brian Warner [Tue, 17 Jul 2007 01:07:03 +0000 (18:07 -0700)]
client.py: add a 'debug_no_storage' option to throw out all share data

16 years agoclient.py: write control.furl in the right place
Brian Warner [Tue, 17 Jul 2007 01:06:27 +0000 (18:06 -0700)]
client.py: write control.furl in the right place

16 years agoadded unit test to webish's rename function
robk-org [Tue, 17 Jul 2007 00:05:01 +0000 (17:05 -0700)]
added unit test to webish's rename function

added unit tests to test various permutations of the rename function, and
some sanity checks on the rename-form function.

also added a guard to prevent '/' in from_/to_name in rename calls.

16 years agorunner.py: make 'allmydata-tahoe --version' emit version numbers of everything
Brian Warner [Mon, 16 Jul 2007 21:58:36 +0000 (14:58 -0700)]
runner.py: make 'allmydata-tahoe --version' emit version numbers of everything

16 years agoreduce MAX_SEGMENT_SIZE from 2MB to 1MB, to compensate for the large blocks that...
Brian Warner [Mon, 16 Jul 2007 20:48:34 +0000 (13:48 -0700)]
reduce MAX_SEGMENT_SIZE from 2MB to 1MB, to compensate for the large blocks that 3-of-10 produces

16 years agomisc/storage-overhead.py: tool to estimate storage-space overhead per filesize
Brian Warner [Mon, 16 Jul 2007 20:43:31 +0000 (13:43 -0700)]
misc/storage-overhead.py: tool to estimate storage-space overhead per filesize

16 years agowebish: test error cases more thoroughly by looking inside the response text
Brian Warner [Mon, 16 Jul 2007 19:01:19 +0000 (12:01 -0700)]
webish: test error cases more thoroughly by looking inside the response text

16 years agowebish: oops, handle POST without localfile= too
Brian Warner [Mon, 16 Jul 2007 19:00:54 +0000 (12:00 -0700)]
webish: oops, handle POST without localfile= too

16 years agowebish.py: disallow slashes in POSTed filenames. Closes #75.
Brian Warner [Mon, 16 Jul 2007 18:53:12 +0000 (11:53 -0700)]
webish.py: disallow slashes in POSTed filenames. Closes #75.

16 years agowebish.Directory: add a 'text/plain' link for files, to download as plaintext.
Brian Warner [Sat, 14 Jul 2007 06:45:35 +0000 (23:45 -0700)]
webish.Directory: add a 'text/plain' link for files, to download as plaintext.
This is useful to view (e.g.) .py files that would otherwise be served as
some weird text/x-python that browsers will just want to save to disk.

16 years agostorage.py: add a test for the next_power_of_k fix I made a few hours ago, basically...
Brian Warner [Sat, 14 Jul 2007 05:24:06 +0000 (22:24 -0700)]
storage.py: add a test for the next_power_of_k fix I made a few hours ago, basically do an upload with a non-power-of-two number of segments

16 years agowebish.py: test that _get_or_create_directories fix I made a few hours ago
Brian Warner [Sat, 14 Jul 2007 05:19:16 +0000 (22:19 -0700)]
webish.py: test that _get_or_create_directories fix I made a few hours ago

16 years agosimplejson: lower our minimum-required-version of setuptools to 0.6a9, since that...
Brian Warner [Sat, 14 Jul 2007 02:47:56 +0000 (19:47 -0700)]
simplejson: lower our minimum-required-version of setuptools to 0.6a9, since that seems to work, and it's the version that comes with dapper

16 years agowebish: handle PUTs to direct children of the root
Brian Warner [Sat, 14 Jul 2007 02:31:52 +0000 (19:31 -0700)]
webish: handle PUTs to direct children of the root

16 years agostorage.py: turn some assertions into preconditions
Brian Warner [Sat, 14 Jul 2007 02:30:48 +0000 (19:30 -0700)]
storage.py: turn some assertions into preconditions

16 years agostorage.py: handle num_segments != power-of-two without an assertion
Brian Warner [Sat, 14 Jul 2007 02:30:21 +0000 (19:30 -0700)]
storage.py: handle num_segments != power-of-two without an assertion

16 years agointerfaces: increase ShareSize now that our default k is smaller (hence blocks are...
Brian Warner [Sat, 14 Jul 2007 02:29:31 +0000 (19:29 -0700)]
interfaces: increase ShareSize now that our default k is smaller (hence blocks are bigger)

16 years agorename storageserver.py to just storage.py, since it has both server and client sides now
Brian Warner [Sat, 14 Jul 2007 00:25:45 +0000 (17:25 -0700)]
rename storageserver.py to just storage.py, since it has both server and client sides now

16 years agowelcome.xhtml: add a link to allmydata.org
Brian Warner [Sat, 14 Jul 2007 00:15:44 +0000 (17:15 -0700)]
welcome.xhtml: add a link to allmydata.org

16 years agoencode.py: minor typo
Brian Warner [Sat, 14 Jul 2007 00:00:06 +0000 (17:00 -0700)]
encode.py: minor typo

16 years agofix dump-uri-extension
Brian Warner [Fri, 13 Jul 2007 23:58:08 +0000 (16:58 -0700)]
fix dump-uri-extension

16 years agostorageserver.ReadBucketProxy: break out _parse_offsets, for debug tools
Brian Warner [Fri, 13 Jul 2007 23:52:17 +0000 (16:52 -0700)]
storageserver.ReadBucketProxy: break out _parse_offsets, for debug tools

16 years agostorage: we must truncate short segments. Now most tests pass (except uri_extension)
Brian Warner [Fri, 13 Jul 2007 23:38:25 +0000 (16:38 -0700)]
storage: we must truncate short segments. Now most tests pass (except uri_extension)

16 years agomore #85 work, system test still fails
Brian Warner [Fri, 13 Jul 2007 22:09:01 +0000 (15:09 -0700)]
more #85 work, system test still fails

16 years agostorage: use one file per share instead of 7 (#85). work-in-progress, tests still...
Brian Warner [Fri, 13 Jul 2007 21:04:49 +0000 (14:04 -0700)]
storage: use one file per share instead of 7 (#85). work-in-progress, tests still fail

16 years agocontrol.py: make get_memory_usage() callable from elsewhere
Brian Warner [Mon, 9 Jul 2007 02:07:54 +0000 (19:07 -0700)]
control.py: make get_memory_usage() callable from elsewhere

16 years agoadd a 'rename' button to the webish dir view
robk-org [Thu, 12 Jul 2007 23:53:54 +0000 (16:53 -0700)]
add a 'rename' button to the webish dir view

alongside the 'del' button is now presented a 'rename' button, which takes
the user to a new page, the 't=rename-form' page, which asks ther user for
the new name of the child and ultimately submits a POST request to the dir
for 't=rename' to perform the actual rename i.e. an attach followed by a
delete of children.

16 years agofix bug in arg handling around 'delete' button in directory view
robk-org [Thu, 12 Jul 2007 23:46:54 +0000 (16:46 -0700)]
fix bug in arg handling around 'delete' button in directory view

the code composing the form providing the 'delete' button in a dir
view was broken in that it tried to put some of the arguments into
the url query, rather than as the form's post args.  worse, nevow
was kind enough to escape the querystring making it invalid.

16 years agofix a typo in webapi.txt
robk-org [Thu, 12 Jul 2007 23:45:51 +0000 (16:45 -0700)]
fix a typo in webapi.txt

16 years agoinclude the filename on URI-link urls for files
robk-org [Wed, 11 Jul 2007 22:26:47 +0000 (15:26 -0700)]
include the filename on URI-link urls for files

this is likely to induce browsers to do more useful things with the result
than they would when given neither content-type nor filename.  (i.e. they
can guess that a .jpg file is an image, even with a bogus content type)

16 years agoadded notes on pywin32 version support to README
robk-org [Wed, 13 Jun 2007 20:09:36 +0000 (13:09 -0700)]
added notes on pywin32 version support to README

16 years agowebish.DirnodeWalkerMixin: comment out the code that demonstrates what we
Brian Warner [Fri, 13 Jul 2007 06:28:09 +0000 (23:28 -0700)]
webish.DirnodeWalkerMixin: comment out the code that demonstrates what we
would do if we could just use generators, since we don't use it.

16 years agomisc/figleaf.excludes: exclude simplejson too, since we don't run their tests
Brian Warner [Thu, 12 Jul 2007 23:26:25 +0000 (16:26 -0700)]
misc/figleaf.excludes: exclude simplejson too, since we don't run their tests

16 years agonote that setting k=1 is equivalent to replication
Brian Warner [Thu, 12 Jul 2007 23:22:12 +0000 (16:22 -0700)]
note that setting k=1 is equivalent to replication

16 years agofix several methods to handle LIT URIs correctly, rather than assuming that all filen...
Brian Warner [Thu, 12 Jul 2007 23:17:49 +0000 (16:17 -0700)]
fix several methods to handle LIT URIs correctly, rather than assuming that all filenodes are CHK URIs

16 years agomake it possible to download LIT uris. oops.
Brian Warner [Thu, 12 Jul 2007 23:16:59 +0000 (16:16 -0700)]
make it possible to download LIT uris. oops.

16 years agoallow the introducer to set default encoding parameters. Closes #84.
Brian Warner [Thu, 12 Jul 2007 22:33:30 +0000 (15:33 -0700)]
allow the introducer to set default encoding parameters. Closes #84.
By writing something like "25 75 100" into a file named 'encoding_parameters'
in the central Introducer's base directory, all clients which use that
introducer will be advised to use 25-out-of-100 encoding for files (i.e.
100 shares will be produced, 25 are required to reconstruct, and the upload
process will be happy if it can find homes for at least 75 shares). The
default values are "3 7 10". For small meshes, the defaults are probably
good, but for larger ones it may be appropriate to increase the number of
shares.

16 years agoimplement URI:LIT, which stores small (<55B) files inside the URI itself. Fixes #81.
Brian Warner [Thu, 12 Jul 2007 20:22:36 +0000 (13:22 -0700)]
implement URI:LIT, which stores small (<55B) files inside the URI itself. Fixes #81.

16 years agointerfaces.py: increase RIVirtualDriveServer.list constraint from 100 entries to...
Brian Warner [Thu, 12 Jul 2007 20:23:52 +0000 (13:23 -0700)]
interfaces.py: increase RIVirtualDriveServer.list constraint from 100 entries to 1000, for now

16 years agocease producing .debs for dapper, since they'd depend upon a library (simplejson...
Brian Warner [Wed, 11 Jul 2007 21:31:04 +0000 (14:31 -0700)]
cease producing .debs for dapper, since they'd depend upon a library (simplejson) that isn't packaged for dapper. Feisty++ are fine. Dapper users are encouraged to build from source.

16 years agodebian: make all .debs dependent upon python-simplejson. We must create the dapper...
Brian Warner [Wed, 11 Jul 2007 21:01:56 +0000 (14:01 -0700)]
debian: make all .debs dependent upon python-simplejson. We must create the dapper package, the others are available upstream

16 years agoMakefile: factor out deb-foolscap-ARCH to a separate target
Brian Warner [Wed, 11 Jul 2007 21:00:47 +0000 (14:00 -0700)]
Makefile: factor out deb-foolscap-ARCH to a separate target

16 years agoMakefile: make it clear that it requires GNU Make
Brian Warner [Wed, 11 Jul 2007 20:39:55 +0000 (13:39 -0700)]
Makefile: make it clear that it requires GNU Make

16 years agorename GNUmakefile to Makefile: I've mis-typed the name one too many times
Brian Warner [Wed, 11 Jul 2007 20:34:16 +0000 (13:34 -0700)]
rename GNUmakefile to Makefile: I've mis-typed the name one too many times

16 years agoboringfile: exclude some foolscap.deb-generated files
Brian Warner [Wed, 11 Jul 2007 20:28:42 +0000 (13:28 -0700)]
boringfile: exclude some foolscap.deb-generated files

16 years agomakefile: fix deb-edgy-head and deb-etch-head targets
Brian Warner [Wed, 11 Jul 2007 20:26:23 +0000 (13:26 -0700)]
makefile: fix deb-edgy-head and deb-etch-head targets

16 years agomakefile: refactor .deb-producing rules
Brian Warner [Wed, 11 Jul 2007 19:45:00 +0000 (12:45 -0700)]
makefile: refactor .deb-producing rules

16 years agocli: implement 'get'
Brian Warner [Wed, 11 Jul 2007 17:26:19 +0000 (10:26 -0700)]
cli: implement 'get'

16 years agotahoe_ls: remove a couple of vestigial or debugging bits
Zooko O'Whielacronx [Wed, 11 Jul 2007 02:46:40 +0000 (19:46 -0700)]
tahoe_ls: remove a couple of vestigial or debugging bits

16 years agocli: implement 'allmydata-tahoe ls'
Brian Warner [Wed, 11 Jul 2007 02:37:37 +0000 (19:37 -0700)]
cli: implement 'allmydata-tahoe ls'

16 years agomakefile: use --single-version-externally-managed for simplejson
Brian Warner [Wed, 11 Jul 2007 02:37:10 +0000 (19:37 -0700)]
makefile: use --single-version-externally-managed for simplejson

16 years agostartstop_node.py: refactor find_twistd() out so it is only run when you need to...
Brian Warner [Wed, 11 Jul 2007 02:13:55 +0000 (19:13 -0700)]
startstop_node.py: refactor find_twistd() out so it is only run when you need to start a node

16 years agorunner.py: further refactoring
Brian Warner [Wed, 11 Jul 2007 02:05:18 +0000 (19:05 -0700)]
runner.py: further refactoring

16 years agorunner.py: start to refactor into separate files
Brian Warner [Wed, 11 Jul 2007 01:41:52 +0000 (18:41 -0700)]
runner.py: start to refactor into separate files

16 years agotahoe-ls.py: hush a pyflakes warning
Brian Warner [Tue, 10 Jul 2007 23:26:05 +0000 (16:26 -0700)]
tahoe-ls.py: hush a pyflakes warning

16 years agopatch simplejson's ezsetup to take a min_version, and patch setup.py to use it, to...
Brian Warner [Tue, 10 Jul 2007 23:11:11 +0000 (16:11 -0700)]
patch simplejson's ezsetup to take a min_version, and patch setup.py to use it, to allow installs on edgy machines with setuptools-0.6c3

16 years agofinish removing simplejson.egg-info from the repo
Brian Warner [Tue, 10 Jul 2007 22:52:26 +0000 (15:52 -0700)]
finish removing simplejson.egg-info from the repo

16 years agoremove simplejson.egg-info from the repo (and boringfile it), it should never have...
Brian Warner [Tue, 10 Jul 2007 22:51:58 +0000 (15:51 -0700)]
remove simplejson.egg-info from the repo (and boringfile it), it should never have been in the original tarball

16 years agoimport simplejson directly, and remove our local copies of the component .py files...
Brian Warner [Tue, 10 Jul 2007 22:49:32 +0000 (15:49 -0700)]
import simplejson directly, and remove our local copies of the component .py files from util/json*

16 years agotahoe-ls.py: initial version of an 'ls' CLI utility
Brian Warner [Tue, 10 Jul 2007 22:34:55 +0000 (15:34 -0700)]
tahoe-ls.py: initial version of an 'ls' CLI utility

16 years agoboringfile: add simplejson generated files
Brian Warner [Tue, 10 Jul 2007 22:34:36 +0000 (15:34 -0700)]
boringfile: add simplejson generated files

16 years agomakefile: build simplejson along with zfec/foolscap/etc
Brian Warner [Tue, 10 Jul 2007 22:28:38 +0000 (15:28 -0700)]
makefile: build simplejson along with zfec/foolscap/etc

16 years agoimport simplejson-1.7.1 into src/simplejson
Brian Warner [Tue, 10 Jul 2007 22:22:53 +0000 (15:22 -0700)]
import simplejson-1.7.1 into src/simplejson

16 years agowebapi: normalized API: use t=upload or t=download when providing localdir= or localfile=
Brian Warner [Tue, 10 Jul 2007 20:24:10 +0000 (13:24 -0700)]
webapi: normalized API: use t=upload or t=download when providing localdir= or localfile=

16 years agoimport the decoder portion of simplejson-1.7.1 too
Brian Warner [Tue, 10 Jul 2007 20:12:40 +0000 (13:12 -0700)]
import the decoder portion of simplejson-1.7.1 too

16 years agowebapi.txt: note that the 'curl' utility can be used to exercise most of this interface
Brian Warner [Tue, 10 Jul 2007 17:36:37 +0000 (10:36 -0700)]
webapi.txt: note that the 'curl' utility can be used to exercise most of this interface