Jean-Paul Calderone
216efb2aed
unused import
2021-01-12 16:52:43 -05:00
Jean-Paul Calderone
43dc85501f
is this api less troublesome?
2021-01-12 16:03:28 -05:00
Jean-Paul Calderone
6984f2be3f
Try to get the Python 2 / Windows case working
2021-01-12 15:58:07 -05:00
Jean-Paul Calderone
8f498437cf
whitespace
2021-01-12 10:11:23 -05:00
Jean-Paul Calderone
ae1a0c591b
Prefer to fix unicode_to_argv/argv_to_unicode instead of callers
2021-01-12 09:58:34 -05:00
Jean-Paul Calderone
b8abec6073
Get rid of the Latin-1 case
...
Here's a supposition: UTF-8 or bust
2021-01-11 16:00:48 -05:00
Jean-Paul Calderone
2306819db1
Get rid of unicode_to_argv and argv_to_unicode
2021-01-11 15:45:39 -05:00
Jean-Paul Calderone
b6ea3f47c8
unused imports
2020-12-14 16:58:22 -05:00
Jean-Paul Calderone
01507e4f93
some direct tests for DaemonizeTheRealService
2020-12-14 16:57:20 -05:00
Jean-Paul Calderone
34cd1efaa4
For the sake of clarity, stop talking about daemons here
2020-12-12 18:34:49 -05:00
Jean-Paul Calderone
b58b07a9d7
Fold run_common into tahoe_run since there are no other run-like commands anymore
2020-12-12 18:26:22 -05:00
Jean-Paul Calderone
624916e06b
Merge branch 'master' into 3550.remove-start-stop-restart-daemonize
2020-12-10 19:47:47 -05:00
Jean-Paul Calderone
066e98874b
Point at do_cli_unicode here too
2020-12-10 07:17:24 -05:00
Jean-Paul Calderone
2f53225765
better helper name
2020-12-10 07:06:01 -05:00
Jean-Paul Calderone
5b0190b9a1
Remove some more test code related to start/restart/stop
2020-12-09 10:51:48 -05:00
Jean-Paul Calderone
4d28b0ec27
Get rid of "tahoe start", "tahoe daemonize", "tahoe stop", "tahoe restart"
2020-12-09 10:51:48 -05:00
Jean-Paul Calderone
72744c9464
more docstrings and properly support (and use) encoding=None throughout
2020-12-07 09:47:48 -05:00
Jean-Paul Calderone
05d271c7c8
a little more exposition
2020-12-07 09:26:58 -05:00
Jean-Paul Calderone
7b3a5aceb8
These tests can't reach any of the codepaths where quote_output matters
...
So simplify
2020-12-07 09:21:56 -05:00
Jean-Paul Calderone
72a5b571ca
Only test the cases we can make work everywhere
...
These tests previously (in this branch) tried to exercise more ``show_output``
logic than they can actually reach due to the requirement that argv be
interpretable. Shrink the test suite down to just what we can squeeze through
argv and deal with fully testing ``show_output`` elsewhere.
2020-12-07 09:10:59 -05:00
Jean-Paul Calderone
93b30d0dde
The implementation can't reliably see the encoding we're faking without this
2020-12-07 09:06:21 -05:00
Jean-Paul Calderone
8ca98bb8ca
using run_cli_unicode, better expect unicode result
2020-12-07 09:06:00 -05:00
Jean-Paul Calderone
c12b082fa7
Put run_cli back largely how it was
...
Also deal with StringIO better in show_output
2020-12-06 20:37:28 -05:00
Jean-Paul Calderone
77bebb9916
[wip] remove mock from test_alias, along with a bunch of encoding-related changes :/
2020-12-06 17:00:34 -05:00
Jean-Paul Calderone
c4b58fe00b
unused import
2020-12-06 11:04:19 -05:00
Jean-Paul Calderone
238590d7fd
Remove mock by removing a bunch of unicode shenanigans
2020-12-06 11:03:44 -05:00
Jean-Paul Calderone
a0d46c6f09
Merge remote-tracking branch 'origin/master' into 3504.private-introducer-furl
2020-12-02 09:22:09 -05:00
Jean-Paul Calderone
c82501e0dc
Merge remote-tracking branch 'origin/master' into 3511.config-set-config
2020-11-26 11:01:18 -05:00
Jean-Paul Calderone
c694e8c7e2
Delete allmydata.version_checks and related functionality
...
It is not Tahoe-LAFS' job to manage package installation in this way.
Instead, we can declare our dependencies in setup.py and rely on installation
management tools and packagers to create a suitable execution environment.
Making this statement in the past required going much further out on a limb
than it does today. This code has served its purpose and can now be retired.
2020-11-23 15:10:18 -05:00
Jean-Paul Calderone
f21e3189b5
Remove some repetition between read_config and config_from_string
2020-11-18 13:17:16 -05:00
Jean-Paul Calderone
302b5cb01f
look for the introducer furl via a more structured interface
2020-11-16 15:01:34 -05:00
Jason R. Coombs
5a40bf47f4
Convert print statements to print functions, even when commented. Fixes #3408 .
2020-09-11 14:50:44 -04:00
Jason R. Coombs
a3f5a0d7ac
Merge branch 'master' into 3394.py38-tests
2020-08-30 12:06:56 -04:00
Itamar Turner-Trauring
43f95238d8
Merge remote-tracking branch 'origin/master' into 3377.configutil-connection_status-python-3
2020-08-25 11:44:48 -04:00
Jason R. Coombs
8b553d2045
Add Python 3 compatibility for code paths relevant to 'tahoe --version'.
2020-08-21 19:55:34 -04:00
Itamar Turner-Trauring
2cc2cb6a7f
Rename to_str() to the more accurate to_bytes().
2020-08-14 13:49:48 -04:00
Itamar Turner-Trauring
e24c21bef7
Make configutil tests more standalone, and less repetitive.
2020-08-11 15:38:58 -04:00
meejah
13350d60c2
assertFailure instead of bespoke code
2020-05-04 21:59:15 -06:00
meejah
5175a6c6a0
asserts for systemexit
2020-05-04 21:59:15 -06:00
meejah
c385e958a8
Merge branch 'master' into ticket3252-port-web-directory.remaining.1
2020-04-23 12:24:00 -06:00
meejah
48f859f5d4
document internal callback
2020-04-18 01:52:18 -06:00
meejah
178c45eb0d
remove print
2020-04-18 01:52:17 -06:00
meejah
25096715fb
flake8
2020-04-18 01:52:17 -06:00
Jean-Paul Calderone
ef73e18f3d
Remove the greater part of the implementation
2020-02-13 10:43:50 -05:00
Jean-Paul Calderone
6da18ad608
Remove another test for "tahoe rm"
2020-01-17 10:00:55 -05:00
Jean-Paul Calderone
6d83b9c1e1
remove "tahoe rm"
2020-01-17 09:14:36 -05:00
Jean-Paul Calderone
d07edff33d
Update monkey-patch to follow moved code
2020-01-15 15:26:08 -05:00
Jean-Paul Calderone
595295e88d
Update monkey-patches to reflect moved code
2020-01-15 15:08:33 -05:00
Jean-Paul Calderone
8a808ba5c6
update imports for moved code
2020-01-15 15:06:43 -05:00
Jean-Paul Calderone
21bf7fc25c
Merge remote-tracking branch 'origin/master' into integration/storage-economics
2019-08-16 15:39:31 -04:00