Jean-Paul Calderone
f88061e31c
docstring
2020-12-17 09:16:05 -05:00
Jean-Paul Calderone
a363c8de67
Fix test_non_numeric_pid (and put it in a better place too)
2020-12-17 09:11:29 -05:00
Jean-Paul Calderone
a04a915628
Parameterize the Options class so we can synthesize an unhandled exception
2020-12-16 21:15:24 -05:00
Jean-Paul Calderone
2746eb9ae1
Fix the broken fake_react by not using the argv feature
2020-12-16 20:58:27 -05:00
Jean-Paul Calderone
a4b0b4a01a
Parameterize stderr to allmydata.scripts.runner.run
2020-12-16 20:55:00 -05:00
Jean-Paul Calderone
d5bff458b6
Parameterize argv to allmydata.scripts.runner.run
2020-12-16 20:51:01 -05:00
Jean-Paul Calderone
035cd8b4ac
Merge remote-tracking branch 'origin/master' into 3532.test_node-no-mock
2020-12-14 15:35:42 -05:00
Jean-Paul Calderone
7638064818
Merge remote-tracking branch 'origin/master' into 3532.test_node-no-mock
2020-12-14 09:32:33 -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
39631a90bf
we always use --nodaemon
2020-12-12 18:23:01 -05:00
Jean-Paul Calderone
25c98d7421
don't shadow the global
2020-12-12 18:21:35 -05:00
Jean-Paul Calderone
692285ada3
key-generator was removed
2020-12-12 18:21:16 -05:00
Jean-Paul Calderone
ed2152e2c8
We don't need to check this condition. We're always running.
2020-12-12 18:20:26 -05:00
Jean-Paul Calderone
d8da612055
Move the --nodaemon logic out of tahoe_run
...
We're always going to --nodaemon from now on
2020-12-12 18:20:09 -05:00
Jean-Paul Calderone
f17a5dfafc
key-generator was apparently removed long ago
2020-12-12 17:40:13 -05:00
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
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
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
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
Itamar Turner-Trauring
6b61c06882
All tests pass on Python 3.
2020-11-09 15:00:55 -05:00
Itamar Turner-Trauring
f50fd8e474
Switch to new configparser backport.
2020-10-26 12:12:46 -04:00
Ross Patterson
95f2d53f92
chore(refs #3455 ) Address feedback, BBB comments
...
https://github.com/tahoe-lafs/tahoe-lafs/pull/845#issuecomment-704469561
2020-10-07 12:28:41 -07:00
Ross Patterson
ae1aab611d
fix(py3): Match wiki porting conventions
...
Address feedback from PR pointing out that my python-future imports aren't matching the
conventions from the wiki.
Trac: refs #3448
2020-10-01 08:57:54 -07:00