]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
10 years agoAdd new files for cloud merge (rebased).
Daira Hopwood [Wed, 9 Apr 2014 00:33:33 +0000 (01:33 +0100)]
Add new files for cloud merge (rebased).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agoMove BucketWriter and BucketReader to storage/bucket.py.
David-Sarah Hopwood [Thu, 22 Nov 2012 06:43:49 +0000 (06:43 +0000)]
Move BucketWriter and BucketReader to storage/bucket.py.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoMove code around and add new directories for cloud backend merge.
David-Sarah Hopwood [Thu, 22 Nov 2012 05:33:35 +0000 (05:33 +0000)]
Move code around and add new directories for cloud backend merge.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoAdd dependency on our fork of txAWS (0.2.1.post5).
David-Sarah Hopwood [Wed, 12 Dec 2012 05:56:45 +0000 (05:56 +0000)]
Add dependency on our fork of txAWS (0.2.1.post5).
Add 'six' to ignorable package list because it is a dependency of txAWS via python-dateutil.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years ago.gitignore: changes to facilitate cloud backend merge (rebased).
Daira Hopwood [Tue, 8 Apr 2014 23:46:57 +0000 (00:46 +0100)]
.gitignore: changes to facilitate cloud backend merge (rebased).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agoAdd documentation for each storage backend (rebased).
Daira Hopwood [Tue, 8 Apr 2014 23:43:30 +0000 (00:43 +0100)]
Add documentation for each storage backend (rebased).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agoAdd test_leasedb.py.
David-Sarah Hopwood [Sat, 15 Dec 2012 06:27:21 +0000 (06:27 +0000)]
Add test_leasedb.py.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoleasedb: use a semantic primary key (storage_index, shnum, account_id), rather than...
David-Sarah Hopwood [Sat, 15 Dec 2012 06:24:41 +0000 (06:24 +0000)]
leasedb: use a semantic primary key (storage_index, shnum, account_id), rather than an integer, for the leases table.
Take advantage of this to simplify add_or_renew_leases.
Fix a bug in add_starter_lease (which is not used yet) when a starter lease already exists.
Clean up leftover accesses to self._dirty.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoRename 'buckets' to 'sharesets' on storage status page.
David-Sarah Hopwood [Sun, 18 Nov 2012 06:22:18 +0000 (06:22 +0000)]
Rename 'buckets' to 'sharesets' on storage status page.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoRemove unused files storage/lease.py and storage/expirer.py.
David-Sarah Hopwood [Sun, 18 Nov 2012 06:44:55 +0000 (06:44 +0000)]
Remove unused files storage/lease.py and storage/expirer.py.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoMain leasedb changes (rebased).
Daira Hopwood [Tue, 8 Apr 2014 23:33:21 +0000 (00:33 +0100)]
Main leasedb changes (rebased).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agoRemove the 'original-*' and 'configured-*' lease crawler output that won't be support...
David-Sarah Hopwood [Sun, 18 Nov 2012 05:00:13 +0000 (05:00 +0000)]
Remove the 'original-*' and 'configured-*' lease crawler output that won't be supported by the accounting crawler.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoCosmetics.
David-Sarah Hopwood [Sun, 18 Nov 2012 05:04:48 +0000 (05:04 +0000)]
Cosmetics.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agotest_storage.py: ss -> server for cases that will remain a server after the server...
David-Sarah Hopwood [Sun, 18 Nov 2012 04:13:19 +0000 (04:13 +0000)]
test_storage.py: ss -> server for cases that will remain a server after the server/account split.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoAsyncify crawlers. Note that this breaks tests for the LeaseCrawler
David-Sarah Hopwood [Sun, 18 Nov 2012 02:52:40 +0000 (02:52 +0000)]
Asyncify crawlers. Note that this breaks tests for the LeaseCrawler
(which is going away, to be replaced by the AccountingCrawler).

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoscripts/debug.py: remove display of lease information and secrets.
David-Sarah Hopwood [Sun, 18 Nov 2012 02:19:14 +0000 (02:19 +0000)]
scripts/debug.py: remove display of lease information and secrets.
This version replaces the expiration field with '-' instead of '0', per Zooko's comments.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoRemove the [storage]expire.{mutable,immutable} options.
David-Sarah Hopwood [Sat, 17 Nov 2012 20:04:42 +0000 (20:04 +0000)]
Remove the [storage]expire.{mutable,immutable} options.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoRemove support for [storage]debug_discard option.
David-Sarah Hopwood [Sat, 17 Nov 2012 19:46:20 +0000 (19:46 +0000)]
Remove support for [storage]debug_discard option.
(BucketWriter.throw_out_all_data is kept because it might still be useful.)

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoAdd new files for leasedb.
David-Sarah Hopwood [Wed, 12 Dec 2012 05:17:11 +0000 (05:17 +0000)]
Add new files for leasedb.

