Daira Hopwood
b088380736
test_iputil.py: fix and improve tests on Windows.
...
Test all platform variants (Unix, Windows, Cygwin) on each platform.
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-06-26 16:44:05 +01:00
Daira Hopwood
f97b8e5e1d
test_iputil.py: repair a test for cygwin (which is intended to behave differently).
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-06-25 23:32:02 +01:00
Daira Hopwood
08590b1f6a
iputil.py: simplify address finding code on cygwin.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-06-25 19:51:27 +01:00
Daira Hopwood
16b245563d
test_iputil.py: use more realistic error for 'command not found' in mock.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-06-25 19:50:52 +01:00
Daira Hopwood
b31a4f6e87
test_iputil.py: repair a test by mocking 'get_local_ip_for'.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-06-25 19:50:00 +01:00
Daira Hopwood
a493ee0bb6
iputil.py: add tests for recent changes. refs #1381 , #1988 , #982 , #1064 , #1536 , #1935 , #898 , #1707 , #1918
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-06-25 19:15:05 +01:00
Daira Hopwood
6104950ed8
iputil.py: fix an error handling bug. refs #1381
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-06-25 19:13:48 +01:00
Daira Hopwood
f77ec470d7
iputil.py: minor cleanup to avoid dropping a Deferred.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-28 19:52:47 +01:00
Daira Hopwood
8e31d66cd0
iputil.py: refactor address-finding code to treat all Unices the same.
...
refs #1988 , #982 , #1064 , #1536 , #1935
fixes #898 , #1707 , #1918
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-28 19:52:19 +01:00
Daira Hopwood
6a445d73bc
iputil.py: retry address queries on EINTR. fixes #1381
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-28 19:44:02 +01:00
Daira Hopwood
d85a75d7f6
Makefile: remove 'install' target. fixes #1717
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-25 03:58:38 +01:00
Daira Hopwood
ec191bfca6
WUI: add time page was rendered to client and introducer welcome pages. closes #1972
...
Author: Leif Ryge <leif@synthesize.us>
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-19 23:27:23 +01:00
Leif Ryge
30924a506c
properly describe saving incident reports. closes #1974
2013-05-19 07:31:43 +00:00
Daira Hopwood
705c47f9e9
Improvements to test refs #1742
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-15 14:14:12 +01:00
Daira Hopwood
e821c9e23d
Add a test for raising NotEnoughSharesError when a Retrieve object is created with an insufficient servermap. refs #1742
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-15 04:25:42 +01:00
Daira Hopwood
7956e22d21
Include the number of remaining shares of the right version in NotEnoughSharesError messages.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-14 23:20:47 +01:00
Daira Hopwood
e76281744c
mutable/retrieve.py: improve comments. refs #1742
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-14 23:20:46 +01:00
Daira Hopwood
cf52c512c5
Raise NotEnoughSharesError if there are initially not enough shares for a mutable retrieve. refs #1742
...
We also change the order of setting up attributes in Retrieve so that _raise_notenoughshareserror() can be called from _setup_download.
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-14 23:20:46 +01:00
Daira Hopwood
a74b09ec86
mutable/retrieve.py: inline the single-use function _remove_reader.
...
A simple refactoring. Doesn't even require a new or updated unit test.
Author: Zooko O'Whielacronx <zooko@zooko.com>
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-14 23:20:46 +01:00
Daira Hopwood
2fa832b060
Add dummy __init__.py files for directories containing data. fixes #1960
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-14 23:07:19 +01:00
Daira Hopwood
37c8b733a5
setup.py: add allmydata/web/static/img/*.png to package_data. refs #1969
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-14 17:55:17 +01:00
Brian Warner
2b6975d3a4
minor changes to hush newer pyflakes
...
apparently it can now detect aliasing from inside list comprehensions
2013-05-01 19:09:07 -07:00
Brian Warner
a3891d98d7
update release how-to to be closer to current reality
2013-05-01 15:24:24 -07:00
Daira Hopwood
397a95e827
Update terminology in RAIC design doc.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-05-01 22:58:16 +01:00
David-Sarah Hopwood
b94721ad40
docs/proposed/leasedb.rst: Add design doc for leasedb.
...
This version refs #1834 .
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2013-05-01 22:58:16 +01:00
Daira Hopwood
8a1b2c7aa6
Show git branch in version output. fixes #1953
...
Also make sure strings in _version.py are correctly escaped, and repair a test.
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-01 22:38:08 +01:00
Brian Warner
f9af0633d8
update docs for 1.10 release
2013-05-01 10:25:40 -07:00
Brian Warner
085ee6a63f
.gitignore: ignore the generated zope.interface egg too
...
Some dependencies are installed in the top-level directory, maybe
because they're required by the build process itself? I'm not sure.
Twisted is one of these, if the system version is not new enough, and
our .gitignore has a clause to ignore the resulting .egg directory. Now
that we've bumped our zope.interface dependency, it sometimes builds a
z.i egg too (even if it doesn't build a Twisted one). So ignore both.
2013-05-01 10:25:31 -07:00
Brian Warner
7ae630559f
NEWS: caution about secret introducer.furl in world-readable tahoe.cfg
2013-04-25 19:14:17 -07:00
Daira Hopwood
7bb07fb5e2
Update version requirement for zope.interface.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-04-25 19:33:55 +01:00
Brian Warner
d7e71cd22b
known_issues, quickstart: add version and anticipated release date
2013-04-24 17:17:45 -07:00
Brian Warner
e0a1e30d80
NEWS: edits, formatting, consolidation, set a date for 1.10.0
2013-04-24 17:12:16 -07:00
Brian Warner
d40074af6f
NEWS: fix a formatting typo
2013-04-24 17:00:18 -07:00
Brian Warner
6581bf40ae
NEWS: improve highlighting
...
It looks like github's ReST renderer shows ''' with more emphasis than
---, so use ''' for release names, and --- for groups of changes within
a given release.
2013-04-24 16:56:29 -07:00
Brian Warner
ea05241176
Makefile: oops, fix tahoe-deps/tahoe-lafs-deps mismatch
...
which broke fetch-and-unpack-deps
2013-04-24 15:20:47 -07:00
Brian Warner
8d4f68bc09
update deps URLs to use "tahoe-lafs" instead of bare "tahoe"
2013-04-24 14:58:27 -07:00
Brian Warner
8dca978b43
update some copyright dates
2013-04-24 08:58:40 -07:00
Brian Warner
0ee23117a4
known_issues.rst: get closer to real date
2013-04-24 00:18:43 -07:00
Brian Warner
02975d1887
known_issues: update chart-API text, with suggestions from Leif. refs #1942
2013-04-23 16:39:53 -07:00
Daira Hopwood
57e9978090
Add "[global-opts]" to help synopsis for tahoe ls. refs #166
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-04-22 16:10:48 +01:00
Daira Hopwood
becae165d2
NEWS: add entry for ref #166
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-04-22 16:04:49 +01:00
Brian Warner
0ba5058f6a
docs/nodekeys.rst: explain what node keys are for, with compatibility notes
2013-04-21 23:01:25 -07:00
Daira Hopwood
b06f8cd8d0
Add comments and a caveat in webapi.rst indicating that
...
the needs-rebalancing field may be computed incorrectly. refs #1115 , #1784 , #1477
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-04-18 23:48:45 +01:00
Daira Hopwood
6899d02854
Minor improvements to webapi.rst.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-04-18 23:48:45 +01:00
Leif Ryge
c2a355d405
docs: fixed typos
2013-04-18 11:49:33 -07:00
Brian Warner
9d9edc1a42
whitespace change to trigger buildbot for 1.10-b1
2013-04-18 08:52:33 -07:00
Brian Warner
b989555d96
client.py: create node key even when storage is disabled. Closes #1945 .
...
Thanks to Leif for the catch!
2013-04-18 00:06:55 -07:00
Daira Hopwood
04c7cfe38b
docs/quickstart.rst: update Python 2.7 download URL.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-04-18 04:34:01 +01:00
Daira Hopwood
f51f319998
docs/quickstart.rst: update recommended Python version.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-04-18 04:30:45 +01:00
Daira Hopwood
d24f931acc
Improve a test for ref #1643 , and make sure that unexpected URIs actually raise AssertionError.
...
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-04-15 19:30:49 +01:00