david-sarah
d7b50a3b86
Additional fixes for DIR2-LIT More Info page and deep-check/manifest operations ( #948 )
2010-02-24 00:02:20 -08:00
david-sarah
e6aee33bb7
directories: add DIR2-LIT directories to test_deepcheck.py ( #948 )
2010-02-23 23:54:33 -08:00
david-sarah
187d837c1d
dirnode: add tests of literal dirnodes (current and fix for #948 )
2010-02-23 20:33:45 -08:00
david-sarah
fec9185f2a
Additional fix for abbrev_si, with test
2010-02-21 19:36:52 -08:00
david-sarah
d29ec184a6
Additions to test_web.py for #948
2010-02-21 18:53:52 -08:00
david-sarah
973f0afdd3
Change direct accesses to an_uri.storage_index to calls to .get_storage_index() ( fixes #948 )
2010-02-21 18:45:04 -08:00
david-sarah
6a7feea455
Tweak to 'tahoe ls --help' output ( #837 )
2010-02-23 19:02:31 -08:00
david-sarah
9741b9655f
Test behaviour of 'tahoe ls' for unknown objects ( #837 )
2010-02-23 18:59:13 -08:00
david-sarah
03134eedb5
Improve behaviour of 'tahoe ls' for unknown objects, addressing kevan's comments
2010-02-19 22:13:13 -08:00
Zooko O'Whielacronx
b7c02488c8
docs: update relnotes.txt for v1.6.1
2010-02-23 22:57:55 -08:00
Zooko O'Whielacronx
8ac26a24ae
docs: NEWS and relnotes-short.txt and CREDITS for v1.6.1
2010-02-23 22:52:31 -08:00
Brian Warner
625ad78877
misc/coverage.el: improve filename matching
2010-02-23 23:47:57 -05:00
Brian Warner
1de4d2c594
test_util.py: improve coverage of util.time_format
2010-02-23 23:46:37 -05:00
Brian Warner
8ba5363196
docs/performance.txt: split out CPU from network, expand on mutable costs
2010-02-23 23:38:13 -05:00
Brian Warner
cc2fcd700c
docs/FTP: the Twisted patch (t3462) has landed, will be in the next release
2010-02-23 16:04:02 -05:00
Kevan Carstensen
81ad52d6eb
Change OphandleTable to use a deterministic clock, so we can test it
...
To test the changes for #577 , we need a deterministic way to simulate
the passage of long periods of time. twisted.internet.task.Clock seems,
from my Googling, to be the way to go for this functionality. I changed
a few things so that OphandleTable would use twisted.internet.task.Clock
when testing:
* WebishServer.__init___ now takes an optional 'clock' parameter,
* which it passes to the root.Root instance it creates.
* root.Root.__init__ now takes an optional 'clock' parameter, which it
passes to the OphandleTable.__init__ method.
* OphandleTable.__init__ now takes an optional 'clock' parameter. If
it is provided, and it isn't None, its callLater method will be used
to schedule ophandle expirations (as opposed to using
reactor.callLater, which is what OphandleTable does normally).
* The WebMixin object in test_web.py now sets a self.clock parameter,
which is a twisted.internet.task.Clock that it feeds to the
WebishServer it creates.
Tests using the WebMixin can control the passage of time in
OphandleTable by accessing self.clock.
2010-02-20 13:07:13 -08:00
Kevan Carstensen
bcdc78bd44
Add tests for the ophandle expiration behavior in #577
2010-02-20 17:04:55 -08:00
Kevan Carstensen
09177a6e19
Update docs/frontends/webapi.txt to reflect the new expiration times in #577
2010-02-20 17:07:16 -08:00
Kevan Carstensen
e9b59a4949
Increase ophandle expiration times, per #577
2010-02-20 17:05:12 -08:00
david-sarah
85a50feeaa
More cleanups to test_cli using new utilities for reading and writing files.
2010-02-05 17:38:55 -08:00
david-sarah
c984a09fe7
Fix race conditions and missing callback in allmydata.test.test_cli.Cp.test_copy_using_filecap, add utilities for one-liner reading and writing of files, and fix cases in test_cli where files were not being closed after writing.
2010-02-05 17:37:27 -08:00
Zooko O'Whielacronx
784b208708
setup: comment-out the dependency on pycrypto, see #953
2010-02-14 21:08:44 -08:00
Kevan Carstensen
c00a62a2e7
Add tests for #939
2010-02-11 22:21:37 -08:00
Kevan Carstensen
63c8c65747
Alter CLI utilities to handle nonexistent aliases better
2010-02-10 18:43:18 -08:00
Peter Secor
4143cd1786
adding pycrypto to the auto dependencies
2010-02-05 21:43:14 -08:00
Peter Secor
8f3246430b
docs running.html - "tahoe run ." does not work with the current installation, replaced with "tahoe start ."
2010-02-06 08:53:20 -08:00
Brian Warner
4040b1000b
web/storage.py: display total-seen on the last-complete-cycle line. For #940 .
2010-02-07 16:20:10 -08:00
Brian Warner
880f824103
code coverage: replace figleaf with coverage.py, should work on py2.6 now.
...
It still lacks the right HTML report (the builtin report is very pretty, but
lacks the "lines uncovered" numbers that I want), and the half-finished
delta-from-last-run measurements.
2010-02-03 08:54:21 -08:00
david-sarah
210afd3e9e
More comprehensive changes and ticket references for NEWS
2010-02-01 22:12:56 -08:00
Zooko O'Whielacronx
4d2c81d009
docs: install.html: link into Python 2.5.5 download page
2010-02-01 22:58:52 -08:00
Zooko O'Whielacronx
43c61100ed
TAG allmydata-tahoe-1.6.0
2010-02-01 22:11:25 -08:00
Zooko O'Whielacronx
f0497e345d
docs: install.html: recommend Python 2.5 (because I can build extension modules for it with mingw), architecture.txt: point out that our Proof of Retrievability feature is client-side-only
2010-02-01 21:38:42 -08:00
Brian Warner
479492b1a9
architecture.txt: remove trailing whitespace, wrap lines: no content changes
2010-02-01 21:53:04 -08:00
Zooko O'Whielacronx
80816fd722
docs: a couple of small edits to release notes (thanks Peter)
2010-02-01 21:48:32 -08:00
Zooko O'Whielacronx
eded7deb19
docs: CREDITS: where due
2010-02-01 21:38:31 -08:00
Zooko O'Whielacronx
be1dac0e56
docs: a few small edits to performance.txt and README
2010-02-01 21:27:50 -08:00
Kevan Carstensen
7094f11a28
Fill in 'docs/performance.txt' with some performance information
2010-02-01 16:59:14 -08:00
Zooko O'Whielacronx
da13cacd41
docs: a few edits to architecture.txt, most significantly highlighting "future work" to avoid confusing it with the current version, and adding a "future work" about a random-sampling Proof of Retrievability verifier
2010-02-01 20:51:17 -08:00
Zooko O'Whielacronx
d809ddb51e
docs: a few edits and updates to relnotes.txt, relnotes-short.txt, and NEWS in preparation for v1.6.0
2010-02-01 20:32:22 -08:00
david-sarah
8a43361aaa
Document leakage of cap URLs via phishing filters in known_issues.txt
2010-02-01 17:52:38 -08:00
Zooko O'Whielacronx
57e3af1447
docs: updates to relnotes.txt, NEWS, architecture, historical_known_issues, install.html, etc.
2010-02-01 10:18:09 -08:00
Zooko O'Whielacronx
3e4342ecb3
immutable: downloader accepts notifications of buckets even if those notifications arrive after he has begun downloading shares.
...
This can be useful if one of the ones that he has already begun downloading fails. See #287 for discussion. This fixes part of #287 which part was a regression caused by #928 , namely this fixes fail-over in case a share is corrupted (or the server returns an error or disconnects). This does not fix the related issue mentioned in #287 if a server hangs and doesn't reply to requests for blocks.
2010-01-31 22:16:10 -08:00
Zooko O'Whielacronx
e4e2599017
tests: don't require tahoe to run with no noise if we are using an old twisted that emits DeprecationWarnings
2010-01-31 21:23:23 -08:00
david-sarah
100548257a
Use if instead of assert to check for twisted ftp patch
2010-01-26 17:55:29 -08:00
Zooko O'Whielacronx
7d32fafc44
tests: stop being surprised that Nevow no longer prints out warnings when it tries to find its static files
...
Unless we are using a sufficiently new version of Nevow, in which case if it prints out warnings then this is a hard test failure. :-)
2010-01-31 20:11:44 -08:00
david-sarah
6215ebd95e
cli: suppress DeprecationWarnings emitted from importing nevow and twisted. Fixes #859
2010-01-31 16:44:29 -08:00
david-sarah
ea3954372a
Improvements to test_unknownnode to cover invalid cap URIs with known prefixes
2010-01-29 22:39:08 -08:00
david-sarah
e2ee725d7d
Fix invalid trailing commas in JSON example
2010-01-29 12:17:42 -08:00
david-sarah
37a242e01a
Improvements to test_hung_server, and fix for status updates in download.py
2010-01-29 22:43:03 -08:00
Zooko O'Whielacronx
d62428c1e6
immutable: fix bug in tests, change line-endings to unix style, add comment
2010-01-29 10:42:37 -08:00