tahoe-lafs/tahoe-lafs.git
9 years agofileutil: make the error behaviour of replace_file on Unix more similar to Windows.
Daira Hopwood [Tue, 2 Jun 2015 01:09:25 +0000 (02:09 +0100)]
fileutil: make the error behaviour of replace_file on Unix more similar to Windows.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agofileutil.py: add rename_no_overwrite and replace_file.
Daira Hopwood [Fri, 29 May 2015 20:38:09 +0000 (21:38 +0100)]
fileutil.py: add rename_no_overwrite and replace_file.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoWIP debugging.
Daira Hopwood [Mon, 8 Jun 2015 13:24:11 +0000 (14:24 +0100)]
WIP debugging.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoCosmetics.
Daira Hopwood [Mon, 8 Jun 2015 13:23:30 +0000 (14:23 +0100)]
Cosmetics.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoWIP
David Stainton [Tue, 26 May 2015 19:39:52 +0000 (12:39 -0700)]
WIP

9 years agofix more inotify test calls
David Stainton [Tue, 26 May 2015 17:04:08 +0000 (10:04 -0700)]
fix more inotify test calls

9 years agoClean up test at end
David Stainton [Tue, 26 May 2015 16:47:44 +0000 (09:47 -0700)]
Clean up test at end

this gets rid of the dirty reactor

9 years agoCopy all daira code from other branch...
David Stainton [Tue, 26 May 2015 16:42:19 +0000 (09:42 -0700)]
Copy all daira code from other branch...

9 years agoTest inotify with event agnostic notify
David Stainton [Tue, 26 May 2015 16:15:31 +0000 (09:15 -0700)]
Test inotify with event agnostic notify

def notify(self, path, mask)
instead of
def notify_close_write(self, path)

9 years agoAdd sleep to test
David Stainton [Tue, 26 May 2015 15:10:21 +0000 (08:10 -0700)]
Add sleep to test

9 years agoWIP
David Stainton [Tue, 26 May 2015 14:56:37 +0000 (07:56 -0700)]
WIP

9 years agoDisable use of Unicode-mode FilePaths on non-Windows platorms. fixes ticket:2444
Daira Hopwood [Mon, 8 Jun 2015 12:54:36 +0000 (13:54 +0100)]
Disable use of Unicode-mode FilePaths on non-Windows platorms. fixes ticket:2444

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoTeach uploader to use flat hierarchy. refs ticket:2442
Daira Hopwood [Sun, 7 Jun 2015 13:26:30 +0000 (14:26 +0100)]
Teach uploader to use flat hierarchy. refs ticket:2442

Author: David Stainton <david@leastauthority.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd Magic Folder path encoding. refs ticket:2442
David Stainton [Tue, 2 Jun 2015 00:11:57 +0000 (17:11 -0700)]
Add Magic Folder path encoding. refs ticket:2442

9 years agoMove backupdb out of scripts. fixes ticket:2408
Daira Hopwood [Mon, 20 Jul 2015 23:20:48 +0000 (00:20 +0100)]
Move backupdb out of scripts. fixes ticket:2408

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoProcess directories unconditionally.
Daira Hopwood [Tue, 28 Apr 2015 22:33:37 +0000 (23:33 +0100)]
Process directories unconditionally.
Also pass overwrite=False and suppress ExistingChildError when creating a
subdirectory, to avoid orphaning any existing directory.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoautoAdd isn't needed now that we add watches for subdirectories manually.
Daira Hopwood [Tue, 28 Apr 2015 22:30:30 +0000 (23:30 +0100)]
autoAdd isn't needed now that we add watches for subdirectories manually.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoWIP
Daira Hopwood [Tue, 28 Apr 2015 21:47:00 +0000 (22:47 +0100)]
WIP

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoTeach uploader to keep object stats, not file stats.
Daira Hopwood [Tue, 28 Apr 2015 20:15:02 +0000 (21:15 +0100)]
Teach uploader to keep object stats, not file stats.

