tahoe-lafs/tahoe-lafs.git
17 years agoadd setuptools eggs for py2.4 and py2.5 to misc/dependencies
Zooko O'Whielacronx [Thu, 13 Sep 2007 21:50:43 +0000 (14:50 -0700)]
add setuptools eggs for py2.4 and py2.5 to misc/dependencies

17 years agoadd foolscap tarball to misc/dependencies
Zooko O'Whielacronx [Thu, 13 Sep 2007 21:50:23 +0000 (14:50 -0700)]
add foolscap tarball to misc/dependencies

17 years agoinsert misc/dependencies
Zooko O'Whielacronx [Thu, 13 Sep 2007 21:50:10 +0000 (14:50 -0700)]
insert misc/dependencies

17 years agouse ez_setup.py to bootstrap setuptools
Zooko O'Whielacronx [Thu, 13 Sep 2007 01:57:10 +0000 (18:57 -0700)]
use ez_setup.py to bootstrap setuptools

17 years agoMakefile: re-order targets and let user's PYTHONPATH be included in the PP
Zooko O'Whielacronx [Thu, 13 Sep 2007 01:56:33 +0000 (18:56 -0700)]
Makefile: re-order targets and let user's PYTHONPATH be included in the PP

17 years agosetup.py: remove nevow dependency: we need it, but easy_install can't install it
Brian Warner [Wed, 12 Sep 2007 23:55:38 +0000 (16:55 -0700)]
setup.py: remove nevow dependency: we need it, but easy_install can't install it

