]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
14 years agoTAG allmydata-tahoe-1.5.0 allmydata-tahoe-1.5.0
Zooko O'Whielacronx [Sun, 2 Aug 2009 03:13:03 +0000 (20:13 -0700)]
TAG allmydata-tahoe-1.5.0

14 years agodocs: update install.html to point to 1.5.0 and edit the instructions (broadening...
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)

14 years agodocs: relnotes.txt: fix edits noticed by Amber
Zooko O'Whielacronx [Sun, 2 Aug 2009 03:10:03 +0000 (20:10 -0700)]
docs: relnotes.txt: fix edits noticed by Amber

14 years agodocs: update relnotes.txt, relnotes-short.txt, and others documentation bits for...
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!

14 years agodocs: CREDITS: boost Shawn Willden's CREDITS
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.)

14 years agodocs: about.html: edit (hopefully improve) the "What Makes Tahoe-LAFS Different"...
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

14 years agodocs: add a couple of details to NEWS, change date and a bit of formatting, name...
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

14 years agoftpd: update docs, point to Twisted ticket for the proposed patch
Brian Warner [Fri, 31 Jul 2009 18:32:26 +0000 (11:32 -0700)]
ftpd: update docs, point to Twisted ticket for the proposed patch

14 years agotest_runner.py: tolerate symlinks in the source tree directory's ancestor path
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

14 years agoLossmodel updates
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.

14 years agosetup: tidy up formatting and comments in _auto_deps.py
Zooko O'Whielacronx [Mon, 27 Jul 2009 19:30:08 +0000 (12:30 -0700)]
setup: tidy up formatting and comments in _auto_deps.py

14 years agodocs: remove extra <h1> from install.html (thanks, David-Sarah Hopwood)
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)

14 years agodocs: mention pywin32 earlier
Zooko O'Whielacronx [Sun, 26 Jul 2009 13:34:52 +0000 (06:34 -0700)]
docs: mention pywin32 earlier

14 years agosetup: mark stdeb as setup_requires if "sdist_dsc" is in sys.argv
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

14 years agodocs: introducing "provider-independent security"; Nathan Wilcox gave me good advice...
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

14 years agoNEWS: more minor edits
Brian Warner [Wed, 22 Jul 2009 02:45:22 +0000 (22:45 -0400)]
NEWS: more minor edits

14 years agodocs: edit about.html, add P.S. about expansion of LAFS, add Andrew Orlowski to media...
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

14 years agodocs: update NEWS, about.html, relnotes-short.txt, and known_issues.txt in preparatio...
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 .

14 years agodebian/control: update binary package deps to pycryptopp-0.5.15
Brian Warner [Tue, 21 Jul 2009 03:50:25 +0000 (23:50 -0400)]
debian/control: update binary package deps to pycryptopp-0.5.15

14 years agodocs: a couple of minor edits to NEWS and docs/architecture.txt
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

14 years agoTouch up #705 changes:
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

14 years agoCREDITS: format to <= 79 columns, add Marc Tooley, update Kevan Carstensen
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

14 years agoiputil: added "openbsd3" => "bsd" and "openbsd4" => "bsd" per tdelaet's report; shoul...
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

14 years agoAdd tests for tahoe mv behavior
kevan [Mon, 20 Jul 2009 03:46:09 +0000 (20:46 -0700)]
Add tests for tahoe mv behavior

14 years agoAdd tests for tahoe mv help text
kevan [Mon, 20 Jul 2009 03:45:53 +0000 (20:45 -0700)]
Add tests for tahoe mv help text

14 years agoImplement more clearly defined moving semantics in tahoe_mv.py
kevan [Mon, 20 Jul 2009 03:45:23 +0000 (20:45 -0700)]
Implement more clearly defined moving semantics in tahoe_mv.py

14 years agoUpdate tahoe mv help text.
kevan [Mon, 20 Jul 2009 03:45:03 +0000 (20:45 -0700)]
Update tahoe mv help text.

14 years agoAdd tests for parse_replace_arg()
kevan [Mon, 20 Jul 2009 03:47:05 +0000 (20:47 -0700)]
Add tests for parse_replace_arg()

14 years agoAdd tests for new PUT behavior
kevan [Mon, 20 Jul 2009 03:46:32 +0000 (20:46 -0700)]
Add tests for new PUT behavior

14 years agoAlter Adder + Adder tests to look for 'only-files' instead of 'only_files'
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'