Authors: Brian Warner <warner@lothar.com> and David-Sarah Hopwood
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoChanges to specification of add_lease and renew_lease in RIStorageServer.
David-Sarah Hopwood [Sat, 17 Nov 2012 00:32:24 +0000 (00:32 +0000)]
Changes to specification of add_lease and renew_lease in RIStorageServer.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agodocs/garbage-collection.rst: update text for leasedb changes.
David-Sarah Hopwood [Tue, 30 Oct 2012 20:34:30 +0000 (20:34 +0000)]
docs/garbage-collection.rst: update text for leasedb changes.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoUse "PRAGMA synchronous = OFF" for dbutil.
David-Sarah Hopwood [Thu, 6 Dec 2012 04:06:13 +0000 (04:06 +0000)]
Use "PRAGMA synchronous = OFF" for dbutil.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoAdd util/dbutil.py: open/create/update sqlite databases given some schema.
David-Sarah Hopwood [Fri, 16 Nov 2012 23:28:40 +0000 (23:28 +0000)]
Add util/dbutil.py: open/create/update sqlite databases given some schema.

Author: Brian Warner <warner@lothar.com>
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoutil/fileutil.py: add get_used_space. This version does not use FilePath.
David-Sarah Hopwood [Fri, 16 Nov 2012 23:26:41 +0000 (23:26 +0000)]
util/fileutil.py: add get_used_space. This version does not use FilePath.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agoSome useful Deferred utilities. Addresses Zooko's review comments.
David-Sarah Hopwood [Fri, 23 Nov 2012 00:23:54 +0000 (00:23 +0000)]
Some useful Deferred utilities. Addresses Zooko's review comments.
HookMixin and WaitForDelayedCallsMixin have been added for leasedb,
the rest are from the cloud backend branch, with minor improvements.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
10 years agomisc/simulators/hashbasedsig.py: revert last patch; the original code was correct.
Daira Hopwood [Tue, 25 Feb 2014 16:57:57 +0000 (16:57 +0000)]
misc/simulators/hashbasedsig.py: revert last patch; the original code was correct.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agomisc/simulators/hashbasedsig.py: fix minor miscalculation bug.
Daira Hopwood [Tue, 25 Feb 2014 16:55:19 +0000 (16:55 +0000)]
misc/simulators/hashbasedsig.py: fix minor miscalculation bug.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agomisc/simulators/hashbasedsig.py: the cost of labels was being double-counted.
Daira Hopwood [Tue, 25 Feb 2014 01:04:03 +0000 (01:04 +0000)]
misc/simulators/hashbasedsig.py: the cost of labels was being double-counted.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agomisc/simulators/hashbasedsig.py: fix an incorrect comment.
Daira Hopwood [Tue, 25 Feb 2014 00:58:38 +0000 (00:58 +0000)]
misc/simulators/hashbasedsig.py: fix an incorrect comment.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agoUse bigger random one-time keys in timing_safe_compare. fixes #2165
Daira Hopwood [Mon, 24 Feb 2014 20:23:39 +0000 (20:23 +0000)]
Use bigger random one-time keys in timing_safe_compare. fixes #2165

Follows this advice from Marsh Ray and Solar Designer: https://twitter.com/zooko/status/431105294777597952

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agoRename 'constant_time_compare' to 'timing_safe_compare'. refs #2165
Daira Hopwood [Mon, 24 Feb 2014 20:21:24 +0000 (20:21 +0000)]
Rename 'constant_time_compare' to 'timing_safe_compare'. refs #2165

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 years agoMerge pull request #85 from leif/isolate-keygen-test
Daira Hopwood [Sun, 12 Jan 2014 22:02:56 +0000 (14:02 -0800)]
Merge pull request #85 from leif/isolate-keygen-test

