Brian Warner [Sat, 17 Oct 2009 18:00:05 +0000 (11:00 -0700)]
move dirnode.CachingDict to dictutil.AuxValueDict, generalize method names,
improve tests. Let dirnode _pack_children accept either dict or AuxValueDict.
Brian Warner [Tue, 13 Oct 2009 05:21:54 +0000 (22:21 -0700)]
test/common.py: update FakeMutableFileNode to new contents= callable scheme
Brian Warner [Tue, 13 Oct 2009 03:19:22 +0000 (20:19 -0700)]
The initial_children= argument to nodemaker.create_new_mutable_directory is
now enabled.
Brian Warner [Tue, 13 Oct 2009 03:12:32 +0000 (20:12 -0700)]
client.create_mutable_file(contents=) now accepts a callable, which is
invoked with the new MutableFileNode and is supposed to return the initial
contents. This can be used by e.g. a new dirnode which needs the filenode's
writekey to encrypt its initial children.
create_mutable_file() still accepts a bytestring too, or None for an empty
file.
Brian Warner [Tue, 13 Oct 2009 02:34:44 +0000 (19:34 -0700)]
webapi: t=mkdir now accepts initial children, using the same JSON that t=json
emits.
client.create_dirnode(initial_children=) now works.
Brian Warner [Tue, 13 Oct 2009 02:15:20 +0000 (19:15 -0700)]
replace dirnode.create_empty_directory() with create_subdirectory(), which
takes an initial_children= argument
Brian Warner [Tue, 13 Oct 2009 01:50:26 +0000 (18:50 -0700)]
dirnode.set_children: change return value: fire with self instead of None
Brian Warner [Tue, 13 Oct 2009 01:45:46 +0000 (18:45 -0700)]
dirnode.set_nodes: change return value: fire with self instead of None
Brian Warner [Tue, 13 Oct 2009 00:24:40 +0000 (17:24 -0700)]
dirnode.set_children: take a dict, not a list
Brian Warner [Mon, 12 Oct 2009 23:51:26 +0000 (16:51 -0700)]
dirnode.set_uri/set_children: change signature to take writecap+readcap
instead of a single cap. The webapi t=set_children call benefits too.
Brian Warner [Mon, 12 Oct 2009 22:45:06 +0000 (15:45 -0700)]
replace Client.create_empty_dirnode() with create_dirnode(), in anticipation
of adding initial_children= argument.
Includes stubbed-out initial_children= support.
Brian Warner [Mon, 12 Oct 2009 22:28:08 +0000 (15:28 -0700)]
test_web.py: use a less-fake client, making test harness smaller
Brian Warner [Fri, 9 Oct 2009 20:04:46 +0000 (13:04 -0700)]
webapi.txt: document t=set_children, other small edits
Brian Warner [Mon, 5 Oct 2009 22:18:49 +0000 (15:18 -0700)]
Verifier: check the full cryptext-hash tree on each share. Removed .todos
from the last few test_repairer tests that were waiting on this.
Brian Warner [Mon, 5 Oct 2009 21:48:44 +0000 (14:48 -0700)]
Verifier: check the full block-hash-tree on each share
Removed the .todo from two test_repairer tests that check this. The only
remaining .todos are on the three crypttext-hash-tree tests.
Brian Warner [Mon, 5 Oct 2009 21:34:43 +0000 (14:34 -0700)]
Verifier: check the full share-hash chain on each share
Removed the .todo from two test_repairer tests that check this.
Brian Warner [Mon, 5 Oct 2009 20:11:15 +0000 (13:11 -0700)]
test_repairer: rename Verifier test cases to be more precise and less verbose
Brian Warner [Mon, 5 Oct 2009 20:02:52 +0000 (13:02 -0700)]
immutable/checker.py: rearrange code a little bit, make it easier to follow
Brian Warner [Mon, 5 Oct 2009 20:01:43 +0000 (13:01 -0700)]
test/common.py: wrap docstrings to 80cols so I can read them more easily
Brian Warner [Mon, 5 Oct 2009 19:25:42 +0000 (12:25 -0700)]
immutable/download.py: wrap to 80cols, no functional changes
Brian Warner [Mon, 5 Oct 2009 01:08:03 +0000 (18:08 -0700)]
CHK-hashes.svg: cross out plaintext hashes, since we don't include
them (until we finish #453)
Zooko O'Whielacronx [Sun, 27 Sep 2009 03:32:26 +0000 (20:32 -0700)]
docs: a few licensing clarifications requested by Ubuntu
Zooko O'Whielacronx [Thu, 24 Sep 2009 21:14:36 +0000 (14:14 -0700)]
setup: remove binary WinFUSE modules
I would prefer to have just source code, or indications of what 3rd-party packages are required, under revision control, and have the build process generate o
r acquire the binaries as needed. Also, having these in our release tarballs is interfering with getting Tahoe-LAFS uploaded into Ubuntu Karmic. (Technicall
y, they would accept binary modules as long as they came with the accompanying source so that they could satisfy their obligations under GPL2+ and TGPPL1+, bu
t it is easier for now to remove the binaries from the source tree.)
In this case, the binaries are from the tahoe-w32-client project: http://allmydata.org/trac/tahoe-w32-client , from which you can also get the source.
Zooko O'Whielacronx [Thu, 24 Sep 2009 21:11:30 +0000 (14:11 -0700)]
setup: remove binary _fusemodule.so 's
I would prefer to have just source code, or indications of what 3rd-party packages are required, under revision control, and have the build process generate or acquire the binaries as needed. Also, having these in our release tarballs is interfering with getting Tahoe-LAFS uploaded into Ubuntu Karmic. (Technically, they would accept binary modules as long as they came with the accompanying source so that they could satisfy their obligations under GPL2+ and TGPPL1+, but it is easier for now to remove the binaries from the source tree.)
In this case, these modules come from the MacFUSE project: http://code.google.com/p/macfuse/
Zooko O'Whielacronx [Thu, 24 Sep 2009 05:42:18 +0000 (22:42 -0700)]
doc: add a copy of LGPL2 for documentation purposes for ubuntu
Zooko O'Whielacronx [Thu, 24 Sep 2009 05:32:15 +0000 (22:32 -0700)]
setup: remove a convenience copy of figleaf, to ease inclusion into Ubuntu Karmic Koala
We need to carefully document the licence of figleaf in order to get Tahoe-LAFS into Ubuntu Karmic Koala. However, figleaf isn't really a part of Tahoe-LAFS per se -- this is just a "convenience copy" of a development tool. The quickest way to make Tahoe-LAFS acceptable for Karmic then, is to remove figleaf from the Tahoe-LAFS tarball itself. People who want to run figleaf on Tahoe-LAFS (as everyone should want) can install figleaf themselves. I haven't tested this -- there may be incompatibilities between upstream figleaf and the copy that we had here...
Zooko O'Whielacronx [Wed, 19 Aug 2009 13:56:26 +0000 (06:56 -0700)]
setup: shebang for misc/build-deb.py to fail quickly
Without this patch, when I ran "chmod +x ./misc/build-deb.py && ./misc/build-deb.py" then it hung indefinitely. (I wonder what it was doing.)
Zooko O'Whielacronx [Mon, 21 Sep 2009 16:46:51 +0000 (09:46 -0700)]
docs: Shawn Willden grants permission for his contributions under GPL2+|TGPPL1+
Zooko O'Whielacronx [Mon, 21 Sep 2009 15:46:59 +0000 (08:46 -0700)]
docs: Csaba Henk granted permission to license fuse.py under the same terms as Tahoe-LAFS itself
Zooko O'Whielacronx [Sun, 20 Sep 2009 18:03:43 +0000 (11:03 -0700)]
setup: mark setup.py as having utf-8 encoding in it
Zooko O'Whielacronx [Sun, 20 Sep 2009 17:16:31 +0000 (10:16 -0700)]
doc: licensing cleanups
Use nice utf-8 © instead of "(c)". Remove licensing statements on utility modules that have been assigned to allmydata.com by their original authors. (Nattraverso was not assigned to allmydata.com -- it was LGPL'ed -- but I checked and src/allmydata/util/iputil.py was completely rewritten and doesn't contain any line of code from nattraverso.) Add notes to misc/debian/copyright about licensing on files that aren't just allmydata.com-licensed.
Brian Warner [Fri, 18 Sep 2009 03:36:20 +0000 (20:36 -0700)]
build-deb.py: run darcsver early, otherwise we get the wrong version later on
Brian Warner [Tue, 18 Aug 2009 19:05:27 +0000 (12:05 -0700)]
new approach for debian packaging, sharing pieces across distributions. Still experimental, still only works for sid.
Brian Warner [Tue, 18 Aug 2009 01:40:52 +0000 (18:40 -0700)]
new experimental deb-packaging rules. Only works for sid so far.
Brian Warner [Tue, 18 Aug 2009 01:00:57 +0000 (18:00 -0700)]
setup.py: read _version.py and pass to setup(version=), so more commands work
like "setup.py --version" and "setup.py --fullname"
Brian Warner [Tue, 18 Aug 2009 00:59:48 +0000 (17:59 -0700)]
test/check_speed.py: fix shbang line
Zooko O'Whielacronx [Sun, 16 Aug 2009 23:34:32 +0000 (16:34 -0700)]
setup: remove bundled version of darcsver-1.2.1
That version of darcsver emits a scary error message when the darcs executable or the _darcs subdirectory is not found.
This error is hidden (unless the --loud option is passed) in darcsver >= 1.3.1.
Fixes #788.
Brian Warner [Sat, 15 Aug 2009 20:17:37 +0000 (13:17 -0700)]
de-Service-ify Helper, pass in storage_broker and secret_holder directly.
This makes it more obvious that the Helper currently generates leases with
the Helper's own secrets, rather than getting values from the client, which
is arguably a bug that will likely be resolved with the Accounting project.
Brian Warner [Sat, 15 Aug 2009 19:25:43 +0000 (12:25 -0700)]
immutable.Downloader: pass StorageBroker to constructor, stop being a Service
child of the client, access with client.downloader instead of
client.getServiceNamed("downloader"). The single "Downloader" instance is
scheduled for demolition anyways, to be replaced by individual
filenode.download calls.
Zooko O'Whielacronx [Sat, 15 Aug 2009 16:05:12 +0000 (09:05 -0700)]
tests: double the timeout on test_runner.RunNode.test_introducer since feisty hit a timeout
I'm not sure if this is an actual timing issue (feisty is running on an overloaded VM if I recall correctly), or it there is a deeper bug.
Brian Warner [Sat, 15 Aug 2009 11:44:15 +0000 (04:44 -0700)]
stop making History be a Service, it wasn't necessary
Brian Warner [Sat, 15 Aug 2009 11:02:56 +0000 (04:02 -0700)]
Overhaul IFilesystemNode handling, to simplify tests and use POLA internally.
* stop using IURI as an adapter
* pass cap strings around instead of URI instances
* move filenode/dirnode creation duties from Client to new NodeMaker class
* move other Client duties to KeyGenerator, SecretHolder, History classes
* stop passing Client reference to dirnode/filenode constructors
- pass less-powerful references instead, like StorageBroker or Uploader
* always create DirectoryNodes by wrapping a filenode (mutable for now)
* remove some specialized mock classes from unit tests
Detailed list of changes (done one at a time, then merged together)
always pass a string to create_node_from_uri(), not an IURI instance
always pass a string to IFilesystemNode constructors, not an IURI instance
stop using IURI() as an adapter, switch on cap prefix in create_node_from_uri()
client.py: move SecretHolder code out to a separate class
test_web.py: hush pyflakes
client.py: move NodeMaker functionality out into a separate object
LiteralFileNode: stop storing a Client reference
immutable Checker: remove Client reference, it only needs a SecretHolder
immutable Upload: remove Client reference, leave SecretHolder and StorageBroker
immutable Repairer: replace Client reference with StorageBroker and SecretHolder
immutable FileNode: remove Client reference
mutable.Publish: stop passing Client
mutable.ServermapUpdater: get StorageBroker in constructor, not by peeking into Client reference
MutableChecker: reference StorageBroker and History directly, not through Client
mutable.FileNode: removed unused indirection to checker classes
mutable.FileNode: remove Client reference
client.py: move RSA key generation into a separate class, so it can be passed to the nodemaker
move create_mutable_file() into NodeMaker
test_dirnode.py: stop using FakeClient mockups, use NoNetworkGrid instead. This simplifies the code, but takes longer to run (17s instead of 6s). This should come down later when other cleanups make it possible to use simpler (non-RSA) fake mutable files for dirnode tests.
test_mutable.py: clean up basedir names
client.py: move create_empty_dirnode() into NodeMaker
dirnode.py: get rid of DirectoryNode.create
remove DirectoryNode.init_from_uri, refactor NodeMaker for customization, simplify test_web's mock Client to match
stop passing Client to DirectoryNode, make DirectoryNode.create_with_mutablefile the normal DirectoryNode constructor, start removing client from NodeMaker
remove Client from NodeMaker
move helper status into History, pass History to web.Status instead of Client
test_mutable.py: fix minor typo
Zooko O'Whielacronx [Sun, 9 Aug 2009 20:14:16 +0000 (13:14 -0700)]
docs: edits for docs/running.html from Sam Mason
Zooko O'Whielacronx [Tue, 4 Aug 2009 12:38:40 +0000 (05:38 -0700)]
docs: install.html: instruct Debian users to use this document and not to go find the DownloadDebianPackages page, ignore the warning at the top of it, and try it
http://allmydata.org/pipermail/tahoe-dev/2009-August/002507.html
Zooko O'Whielacronx [Sun, 2 Aug 2009 13:50:16 +0000 (06:50 -0700)]
docs: relnotes.txt: reflow to 63 chars wide because google groups and some web forms seem to wrap to that
Zooko O'Whielacronx [Sun, 2 Aug 2009 05:05:33 +0000 (22:05 -0700)]
docs: about.html: fix English usage noticed by Amber
Zooko O'Whielacronx [Sun, 2 Aug 2009 05:03:20 +0000 (22:03 -0700)]
docs: fix mis-spelled word in about.html
Zooko O'Whielacronx [Sun, 2 Aug 2009 03:13:03 +0000 (20:13 -0700)]
TAG allmydata-tahoe-1.5.0
Zooko O'Whielacronx [Sun, 2 Aug 2009 03:05:23 +0000 (20:05 -0700)]
docs: update install.html to point to 1.5.0 and edit the instructions (broadening the recommendation on Python versions to bless >= v2.4.2 <= v2.6.x)
Zooko O'Whielacronx [Sun, 2 Aug 2009 03:10:03 +0000 (20:10 -0700)]
docs: relnotes.txt: fix edits noticed by Amber
Zooko O'Whielacronx [Sun, 2 Aug 2009 02:57:10 +0000 (19:57 -0700)]
docs: update relnotes.txt, relnotes-short.txt, and others documentation bits for v1.5.0 release!
Zooko O'Whielacronx [Sun, 2 Aug 2009 02:55:50 +0000 (19:55 -0700)]
docs: CREDITS: boost Shawn Willden's CREDITS
(The better of a Tahoe-LAFS hacker you are, the shorter and more general your D: line.)
Zooko O'Whielacronx [Sun, 2 Aug 2009 02:27:33 +0000 (19:27 -0700)]
docs: about.html: edit (hopefully improve) the "What Makes Tahoe-LAFS Different" copy
Zooko O'Whielacronx [Sun, 2 Aug 2009 02:26:01 +0000 (19:26 -0700)]
docs: add a couple of details to NEWS, change date and a bit of formatting, name of 'Tahoe-LAFS' project
Brian Warner [Fri, 31 Jul 2009 18:32:26 +0000 (11:32 -0700)]
ftpd: update docs, point to Twisted ticket for the proposed patch
Brian Warner [Thu, 30 Jul 2009 17:16:15 +0000 (10:16 -0700)]
test_runner.py: tolerate symlinks in the source tree directory's ancestor path
Shawn Willden [Tue, 28 Jul 2009 22:44:30 +0000 (15:44 -0700)]
Lossmodel updates
Various improvements to the lossmodel, plus addition of README.lossmodel
that provides a link to the PDF.
Zooko O'Whielacronx [Mon, 27 Jul 2009 19:30:08 +0000 (12:30 -0700)]
setup: tidy up formatting and comments in _auto_deps.py
Zooko O'Whielacronx [Sun, 26 Jul 2009 14:24:36 +0000 (07:24 -0700)]
docs: remove extra <h1> from install.html (thanks, David-Sarah Hopwood)
Zooko O'Whielacronx [Sun, 26 Jul 2009 13:34:52 +0000 (06:34 -0700)]
docs: mention pywin32 earlier
Zooko O'Whielacronx [Thu, 23 Jul 2009 15:04:07 +0000 (08:04 -0700)]
setup: mark stdeb as setup_requires if "sdist_dsc" is in sys.argv
Zooko O'Whielacronx [Wed, 22 Jul 2009 03:17:50 +0000 (20:17 -0700)]
docs: introducing "provider-independent security"; Nathan Wilcox gave me good advice on how to be more specific in terminology when making security claims so as not fit in with the background noise of overblown and indefensible claims that is always buzzing in the security world
Brian Warner [Wed, 22 Jul 2009 02:45:22 +0000 (22:45 -0400)]
NEWS: more minor edits
Zooko O'Whielacronx [Wed, 22 Jul 2009 02:24:30 +0000 (19:24 -0700)]
docs: edit about.html, add P.S. about expansion of LAFS, add Andrew Orlowski to media list
Zooko O'Whielacronx [Tue, 21 Jul 2009 23:43:11 +0000 (16:43 -0700)]
docs: update NEWS, about.html, relnotes-short.txt, and known_issues.txt in preparation for v1.5.0
Especially note that strong claims of specialness that I've added, e.g. in about.html .
Brian Warner [Tue, 21 Jul 2009 03:50:25 +0000 (23:50 -0400)]
debian/control: update binary package deps to pycryptopp-0.5.15
Zooko O'Whielacronx [Tue, 21 Jul 2009 01:41:12 +0000 (18:41 -0700)]
docs: a couple of minor edits to NEWS and docs/architecture.txt
Brian Warner [Mon, 20 Jul 2009 15:38:03 +0000 (11:38 -0400)]
Touch up #705 changes:
webapi.txt: clarify replace=only-files argument, mention replace= on POST t=uri
test_cli.py: insert whitespace between logical operations
web.common.parse_replace_arg: make it case-insensitive, to match the docs
Zooko O'Whielacronx [Mon, 20 Jul 2009 13:13:54 +0000 (06:13 -0700)]
CREDITS: format to <= 79 columns, add Marc Tooley, update Kevan Carstensen
Zooko O'Whielacronx [Mon, 20 Jul 2009 13:13:14 +0000 (06:13 -0700)]
iputil: added "openbsd3" => "bsd" and "openbsd4" => "bsd" per tdelaet's report; should fix ticket #768
kevan [Mon, 20 Jul 2009 03:46:09 +0000 (20:46 -0700)]
Add tests for tahoe mv behavior
kevan [Mon, 20 Jul 2009 03:45:53 +0000 (20:45 -0700)]
Add tests for tahoe mv help text
kevan [Mon, 20 Jul 2009 03:45:23 +0000 (20:45 -0700)]
Implement more clearly defined moving semantics in tahoe_mv.py
kevan [Mon, 20 Jul 2009 03:45:03 +0000 (20:45 -0700)]
Update tahoe mv help text.
kevan [Mon, 20 Jul 2009 03:47:05 +0000 (20:47 -0700)]
Add tests for parse_replace_arg()
kevan [Mon, 20 Jul 2009 03:46:32 +0000 (20:46 -0700)]
Add tests for new PUT behavior
kevan [Mon, 20 Jul 2009 03:43:18 +0000 (20:43 -0700)]
Alter Adder + Adder tests to look for 'only-files' instead of 'only_files'
kevan [Mon, 20 Jul 2009 03:48:31 +0000 (20:48 -0700)]
Alter filenode.py to use parse_replace_arg
kevan [Mon, 20 Jul 2009 03:47:46 +0000 (20:47 -0700)]
Alter directory.py to use parse_replace_arg()
kevan [Mon, 20 Jul 2009 03:47:23 +0000 (20:47 -0700)]
Add a function to parse arguments for the replace parameter
kevan [Mon, 20 Jul 2009 03:44:47 +0000 (20:44 -0700)]
Update webapi docs to reference new PUT behavior.
Zooko O'Whielacronx [Mon, 20 Jul 2009 13:08:43 +0000 (06:08 -0700)]
trivial: remove obsolete comment text
Brian Warner [Mon, 20 Jul 2009 01:04:56 +0000 (18:04 -0700)]
docs/backupdb.txt: small fixes, thanks to David Triendl
Zooko O'Whielacronx [Mon, 20 Jul 2009 00:21:14 +0000 (17:21 -0700)]
directories: minor change: fix warning message from the benchmarking script
kevan [Sat, 18 Jul 2009 19:50:49 +0000 (12:50 -0700)]
Add unit tests for the Adder in dirnode.py
kevan [Sat, 18 Jul 2009 03:00:10 +0000 (20:00 -0700)]
Add 'only_files' option to the overwrite field in Adder
Brian Warner [Fri, 17 Jul 2009 01:01:03 +0000 (20:01 -0500)]
rename NewDirectoryNode to DirectoryNode, NewDirectoryURI to DirectoryURI
Brian Warner [Fri, 17 Jul 2009 00:56:07 +0000 (19:56 -0500)]
interfaces: remove dead code, FileNode_ and EncryptedThing constraints
Zooko O'Whielacronx [Fri, 17 Jul 2009 13:52:21 +0000 (06:52 -0700)]
introduction/storage-broker: add assertions of serverids being the right type and of internal consistency between the number of storage servers known and the number of storage servers
Brian Warner [Thu, 16 Jul 2009 23:01:20 +0000 (18:01 -0500)]
upload: fix #758 recursion-loop in peer-selection when servers report errors.
The bug was in the code that handles a third-or-later pass, and was
previously untested.
Zooko O'Whielacronx [Thu, 16 Jul 2009 16:06:57 +0000 (09:06 -0700)]
setup: clarify the way that we host two directories of dependencies: one is source distributions and the other is binary distributions
Brian Warner [Wed, 15 Jul 2009 07:51:09 +0000 (00:51 -0700)]
'tahoe stats': tolerate empty directories. Closes #693.
Brian Warner [Wed, 15 Jul 2009 07:29:29 +0000 (00:29 -0700)]
node.py: record pid in twisted log at startup. Closes #476.
Brian Warner [Wed, 15 Jul 2009 06:45:10 +0000 (23:45 -0700)]
Allow tests to pass with -OO by turning some AssertionErrors (the ones that
we actually exercise during tests) into more specific exceptions, so they
don't get optimized away. The best rule to follow is probably this: if an
exception is worth testing, then it's part of the API, and AssertionError
should never be part of the API. Closes #749.
Zooko O'Whielacronx [Wed, 15 Jul 2009 02:52:46 +0000 (19:52 -0700)]
setup: tell build to search a directory (hosted on allmydata.org) which contains eggs
Zooko O'Whielacronx [Wed, 15 Jul 2009 03:34:29 +0000 (20:34 -0700)]
wui: fix test for welcome page
Zooko O'Whielacronx [Wed, 15 Jul 2009 02:58:14 +0000 (19:58 -0700)]
wui: adjust headers/titles and "Attach something to this directory" text in accordance with #691
Also name it as "TahoeLAFS" in this text.
Zooko O'Whielacronx [Wed, 15 Jul 2009 01:43:38 +0000 (18:43 -0700)]
mac: emit the stdout and stderr from a failed call to Allmydata (this is very useful diagnostic info)
Zooko O'Whielacronx [Tue, 14 Jul 2009 12:26:55 +0000 (05:26 -0700)]
mac: improve shutdown and clean-up after the test of the macintosh packaging
Zooko O'Whielacronx [Sun, 12 Jul 2009 23:09:40 +0000 (16:09 -0700)]
setup: add "test_mac_diskimage" command which attempts to mount and use a .dmg to make sure it has a good Tahoe distribution in it