Brian Warner
45ebbbf44b
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.
2015-05-26 11:40:17 -07:00
Brian Warner
8f41713fe9
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"
2015-05-26 11:31:06 -07:00
Brian Warner
01619844de
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.
2015-05-26 11:29:49 -07:00
Brian Warner
5d5fa05a42
scripts/runner.py: put command group descriptions in parens
2015-05-26 11:27:57 -07:00
Brian Warner
1c34cbd627
refactor scripts/common.py: move _default_nodedir out to its own file
2015-05-26 11:27:57 -07:00
Daira Hopwood
b5602463dc
Merge pull request #169 from zooko/2433-dead-code-NamedTemporaryDirectory
...
remove dead code: NamedTemporaryDirectory
2015-05-26 19:22:24 +01:00
Zooko
a9b152780e
remove dead code: NamedTemporaryDirectory
...
fixes #2433
2015-05-26 17:20:11 +00:00
Brian Warner
61e2ae4aa8
NEWS: update lists of tickets closed/referenced-as-not-closed
2015-05-21 17:41:49 -07:00
Brian Warner
a517e00717
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.
2015-05-21 16:21:02 -07:00
Brian Warner
3c6a82e23c
NEWS: update with all recent changes. Still unedited.
2015-05-21 16:19:52 -07:00
Brian Warner
502efcf93c
MANIFEST.in: add some missing files so tarballs are complete
2015-05-21 15:59:19 -07:00
Daira Hopwood
143af61518
fileutil.py: use ctypes.get_last_error() instead of GetLastError(). refs #1531
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-18 01:42:01 +01:00
Daira Hopwood
4794666df6
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>
2015-05-13 14:42:31 +01:00
Daira Hopwood
f973657a6a
interfaces.py: fix arguments to create_subdirectory.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-13 14:21:28 +01:00
Daira Hopwood
5d046c597e
drop-upload.py: fix error messages.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-13 14:21:17 +01:00
Daira Hopwood
0c4acc763b
Fix a pyflakes warning.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-13 14:21:17 +01:00
Daira Hopwood
a2e116b330
Update copy of gen-package-table.py in source tree.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-13 13:36:04 +01:00
Daira Hopwood
07aa5e76b5
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>
2015-05-13 12:49:18 +01:00
Daira Hopwood
9c10e619d2
NEWS.rst: add dependency updates. fixes #2415
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-13 12:49:10 +01:00
Daira Hopwood
d106a77567
_auto_deps.py: update comments. refs #2416
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-13 12:44:21 +01:00
Daira Hopwood
c2874a7073
Allow working with Twisted >= 13 on Windows if pywin32 is manually installed. fixes #2416
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-13 12:44:21 +01:00
Daira Hopwood
c999a17405
Merge pull request #165 from pataquets/add-dockerfile
...
Base Dockerfile initial version.
2015-05-11 21:06:17 +01:00
amontero-referup
b765b18285
Remove .bashrc alias uncommenting.
2015-05-11 19:04:30 +02:00
Daira Hopwood
aa65426ad3
docs/frontends/CLI.rst: clarification.
...
The implementation (in [source:src/allmydata/scripts/common.py]) actually tests whether there is a slash anywhere before the first colon.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-11 15:05:42 +01:00
Daira Hopwood
7ee151fa55
docs/frontends/CLI.rst: remove a superfluous TODO.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-11 14:50:32 +01:00
pataquets
8053c42675
Base Dockerfile initial version.
2015-05-10 14:07:48 +02:00
Brian Warner
b32664b451
Merge branch '2399-cp-mkdir'
...
closes ticket:2399
2015-05-03 22:14:53 -07:00
Brian Warner
be5d07a70a
apply review feedback
2015-05-03 22:14:36 -07:00
Brian Warner
275ddb93cc
cp: trailing slash on source filename is an error, just like on targets
2015-05-03 22:14:35 -07:00
Brian Warner
ca23c4fa23
tahoe cp: ignore trailing slash on source arguments
...
This avoids an error case where an empty child name resulted in a
duplicate mkdir. It adds a precondition check to guard against empty
child names, and some test cases. It also cleans up a funny redundancy
noticed earlier (refs ticket:2329).
2015-05-03 22:13:52 -07:00
Brian Warner
97fd19407d
Improve docs on 'cp -r', noting the recent 2329 changes
...
refs ticket:2329
2015-05-03 21:49:34 -07:00
Daira Hopwood
17c891f26a
Update title of OpenSSL and pyOpenSSL build instructions.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-01 22:07:27 +01:00
Daira Hopwood
226559b44c
Add OpenSSL and pyOpenSSL build instructions for 32-bit Windows.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-01 21:43:43 +01:00
Daira Hopwood
b0fb800a41
Add doc for building pyOpenSSL.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-05-01 18:45:19 +01:00
Ramakrishnan Muthukrishnan
be2fafaee5
OS X icons and dialog box help text
2015-04-30 15:24:20 +01:00
Ramakrishnan Muthukrishnan
96d2614266
fix OS X logo generation
2015-04-30 15:24:20 +01:00
Ramakrishnan Muthukrishnan
f838b1964d
add osx bundle meta data and applescript script to show an alert.
2015-04-30 15:24:20 +01:00
Daira Hopwood
88b735b6be
Build Tahoe-LAFS icon for OS X and Windows. refs ticket:2323
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-30 15:24:12 +01:00
Daira Hopwood
2480a16227
zetuptoolz: don't add ';' to an empty path when appending a new item.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-30 15:22:33 +01:00
Brian Warner
341e263e03
control.py: minor improvements
...
refs ticket:1737
2015-04-28 11:03:12 -07:00
Daira Hopwood
a823362252
Bump zetuptoolz version (move directory).
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-28 18:53:44 +01:00
Daira Hopwood
409cf22ee9
Bump zetuptoolz version (file changes).
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-28 18:52:59 +01:00
Daira Hopwood
575d7a20a9
zetuptoolz: tolerate a single string for __requires__, and improve error reporting. fixes ticket:2242
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-28 18:42:57 +01:00
Daira Hopwood
53ced4be8b
Change foolscap dependency to >= 0.8.0. refs #2400
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-28 17:21:31 +01:00
Brian Warner
af456de6b5
CREDITS: add my GPG key
2015-04-26 15:07:55 -07:00
Daira Hopwood
e6cede21f2
Fix a test that was dependent on Windows path separators.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-21 21:28:21 +01:00
Daira Hopwood
6bcef565d9
Reduce differences between Windows and non-Windows dependencies.
...
This also fixes some warnings on Windows when using Twisted 12.1.0.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-21 21:16:29 +01:00
Brian Warner
f0e783e20e
fix check-memory test, with new new (safe) control-port methods
2015-04-21 13:05:58 -07:00
Daira Hopwood
eb34e0d625
Ensure the 'base' argument to abspath_expanduser_unicode takes effect on Windows. fixes #2398
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-04-21 21:04:20 +01:00
Brian Warner
edcdaa2799
finish removing control-port upload/download functions
2015-04-21 11:26:16 -07:00