Isolate test_keygen in its own base directory. This also causes KeyGeneratorService to create its base directory if it does not exist.

10 years agoisolate test_keygen data 85/head
Leif Ryge [Sun, 12 Jan 2014 21:22:34 +0000 (21:22 +0000)]
isolate test_keygen data

This makes test_keygen use its own basedir, to avoid polluting the _trial_temp
directory for later tests.

10 years agoMerge pull request #84 from kpreid/patch-1
Daira Hopwood [Sun, 12 Jan 2014 18:30:37 +0000 (10:30 -0800)]
Merge pull request #84 from kpreid/patch-1

Change kpreid's email address.

10 years agoChange kpreid's email address. 84/head
Kevin Reid [Sat, 11 Jan 2014 17:39:51 +0000 (09:39 -0800)]
Change kpreid's email address.

10 years agoMerge pull request #82 from multikatt/typo
Daira Hopwood [Thu, 2 Jan 2014 21:20:35 +0000 (13:20 -0800)]
Merge pull request #82 from multikatt/typo

Small typo: "stil" -> "still"

10 years agoSmall typo: "stil" -> "still" 82/head
David [Thu, 2 Jan 2014 00:59:53 +0000 (01:59 +0100)]
Small typo: "stil" -> "still"

10 years agoMerge pull request #81 from multikatt/right_align
Daira Hopwood [Sat, 28 Dec 2013 13:47:53 +0000 (05:47 -0800)]
Merge pull request #81 from multikatt/right_align

Right-align the services div on the WUI Welcome page, to address overlap. refs #1931

11 years agoRight aligning services div 81/head
David [Thu, 26 Dec 2013 22:26:56 +0000 (23:26 +0100)]
Right aligning services div

11 years agodocs/about.rst: Reword and remove redundancy. Also avoid "(S)FTP".
Daira Hopwood [Wed, 4 Dec 2013 01:23:11 +0000 (01:23 +0000)]
docs/about.rst: Reword and remove redundancy. Also avoid "(S)FTP".

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agoMerge pull request #73 from pataquets/patch-1
zooko [Tue, 3 Dec 2013 16:44:17 +0000 (08:44 -0800)]
Merge pull request #73 from pataquets/patch-1

Warn about ambiguities on "client" and "gateway" terms

11 years agoWarn about ambiguities on "client" and "gateway" terms 73/head
pataquets [Tue, 3 Dec 2013 16:25:45 +0000 (17:25 +0100)]
Warn about ambiguities on "client" and "gateway" terms

11 years agoMerge pull request #69 from zooko/1948-fix-warnings-from-make-doc-checks-3
zooko [Sun, 17 Nov 2013 16:21:29 +0000 (08:21 -0800)]
Merge pull request #69 from zooko/1948-fix-warnings-from-make-doc-checks-3

1948 fix warnings from make doc checks 3

11 years agochange more links to footnote-style 69/head
Zooko Wilcox-O'Hearn [Sun, 17 Nov 2013 15:46:31 +0000 (15:46 +0000)]
change more links to footnote-style

11 years agoupdate link to Maildir tips (thanks MK_FG)
Zooko Wilcox-O'Hearn [Tue, 12 Nov 2013 16:37:02 +0000 (16:37 +0000)]
update link to Maildir tips (thanks MK_FG)

11 years agofix warnings from rst2html
Zooko Wilcox-O'Hearn [Mon, 11 Nov 2013 22:04:11 +0000 (22:04 +0000)]
fix warnings from rst2html

Apparently the in-line link syntax with "<>" in them causes these warnings. I
don't know why. I changed them all to a slightly more verbose syntax.

