Closed grondo closed 3 days ago
Sounds like a great idea to me.
Converted most of the testsuite to use flux start -S/-c
directly instead of -o,-S
or -o,-c
etc. Removed WIP.
(We'll see if this passes CI)
Thanks, coverage is low just because there's a lot of error conditions we can't hit in test. I'll set MWP.
Attention: Patch coverage is 78.04878%
with 9 lines
in your changes missing coverage. Please review.
Project coverage is 83.63%. Comparing base (
01d3650
) to head (89c2016
). Report is 10 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
src/cmd/flux-start.c | 78.04% | 9 Missing :warning: |
🚨 Try these New Features:
I kept getting annoyed that the common broker options for configuration path and setting attributes have to be passed through
flux start
's-o, --broker-opts
option.flux start
is used solely to start brokers, so why can't it just support these common options directly? So, submitted for your consideration is a PR that adds-S, --setattr
and-c, --config-path
options directly toflux start
. If used, these options are just passed along to the broker(s) being started.WIP because there's no tests or documentation updates in case there's some reason I'm not thinking of that this was a bad idea.