14 years agoAlter filenode.py to use parse_replace_arg
kevan [Mon, 20 Jul 2009 03:48:31 +0000 (20:48 -0700)]
Alter filenode.py to use parse_replace_arg

14 years agoAlter directory.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()

14 years agoAdd a function to parse arguments for the replace parameter
kevan [Mon, 20 Jul 2009 03:47:23 +0000 (20:47 -0700)]
Add a function to parse arguments for the replace parameter

14 years agoUpdate webapi docs to reference new PUT behavior.
kevan [Mon, 20 Jul 2009 03:44:47 +0000 (20:44 -0700)]
Update webapi docs to reference new PUT behavior.

14 years agotrivial: remove obsolete comment text
Zooko O'Whielacronx [Mon, 20 Jul 2009 13:08:43 +0000 (06:08 -0700)]
trivial: remove obsolete comment text

14 years agodocs/backupdb.txt: small fixes, thanks to David Triendl
Brian Warner [Mon, 20 Jul 2009 01:04:56 +0000 (18:04 -0700)]
docs/backupdb.txt: small fixes, thanks to David Triendl

14 years agodirectories: minor change: fix warning message from the benchmarking script
Zooko O'Whielacronx [Mon, 20 Jul 2009 00:21:14 +0000 (17:21 -0700)]
directories: minor change: fix warning message from the benchmarking script

14 years agoAdd unit tests for the Adder in dirnode.py
kevan [Sat, 18 Jul 2009 19:50:49 +0000 (12:50 -0700)]
Add unit tests for the Adder in dirnode.py

14 years agoAdd 'only_files' option to the overwrite field in Adder
kevan [Sat, 18 Jul 2009 03:00:10 +0000 (20:00 -0700)]
Add 'only_files' option to the overwrite field in Adder

14 years agorename NewDirectoryNode to DirectoryNode, NewDirectoryURI to DirectoryURI trac-4000
Brian Warner [Fri, 17 Jul 2009 01:01:03 +0000 (20:01 -0500)]
rename NewDirectoryNode to DirectoryNode, NewDirectoryURI to DirectoryURI

14 years agointerfaces: remove dead code, FileNode_ and EncryptedThing constraints
Brian Warner [Fri, 17 Jul 2009 00:56:07 +0000 (19:56 -0500)]
interfaces: remove dead code, FileNode_ and EncryptedThing constraints

14 years agointroduction/storage-broker: add assertions of serverids being the right type and...
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

14 years agoupload: fix #758 recursion-loop in peer-selection when servers report errors.
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.

14 years agosetup: clarify the way that we host two directories of dependencies: one is source...
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

14 years ago'tahoe stats': tolerate empty directories. Closes #693.
Brian Warner [Wed, 15 Jul 2009 07:51:09 +0000 (00:51 -0700)]
'tahoe stats': tolerate empty directories. Closes #693.

14 years agonode.py: record pid in twisted log at startup. Closes #476.
Brian Warner [Wed, 15 Jul 2009 07:29:29 +0000 (00:29 -0700)]
node.py: record pid in twisted log at startup. Closes #476.