Thanks to Mike Kazantzsev's review comment
(https://github.com/tahoe-lafs/tahoe-lafs/pull/67#commitcomment-4561370), I
moved the links to the end of each section.

11 years agomagic first line tells emacs to use utf8+bom 66/head
Zooko Wilcox-O'Hearn [Fri, 8 Nov 2013 20:31:08 +0000 (20:31 +0000)]
magic first line tells emacs to use utf8+bom

Add ".. -*- coding: utf-8-with-signature -*-" to the first line of each .rst
file. This tells emacs to treat the file contents as utf-8, and also to prepend
a so-called utf-8 "bom" marker at the beginning of the file. This patch also
prepends those markers to each of those files.

11 years agoFix typo pointed out by CptPlastic.
Daira Hopwood [Tue, 22 Oct 2013 01:31:52 +0000 (02:31 +0100)]
Fix typo pointed out by CptPlastic.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agoMakefile: update comment for 'make clean'.
Daira Hopwood [Thu, 10 Oct 2013 18:50:49 +0000 (19:50 +0100)]
Makefile: update comment for 'make clean'.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agoMerge pull request #64 from daira/2092-distclean
Daira Hopwood [Thu, 10 Oct 2013 18:42:14 +0000 (11:42 -0700)]
Merge pull request #64 from daira/2092-distclean

Add 'make distclean'.

11 years agoAdd 'make distclean'. 64/head
Daira Hopwood [Thu, 10 Oct 2013 16:47:30 +0000 (17:47 +0100)]
Add 'make distclean'.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agoMerge pull request #63 from zooko/2092-make-clean-shouldnt-remove-allmydata-tahoe...
Daira Hopwood [Thu, 10 Oct 2013 16:41:48 +0000 (09:41 -0700)]
Merge pull request #63 from zooko/2092-make-clean-shouldnt-remove-allmydata-tahoe-egg-info

remove tahoe egg-info dir from the "clean" rule

11 years agoremove tahoe egg-info dir from the "clean" rule 63/head
Zooko Wilcox-O'Hearn [Thu, 10 Oct 2013 01:52:44 +0000 (01:52 +0000)]
remove tahoe egg-info dir from the "clean" rule

fixes #2092

11 years agoAdd quotes around command lines in quickstart.rst.
Daira Hopwood [Sat, 5 Oct 2013 17:55:01 +0000 (18:55 +0100)]
Add quotes around command lines in quickstart.rst.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agoMerge pull request #62 from zooko/master
zooko [Sat, 5 Oct 2013 04:31:11 +0000 (21:31 -0700)]
Merge pull request #62 from zooko/master

fix a couple more "file:" links

11 years agoMerge pull request #61 from zooko/fix-small-formatting-issues-in-docs
zooko [Sat, 5 Oct 2013 04:24:40 +0000 (21:24 -0700)]
Merge pull request #61 from zooko/fix-small-formatting-issues-in-docs

fix small issues in formatting

11 years agofix a couple more "file:" links 62/head
Zooko Wilcox-O'Hearn [Sat, 5 Oct 2013 03:44:39 +0000 (03:44 +0000)]
fix a couple more "file:" links

Making them be just links to "$FILENAME" instead of to "file:$FILENAME" causes
them to be working links on trac and on github. Yay!

11 years agofix small issues in formatting 61/head
Zooko Wilcox-O'Hearn [Sat, 5 Oct 2013 03:29:00 +0000 (03:29 +0000)]
fix small issues in formatting

* fix warning from "rst2html --verbose" by not using the in-line hyperlink
  syntax. The warning said::

    known_issues.rst:261: (INFO/1) Hyperlink target "google chart api" is not referenced.

* remove dead code (no-longer-referenced link), thus fixing another warning

* change links to relative files to be just $FILENAME instead of
  file:$FILENAME, which I think will fix the problem of broken links on the
  trac and github, e.g. the link in
  https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/known_issues.rst ,
  which ought to go to
  https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/cautions.rst , but
  instead goes to file:///cautions.rst

11 years agomisc/build_helpers/gen-package-table.py: show Python 2.6 as unsupported on Windows.
Daira Hopwood [Mon, 9 Sep 2013 22:18:18 +0000 (23:18 +0100)]
misc/build_helpers/gen-package-table.py: show Python 2.6 as unsupported on Windows.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agoTweak Travis IRC notification settings.
Daira Hopwood [Sun, 1 Sep 2013 02:03:24 +0000 (03:03 +0100)]
Tweak Travis IRC notification settings.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoCustomize Travis notifications.
Daira Hopwood [Sun, 1 Sep 2013 01:49:03 +0000 (02:49 +0100)]
Customize Travis notifications.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoAdd Travis configuration.
Daira Hopwood [Sat, 31 Aug 2013 20:35:19 +0000 (21:35 +0100)]
Add Travis configuration.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agotahoe debug trial: print a warning message if testing uncommitted code. fixes #1992 45/head
Daira Hopwood [Wed, 29 May 2013 00:17:40 +0000 (01:17 +0100)]
tahoe debug trial: print a warning message if testing uncommitted code. fixes #1992

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoMerge pull request #57 from markberger/1842-lease-tradeoff.svg-overlapping
zooko [Tue, 27 Aug 2013 15:18:07 +0000 (08:18 -0700)]
Merge pull request #57 from markberger/1842-lease-tradeoff.svg-overlapping

Fixes the overlapping text in docs/lease-tradeoffs.svg

11 years agoMerge pull request #48 from markberger/740-cli-accept-multiple-aliases
zooko [Tue, 27 Aug 2013 15:16:12 +0000 (08:16 -0700)]
Merge pull request #48 from markberger/740-cli-accept-multiple-aliases

740 cli accept multiple aliases

11 years agoFixes the overlapping text in docs/lease-tradeoffs.svg 57/head
Mark J. Berger [Wed, 7 Aug 2013 17:12:59 +0000 (13:12 -0400)]
Fixes the overlapping text in docs/lease-tradeoffs.svg

This fixes ticket #1842. Patch courtesy of PRabahy.

11 years agoAdded test_check_with_multiple_aliases in test_cli 48/head
Mark Berger [Tue, 14 May 2013 05:45:46 +0000 (22:45 -0700)]
Added test_check_with_multiple_aliases in test_cli

11 years agoAllows check and deep-check to take multiple arguments (ticket #740)
Mark Berger [Mon, 22 Apr 2013 06:37:39 +0000 (23:37 -0700)]
Allows check and deep-check to take multiple arguments (ticket #740)

11 years agoFix a pyflakes import warning.
Daira Hopwood [Thu, 18 Jul 2013 19:54:19 +0000 (20:54 +0100)]
Fix a pyflakes import warning.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agosrc/allmydata/uri.py: Remove unused 'human encoding' methods, and associated tests...
Daira Hopwood [Thu, 18 Jul 2013 19:51:06 +0000 (20:51 +0100)]
src/allmydata/uri.py: Remove unused 'human encoding' methods, and associated tests. fixes #1807

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoIgnore .*.kate-swp and /*.patch files.
Daira Hopwood [Tue, 16 Jul 2013 15:14:42 +0000 (16:14 +0100)]
Ignore .*.kate-swp and /*.patch files.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agoIgnore .DS_Store files 52/head
Mark Berger [Mon, 15 Jul 2013 18:45:14 +0000 (14:45 -0400)]
Ignore .DS_Store files

11 years agoAdd a link in accounting-overview.txt to ticket #666. 51/head
Nathan Wilcox [Thu, 4 Jul 2013 19:47:28 +0000 (12:47 -0700)]
Add a link in accounting-overview.txt to ticket #666.

11 years agotest_iputil.py: fix and improve tests on Windows.
Daira Hopwood [Wed, 26 Jun 2013 15:44:05 +0000 (16:44 +0100)]
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>
11 years agotest_iputil.py: repair a test for cygwin (which is intended to behave differently).
Daira Hopwood [Tue, 25 Jun 2013 22:32:02 +0000 (23:32 +0100)]
test_iputil.py: repair a test for cygwin (which is intended to behave differently).

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoiputil.py: simplify address finding code on cygwin.
Daira Hopwood [Tue, 25 Jun 2013 18:51:27 +0000 (19:51 +0100)]
iputil.py: simplify address finding code on cygwin.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agotest_iputil.py: use more realistic error for 'command not found' in mock.
Daira Hopwood [Tue, 25 Jun 2013 18:50:52 +0000 (19:50 +0100)]
test_iputil.py: use more realistic error for 'command not found' in mock.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agotest_iputil.py: repair a test by mocking 'get_local_ip_for'.
Daira Hopwood [Tue, 25 Jun 2013 18:50:00 +0000 (19:50 +0100)]
test_iputil.py: repair a test by mocking 'get_local_ip_for'.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoiputil.py: add tests for recent changes. refs #1381, #1988, #982, #1064, #1536, ...
Daira Hopwood [Tue, 25 Jun 2013 18:15:05 +0000 (19:15 +0100)]
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>
11 years agoiputil.py: fix an error handling bug. refs #1381
Daira Hopwood [Tue, 25 Jun 2013 18:13:48 +0000 (19:13 +0100)]
iputil.py: fix an error handling bug. refs #1381

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoiputil.py: minor cleanup to avoid dropping a Deferred.
Daira Hopwood [Tue, 28 May 2013 18:52:47 +0000 (19:52 +0100)]
iputil.py: minor cleanup to avoid dropping a Deferred.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoiputil.py: refactor address-finding code to treat all Unices the same.
Daira Hopwood [Tue, 28 May 2013 18:52:19 +0000 (19:52 +0100)]
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>
11 years agoiputil.py: retry address queries on EINTR. fixes #1381
Daira Hopwood [Tue, 28 May 2013 18:44:02 +0000 (19:44 +0100)]
iputil.py: retry address queries on EINTR. fixes #1381

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoMakefile: remove 'install' target. fixes #1717 44/head
Daira Hopwood [Sat, 25 May 2013 02:58:38 +0000 (03:58 +0100)]
Makefile: remove 'install' target. fixes #1717

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoWUI: add time page was rendered to client and introducer welcome pages. closes #1972
Daira Hopwood [Sun, 19 May 2013 22:27:23 +0000 (23:27 +0100)]
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>
11 years agoproperly describe saving incident reports. closes #1974 43/head
Leif Ryge [Sun, 19 May 2013 07:31:43 +0000 (07:31 +0000)]
properly describe saving incident reports. closes #1974

11 years agoImprovements to test refs #1742 1742-error-during-post
Daira Hopwood [Wed, 15 May 2013 13:14:12 +0000 (14:14 +0100)]
Improvements to test refs #1742

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoAdd a test for raising NotEnoughSharesError when a Retrieve object is created with...
Daira Hopwood [Wed, 15 May 2013 03:25:42 +0000 (04:25 +0100)]
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>
11 years agoInclude the number of remaining shares of the right version in NotEnoughSharesError...
Daira Hopwood [Tue, 14 May 2013 16:53:51 +0000 (17:53 +0100)]
Include the number of remaining shares of the right version in NotEnoughSharesError messages.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agomutable/retrieve.py: improve comments. refs #1742
Daira Hopwood [Fri, 10 May 2013 22:01:16 +0000 (23:01 +0100)]
mutable/retrieve.py: improve comments. refs #1742

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agoRaise NotEnoughSharesError if there are initially not enough shares for a mutable...
Daira Hopwood [Fri, 10 May 2013 21:40:00 +0000 (22:40 +0100)]
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>
11 years agomutable/retrieve.py: inline the single-use function _remove_reader.
Daira Hopwood [Fri, 10 May 2013 21:21:23 +0000 (22:21 +0100)]
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>
11 years agoAdd dummy __init__.py files for directories containing data. fixes #1960
Daira Hopwood [Tue, 14 May 2013 22:07:19 +0000 (23:07 +0100)]
Add dummy __init__.py files for directories containing data. fixes #1960

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agosetup.py: add allmydata/web/static/img/*.png to package_data. refs #1969
Daira Hopwood [Tue, 14 May 2013 16:55:17 +0000 (17:55 +0100)]
setup.py: add allmydata/web/static/img/*.png to package_data. refs #1969

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
11 years agominor changes to hush newer pyflakes
Brian Warner [Thu, 2 May 2013 02:09:07 +0000 (19:09 -0700)]
minor changes to hush newer pyflakes

apparently it can now detect aliasing from inside list comprehensions

11 years agoupdate release how-to to be closer to current reality
Brian Warner [Wed, 1 May 2013 22:24:24 +0000 (15:24 -0700)]
update release how-to to be closer to current reality

11 years agoUpdate terminology in RAIC design doc.
Daira Hopwood [Mon, 15 Apr 2013 19:06:14 +0000 (20:06 +0100)]
Update terminology in RAIC design doc.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
11 years agodocs/proposed/leasedb.rst: Add design doc for leasedb.
David-Sarah Hopwood [Thu, 6 Dec 2012 03:53:54 +0000 (03:53 +0000)]
docs/proposed/leasedb.rst: Add design doc for leasedb.
This version refs #1834.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
11 years agoShow git branch in version output. fixes #1953
Daira Hopwood [Thu, 25 Apr 2013 01:14:50 +0000 (02:14 +0100)]
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>
11 years agoupdate docs for 1.10 release allmydata-tahoe-1.10.0
Brian Warner [Wed, 1 May 2013 17:25:40 +0000 (10:25 -0700)]
update docs for 1.10 release