]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
9 years agoopenstack_container.py: disable or remove debug prints.
David-Sarah Hopwood [Thu, 14 Feb 2013 22:30:04 +0000 (22:30 +0000)]
openstack_container.py: disable or remove debug prints.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoopenstack_container.py: fix a bug in type of ContainerListing.is_truncated.
David-Sarah Hopwood [Thu, 14 Feb 2013 22:29:17 +0000 (22:29 +0000)]
openstack_container.py: fix a bug in type of ContainerListing.is_truncated.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoMove classes common to mock and OpenStack cloud services, to cloud_common.py.
David-Sarah Hopwood [Thu, 14 Feb 2013 22:24:08 +0000 (22:24 +0000)]
Move classes common to mock and OpenStack cloud services, to cloud_common.py.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agotest_storage.py: refactor OpenStackCloudBackend to make it easier to add new tests.
David-Sarah Hopwood [Thu, 14 Feb 2013 22:19:34 +0000 (22:19 +0000)]
test_storage.py: refactor OpenStackCloudBackend to make it easier to add new tests.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoOpenStack: mostly complete implementation of OpenStackContainer.
David-Sarah Hopwood [Wed, 13 Feb 2013 22:08:46 +0000 (22:08 +0000)]
OpenStack: mostly complete implementation of OpenStackContainer.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoOpenStack: improve logging in openstack_container.py.
David-Sarah Hopwood [Wed, 13 Feb 2013 22:07:55 +0000 (22:07 +0000)]
OpenStack: improve logging in openstack_container.py.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoOpenStack: add openstack.container config parameter.
David-Sarah Hopwood [Tue, 12 Feb 2013 01:58:51 +0000 (01:58 +0000)]
OpenStack: add openstack.container config parameter.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoAdd test for OpenStack authentication client.
David-Sarah Hopwood [Tue, 12 Feb 2013 01:44:43 +0000 (01:44 +0000)]
Add test for OpenStack authentication client.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoopenstack_container.py: add shutdown() to avoid unclean reactor errors in tests.
David-Sarah Hopwood [Mon, 11 Feb 2013 02:43:36 +0000 (02:43 +0000)]
openstack_container.py: add shutdown() to avoid unclean reactor errors in tests.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoopenstack_container.py: add _ prefix to private attributes.
David-Sarah Hopwood [Mon, 11 Feb 2013 02:42:23 +0000 (02:42 +0000)]
openstack_container.py: add _ prefix to private attributes.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agosetup.py: add allmydata.storage.backends.cloud.openstack module.
David-Sarah Hopwood [Tue, 5 Feb 2013 19:58:32 +0000 (19:58 +0000)]
setup.py: add allmydata.storage.backends.cloud.openstack module.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agotest_client.py: add OpenStack config tests.
David-Sarah Hopwood [Tue, 5 Feb 2013 19:42:17 +0000 (19:42 +0000)]
test_client.py: add OpenStack config tests.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agotest_client.py: cleanups to S3 config tests.
David-Sarah Hopwood [Tue, 5 Feb 2013 19:42:01 +0000 (19:42 +0000)]
test_client.py: cleanups to S3 config tests.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoOpenStack service: add AuthenticationClient.
David-Sarah Hopwood [Tue, 5 Feb 2013 19:41:31 +0000 (19:41 +0000)]
OpenStack service: add AuthenticationClient.
Configure using properties relevant to OpenStack.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoAdd stub OpenStack container impl. as a copy of S3 container impl.
David-Sarah Hopwood [Tue, 29 Jan 2013 23:17:31 +0000 (23:17 +0000)]
Add stub OpenStack container impl. as a copy of S3 container impl.
Generalize the container instantiation to work for either.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoFix interface violations introduced in cloud merge.
David-Sarah Hopwood [Wed, 20 Feb 2013 06:25:32 +0000 (06:25 +0000)]
Fix interface violations introduced in cloud merge.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoMake backupdb use dbutil.
Daira Hopwood [Mon, 15 Apr 2013 19:50:40 +0000 (20:50 +0100)]
Make backupdb use dbutil.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMakefile: have 'make tmpfstest' unmount and remove stale temp directories.
David-Sarah Hopwood [Wed, 12 Dec 2012 07:19:47 +0000 (07:19 +0000)]
Makefile: have 'make tmpfstest' unmount and remove stale temp directories.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoMakefile: the timing for 'make tmpfstest' should exclude filesystem
David-Sarah Hopwood [Wed, 12 Dec 2012 07:18:55 +0000 (07:18 +0000)]
Makefile: the timing for 'make tmpfstest' should exclude filesystem
mounting/unmounting and entering the password if needed.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoMakefile: allow tmpfs size to be more easily overridden, and use 500 MiB by default...
Daira Hopwood [Fri, 10 Jul 2015 04:23:01 +0000 (05:23 +0100)]
Makefile: allow tmpfs size to be more easily overridden, and use 500 MiB by default (rebased).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agotest_runner.py: add test for 'tahoe debug trial'.
David-Sarah Hopwood [Wed, 12 Dec 2012 07:12:05 +0000 (07:12 +0000)]
test_runner.py: add test for 'tahoe debug trial'.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoFixes to tests. Some tests are applied to multiple backends.
Daira Hopwood [Fri, 10 Jul 2015 04:21:17 +0000 (05:21 +0100)]
Fixes to tests. Some tests are applied to multiple backends.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoFixes to test infrastructure.
Daira Hopwood [Fri, 10 Jul 2015 03:43:07 +0000 (04:43 +0100)]
Fixes to test infrastructure.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMiscellaneous corrections and additions.
David-Sarah Hopwood [Wed, 12 Dec 2012 07:04:31 +0000 (07:04 +0000)]
Miscellaneous corrections and additions.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoChanges to crawler classes (ShareCrawler and AccountingCrawler).
David-Sarah Hopwood [Wed, 12 Dec 2012 07:01:59 +0000 (07:01 +0000)]
Changes to crawler classes (ShareCrawler and AccountingCrawler).
Pass in a Clock to allow (in theory) deterministic testing, although this isn't used yet by tests.
Simplify the generic ShareCrawler code by not attempting to track state during processing
of a single prefix.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoChanges to fileutil.
Daira Hopwood [Fri, 10 Jul 2015 03:35:27 +0000 (04:35 +0100)]
Changes to fileutil.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoFix bugs in Accountant.
David-Sarah Hopwood [Wed, 12 Dec 2012 06:54:02 +0000 (06:54 +0000)]
Fix bugs in Accountant.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoSimplify Account.
David-Sarah Hopwood [Wed, 12 Dec 2012 06:53:24 +0000 (06:53 +0000)]
Simplify Account.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 years agoChanges to debug.py.
Daira Hopwood [Fri, 10 Jul 2015 03:34:00 +0000 (04:34 +0100)]
Changes to debug.py.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoChanges to node classes (Node, Client and StorageServer).
Daira Hopwood [Fri, 10 Jul 2015 03:23:15 +0000 (04:23 +0100)]
Changes to node classes (Node, Client and StorageServer).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoChanges to Bucket{Reader,Writer} and disk backend (rebased).
Daira Hopwood [Tue, 8 Apr 2014 23:56:58 +0000 (00:56 +0100)]
Changes to Bucket{Reader,Writer} and disk backend (rebased).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoChanges and additions to interface documentation.
David-Sarah Hopwood [Wed, 12 Dec 2012 06:23:16 +0000 (06:23 +0000)]
Changes and additions to interface documentation.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
9 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>
9 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>
9 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>
9 years agoAdd dependency on our fork of txAWS (0.2.1.post5).
Daira Hopwood [Fri, 10 Jul 2015 03:20:08 +0000 (04:20 +0100)]
Add dependency on our fork of txAWS (0.2.1.post5).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agoRemove unused files storage/lease.py and storage/expirer.py.
Daira Hopwood [Fri, 10 Jul 2015 03:10:53 +0000 (04:10 +0100)]
Remove unused files storage/lease.py and storage/expirer.py.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMain leasedb changes (rebased).
Daira Hopwood [Fri, 10 Jul 2015 03:09:46 +0000 (04:09 +0100)]
Main leasedb changes (rebased).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agoRemove the [storage]expire.{mutable,immutable} options.
Daira Hopwood [Fri, 10 Jul 2015 03:06:08 +0000 (04:06 +0100)]
Remove the [storage]expire.{mutable,immutable} options.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoRemove support for [storage]debug_discard option.
Daira Hopwood [Fri, 10 Jul 2015 03:04:58 +0000 (04:04 +0100)]
Remove support for [storage]debug_discard option.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 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>
9 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>
9 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>
9 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>
9 years agodocs/how-to-release: add more wiki pages to update
Brian Warner [Sat, 27 Jun 2015 01:39:29 +0000 (18:39 -0700)]
docs/how-to-release: add more wiki pages to update