14 years agoAllow tests to pass with -OO by turning some AssertionErrors (the ones that
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.

14 years agosetup: tell build to search a directory (hosted on allmydata.org) which contains...
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

14 years agowui: fix test for welcome page
Zooko O'Whielacronx [Wed, 15 Jul 2009 03:34:29 +0000 (20:34 -0700)]
wui: fix test for welcome page

14 years agowui: adjust headers/titles and "Attach something to this directory" text in accordanc...
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.

14 years agomac: emit the stdout and stderr from a failed call to Allmydata (this is very useful...
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)

14 years agomac: improve shutdown and clean-up after the test of the macintosh packaging
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

14 years agosetup: add "test_mac_diskimage" command which attempts to mount and use a .dmg to...
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

14 years agodirnode: finish renaming "iv" to "salt" in the code and the hash tag
Zooko O'Whielacronx [Mon, 13 Jul 2009 00:13:20 +0000 (17:13 -0700)]
dirnode: finish renaming "iv" to "salt" in the code and the hash tag

14 years agodirnode.py/_encrypt_rwcap: rename IV to "salt", which is more accurate
Brian Warner [Sun, 12 Jul 2009 23:50:25 +0000 (00:50 +0100)]
dirnode.py/_encrypt_rwcap: rename IV to "salt", which is more accurate

14 years agodirnode.py: security bug: also use child writecap to derive child enc key,
Brian Warner [Sun, 12 Jul 2009 23:47:50 +0000 (00:47 +0100)]
dirnode.py: security bug: also use child writecap to derive child enc key,
not just the dirnode writecap. The previous code (which only hashed the
dirnode writecap) would use the same key for all children, which is very bad.
This is the correct implementation of #750.

14 years agoNEWS: update with all recent changes
Brian Warner [Sat, 11 Jul 2009 23:47:03 +0000 (00:47 +0100)]
NEWS: update with all recent changes

14 years agoproposed/mutable-DSA.txt: add some new design criteria
Brian Warner [Sat, 11 Jul 2009 13:25:00 +0000 (14:25 +0100)]
proposed/mutable-DSA.txt: add some new design criteria

14 years agoUse CachingDict instead of dict in dirnode.py
kevan [Sat, 4 Jul 2009 03:43:01 +0000 (20:43 -0700)]
Use CachingDict instead of dict in dirnode.py

14 years agodirectories: fix semantic conflict between my "keep track of position" optimization...
Zooko O'Whielacronx [Fri, 10 Jul 2009 03:20:28 +0000 (20:20 -0700)]
directories: fix semantic conflict between my "keep track of position" optimization patch and Kevan's "cache serialized entries" optimization patch

14 years agoModify bench_dirnode.py to use CachingDict.
kevan [Sun, 5 Jul 2009 22:31:42 +0000 (15:31 -0700)]
Modify bench_dirnode.py to use CachingDict.

14 years agoAdd tests for CachingDict, _pack_contents, _unpack_contents
kevan [Sat, 4 Jul 2009 03:43:28 +0000 (20:43 -0700)]
Add tests for CachingDict, _pack_contents, _unpack_contents

14 years agotrivial: removed unused import noticed by pyflakes
Zooko O'Whielacronx [Thu, 9 Jul 2009 13:05:13 +0000 (06:05 -0700)]
trivial: removed unused import noticed by pyflakes

14 years agodirectories: make the IV for the writecaps in directory entries be computed from...
Zooko O'Whielacronx [Sun, 5 Jul 2009 02:48:15 +0000 (19:48 -0700)]
directories: make the IV for the writecaps in directory entries be computed from the secure hash of the writecap itself
This makes encoding of directory entries deterministic, and it is also a tad faster on Macbook Pro than getting a random IV with os.urandom(16).

14 years agotests: raise the timeout on pollmixin from 100s to 1000s -- it looks like it may...
Zooko O'Whielacronx [Thu, 9 Jul 2009 04:47:29 +0000 (21:47 -0700)]
tests: raise the timeout on pollmixin from 100s to 1000s -- it looks like it may have triggered too eagerly on Zandr's 266 MHz armel

14 years agosetup: add sys.maxunicode to the show-tool-versions output in order to investigate...
Zooko O'Whielacronx [Thu, 9 Jul 2009 00:45:33 +0000 (17:45 -0700)]
setup: add sys.maxunicode to the show-tool-versions output in order to investigate bugs.python.org/setuptools/issue78

14 years agoimmutable: base32-encode the keys to generate cache filenames that will work on all...
Zooko O'Whielacronx [Wed, 8 Jul 2009 15:26:33 +0000 (08:26 -0700)]
immutable: base32-encode the keys to generate cache filenames that will work on all platforms

14 years agodirectories: make initialization of the download cache lazy
Zooko O'Whielacronx [Wed, 8 Jul 2009 00:40:40 +0000 (17:40 -0700)]
directories: make initialization of the download cache lazy
If you open up a directory containing thousands of files, it currently computes the cache filename and checks for the cache file on disk immediately for each immutble file in that directory.  With this patch, it delays those steps until you try to do something with an immutable file that could use the cache.

14 years agoAdd CachingDict dict subclass to dirnode.py
kevan [Sun, 5 Jul 2009 21:23:45 +0000 (14:23 -0700)]
Add CachingDict dict subclass to dirnode.py

14 years agodirectories: rename internal data member download_cache to download_cache_dirman...
Zooko O'Whielacronx [Tue, 7 Jul 2009 14:34:04 +0000 (07:34 -0700)]
directories: rename internal data member download_cache to download_cache_dirman (benchmarks set this internal member and use the new name, so changing this makes the bench_dirnode.py work again)

14 years agodirectories: keep track of your position as you decode netstring after netstring...
Zooko O'Whielacronx [Sun, 5 Jul 2009 02:51:09 +0000 (19:51 -0700)]
directories: keep track of your position as you decode netstring after netstring from an input buffer instead of copying the trailing part
This makes decoding linear in the number of netstrings instead of O(N^2).

14 years agodirectories: in bench_dirnode.py, use a real CacheDirectoryManager instead of a fake...
Zooko O'Whielacronx [Tue, 7 Jul 2009 03:41:19 +0000 (20:41 -0700)]
directories: in bench_dirnode.py, use a real CacheDirectoryManager instead of a fake one (because CacheDirectoryManager is a significant user of CPU and/or time)

14 years agodirectories: make the profiling behavior of bench_dirnode.py accessible by adding...
Zooko O'Whielacronx [Tue, 7 Jul 2009 03:30:35 +0000 (20:30 -0700)]
directories: make the profiling behavior of bench_dirnode.py accessible by adding '--profile' to the cmdline

14 years agosetup: increase requirement on pycryptopp to >= 0.5.15
Zooko O'Whielacronx [Mon, 6 Jul 2009 14:08:15 +0000 (07:08 -0700)]
setup: increase requirement on pycryptopp to >= 0.5.15

14 years agodirectories: update the directory benchmarks to exercise the unpack-and-repack functi...
Zooko O'Whielacronx [Sun, 5 Jul 2009 16:29:53 +0000 (09:29 -0700)]
directories: update the directory benchmarks to exercise the unpack-and-repack functionality, and add optional profiling

14 years agotest/benchmark: benchmark the time to pack and unpack dirnodes
Zooko O'Whielacronx [Sat, 4 Jul 2009 22:43:00 +0000 (15:43 -0700)]
test/benchmark: benchmark the time to pack and unpack dirnodes
See also the prof_benchmarks() function in this file which will run the benchmarks under profiling.

14 years agosetup: the mac-exe build (using py2app) requires macholib>=1.2.
Zooko O'Whielacronx [Fri, 3 Jul 2009 17:57:02 +0000 (10:57 -0700)]
setup: the mac-exe build (using py2app) requires macholib>=1.2.
Here is someone else's description of this problem:
http://rtmpy.org/ticket/7

14 years agoclean up debian packaging: we have control files for etch/lenny/sid, and
Brian Warner [Fri, 3 Jul 2009 07:28:04 +0000 (00:28 -0700)]
clean up debian packaging: we have control files for etch/lenny/sid, and
everything else uses one of those. Add dependency on python-pysqlite2 for
platforms that use py2.4 by default. Update foolscap dependency to 0.4.1.

14 years agoupdate NEWS to cover all recent changes, sort by end-user importance
Brian Warner [Fri, 3 Jul 2009 01:43:03 +0000 (18:43 -0700)]
update NEWS to cover all recent changes, sort by end-user importance

14 years agoTolerate unknown URI types in directory structures. Part of #683.
Brian Warner [Fri, 3 Jul 2009 01:07:49 +0000 (18:07 -0700)]
Tolerate unknown URI types in directory structures. Part of #683.

The idea is that future versions of Tahoe will add new URI types that this
version won't recognize, but might store them in directories that we *can*
read. We should handle these "objects from the future" as best we can.
Previous releases of Tahoe would just explode. With this change, we'll
continue to be able to work with everything else in the directory.

The code change is to wrap anything we don't recognize as an UnknownNode
instance (as opposed to a FileNode or DirectoryNode). Then webapi knows how
to render these (mostly by leaving fields blank), deep-check knows to skip
over them, deep-stats counts them in "count-unknown". You can rename and
delete these things, but you can't add new ones (because we wouldn't know how
to generate a readcap to put into the dirnode's rocap slot, and because this
lets us catch typos better).