17 years agopackaging: add 'build-deps' target, to automatically build and install (locally,...
Brian Warner [Wed, 12 Sep 2007 23:48:45 +0000 (16:48 -0700)]
packaging: add 'build-deps' target, to automatically build and install (locally, in ./support) necessary dependencies. All such installed files are used during tests.

17 years agopackaging: move to setuptools
Brian Warner [Wed, 12 Sep 2007 23:02:53 +0000 (16:02 -0700)]
packaging: move to setuptools

17 years agosetup.py: fix move to _version.py
Brian Warner [Wed, 12 Sep 2007 23:02:23 +0000 (16:02 -0700)]
setup.py: fix move to _version.py

17 years agoremove zfec source from our tree, users should grab a tarball from our http://allmyda...
Brian Warner [Sat, 25 Aug 2007 22:37:25 +0000 (15:37 -0700)]
remove zfec source from our tree, users should grab a tarball from our http://allmydata.org/trac/tahoe/wiki/Dependencies page, or from the python cheeseshop

17 years agodebian: depend upon python-zfec, stop including zfec in the tahoe .deb
Brian Warner [Tue, 21 Aug 2007 20:54:51 +0000 (13:54 -0700)]
debian: depend upon python-zfec, stop including zfec in the tahoe .deb

17 years agoMakefile: oops, fix clean-simplejson target. Might fix #10.
Brian Warner [Sat, 18 Aug 2007 06:50:37 +0000 (23:50 -0700)]
Makefile: oops, fix clean-simplejson target. Might fix #10.

17 years agoMakefile: improve 'clean' behavior even more, maybe even completely.
Brian Warner [Sat, 18 Aug 2007 06:45:14 +0000 (23:45 -0700)]
Makefile: improve 'clean' behavior even more, maybe even completely.
Now we remove downloaded setuptools-*.egg files, and *.egg-info directories

17 years agoMakefile: improve 'clean' behavior by removing foolscap .pycs and _version.py
Brian Warner [Sat, 18 Aug 2007 06:38:00 +0000 (23:38 -0700)]
Makefile: improve 'clean' behavior by removing foolscap .pycs and _version.py

17 years agoremove simplejson source from our tree, users should grab a tarball from our http...
Brian Warner [Sat, 25 Aug 2007 22:37:07 +0000 (15:37 -0700)]
remove simplejson source from our tree, users should grab a tarball from our http://allmydata.org/trac/tahoe/wiki/Dependencies page, or from the python cheeseshop

17 years agoremove foolscap source from our tree, users should grab a tarball from our http:...
Brian Warner [Sat, 25 Aug 2007 22:36:33 +0000 (15:36 -0700)]
remove foolscap source from our tree, users should grab a tarball from our http://allmydata.org/trac/tahoe/wiki/Dependencies page, or from the upstream http://foolscap.lothar.com/ home page

17 years agoREADME: update the wording of the "LICENCE" section to more closely follow FSF recomm...
Zooko O'Whielacronx [Wed, 12 Sep 2007 18:31:57 +0000 (11:31 -0700)]
README: update the wording of the "LICENCE" section to more closely follow FSF recommendations

17 years agostorage: always record lease expiration times as integers
Brian Warner [Tue, 11 Sep 2007 21:53:31 +0000 (14:53 -0700)]
storage: always record lease expiration times as integers

17 years agoAdd some passing unit tests for testutil.PollMixin.
nejucomo [Fri, 7 Sep 2007 23:15:41 +0000 (16:15 -0700)]
Add some passing unit tests for testutil.PollMixin.

17 years agoprovisioning: include the cost of replacing failed hard drives
Brian Warner [Mon, 10 Sep 2007 22:46:45 +0000 (15:46 -0700)]
provisioning: include the cost of replacing failed hard drives

17 years agoprovisioning: add cost information
Brian Warner [Mon, 10 Sep 2007 22:29:33 +0000 (15:29 -0700)]
provisioning: add cost information

17 years agoloosen constraint on share data size
Zooko O'Whielacronx [Tue, 11 Sep 2007 18:29:18 +0000 (11:29 -0700)]
loosen constraint on share data size

17 years agoprovisioning: oops, fix test_provisioning too
Brian Warner [Fri, 7 Sep 2007 22:01:17 +0000 (15:01 -0700)]
provisioning: oops, fix test_provisioning too

17 years agoprovisioning.py: update test with new encoding-parameters format
Brian Warner [Fri, 7 Sep 2007 21:45:43 +0000 (14:45 -0700)]
provisioning.py: update test with new encoding-parameters format

17 years agoprovisioning: require at least one drive per server
Brian Warner [Fri, 7 Sep 2007 06:08:21 +0000 (23:08 -0700)]
provisioning: require at least one drive per server

17 years agoprovisioning: explain the 'survival' number better
Brian Warner [Fri, 7 Sep 2007 06:01:07 +0000 (23:01 -0700)]
provisioning: explain the 'survival' number better

17 years agoprovisioning: more repair/survivability data
Brian Warner [Fri, 7 Sep 2007 05:54:53 +0000 (22:54 -0700)]
provisioning: more repair/survivability data

17 years agoprovisioning: add some drive failure and repair rate info
Brian Warner [Fri, 7 Sep 2007 01:47:41 +0000 (18:47 -0700)]
provisioning: add some drive failure and repair rate info

17 years agoprovisioning.py: add file/server availability numbers
Brian Warner [Thu, 6 Sep 2007 01:16:21 +0000 (18:16 -0700)]
provisioning.py: add file/server availability numbers

17 years agowebish: implement 'PUT /uri?t=mkdir' (to create anonymous dirnodes)
Brian Warner [Thu, 6 Sep 2007 00:23:06 +0000 (17:23 -0700)]
webish: implement 'PUT /uri?t=mkdir' (to create anonymous dirnodes)

17 years agowebish: implement 'PUT /uri' (to create anonymous files)
Brian Warner [Thu, 6 Sep 2007 00:12:27 +0000 (17:12 -0700)]
webish: implement 'PUT /uri' (to create anonymous files)

17 years agoclient.py: only import webish.py if 'webport' is set, to save 3MB of footprint
Brian Warner [Tue, 4 Sep 2007 23:33:06 +0000 (16:33 -0700)]
client.py: only import webish.py if 'webport' is set, to save 3MB of footprint

17 years agostorage: add version number to share data. Closes #90.
Brian Warner [Tue, 4 Sep 2007 16:00:24 +0000 (09:00 -0700)]
storage: add version number to share data. Closes #90.

17 years agostorage: don't add a duplicate lease, renew the old one instead
Brian Warner [Mon, 3 Sep 2007 04:39:47 +0000 (21:39 -0700)]
storage: don't add a duplicate lease, renew the old one instead

17 years agostorage: remove get_or_add_owner, since I don't know what we need yet
Brian Warner [Sun, 2 Sep 2007 22:03:40 +0000 (15:03 -0700)]
storage: remove get_or_add_owner, since I don't know what we need yet

17 years agostorage: remove unused delete_bucket() method, lease-cancellation covers it
Brian Warner [Sun, 2 Sep 2007 22:00:29 +0000 (15:00 -0700)]
storage: remove unused delete_bucket() method, lease-cancellation covers it

17 years agostorage: handle simultanous uploads: add a lease for the pre-empted client
Brian Warner [Sun, 2 Sep 2007 21:57:49 +0000 (14:57 -0700)]
storage: handle simultanous uploads: add a lease for the pre-empted client

17 years agodebug: 'dump-uri-extension' command becomes 'dump-share', add 'dump-share-leases...
Brian Warner [Sun, 2 Sep 2007 21:48:20 +0000 (14:48 -0700)]
debug: 'dump-uri-extension' command becomes 'dump-share', add 'dump-share-leases'. Both display leases.

17 years agostorage: replace sqlite with in-share lease records
Brian Warner [Sun, 2 Sep 2007 21:47:15 +0000 (14:47 -0700)]
storage: replace sqlite with in-share lease records

17 years agotest_uri.py: remove tiny whitespace
Brian Warner [Wed, 29 Aug 2007 06:40:03 +0000 (23:40 -0700)]
test_uri.py: remove tiny whitespace

17 years agocreated DirnodeURI schema
wilcoxjg [Wed, 29 Aug 2007 06:28:26 +0000 (23:28 -0700)]
created DirnodeURI schema

17 years agochanged MakeFile comment to clarify what "test.test_introducer" means
wilcoxjg [Thu, 9 Aug 2007 22:26:27 +0000 (15:26 -0700)]
changed MakeFile comment to clarify what "test.test_introducer" means

17 years agostorage: use sqlite from either python2.5's stdlib or the pysqlite2 package
Brian Warner [Wed, 29 Aug 2007 06:28:52 +0000 (23:28 -0700)]
storage: use sqlite from either python2.5's stdlib or the pysqlite2 package

17 years agodeletion phase3: add a sqlite database to track renew/cancel-lease secrets, implement...
Brian Warner [Tue, 28 Aug 2007 06:41:40 +0000 (23:41 -0700)]
deletion phase3: add a sqlite database to track renew/cancel-lease secrets, implement renew/cancel_lease (but nobody calls them yet). Also, move the shares from BASEDIR/storage/* down to BASEDIR/storage/shares/*

17 years agodeletion phase2b: create renew/cancel secrets for real.
Brian Warner [Tue, 28 Aug 2007 02:30:26 +0000 (19:30 -0700)]
deletion phase2b: create renew/cancel secrets for real.

17 years agonode: change get_or_create_config to strip whitespace and accept a filemode= argument
Brian Warner [Tue, 28 Aug 2007 02:23:50 +0000 (19:23 -0700)]
node: change get_or_create_config to strip whitespace and accept a filemode= argument

17 years agonode.py: change get_or_create_config() to accept a function
Brian Warner [Tue, 28 Aug 2007 02:07:12 +0000 (19:07 -0700)]
node.py: change get_or_create_config() to accept a function

17 years agodeletion phase2a: improve creation of renew/cancel secrets. Still fake though.
Brian Warner [Tue, 28 Aug 2007 02:00:18 +0000 (19:00 -0700)]
deletion phase2a: improve creation of renew/cancel secrets. Still fake though.

17 years agonode.py: refactor config-file getting and setting
Brian Warner [Tue, 28 Aug 2007 01:58:39 +0000 (18:58 -0700)]
node.py: refactor config-file getting and setting

17 years agodeletion phase1: send renew/cancel-lease secrets, but my_secret is fake, and the...
Brian Warner [Tue, 28 Aug 2007 00:28:51 +0000 (17:28 -0700)]
deletion phase1: send renew/cancel-lease secrets, but my_secret is fake, and the StorageServer discards them

17 years agotest_web: improve provisioning.py test coverage a bit by using a live web hit
Brian Warner [Tue, 28 Aug 2007 00:26:39 +0000 (17:26 -0700)]
test_web: improve provisioning.py test coverage a bit by using a live web hit

17 years agoadd a provisioning utility page which shows necessary storage space and transfer...
Brian Warner [Mon, 27 Aug 2007 06:44:24 +0000 (23:44 -0700)]
add a provisioning utility page which shows necessary storage space and transfer rates for grids of various sizes

17 years agodebug.py: add share-overhead size info to dump-uri-extension
Brian Warner [Mon, 27 Aug 2007 06:42:39 +0000 (23:42 -0700)]
debug.py: add share-overhead size info to dump-uri-extension

17 years agowebish: strip leading/tailing whitespace from user-provided filenames, to avoid confusion
Brian Warner [Sat, 25 Aug 2007 19:05:24 +0000 (12:05 -0700)]
webish: strip leading/tailing whitespace from user-provided filenames, to avoid confusion

17 years agowebish: strip leading/tailing whitespace from user-provided URIs
Brian Warner [Sat, 25 Aug 2007 19:05:06 +0000 (12:05 -0700)]
webish: strip leading/tailing whitespace from user-provided URIs

17 years agomunin/tahoe-sharesperfile: don't truncate to an int, emit a float instead
Brian Warner [Thu, 23 Aug 2007 23:31:15 +0000 (16:31 -0700)]
munin/tahoe-sharesperfile: don't truncate to an int, emit a float instead

17 years agoREADME: update wording of licence
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:51:30 +0000 (13:51 -0700)]
README: update wording of licence

17 years agochange name of the query "allow_local_access()?" to "local_access_is_allowed()"
Zooko O'Whielacronx [Wed, 22 Aug 2007 17:32:00 +0000 (10:32 -0700)]
change name of the query "allow_local_access()?" to "local_access_is_allowed()"
So as to avoid confusing it with the setter method
"allow_local_access(allowed=True)".

17 years agoREADME: updated debian-packaging section a bit, replace dapper with etch
Brian Warner [Wed, 22 Aug 2007 00:07:25 +0000 (17:07 -0700)]
README: updated debian-packaging section a bit, replace dapper with etch

17 years agoMakefile: fix race condition in test-clean that caused occasional failures
Brian Warner [Wed, 22 Aug 2007 04:28:51 +0000 (21:28 -0700)]
Makefile: fix race condition in test-clean that caused occasional failures

17 years agoMakefile: stop producing foolscap .debs
Brian Warner [Tue, 21 Aug 2007 21:01:01 +0000 (14:01 -0700)]
Makefile: stop producing foolscap .debs

17 years agotahoe_put.py: hush pyflakes by removing unused 'sys' import
Brian Warner [Fri, 17 Aug 2007 23:29:50 +0000 (16:29 -0700)]
tahoe_put.py: hush pyflakes by removing unused 'sys' import

17 years agotrying to introduce old style humanreadablied logs hopefully without breaking the...
tahoe [Sat, 11 Aug 2007 21:52:37 +0000 (14:52 -0700)]
trying to introduce old style humanreadablied logs hopefully without breaking the existing ones

17 years agoTAG allmydata-tahoe-0.5.1 allmydata-tahoe-0.5.1
Zooko O'Whielacronx [Thu, 23 Aug 2007 21:03:15 +0000 (14:03 -0700)]
TAG allmydata-tahoe-0.5.1

17 years agorelnotes.txt: v0.5.1
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:51:41 +0000 (13:51 -0700)]
relnotes.txt: v0.5.1

17 years agoTAG allmydata-tahoe-0.5.0 allmydata-tahoe-0.5.0
Zooko O'Whielacronx [Fri, 17 Aug 2007 22:19:10 +0000 (15:19 -0700)]
TAG allmydata-tahoe-0.5.0

17 years agosetup.py: oops, I inserted a typo by commenting out the wrong line
Brian Warner [Thu, 16 Aug 2007 07:56:58 +0000 (00:56 -0700)]
setup.py: oops, I inserted a typo by commenting out the wrong line

17 years agosetup.py: don't install allmydata.Crypto.PublicKey either
Brian Warner [Thu, 16 Aug 2007 07:54:52 +0000 (00:54 -0700)]
setup.py: don't install allmydata.Crypto.PublicKey either

17 years agosetup.py: disable building RSA for now, since it requires GMP. We'll refrain
Brian Warner [Thu, 16 Aug 2007 07:52:21 +0000 (00:52 -0700)]
setup.py: disable building RSA for now, since it requires GMP. We'll refrain
from adding it to the build-dependencies until we actually want to use RSA.

17 years agocrypto: fix compiler warnings in the .c files
Brian Warner [Thu, 16 Aug 2007 00:48:52 +0000 (17:48 -0700)]
crypto: fix compiler warnings in the .c files

17 years agocopy RSA from PyCrypto into the allmydata/ tree, we'll use it eventually
Brian Warner [Thu, 16 Aug 2007 00:36:39 +0000 (17:36 -0700)]
copy RSA from PyCrypto into the allmydata/ tree, we'll use it eventually

17 years agoMakefile: use a different rm *.so command for the 'clean' target
Brian Warner [Wed, 15 Aug 2007 22:28:12 +0000 (15:28 -0700)]
Makefile: use a different rm *.so command for the 'clean' target

17 years agoMakefile: more portable way to make clean succeed when there's nothing to rm
Zooko O'Whielacronx [Wed, 15 Aug 2007 21:18:51 +0000 (14:18 -0700)]
Makefile: more portable way to make clean succeed when there's nothing to rm
xargs doesn't have a "-r" option on Mac OS X.

17 years agoMakefile: fix 'clean' target to work even if there's nothing to clean
Brian Warner [Tue, 14 Aug 2007 21:24:48 +0000 (14:24 -0700)]
Makefile: fix 'clean' target to work even if there's nothing to clean

17 years agohush pyflakes warning in Crypto.Util.number
Brian Warner [Tue, 14 Aug 2007 21:17:12 +0000 (14:17 -0700)]
hush pyflakes warning in Crypto.Util.number

17 years agoremove PyCrypto, copy AES/SHA256/Util.number into the allmydata/ tree
Brian Warner [Tue, 14 Aug 2007 20:57:41 +0000 (13:57 -0700)]
remove PyCrypto, copy AES/SHA256/Util.number into the allmydata/ tree

17 years agomerge duplicate patches re: zfec setuptools
Zooko O'Whielacronx [Thu, 9 Aug 2007 19:40:47 +0000 (12:40 -0700)]
merge duplicate patches re: zfec setuptools
Some patches were done in the tahoe darcs repo and some in the zfec darcs repo.

17 years agomerge duplicate patches to shebang /usr/bin/python
Zooko O'Whielacronx [Thu, 9 Aug 2007 18:33:25 +0000 (11:33 -0700)]
merge duplicate patches to shebang /usr/bin/python
one patch from the tahoe darcs repo and one patch from the zfec darcs repo

17 years agozfec: fix bug in argparse
Zooko O'Whielacronx [Thu, 9 Aug 2007 18:10:58 +0000 (11:10 -0700)]
zfec: fix bug in argparse

17 years agowebish: modify JSON to match zooko's proposed API changes in #118
Brian Warner [Thu, 23 Aug 2007 20:00:39 +0000 (13:00 -0700)]
webish: modify JSON to match zooko's proposed API changes in #118

17 years agocommand-line: remove the --vdrive option (it is now hardcoded to "global")
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:27:00 +0000 (13:27 -0700)]
command-line: remove the --vdrive option (it is now hardcoded to "global")

17 years agowebapi.txt: minor edits
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:09:44 +0000 (13:09 -0700)]
webapi.txt: minor edits

17 years agowebapi.txt edits (thanks to Brian Warner)
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:06:06 +0000 (13:06 -0700)]
webapi.txt edits (thanks to Brian Warner)

17 years agonew improved webapi.txt
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:03:26 +0000 (13:03 -0700)]
new improved webapi.txt
As per ticket #118, this refactors the explanation of URIs and paths and changes the JSON metadata schema.

http://allmydata.org/trac/tahoe/ticket/118

17 years agoweb: replace FILE links with /uri -based ones, to prevent an XSS attack against the...
Brian Warner [Thu, 23 Aug 2007 00:35:01 +0000 (17:35 -0700)]
web: replace FILE links with /uri -based ones, to prevent an XSS attack against the secret vdrive URI contained in the current URL

17 years agoMANIFEST.in: include .html and .css files from allmydata/web/ too
Brian Warner [Wed, 22 Aug 2007 22:08:41 +0000 (15:08 -0700)]
MANIFEST.in: include .html and .css files from allmydata/web/ too

17 years agoweb: oops, forgot to add start.html
Brian Warner [Wed, 22 Aug 2007 22:08:00 +0000 (15:08 -0700)]
web: oops, forgot to add start.html

17 years agoweb: remove /vdrive/private, replace with a start.html file that points at the /uri...
Brian Warner [Wed, 22 Aug 2007 21:54:34 +0000 (14:54 -0700)]
web: remove /vdrive/private, replace with a start.html file that points at the /uri/PRIVATE_URI, to prevent XSRF attacks

17 years agorefactor reading of configuration files in client.py
Zooko O'Whielacronx [Wed, 22 Aug 2007 17:29:57 +0000 (10:29 -0700)]
refactor reading of configuration files in client.py
This makes it so that an optional file which is unreadable or is rm'ed
at the wrong moment will be ignored instead of raising an exception.
It also bums out a couple of unnecessary lines of code (the explicit
".close()" call).

17 years agoclient.py: add a newline to "myself.furl" contents
Brian Warner [Sat, 18 Aug 2007 06:28:22 +0000 (23:28 -0700)]
client.py: add a newline to "myself.furl" contents

17 years agocommand-line: fix ticket #111 by requiring input to be a local file and sending Conte...
Zooko O'Whielacronx [Fri, 17 Aug 2007 21:59:49 +0000 (14:59 -0700)]
command-line: fix ticket #111 by requiring input to be a local file and sending Content-Length header

17 years agocommand-line: fix a few bugs in the "execute this python file" way to execute rm
Zooko O'Whielacronx [Fri, 17 Aug 2007 21:17:31 +0000 (14:17 -0700)]
command-line: fix a few bugs in the "execute this python file" way to execute rm

17 years agorelnotes.txt a few tiny branding edits
Zooko O'Whielacronx [Fri, 17 Aug 2007 20:33:03 +0000 (13:33 -0700)]
relnotes.txt a few tiny branding edits
Uncertain about the branding, but what the heck.

17 years agotahoe_put-web2ish.py: clean up imports to be pyflakes-compliant, add newline to output
Brian Warner [Fri, 17 Aug 2007 00:47:52 +0000 (17:47 -0700)]
tahoe_put-web2ish.py: clean up imports to be pyflakes-compliant, add newline to output

17 years agocli.py: fix typo in synopsis
Brian Warner [Fri, 17 Aug 2007 00:47:24 +0000 (17:47 -0700)]
cli.py: fix typo in synopsis

17 years agotest_system: weaken the assertion about the 410 error message when downloading a...
Brian Warner [Fri, 17 Aug 2007 00:05:26 +0000 (17:05 -0700)]
test_system: weaken the assertion about the 410 error message when downloading a bogus URI, since some systems emit error messages differently

17 years agotest_system.py: verify that we can replace files in place
Brian Warner [Fri, 17 Aug 2007 00:03:50 +0000 (17:03 -0700)]
test_system.py: verify that we can replace files in place

17 years agodirnode: change the defined behavior of RIVirtualDriveServer.set to allow replace...
Brian Warner [Fri, 17 Aug 2007 00:03:19 +0000 (17:03 -0700)]
dirnode: change the defined behavior of RIVirtualDriveServer.set to allow replace-in-place without raising an exception

17 years agotest_system.py: many (failing) web tests were accidentally bypassed, fix those. Add...
Brian Warner [Thu, 16 Aug 2007 23:49:40 +0000 (16:49 -0700)]
test_system.py: many (failing) web tests were accidentally bypassed, fix those. Add some PUT tests.

17 years agoboringfile: generated file 'version.py' was changed to _version.py
Brian Warner [Thu, 16 Aug 2007 22:59:15 +0000 (15:59 -0700)]
boringfile: generated file 'version.py' was changed to _version.py