9 years agoadd test-pip-install
Brian Warner [Tue, 16 Jun 2015 20:41:21 +0000 (13:41 -0700)]
add test-pip-install

9 years agorelease checklist: use signed git tag next time
Brian Warner [Tue, 16 Jun 2015 01:35:55 +0000 (18:35 -0700)]
release checklist: use signed git tag next time

9 years agoREADME: update copyright date allmydata-tahoe-1.10.1
Brian Warner [Tue, 16 Jun 2015 00:38:01 +0000 (17:38 -0700)]
README: update copyright date

9 years agoupdate docs for 1.10.1 release
Brian Warner [Mon, 15 Jun 2015 23:29:37 +0000 (16:29 -0700)]
update docs for 1.10.1 release

9 years agoDockerfile: git-pull more history, to get a version string
Brian Warner [Mon, 15 Jun 2015 21:40:19 +0000 (14:40 -0700)]
Dockerfile: git-pull more history, to get a version string

The Docker build process seems to use 'git pull --depth=1', which
doesn't fetch enough history to see a tag, which means tahoe's setup.py
can't compute a version (then 'tahoe --version' reports "unknown").
Pulling a hundred commits should be enough to see a tag without making
the resulting image unnecessarily large. If we go more than 100 commits
between tags, we'll need to increase this, or come up with something
smarter.