14 years agotest_client.py: minor refactoring of BASECONFIG usage
Brian Warner [Fri, 3 Jul 2009 00:54:50 +0000 (17:54 -0700)]
test_client.py: minor refactoring of BASECONFIG usage

14 years agocreate_node_from_uri: take both writecap+readcap, move logic out of dirnode.py
Brian Warner [Thu, 2 Jul 2009 22:25:37 +0000 (15:25 -0700)]
create_node_from_uri: take both writecap+readcap, move logic out of dirnode.py

14 years agodirnode.py: prepare to preserve both rwcap+rocap when copying
Brian Warner [Thu, 2 Jul 2009 21:12:54 +0000 (14:12 -0700)]
dirnode.py: prepare to preserve both rwcap+rocap when copying

This will make it easier to tolerate unknown nodes safely.

14 years agointerfaces.py: wrap some lines to 80cols
Brian Warner [Thu, 2 Jul 2009 01:57:28 +0000 (18:57 -0700)]
interfaces.py: wrap some lines to 80cols

14 years agocli: webopen: when called with no arguments, open the Welcome page
Brian Warner [Wed, 1 Jul 2009 20:05:48 +0000 (13:05 -0700)]
cli: webopen: when called with no arguments, open the Welcome page

14 years agomutable repairer: skip repair of readcaps instead of throwing an exception.
Brian Warner [Wed, 1 Jul 2009 01:13:43 +0000 (18:13 -0700)]
mutable repairer: skip repair of readcaps instead of throwing an exception.
This should improve the behavior of #625 a bit: at least all the files will
get repaired.