We keep track of objects instead of files so that we are
not forced to determine the object type (file, directory,
symlink, special file etc.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd ignore count to uploaded callback.
Daira Hopwood [Tue, 28 Apr 2015 20:06:54 +0000 (21:06 +0100)]
Add ignore count to uploaded callback.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoTeach StorageFarmBroker to fire a deferred when a connection threshold is reached...
Daira Hopwood [Tue, 28 Apr 2015 20:03:45 +0000 (21:03 +0100)]
Teach StorageFarmBroker to fire a deferred when a connection threshold is reached. refs #1449

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoEnable Windows inotify support.
Daira Hopwood [Tue, 28 Apr 2015 19:58:07 +0000 (20:58 +0100)]
Enable Windows inotify support.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoNew code for Windows drop-upload support. refs #1431
Daira Hopwood [Tue, 28 Apr 2015 19:13:44 +0000 (20:13 +0100)]
New code for Windows drop-upload support. refs #1431

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoDocs for drop-upload on Windows.
Daira Hopwood [Tue, 28 Apr 2015 19:11:40 +0000 (20:11 +0100)]
Docs for drop-upload on Windows.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd magic folder db.
Daira Hopwood [Tue, 28 Apr 2015 19:52:05 +0000 (20:52 +0100)]
Add magic folder db.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoUnicode path fixes for drop-upload.
Daira Hopwood [Tue, 28 Apr 2015 19:43:09 +0000 (20:43 +0100)]
Unicode path fixes for drop-upload.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAvoid spurious errors when an imported version is consistent with pkg_resources 2499.avoid-spurious-version-errors.0 188/head
Daira Hopwood [Fri, 11 Sep 2015 23:59:51 +0000 (00:59 +0100)]
Avoid spurious errors when an imported version is consistent with pkg_resources
but not parseable; also improve related error reporting. fixes ticket:2499

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge pull request #187 from tahoe-lafs/2493.cleanup-osx-packaging.1
Daira Hopwood [Thu, 3 Sep 2015 14:23:10 +0000 (15:23 +0100)]
Merge pull request #187 from tahoe-lafs/2493.cleanup-osx-packaging.1

2493.cleanup osx packaging.1

9 years agoMove manpage into a heirarchical man1 path. 2493.cleanup-osx-packaging.1 187/head
Ramakrishnan Muthukrishnan [Thu, 3 Sep 2015 13:47:27 +0000 (19:17 +0530)]
Move manpage into a heirarchical man1 path.

Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>

9 years agoOS-X package: add a preinstall script and copy the manpage into /etc/manpaths.d.
Ramakrishnan Muthukrishnan [Wed, 2 Sep 2015 04:44:06 +0000 (10:14 +0530)]
OS-X package: add a preinstall script and copy the manpage into /etc/manpaths.d.

The preinstall script detects previous installation and removes it.

Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>

9 years agoChange some instances of "filesystem" that were missed to "file store".
Daira Hopwood [Fri, 31 Jul 2015 17:21:47 +0000 (18:21 +0100)]
Change some instances of "filesystem" that were missed to "file store".

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoupdate docs for 1.10.2 release allmydata-tahoe-1.10.2
Brian Warner [Fri, 31 Jul 2015 02:35:00 +0000 (19:35 -0700)]
update docs for 1.10.2 release

9 years agoadd a pypy that is allowed to fail 180/head 181/head
HawkOwl [Wed, 29 Jul 2015 02:21:31 +0000 (12:21 +1000)]
add a pypy that is allowed to fail

9 years agoupdate NEWS with recent changes allmydata-tahoe-1.10.2b1
Brian Warner [Wed, 29 Jul 2015 01:10:40 +0000 (18:10 -0700)]
update NEWS with recent changes

9 years agoquickstart: Mention python-dev package for Python.h
Brian Warner [Mon, 15 Jun 2015 04:21:22 +0000 (21:21 -0700)]
quickstart: Mention python-dev package for Python.h

Closes ticket:2328.

9 years agoMerge branch '2447-cp-overwrite'
Brian Warner [Wed, 29 Jul 2015 00:39:39 +0000 (17:39 -0700)]
Merge branch '2447-cp-overwrite'

9 years agotest_cli_cp: minor cleanup
Brian Warner [Wed, 29 Jul 2015 00:36:50 +0000 (17:36 -0700)]
test_cli_cp: minor cleanup

9 years agocp: error on target-filename collisions, rather than overwrite
Brian Warner [Wed, 29 Jul 2015 00:19:42 +0000 (17:19 -0700)]
cp: error on target-filename collisions, rather than overwrite

Closes ticket:2447

9 years agounit test for my desired behavior
Zooko [Tue, 16 Jun 2015 17:22:59 +0000 (17:22 +0000)]
unit test for my desired behavior

9 years agoMerge branch '2436.less-scary.3'
Brian Warner [Wed, 29 Jul 2015 00:38:09 +0000 (17:38 -0700)]
Merge branch '2436.less-scary.3'

This reverts and improves the earlier fix for ticket:2436

9 years agotest_version.py: minor cleanup. 2436.less-scary.3 178/head
Daira Hopwood [Tue, 28 Jul 2015 22:41:26 +0000 (23:41 +0100)]
test_version.py: minor cleanup.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoDon't show scary diagnostic warnings from --version[-and-path] (corrected). refs...
Daira Hopwood [Tue, 28 Jul 2015 22:41:13 +0000 (23:41 +0100)]
Don't show scary diagnostic warnings from --version[-and-path] (corrected). refs ticket:2436

The previous version would incorrectly add to the output of
get_package_versions_string each time it was called.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoRevert "Don't show scary diagnostic warnings from --version[-and-path]"
Daira Hopwood [Tue, 28 Jul 2015 16:35:11 +0000 (17:35 +0100)]
Revert "Don't show scary diagnostic warnings from --version[-and-path]"

This reverts commit 431728f8f854e02d9ab2f731675f12ce18cda122.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agomutable/retrieve.py: remove all bare assert()s
Brian Warner [Tue, 28 Jul 2015 20:32:46 +0000 (13:32 -0700)]
mutable/retrieve.py: remove all bare assert()s

Replace them with _assert() or precondition(). Closes ticket:2462.

9 years agoimprove HTTP byte-range docs
Brian Warner [Tue, 28 Jul 2015 20:28:36 +0000 (13:28 -0700)]
improve HTTP byte-range docs

9 years agowebapi.rst: document Range: header on GET requests
Brian Warner [Tue, 28 Jul 2015 20:15:50 +0000 (13:15 -0700)]
webapi.rst: document Range: header on GET requests

closes ticket#2460

9 years agoIReadable.read(): document out-of-range errors
Brian Warner [Tue, 28 Jul 2015 20:01:15 +0000 (13:01 -0700)]
IReadable.read(): document out-of-range errors

closes ticket#2461

9 years agoMerge branch 'sdmf-partial-2'
Brian Warner [Tue, 28 Jul 2015 18:02:17 +0000 (11:02 -0700)]
Merge branch 'sdmf-partial-2'

This cleans up the mutable-retrieve code a bit, and should fix some
corner cases where an offset/size combinations that reads the last byte
of the file (but not the first) could cause an assert to fire, making
the download hang. Should address ticket:2459 and ticket:2462.

9 years agotest_mutable: more enhancements
Brian Warner [Tue, 28 Jul 2015 17:27:24 +0000 (10:27 -0700)]
test_mutable: more enhancements

9 years agomutable/retrieve.py: rewrite partial-read handling 177/head
Brian Warner [Tue, 28 Jul 2015 17:11:47 +0000 (10:11 -0700)]
mutable/retrieve.py: rewrite partial-read handling

This should tolerate offset/size combinations that read the last byte of
the file, something which was broken before. It quits early in the case
of zero-byte reads, to simplify the resulting "which segments do I need"
logic. Probably addresses ticket:2459.

9 years agoenhance SDMF/MDMF tests: zero-length files, size=None
Brian Warner [Tue, 28 Jul 2015 16:56:42 +0000 (09:56 -0700)]
enhance SDMF/MDMF tests: zero-length files, size=None

9 years agoAdd tests for SDMF partial reads. refs #2459
Daira Hopwood [Tue, 7 Jul 2015 20:28:59 +0000 (21:28 +0100)]
Add tests for SDMF partial reads. refs #2459

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoRemove some bare asserts in retrieve.py (there are still quite a few left). refs...
Daira Hopwood [Tue, 7 Jul 2015 20:01:33 +0000 (21:01 +0100)]
Remove some bare asserts in retrieve.py (there are still quite a few left). refs #2462

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge pull request #176 from tahoe-lafs/2436.less-scary.0
zooko [Tue, 21 Jul 2015 17:59:31 +0000 (17:59 +0000)]
Merge pull request #176 from tahoe-lafs/2436.less-scary.0

Don't show scary diagnostic warnings from --version[-and-path] if the only problem is that extra packages are found by pkg_resources.

9 years agoMinor code cleanup in __init__.py. 2436.less-scary.0 176/head
Daira Hopwood [Tue, 21 Jul 2015 17:55:47 +0000 (18:55 +0100)]
Minor code cleanup in __init__.py.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoDon't show scary diagnostic warnings from --version[-and-path]
Daira Hopwood [Tue, 21 Jul 2015 17:51:29 +0000 (18:51 +0100)]
Don't show scary diagnostic warnings from --version[-and-path]
if the only problem is that extra packages are found by pkg_resources.
fixes ticket:2436

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoChange the separator character in the Magic Folder user interface design doc from...
Daira Hopwood [Mon, 20 Jul 2015 23:16:40 +0000 (00:16 +0100)]
Change the separator character in the Magic Folder user interface design doc from '|' to '+'.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoEliminate mock dependency. 2465.eliminate-mock.1 175/head
Daira Hopwood [Fri, 17 Jul 2015 21:03:53 +0000 (22:03 +0100)]
Eliminate mock dependency.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd Namespace utility class. (This is already used in the leasedb/cloud backend branch.)
Daira Hopwood [Fri, 17 Jul 2015 20:16:45 +0000 (21:16 +0100)]
Add Namespace utility class. (This is already used in the leasedb/cloud backend branch.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMakefile upload-osx-pkg: mention where the packages go
Brian Warner [Thu, 16 Jul 2015 16:27:26 +0000 (09:27 -0700)]
Makefile upload-osx-pkg: mention where the packages go

9 years agoBump pyasn1 requirement to >= 0.1.8.
Daira Hopwood [Thu, 16 Jul 2015 14:38:06 +0000 (15:38 +0100)]
Bump pyasn1 requirement to >= 0.1.8.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoBlacklist mock > 1.0.1.
Daira Hopwood [Thu, 16 Jul 2015 14:24:45 +0000 (15:24 +0100)]
Blacklist mock > 1.0.1.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agotest/check_load: hush (newer) pyflakes
Brian Warner [Mon, 13 Jul 2015 01:25:55 +0000 (18:25 -0700)]
test/check_load: hush (newer) pyflakes

pyflakes-0.9.2 gets confused about list comprehensions, so rename the
loop variable even though we'd deleted that name already.

9 years agotest_web: avoid IP autodetection, was causing dirty reactor
Brian Warner [Mon, 13 Jul 2015 01:20:43 +0000 (18:20 -0700)]
test_web: avoid IP autodetection, was causing dirty reactor

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