9 years agoFinish user-interface.rst. fixes ticket:2443
Daira Hopwood [Thu, 11 Jun 2015 20:33:09 +0000 (21:33 +0100)]
Finish user-interface.rst. fixes ticket:2443

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMake a start on the Magic Folder Objective 5 (user interface design) doc. refs ticket...
Daira Hopwood [Thu, 4 Jun 2015 16:42:29 +0000 (17:42 +0100)]
Make a start on the Magic Folder Objective 5 (user interface design) doc. refs ticket:2443

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoNEWS.rst: fix missing link. 2318.news-cleanups.1 173/head
Daira Hopwood [Tue, 9 Jun 2015 17:48:07 +0000 (18:48 +0100)]
NEWS.rst: fix missing link.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoNEWS.rst for 1.10.1: links, formatting and nitpicks.
Daira Hopwood [Tue, 9 Jun 2015 17:45:14 +0000 (18:45 +0100)]
NEWS.rst for 1.10.1: links, formatting and nitpicks.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoNEWS: finish 1.10.1 edits. Good enough for beta1. allmydata-tahoe-1.10.1b1
Brian Warner [Tue, 9 Jun 2015 08:48:25 +0000 (01:48 -0700)]
NEWS: finish 1.10.1 edits. Good enough for beta1.

9 years agoNEWS: rearrange
Brian Warner [Mon, 8 Jun 2015 22:59:35 +0000 (15:59 -0700)]
NEWS: rearrange

9 years agoNEWS: remove many non-user-visible items
Brian Warner [Mon, 8 Jun 2015 22:58:48 +0000 (15:58 -0700)]
NEWS: remove many non-user-visible items

9 years agoNEWS: first editing pass
Brian Warner [Mon, 8 Jun 2015 22:55:23 +0000 (15:55 -0700)]
NEWS: first editing pass

9 years agoNEWS: classify changes as user-visible or not
Brian Warner [Mon, 8 Jun 2015 06:54:28 +0000 (23:54 -0700)]
NEWS: classify changes as user-visible or not

9 years agoNEWS.rst: update to include latest changes
Brian Warner [Mon, 8 Jun 2015 05:03:19 +0000 (22:03 -0700)]
NEWS.rst: update to include latest changes

