Jean-Paul Calderone
9a8f72202d
Check for these exceptions and report them better
2020-12-11 11:23:10 -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
1c7c228f90
Merge remote-tracking branch 'origin/master' into 3549.remove-stats-gatherer
2020-12-10 18:27:54 -05:00
Jean-Paul Calderone
6f80862ec5
Slightly clean up formatting implementation
2020-12-10 07:19:27 -05:00
Jean-Paul Calderone
d0c22a529e
json.dumps output should always be ascii
2020-12-10 07:16:00 -05:00
Jean-Paul Calderone
ca92fa4eb5
Don't think about "tahoe start"
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
a34fca8e7a
Don't think about "tahoe start"
2020-12-09 10:51:10 -05:00
Jean-Paul Calderone
9a27254afa
unused import
2020-12-09 10:39:03 -05:00
Jean-Paul Calderone
d7ec5a19be
Don't implement the stats gatherer or support configuring or talking to one
2020-12-09 10:34:16 -05:00
Jean-Paul Calderone
ca5a64236d
Merge remote-tracking branch 'origin/master' into HEAD
2020-12-08 09:52:11 -05:00
Jean-Paul Calderone
1a77ba5698
remove redundant u prefix
2020-12-07 10:37:25 -05:00
Jean-Paul Calderone
d6d64f6b27
fix the json case
2020-12-07 10:37:22 -05:00
Jean-Paul Calderone
87e808b392
one more switch
2020-12-07 10:18:05 -05:00
Jean-Paul Calderone
c7358e6639
Switch over to the helper in the two functions that matter for this PR
2020-12-07 10:16:48 -05:00
Jean-Paul Calderone
a8e3424ef6
remove another unrelated change that's no longer required
2020-12-07 09:55:27 -05:00
Jean-Paul Calderone
d2664121b9
backout no-longer required unrelated change
2020-12-07 09:51:34 -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
613777d166
Make sure this one is bytes too
2020-12-06 19:23:13 -05:00
Jean-Paul Calderone
5aee8b422d
Oops there's another case
2020-12-06 18:39:09 -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
d29210a140
unused import
2020-12-06 11:04:05 -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
ac7491680b
fix unicode/bytes stuff in the affected tests
2020-12-05 09:06:45 -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
Jason R. Coombs
572d7b2e02
Ignore error when untyped Module has no dispatch.
2020-11-29 15:52:04 -05:00
Jason R. Coombs
acbb6b3e93
Convert subcommands to tuples instead of lists, as that's what mypy demands for heterogeneous sequences.
2020-11-29 15:48:26 -05:00
Jason R. Coombs
6b772e7fdc
Declare type for BaseOptions.description_unwrapped.
2020-11-29 15:22:58 -05:00
Jason R. Coombs
cb351607d8
Repeat type declaration from parent to avoid over-constraining this type for subclasses.
2020-11-29 15:21:25 -05:00
Jason R. Coombs
af172f6bff
Repeat type declaration from parent to avoid over-constraining this type for subclasses.
2020-11-29 14:55:13 -05:00
Jason R. Coombs
1b92da75fa
Some subclasses use ints, so just go for Any
2020-11-29 14:44:17 -05:00
Jason R. Coombs
e0eb63929a
Declare type for BaseOptions.description. Fixes many type errors.
2020-11-29 14:35:17 -05:00
Jason R. Coombs
1248d65778
Declare types for BasedirOptions. Fixes several errors.
2020-11-29 14:32:34 -05:00
Jean-Paul Calderone
84088e4f41
unused import
2020-11-26 21:18:58 -05:00
Jean-Paul Calderone
805378ef11
Do more path stuff with FilePath
2020-11-26 20:53:57 -05:00
meejah
a0a39d3561
Merge remote-tracking branch 'origin/master' into 2916.grid-manager-proposal.5
2020-11-25 19:27:49 -07: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
2ee0b1d3c6
flake cleanup
2020-11-16 15:05:04 -05:00
Jean-Paul Calderone
5cb1df06c4
delegate introducer furl lookup to the config object
2020-11-16 15:02:51 -05:00
Jean-Paul Calderone
4e84f5e690
write introducers.yaml instead of [client]introducer.furl in client creation
2020-11-16 15:00:20 -05:00
Jean-Paul Calderone
10600ef5ec
Move write_introducer somewhere it can be used more widely
2020-11-16 14:59:42 -05:00
meejah
a34093ed0e
fix some test-ability problems and add tests for 'tahoe admin add-grid-manager-cert'
2020-11-16 11:58:27 -07:00
meejah
019772a2c2
typo
2020-11-16 11:24:46 -07:00
meejah
cb6ed4c47f
flake8
2020-11-13 23:14:27 -07:00
meejah
0af033beb7
use filepath
2020-11-13 22:57:26 -07:00
meejah
25ff7c6f55
Merge branch 'master' into 2916.grid-manager-proposal.5
2020-11-13 16:48:14 -07:00
Itamar Turner-Trauring
6b61c06882
All tests pass on Python 3.
2020-11-09 15:00:55 -05:00
meejah
a8382a5356
cleanup, more tests
2020-11-07 02:18:54 -07:00
meejah
2118a2446e
grid-manager stand-alone, via Click
2020-11-06 22:23:53 -07:00
meejah
c7f4a1a157
factor to use FilePath more
2020-11-06 18:33:54 -07:00