14 years agointerfaces.py: improve ICheckAndRepairResults docs a bit
Brian Warner [Wed, 1 Jul 2009 00:19:25 +0000 (17:19 -0700)]
interfaces.py: improve ICheckAndRepairResults docs a bit

14 years agorepairer.py: wrap to 80cols. No code changes.
Brian Warner [Wed, 1 Jul 2009 00:00:47 +0000 (17:00 -0700)]
repairer.py: wrap to 80cols. No code changes.

14 years agosetup: require pycryptopp>=0.5.14 if on Windows and with Python>=2.6
Zooko O'Whielacronx [Tue, 30 Jun 2009 18:48:07 +0000 (11:48 -0700)]
setup: require pycryptopp>=0.5.14 if on Windows and with Python>=2.6

14 years agoedit NEWS
Brian Warner [Tue, 30 Jun 2009 17:41:15 +0000 (10:41 -0700)]
edit NEWS

14 years agoNEWS: list all user-visible changes since 1.4.1 . Needs lots of editing.
Brian Warner [Tue, 30 Jun 2009 17:07:34 +0000 (10:07 -0700)]
NEWS: list all user-visible changes since 1.4.1 . Needs lots of editing.

14 years ago* find-trailing-spaces.py: exit rc=1 if whitespace found, to be a pre-commit hook
Brian Warner [Mon, 29 Jun 2009 22:46:58 +0000 (15:46 -0700)]
* find-trailing-spaces.py: exit rc=1 if whitespace found, to be a pre-commit hook

14 years agouse 522-bit RSA keys in all unit tests (except one)
Brian Warner [Mon, 29 Jun 2009 22:31:24 +0000 (15:31 -0700)]
use 522-bit RSA keys in all unit tests (except one)

This reduces the total test time on my laptop from 400s to 283s.
* src/allmydata/test/test_system.py (SystemTest.test_mutable._test_debug):
  Remove assertion about container_size/data_size, this changes with keysize
  and was too variable anyways.
* src/allmydata/mutable/filenode.py (MutableFileNode.create): add keysize=
* src/allmydata/dirnode.py (NewDirectoryNode.create): same
* src/allmydata/client.py (Client.DEFAULT_MUTABLE_KEYSIZE): add default,
  this overrides the one in MutableFileNode

14 years agoremove trailing whitespace
Brian Warner [Mon, 29 Jun 2009 20:03:58 +0000 (13:03 -0700)]
remove trailing whitespace

14 years agoremove trailing whitespace from some util classes
Brian Warner [Mon, 29 Jun 2009 20:03:41 +0000 (13:03 -0700)]
remove trailing whitespace from some util classes

14 years agorepairer: raise a better exception when faced with a readonly filenode. Still
Brian Warner [Fri, 26 Jun 2009 06:32:30 +0000 (23:32 -0700)]
repairer: raise a better exception when faced with a readonly filenode. Still
produces an error, though.

14 years agomutable/filenode.py: set _writekey to None, rather than leaving it missing
Brian Warner [Fri, 26 Jun 2009 06:20:22 +0000 (23:20 -0700)]
mutable/filenode.py: set _writekey to None, rather than leaving it missing

This will at least turn the really really weird error when a repair of a
readonly mutable file is attempted into a merely really weird assertion that
mentions "repair currently requires a writecap".

14 years agoone last tweak
Brian Warner [Fri, 26 Jun 2009 05:26:27 +0000 (22:26 -0700)]
one last tweak

14 years agomore 'tahoe cp' docs tweaks
Brian Warner [Fri, 26 Jun 2009 05:16:52 +0000 (22:16 -0700)]
more 'tahoe cp' docs tweaks

14 years agocli.py: minor tweaks to test posthooks
Brian Warner [Fri, 26 Jun 2009 02:45:57 +0000 (19:45 -0700)]
cli.py: minor tweaks to test posthooks