9 years agomove Dockerfile back to root. DockerHub can't handle it elsewhere.
Brian Warner [Sun, 7 Jun 2015 21:30:58 +0000 (14:30 -0700)]
move Dockerfile back to root. DockerHub can't handle it elsewhere.

It looks like DockerHub's automated builds only have access to the
subtree of the source checkout at+below the Dockerfile. Putting the
Dockerfile in misc/build_helpers/ meant that the build process only had
access to misc/build_helpers/, not the full source tree.

9 years agoDockerfile: fix ADD path to deal with non-root location
Brian Warner [Sun, 7 Jun 2015 21:24:04 +0000 (14:24 -0700)]
Dockerfile: fix ADD path to deal with non-root location

9 years agomove Dockerfile down ito misc/build_helpers/
Brian Warner [Sun, 7 Jun 2015 20:40:26 +0000 (13:40 -0700)]
move Dockerfile down ito misc/build_helpers/

9 years agoMagic Folder design doc: rename "parent DMD" to "collective directory", and don't...
Daira Hopwood [Sat, 6 Jun 2015 21:45:42 +0000 (22:45 +0100)]
Magic Folder design doc: rename "parent DMD" to "collective directory", and don't assume it is mutable.
(An immutable collective directory could be interesting for some use cases, and is no more difficult to support.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoRemove packages from not_import_versionable that we now can always version. 2215.report-openssl-version.1 172/head
Daira Hopwood [Tue, 2 Jun 2015 17:12:23 +0000 (18:12 +0100)]
Remove packages from not_import_versionable that we now can always version.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd OpenSSL version check and tests. refs ticket:2215
Daira Hopwood [Tue, 2 Jun 2015 17:07:20 +0000 (18:07 +0100)]
Add OpenSSL version check and tests. refs ticket:2215

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoremote-to-local-sync.rst: fix a minor error.
Daira Hopwood [Fri, 29 May 2015 21:10:33 +0000 (22:10 +0100)]
remote-to-local-sync.rst: fix a minor error.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMagic Folder: add remote-to-local sync design doc.
Daira Hopwood [Fri, 29 May 2015 02:03:46 +0000 (03:03 +0100)]
Magic Folder: add remote-to-local sync design doc.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge branch 'globalopts2'
Brian Warner [Tue, 26 May 2015 20:23:31 +0000 (13:23 -0700)]
Merge branch 'globalopts2'

Improves CLI rendering of --help for global options. Closes ticket:2233.

9 years agowrap long lines, and tolerate various-width wrappings of the --help output 170/head
Brian Warner [Tue, 26 May 2015 18:32:14 +0000 (11:32 -0700)]
wrap long lines, and tolerate various-width wrappings of the --help output

test_cli.Help was too sensitive to the way that the --help output was
wrapped, which caused failures on travis when COLUMNS= was set low and
the expected strings were split across separate lines.

9 years agocli: improve formatting of all commands
Brian Warner [Tue, 26 May 2015 18:31:06 +0000 (11:31 -0700)]
cli: improve formatting of all commands

Also:

* do some light refactoring of create-client/node
* make it clear that these commands' --basedir options do the same as
  the global --node-directory option
* use "global-options" instead of "global-opts"

9 years agoscripts: improve rendering of synopsis/usage
Brian Warner [Tue, 26 May 2015 18:29:49 +0000 (11:29 -0700)]
scripts: improve rendering of synopsis/usage

Subcommands "--help" is now rendered as:

```
 tahoe [global-options] COMMAND [options] ARGS
 (use 'tahoe --help' to view global options)
 USAGE (flags/options)
 DESCRIPTION
 DESCRIPTION_UNWRAPPED
```

The new .description and .description_unwrapped fields allow
commands (subclasses of twisted.python.usage.Usage) better control over
how their explanations are rendered: the old .longdesc field was wrapped
unpleasantly.

9 years agoscripts/runner.py: put command group descriptions in parens
Brian Warner [Tue, 26 May 2015 15:11:44 +0000 (08:11 -0700)]
scripts/runner.py: put command group descriptions in parens

9 years agorefactor scripts/common.py: move _default_nodedir out to its own file
Brian Warner [Tue, 26 May 2015 15:06:06 +0000 (08:06 -0700)]
refactor scripts/common.py: move _default_nodedir out to its own file

9 years agoMerge pull request #169 from zooko/2433-dead-code-NamedTemporaryDirectory
Daira Hopwood [Tue, 26 May 2015 18:22:24 +0000 (19:22 +0100)]
Merge pull request #169 from zooko/2433-dead-code-NamedTemporaryDirectory

remove dead code: NamedTemporaryDirectory

9 years agoremove dead code: NamedTemporaryDirectory 169/head
Zooko [Tue, 26 May 2015 17:20:11 +0000 (17:20 +0000)]
remove dead code: NamedTemporaryDirectory

fixes #2433

9 years agoNEWS: update lists of tickets closed/referenced-as-not-closed allmydata-tahoe-1.10.1a1
Brian Warner [Fri, 22 May 2015 00:41:49 +0000 (17:41 -0700)]
NEWS: update lists of tickets closed/referenced-as-not-closed

9 years agotest-desert-island wasn't catching https downloads
Brian Warner [Thu, 21 May 2015 23:21:02 +0000 (16:21 -0700)]
test-desert-island wasn't catching https downloads

I think the desert-island build is broken, but the automated test wasn't
catching it because of this bug.

9 years agoNEWS: update with all recent changes. Still unedited.
Brian Warner [Thu, 21 May 2015 23:19:52 +0000 (16:19 -0700)]
NEWS: update with all recent changes. Still unedited.

9 years agoMANIFEST.in: add some missing files so tarballs are complete
Brian Warner [Thu, 21 May 2015 22:59:19 +0000 (15:59 -0700)]
MANIFEST.in: add some missing files so tarballs are complete

9 years agofileutil.py: use ctypes.get_last_error() instead of GetLastError(). refs #1531
Daira Hopwood [Mon, 18 May 2015 00:42:01 +0000 (01:42 +0100)]
fileutil.py: use ctypes.get_last_error() instead of GetLastError(). refs #1531

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoOn Windows, the user's home directory may be either %USERPROFILE% or %HOMEDRIVE%...
Daira Hopwood [Wed, 13 May 2015 13:42:31 +0000 (14:42 +0100)]
On Windows, the user's home directory may be either %USERPROFILE% or %HOMEDRIVE%%HOMEPATH% depending on the Windows version. fixes ticket:2417

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agointerfaces.py: fix arguments to create_subdirectory.
Daira Hopwood [Tue, 28 Apr 2015 22:35:06 +0000 (23:35 +0100)]
interfaces.py: fix arguments to create_subdirectory.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agodrop-upload.py: fix error messages.
Daira Hopwood [Tue, 28 Apr 2015 20:16:26 +0000 (21:16 +0100)]
drop-upload.py: fix error messages.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoFix a pyflakes warning.
Daira Hopwood [Wed, 13 May 2015 13:20:13 +0000 (14:20 +0100)]
Fix a pyflakes warning.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoUpdate copy of gen-package-table.py in source tree.
Daira Hopwood [Wed, 13 May 2015 12:36:04 +0000 (13:36 +0100)]
Update copy of gen-package-table.py in source tree.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoRetire the setup_requires hack in cases where it isn't needed (and can cause build...
Daira Hopwood [Sat, 2 May 2015 21:26:39 +0000 (22:26 +0100)]
Retire the setup_requires hack in cases where it isn't needed (and can cause build problems). refs #2286

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoNEWS.rst: add dependency updates. fixes #2415
Daira Hopwood [Wed, 13 May 2015 11:49:10 +0000 (12:49 +0100)]
NEWS.rst: add dependency updates. fixes #2415

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years ago_auto_deps.py: update comments. refs #2416
Daira Hopwood [Sat, 2 May 2015 20:38:48 +0000 (21:38 +0100)]
_auto_deps.py: update comments. refs #2416

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAllow working with Twisted >= 13 on Windows if pywin32 is manually installed. fixes...
Daira Hopwood [Sat, 2 May 2015 20:38:05 +0000 (21:38 +0100)]
Allow working with Twisted >= 13 on Windows if pywin32 is manually installed. fixes #2416

Signed-off-by: Daira Hopwood <daira@jacaranda.org>