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
david-sarah
baa11a0ad4
New tests for #928
2010-01-29 04:38:45 -08:00
Zooko O'Whielacronx
2bd9dfa5bd
immutable: download from the first servers which provide at least K buckets instead of waiting for all servers to reply
...
This should put an end to the phenomenon I've been seeing that a single hung server can cause all downloads on a grid to hang. Also it should speed up all downloads by (a) not-waiting for responses to queries that it doesn't need, and (b) downloading shares from the servers which answered the initial query the fastest.
Also, do not count how many buckets you've gotten when deciding whether the download has enough shares or not -- instead count how many buckets to *unique* shares that you've gotten. This appears to improve a slightly weird behavior in the current download code in which receiving >= K different buckets all to the same sharenumber would make it think it had enough to download the file when in fact it hadn't.
This patch needs tests before it is actually ready for trunk.
2010-01-27 15:34:17 -08:00
david-sarah
14280b009c
Eliminate 'foo if test else bar' syntax that isn't supported by Python 2.4
2010-01-28 19:52:10 -08:00
david-sarah
f1fd703ded
Fix example JSON in webapi.txt that cannot occur in practice
2010-01-28 19:27:42 -08:00
david-sarah
3e35959e9b
Add mutable field to t=json output for unknown nodes, when mutability is known
2010-01-28 19:14:24 -08:00
david-sarah
4560e021a9
Show -IMM and -RO suffixes for types of immutable and read-only unknown nodes in directory listings
2010-01-28 14:08:00 -08:00
david-sarah
1bb627405f
Fix inaccurate comment in test_mutant_dirnodes_are_omitted
2010-01-28 12:24:56 -08:00
Zooko O'Whielacronx
302e457faa
docs: update relnotes.txt for Tahoe-LAFS v1.6
2010-01-28 09:12:57 -08:00
david-sarah
b9eda4de6a
Address comments by Kevan on 833 and add test for stripping spaces
2010-01-27 15:06:42 -08:00
david-sarah
56c00cb381
Miscellaneous documentation, test, and code formatting tweaks.
2010-01-26 23:03:09 -08:00
david-sarah
6057bc02cc
Prevent mutable objects from being retrieved from an immutable directory, and associated forward-compatibility improvements.
2010-01-26 22:44:30 -08:00
Brian Warner
3880486f91
test_runner: cleanup, refactor common code into a non-executable method
...
Having both test_node() and test_client() (one of which calls the other) felt
confusing to me, so I changed it to have test_node(), test_client(), and a
common do_create() helper method.
2010-01-27 14:40:40 -08:00
Brian Warner
5045a8721a
scripts/runner.py: simplify David-Sarah's clever grouped-commands usage trick
2010-01-27 14:37:58 -08:00
Brian Warner
e769bbb6dd
tahoe backup: skip all symlinks, with warning. Fixes #850 , addresses #641 .
2010-01-27 14:35:17 -08:00
Brian Warner
90828d40e7
NEWS: update with all recent user-visible changes
2010-01-27 14:22:09 -08:00
Brian Warner
52185053c3
"tahoe backup": fix --exclude-vcs docs to include Git
2010-01-27 12:10:44 -08:00
Brian Warner
b4d3e23024
docs: fix references to --no-storage, explanation of [storage] section
2010-01-27 12:09:56 -08:00
Zooko O'Whielacronx
2a2cc5c4b8
docs: further CREDITS level-ups for Nils, Kevan, David-Sarah
2010-01-26 09:00:21 -08:00
david-sarah
5c5a6fe610
Patch to accept t=set-children as well as t=set_children
2010-01-23 19:00:20 -08:00
david-sarah
584c0ed487
Fix boodlegrid use of set_children
2010-01-25 22:34:14 -08:00
Zooko O'Whielacronx
4a4305e7e6
ftpd: clearer error message if Twisted needs a patch (by Nils Durner)
2010-01-26 06:34:11 -08:00
Kevan Carstensen
26c6b806d7
Add 'docs/performance.txt', which (for the moment) describes mutable file performance issues
2010-01-15 12:45:00 -08:00
Zooko O'Whielacronx
00b895cea2
docs: more CREDITS for François, Kevan, and David-Sarah
2010-01-26 05:21:33 -08:00
francois
b03406af9d
tahoe_backup.py: display warnings on errors instead of stopping the whole backup. Fix #729 .
...
This patch displays a warning to the user in two cases:
1. When special files like symlinks, fifos, devices, etc. are found in the
local source.
2. If files or directories are not readables by the user running the 'tahoe
backup' command.
In verbose mode, the number of skipped files and directories is printed at the
end of the backup.
Exit status returned by 'tahoe backup':
- 0 everything went fine
- 1 the backup failed
- 2 files were skipped during the backup
2010-01-20 01:42:49 -08:00
david-sarah
66646d9dd6
Warn about test failures due to setting FLOG* env vars
2010-01-24 14:06:29 -08:00
david-sarah
174d356692
Message saying that we couldn't find bin/tahoe should say where we looked
2010-01-16 12:45:56 -08:00
david-sarah
5c04fd689a
Change running.html to describe 'tahoe run'
2010-01-11 20:44:09 -08:00
Zooko O'Whielacronx
a1444d9367
cli: merge the better version of David-Sarah's split-usage-and-help patch with the earlier version that I mistakenly committed
2010-01-25 20:45:59 -08:00
david-sarah
b079f32da2
Split tahoe --help options into groups.
2010-01-11 20:39:35 -08:00
Zooko O'Whielacronx
b94b9af189
cli: split usage strings into groups (patch by David-Sarah Hopwood)
2010-01-25 20:39:21 -08:00
david-sarah
87f1bae7fe
Add create-node CLI command, and make create-client equivalent to create-node --no-storage ( fixes #760 )
2010-01-15 21:20:55 -08:00
david-sarah
26ab58e006
Remove replace= parameter to mkdir-immutable and mkdir-with-children
2010-01-24 14:43:25 -08:00
francois
c16f50600d
contrib/fuse/runtests.py: Fix #888 , configure settings in tahoe.cfg and don't treat warnings as failure
...
Fix a few bitrotten pieces in the FUSE test script. It now configures tahoe
node settings by editing tahoe.cfg which is the new supported method.
It alos tolerate warnings issued by the mount command, the cause of these
warnings is the same as in #876 (contrib/fuse/runtests.py doesn't tolerate
deprecations warnings).
2010-01-09 04:30:10 -08:00
Brian Warner
de14791caf
Fix webapi t=mkdir with multpart/form-data, as on the Welcome page. Closes #919 .
2010-01-20 22:50:52 -08:00
Brian Warner
bb4883bbd4
tahoe_add_alias.py: minor refactoring
2010-01-14 22:42:20 -08:00
Brian Warner
9ab7524f0d
test_dirnode.py: reduce scope of a Client instance, suggested by Kevan.
2010-01-14 22:27:13 -08:00
Brian Warner
01a7630334
test_provisioning: STAN is not always a list. Fix by David-Sarah Hopwood.
2010-01-14 17:46:32 -08:00
Brian Warner
2e098e2a4d
web/directory.py mkdir-immutable: hush pyflakes, add TODO for #903 behavior
2010-01-14 14:28:04 -08:00
Brian Warner
e9223fcd0e
hush pyflakes-0.4.0 warnings: slightly less-trivial fixes. Closes #900 .
...
This includes one fix (in test_web) which was testing the wrong thing.
2010-01-14 14:17:19 -08:00
Brian Warner
731d15e56f
hush pyflakes-0.4.0 warnings: remove trivial unused variables. For #900 .
2010-01-14 14:15:29 -08:00
Brian Warner
874a979a8e
tahoe add-alias/create-alias: don't corrupt non-newline-terminated alias
...
file. Closes #741 .
2010-01-14 13:02:46 -08:00
Brian Warner
d3d1293d2f
change docs and --help to use "grid" instead of "virtual drive": closes #892 .
...
Thanks to David-Sarah Hopwood for the patch.
2010-01-14 12:11:19 -08:00
Brian Warner
7143707178
backupdb.txt: fix ST_CTIME reference
2010-01-14 11:40:52 -08:00
Brian Warner
fb879ddea4
client.py: fix/update comments on KeyGenerator
2010-01-12 16:42:26 -08:00