Brian Warner [Tue, 18 Sep 2007 01:24:48 +0000 (18:24 -0700)]
architecture.txt: update to include tahoe2, dirnodes, leases
Brian Warner [Tue, 18 Sep 2007 04:56:08 +0000 (21:56 -0700)]
test_runner.py: skip the start/stop test when sys.platform is win32/cygwin.
The previous twisted.python.runtime.platformType approach didn't catch cygwin
for some reason.
Brian Warner [Mon, 17 Sep 2007 09:25:31 +0000 (02:25 -0700)]
test_runner.py: add tests for startstop_node.py
Brian Warner [Mon, 17 Sep 2007 09:24:21 +0000 (02:24 -0700)]
startstop_node.py: use SIGINT instead of SIGTERM, to allow the node a chance to clean up
Brian Warner [Mon, 17 Sep 2007 08:53:46 +0000 (01:53 -0700)]
webish: improve test coverage
Brian Warner [Mon, 17 Sep 2007 08:44:39 +0000 (01:44 -0700)]
debug: remove the 'dump-share-leases' command, it is subsumed by 'dump-share'
Brian Warner [Mon, 17 Sep 2007 08:38:54 +0000 (01:38 -0700)]
provisioning.py: get full test coverage
Brian Warner [Mon, 17 Sep 2007 08:10:27 +0000 (01:10 -0700)]
Makefile: figleaf2el.py needs PYTHONPATH to get allmydata.util
Brian Warner [Mon, 17 Sep 2007 08:09:47 +0000 (01:09 -0700)]
uri.py: improve test coverage a bit
Brian Warner [Mon, 17 Sep 2007 07:48:40 +0000 (00:48 -0700)]
storage: fill alreadygot= with all known shares for the given storageindex, not just the ones they asked about
Brian Warner [Mon, 17 Sep 2007 10:43:22 +0000 (03:43 -0700)]
bin/allmydata-tahoe: fix handling of PYTHONPATH, we were missing an os.pathsep
which would cause a pre-existing PYTHONPATH to get mangled
Brian Warner [Mon, 17 Sep 2007 00:08:34 +0000 (17:08 -0700)]
upload: make peer-selection a bit more uniform. Closes #132.
Brian Warner [Sun, 16 Sep 2007 08:53:00 +0000 (01:53 -0700)]
peer-selection: if we must loop, send a minimal number of queries (by asking for more than one share per peer on the second pass)
Brian Warner [Sun, 16 Sep 2007 08:26:54 +0000 (01:26 -0700)]
boringfile: ignore .checked-deps
Brian Warner [Sun, 16 Sep 2007 08:26:11 +0000 (01:26 -0700)]
upload: remove Tahoe3 peer-selection algorithm
Brian Warner [Sun, 16 Sep 2007 08:25:03 +0000 (01:25 -0700)]
upload: switch to Tahoe2, add test for uniform share allocation
Brian Warner [Sun, 16 Sep 2007 08:24:07 +0000 (01:24 -0700)]
upload.py: implement Tahoe2 peer-selection algorithm
Brian Warner [Sat, 15 Sep 2007 22:21:57 +0000 (15:21 -0700)]
vdrive.py: oops, forgot an import
Brian Warner [Sat, 15 Sep 2007 22:17:55 +0000 (15:17 -0700)]
Makefile: don't re-check dependencies on each test run, and fix clean target
Brian Warner [Sat, 15 Sep 2007 22:17:29 +0000 (15:17 -0700)]
vdrive: log an error if we weren't able to use the vdrive the way we wanted to
Brian Warner [Sat, 15 Sep 2007 22:07:21 +0000 (15:07 -0700)]
hush some pyflakes warnings
Brian Warner [Sat, 15 Sep 2007 22:05:35 +0000 (15:05 -0700)]
setup.py: factor out dependency stuff, add workaround for nevow-0.6.0-on-dapper problem
Brian Warner [Sat, 15 Sep 2007 21:34:04 +0000 (14:34 -0700)]
storage: remove the leftover incoming/XYZ/ directory when we're done with it
Brian Warner [Sat, 15 Sep 2007 21:19:45 +0000 (14:19 -0700)]
README: nevow is now automatically handled by build-deps/install
Brian Warner [Sat, 15 Sep 2007 21:18:36 +0000 (14:18 -0700)]
include the Nevow-0.9.18 tarball in our distribution
Brian Warner [Sat, 15 Sep 2007 21:18:07 +0000 (14:18 -0700)]
setup.py: add Nevow to our dependency list
Brian Warner [Sat, 15 Sep 2007 21:05:32 +0000 (14:05 -0700)]
setup.py: minor reformatting, use explicit file: URLs in dependency-links
Brian Warner [Sat, 15 Sep 2007 21:04:57 +0000 (14:04 -0700)]
build-deps-setup.py: provide dependency_links too
Brian Warner [Sat, 15 Sep 2007 20:55:59 +0000 (13:55 -0700)]
Makefile: clean: remove _trial_temp/ and _test_memory/ too
Brian Warner [Sat, 15 Sep 2007 20:53:36 +0000 (13:53 -0700)]
Makefile: check_memory.py now manages the combined stats.out itself
Brian Warner [Sun, 16 Sep 2007 03:53:06 +0000 (20:53 -0700)]
check_memory.py: preserve client.log and stats.out in _test_memory/
Put the nodes in _test_memory/test/, which is clobbered on each test. Also
kill the client with SIGINT instead of SIGKILL. Also don't daemonize the
client, since we're going to kill it at the end of the test anyways: this
cleans up shutdown a bit.
Brian Warner [Sat, 15 Sep 2007 19:49:07 +0000 (12:49 -0700)]
webish: upload: when the localdir= doesn't exist, say so in the HTTP response
Brian Warner [Sat, 15 Sep 2007 19:34:05 +0000 (12:34 -0700)]
check_memory.py: have all clients write their logs to _test_memory/client.log instead of a separate file per client
Brian Warner [Sat, 15 Sep 2007 19:32:11 +0000 (12:32 -0700)]
Makefile: insert a linebreak after use of PP, since it is long and obscures the real command
Brian Warner [Sat, 15 Sep 2007 18:47:29 +0000 (11:47 -0700)]
check_memory: oops, only bail if the process ended abnormally
Brian Warner [Sat, 15 Sep 2007 03:17:43 +0000 (20:17 -0700)]
Makefile: use absolute path to src/ in PP, since check-memory needs it (it chdirs then imports allmydata)
Brian Warner [Sat, 15 Sep 2007 03:16:57 +0000 (20:16 -0700)]
check-memory: if the child process fails to start, shut down instead of hanging forever
Brian Warner [Sat, 15 Sep 2007 09:31:40 +0000 (02:31 -0700)]
build-deps-setup.py: use ez_setup here too, for platforms without setuptools
Brian Warner [Sat, 15 Sep 2007 02:24:28 +0000 (19:24 -0700)]
bin/allmydata-tahoe: update to new src/ + support/ directories, remove instdir/bin check
Brian Warner [Sat, 15 Sep 2007 02:23:55 +0000 (19:23 -0700)]
Makefile build-deps: use a fake package named 'tahoe-deps', to avoid a double-build of tahoe
Brian Warner [Fri, 14 Sep 2007 10:33:44 +0000 (03:33 -0700)]
Makefile: use --reactor=poll on cygwin, since select() is insufficient
Brian Warner [Fri, 14 Sep 2007 10:28:56 +0000 (03:28 -0700)]
Makefile: improve 'clean' behavior: rm ez_setup leftovers, ignore _version.py
in the test-clean target
Brian Warner [Fri, 14 Sep 2007 10:26:19 +0000 (03:26 -0700)]
boringfile: ignore the setuptools .egg that ez_setup.py sometimes makes
during build
Brian Warner [Fri, 14 Sep 2007 10:24:15 +0000 (03:24 -0700)]
setup.py: require simplejson>=1.4, since we use the indent= argument
Brian Warner [Fri, 14 Sep 2007 03:17:42 +0000 (20:17 -0700)]
test_client.py: remove unused 'stat' import
Brian Warner [Fri, 14 Sep 2007 03:14:08 +0000 (20:14 -0700)]
remove simplejson tarball from our dependencies/ directory
Zooko O'Whielacronx [Fri, 14 Sep 2007 03:14:51 +0000 (20:14 -0700)]
ez_setup.py: put back the warning about downloading, but only if the URL that you are using is not "file:"
Zooko O'Whielacronx [Fri, 14 Sep 2007 02:17:30 +0000 (19:17 -0700)]
README: it works on Python 2.4 on Windows
Zooko O'Whielacronx [Fri, 14 Sep 2007 02:14:46 +0000 (19:14 -0700)]
don't try to use bindann
It causes a mysterious misbehavior in Python import which causes the previous patch to fail (the patch to not run trial tests if dependencies can't be imported)
Zooko O'Whielacronx [Fri, 14 Sep 2007 02:12:55 +0000 (19:12 -0700)]
Makefile: don't attempt to run trial tests if the dependencies can't be imported
Zooko O'Whielacronx [Fri, 14 Sep 2007 03:12:26 +0000 (20:12 -0700)]
remove test in test_client -- we can't easily assert that files aren't readable by others, on Windows
Zooko O'Whielacronx [Fri, 14 Sep 2007 03:00:27 +0000 (20:00 -0700)]
ez_setup.py: don't warn about the need to download packages (because we actually bundle them all with Tahoe)
Zooko O'Whielacronx [Fri, 14 Sep 2007 02:43:15 +0000 (19:43 -0700)]
Makefile: prepend src/ to the PYTHONPATH
Zooko O'Whielacronx [Fri, 14 Sep 2007 01:20:35 +0000 (18:20 -0700)]
re-port Makefile to Windows and remove a bunch of no-longer-needed hacks
Zooko O'Whielacronx [Fri, 14 Sep 2007 01:20:00 +0000 (18:20 -0700)]
Makefile: add suggestion about how to use the distutils config file to select mingw32 compiler
Zooko O'Whielacronx [Thu, 13 Sep 2007 23:42:38 +0000 (16:42 -0700)]
add simplejson into misc/dependencies
Zooko O'Whielacronx [Thu, 13 Sep 2007 22:37:55 +0000 (15:37 -0700)]
set the zip_safe flag to False
This means that by default the allmydata-tahoe egg will be a directory with a tree of files instead of a zip file containing files. I prefer the former because it makes it easier for people to hack into it.
Unfortunately the files therein are still going to be .pyc's instead of .py's, if I understand correctly. I would prefer for them to be .py's. See also discussion on the distutils-sig mailing list:
http://mail.python.org/pipermail/distutils-sig/2007-July/007827.html
Zooko O'Whielacronx [Thu, 13 Sep 2007 22:37:34 +0000 (15:37 -0700)]
fix Makefile not to assume that ":" is the PYTHONPATH separator
(It is ";" on Windows.)
Zooko O'Whielacronx [Thu, 13 Sep 2007 22:37:27 +0000 (15:37 -0700)]
change setup.py to find dependency tarballs in misc/dependencies
Zooko O'Whielacronx [Thu, 13 Sep 2007 21:51:19 +0000 (14:51 -0700)]
change ez_setup.py to find tarballs in misc/dependencies
Zooko O'Whielacronx [Thu, 13 Sep 2007 21:51:04 +0000 (14:51 -0700)]
add zfec tarball 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
Zooko O'Whielacronx [Thu, 13 Sep 2007 21:50:23 +0000 (14:50 -0700)]
add foolscap tarball to misc/dependencies
Zooko O'Whielacronx [Thu, 13 Sep 2007 21:50:10 +0000 (14:50 -0700)]
insert misc/dependencies
Zooko O'Whielacronx [Thu, 13 Sep 2007 01:57:10 +0000 (18:57 -0700)]
use ez_setup.py to bootstrap setuptools
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
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
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.
Brian Warner [Wed, 12 Sep 2007 23:02:53 +0000 (16:02 -0700)]
packaging: move to setuptools
Brian Warner [Wed, 12 Sep 2007 23:02:23 +0000 (16:02 -0700)]
setup.py: fix move to _version.py
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
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
Brian Warner [Sat, 18 Aug 2007 06:50:37 +0000 (23:50 -0700)]
Makefile: oops, fix clean-simplejson target. Might fix #10.
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
Brian Warner [Sat, 18 Aug 2007 06:38:00 +0000 (23:38 -0700)]
Makefile: improve 'clean' behavior by removing foolscap .pycs and _version.py
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
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
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
Brian Warner [Tue, 11 Sep 2007 21:53:31 +0000 (14:53 -0700)]
storage: always record lease expiration times as integers
nejucomo [Fri, 7 Sep 2007 23:15:41 +0000 (16:15 -0700)]
Add some passing unit tests for testutil.PollMixin.
Brian Warner [Mon, 10 Sep 2007 22:46:45 +0000 (15:46 -0700)]
provisioning: include the cost of replacing failed hard drives
Brian Warner [Mon, 10 Sep 2007 22:29:33 +0000 (15:29 -0700)]
provisioning: add cost information
Zooko O'Whielacronx [Tue, 11 Sep 2007 18:29:18 +0000 (11:29 -0700)]
loosen constraint on share data size
Brian Warner [Fri, 7 Sep 2007 22:01:17 +0000 (15:01 -0700)]
provisioning: oops, fix test_provisioning too
Brian Warner [Fri, 7 Sep 2007 21:45:43 +0000 (14:45 -0700)]
provisioning.py: update test with new encoding-parameters format
Brian Warner [Fri, 7 Sep 2007 06:08:21 +0000 (23:08 -0700)]
provisioning: require at least one drive per server
Brian Warner [Fri, 7 Sep 2007 06:01:07 +0000 (23:01 -0700)]
provisioning: explain the 'survival' number better
Brian Warner [Fri, 7 Sep 2007 05:54:53 +0000 (22:54 -0700)]
provisioning: more repair/survivability data
Brian Warner [Fri, 7 Sep 2007 01:47:41 +0000 (18:47 -0700)]
provisioning: add some drive failure and repair rate info
Brian Warner [Thu, 6 Sep 2007 01:16:21 +0000 (18:16 -0700)]
provisioning.py: add file/server availability numbers
Brian Warner [Thu, 6 Sep 2007 00:23:06 +0000 (17:23 -0700)]
webish: implement 'PUT /uri?t=mkdir' (to create anonymous dirnodes)
Brian Warner [Thu, 6 Sep 2007 00:12:27 +0000 (17:12 -0700)]
webish: implement 'PUT /uri' (to create anonymous files)
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
Brian Warner [Tue, 4 Sep 2007 16:00:24 +0000 (09:00 -0700)]
storage: add version number to share data. Closes #90.
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
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
Brian Warner [Sun, 2 Sep 2007 22:00:29 +0000 (15:00 -0700)]
storage: remove unused delete_bucket() method, lease-cancellation covers it
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
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.
Brian Warner [Sun, 2 Sep 2007 21:47:15 +0000 (14:47 -0700)]
storage: replace sqlite with in-share lease records