David-Sarah Hopwood
884685278b
test/common_util.py: fix a bug in NonASCIIPathMixin that would cause spurious log entries on Windows.
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-12-02 01:54:47 +00:00
Zooko O'Whielacronx
73d5a059bd
tests: add more diagnostics when code-under-test fails
...
This prints out which things are different when two sets are expected to be the
same. This was useful to me when debugging the code under test. Hm, this
pattern might be more generally useful...
2012-11-29 14:11:47 -07:00
Zooko O'Whielacronx
abcde9645c
remove unnecessary request from upload-helper
...
The unnecessary request was from the upload helper to the sender, and it was
there in order to trigger the sender to deliver cleartext hashes. But we've
long since removed cleartext hashes.
Unit tests pass both before and after this change, and code-coverage shows that
the block I changed is exercised in unit tests.
2012-11-29 13:44:32 -07:00
Zooko O'Whielacronx
06a8b1ea84
pkg_resources: better error message on bad spec
...
Include the text of the offending distribution spec when it is ill-formed.
I got an error message from pkg_resources.py saying that a distribution spec
was ill-formed, because it ended with an '=' and nothing came after the '='.
However, the error message and stack trace didn't tell which distribution spec
it was.
With this patch, it includes the distribution spec itself in the error message.
There is no unit test of this patch, but I did test it manually by inserting a
"raise ValueError('WHATEVER')" into the code and re-running it and observing
that the new output correctly included the distribution
2012-11-22 17:09:41 +00:00
David-Sarah Hopwood
d5c8580d8e
NEWS.rst: add a missing dependency update for 1.9.2.
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-20 05:59:00 +00:00
David-Sarah Hopwood
57017cebe8
Makefile: increase filesystem size for 'make tmpfstest'.
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-16 20:30:19 +00:00
David-Sarah Hopwood
e097cf96b2
web/unlinked.py: don't use % operator to expand %(uri)s. fixes #1860 .
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-15 04:16:19 +00:00
David-Sarah Hopwood
4c91fa948d
docs/frontends/CLI.rst: fix markup of * and ?.
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-11 16:04:23 +00:00
David-Sarah Hopwood
86471233f0
docs/frontends/CLI.rst: document ./* trick, and that aliases should not be a single char on Windows.
...
Also fix some rst2html warnings. refs #1853 , #1840
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-11 15:50:46 +00:00
David-Sarah Hopwood
522e74f572
Update docs/network-and-reliance-topology.svg for RAIC, and to be more accurate about frontend protocols.
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-03 00:15:32 +00:00
David-Sarah Hopwood
1ffed22651
CLI: fix synopsis for 'tahoe ls'. fixes #1839
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-01 23:40:06 +00:00
David-Sarah Hopwood
a77ae772f2
docs/about.rst: fix broken link for network-and-reliance-topology image.
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-01 23:09:07 +00:00
David-Sarah Hopwood
edc1f5f67f
Makefile: add 'make tmpfstest', which uses a tmpfs for _trial_temp.
...
This probably only works on Linux. It uses sudo to mount and unmount the tmpfs,
which may prompt for a password. refs #20
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-10-25 02:16:21 +01:00
David-Sarah Hopwood
b3bf20748f
test_runner: we no longer need to skip tests on Twisted < 9.0.
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-10-25 01:17:12 +01:00
David-Sarah Hopwood
1df7f114b7
src/allmydata/web/directory.py: fix HTML double-encoding issue for filenames.
...
Nevow automatically HTML-escapes strings passed in stan without a raw marker.
Written by MK_FG. fixes #1143
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-10-25 01:01:25 +01:00
Mike Kazantsev
05d0b8b5b9
docs/frontends/webapi.rst: remove (ignored) "size" keyword from mkdir POST example
2012-10-09 15:01:44 -07:00
Zooko O'Whielacronx
52571f469e
add alternating grey-background to make it easier to scan across the table left to right
2012-10-08 12:08:50 -07:00
Zooko O'Whielacronx
63b24152a7
link from the tahoe-lafs-dep-eggs/README.html to the relevant wiki pages
2012-10-08 10:49:42 -07:00
frederik b
595d611c9b
fixed wrong index in tahoe cp --verbose, as explained in #1805
...
this bug shows wrong counters for copied files in verbose mode
2012-09-29 21:32:51 -07:00
David-Sarah Hopwood
bdd0b55b0d
Ignore *~, /miscaptures.txt and /violations.txt.
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-09-17 14:06:48 -07:00
david-sarah
36c176224d
src/allmydata/__init__.py: ensure that if a dependency cannot be imported, we will report that rather than reporting a confusing message about the version and location being None. fixes #1804
2012-09-14 02:14:48 +00:00
david-sarah
6c654be4d5
docs/quickstart.rst: swap two paragraphs to make it more likely a user will report import and versioning errors from 'bin/tahoe --version' if there are any, before trying to run tests. Also, change 'python setup.py test' to 'python setup.py trial' to avoid a rebuild that might change the dependencies (if setuptools decides to throw a spanner in the works).
2012-09-14 02:10:12 +00:00
Brian Warner
15c95c2e12
Apply David-Sarah's recommended changes. Closes #974
2012-09-04 15:45:38 -07:00
Andrew Miller
4f19f2b4b4
When the CLI cannot connect to the gateway, it prints an error message rather than raising a python exception. Includes a unit test
...
Signed-off-by: Andrew Miller <amiller@dappervision.com>
2012-09-04 14:48:50 -07:00
david-sarah
ca620a6ce1
Cosmetic changes to match cloud backend branch.
2012-07-24 03:40:49 +00:00
david-sarah
5105448421
interfaces.py: corrections to take into account that lease cancel secrets are no longer honoured.
2012-07-24 03:40:06 +00:00
david-sarah
e8240b0923
interfaces.py: corrections to interfaces to make more of them checkable.
2012-07-24 03:39:24 +00:00
david-sarah
5c92c71fd5
interfaces.py: which -> that.
2012-07-24 03:37:07 +00:00
david-sarah
12e30c6e92
Default arguments in interface declarations should only be used to specify a default, not to specify the type, in order to be checkable.
2012-07-24 03:34:46 +00:00
david-sarah
dcfb27f9bf
Remove spurious 'self' arguments that should not be included in interface declarations.
2012-07-24 03:32:56 +00:00
david-sarah
fd09b84bb6
interfaces.py: whitespace
2012-07-24 03:29:14 +00:00
Zooko O'Whielacronx
0d5c086218
docs: fix link to mutable.rst. Thanks to TimothyA for noticing the broken link
2012-07-20 19:24:02 +00:00
david-sarah
9a6fb89545
docs/configuration.rst: clarify statement about lack of redundancy when shares.happy <= k. fixes #1793
2012-07-12 20:30:26 +00:00
david-sarah
0556a988e1
Update release date for 1.9.2.
2012-07-03 16:30:10 +00:00
david-sarah
702fe87b7d
Slightly improve the error message when a stats.pickle file cannot be read.
2012-07-03 14:45:22 +00:00
david-sarah
2c1368312e
Relnotes, NEWS and quickstart updates for 1.9.2, with updated release date. refs #1776
2012-07-01 23:19:21 +00:00
david-sarah
3cb99364e6
Failing to load a crawler state pickle uses default values, but the exception clause to detect this failure is too narrow; it can also fail with EOFError or KeyError for example.
2012-07-02 18:18:47 +00:00
david-sarah
d278b1220f
If a stats.pickle file cannot be read, print a better error message.
2012-07-02 18:15:55 +00:00
david-sarah
8d020aaba2
Makefile: in check-umids, exclude 'old.py' to avoid false positives.
2012-07-01 20:17:11 +00:00
david-sarah
37ee8f79d5
src/allmydata/__init__.py: head off a possible warning on platforms where twisted-conch is a separate package.
2011-08-08 18:20:13 +00:00
Brian Warner
2ed6b67644
'tahoe --version': remove inconsistent trailing comma, easier to parse
2012-06-26 09:18:45 -07:00
Brian Warner
69bd49fc57
_auto_deps: bump foolscap to >=0.6.3 to tolerate twisted-12.0.0
...
The current Twisted release is 12.1.0, which (like 12.0.0 before it)
isn't compatible with foolscap-0.6.2 and earlier. We previously required
foolscap>=0.6.1, since that's all we actually need from foolscap itself.
_auto_deps specifies twisted>=11.0.0, so any system that can't meet that
will install the current Twisted (12.1.0), which will give them
something incompatible with foolscap-0.6.1 and 0.6.2 .
If we're limited to setuptools's declarative constraint language (and
can't have a function which evaluates the available dependency versions
and gives recommendations on which to change), then the only safe
approach is to make sure that any acceptable Foolscap version will be
compatible with all acceptable Twisted versions. So, bump the foolscap
dependency to >=0.6.3, which covers all currently-known
incompatibilities.
2012-06-24 12:10:24 -07:00
david-sarah
1b4474d1ae
Makefile: Add 'check-rst' target to check .rst files for errors. Also add 'doc-checks' which at the moment just runs check-rst, but might do more in future. fixes #1780
2012-06-23 23:23:19 +00:00
david-sarah
514fb096be
Update docs, notably performance.rst, to include MDMF. fixes #1772
2012-06-23 23:13:38 +00:00
david-sarah
c1faaa2ca2
NEWS.rst: hyperlink reference fixes. refs #1776
2012-06-23 22:02:46 +00:00
david-sarah
8c256de1f0
Release notes, NEWS, and quickstart updates for 1.9.2a1. refs #1776
2012-06-23 00:17:52 +00:00
david-sarah
33e2d2962e
Change the maximum mutable share size to 69105 TB, and add a maximum-mutable-share-size field to the version announcement. Includes a test. refs #1778
2012-06-22 15:43:54 +00:00
david-sarah
c6779f259e
Release notes and NEWS for 1.9.1. refs #1776
2012-06-21 23:45:56 +00:00
david-sarah
7ffa819eef
docs/frontends/FTP-and-SFTP.rst: remove reference to rekeying bug since it does not apply now that we depend on Twisted 11.0. refs #1297 refs #1771
2012-06-18 17:03:15 +00:00
david-sarah
26dad5044b
_auto_deps.py: bump the Twisted dependency to >= 11.0.0 to avoid Twisted bugs #411 (Deferred recursion limit) and #4395 (SSH server rekeying). refs #1297 fixes #1771
2012-06-17 00:21:25 +00:00