-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Better default config values #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: Better default config values #226
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These all seem reasonable to me—localhost seems well defined, and I think most any Unix system will have a /tmp directory, so I have no objections.
I'll defer to Steven on whether there might be reasons to not assume names based on historical context.
mitchnegus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are minor suggestions for the wording. I think they are okay as is, but the wording "left" implies that they default to the empty string (which will no longer be true).
| +-------------+----------+------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| |``port`` |int |``50051`` |The port number for FIREWHEEL's gRPC service. | | ||
| +-------------+----------+------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| |``root_dir`` |string |``/tmp/firewheel``|The path to the ``cache_dir``. If left empty, the ``system.default_output_dir`` value will be used. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| |``root_dir`` |string |``/tmp/firewheel``|The path to the ``cache_dir``. If left empty, the ``system.default_output_dir`` value will be used. | | |
| |``root_dir`` |string |``/tmp/firewheel``|The path to the ``cache_dir``. If set as an empty string, the ``system.default_output_dir`` value will be used as the fallback. | |
| |.. _config-root_log_dir: | | | | | ||
| | | | | | | ||
| |``root_dir`` |string |``""`` |The path to the log files. If left empty, the ``system.default_output_dir`` value will be used. | | ||
| |``root_dir`` |string |``/tmp/firewheel`` |The path to the log files. If left empty, the ``system.default_output_dir`` value will be used. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| |``root_dir`` |string |``/tmp/firewheel`` |The path to the log files. If left empty, the ``system.default_output_dir`` value will be used. | | |
| |``root_dir`` |string |``/tmp/firewheel`` |The path to the log files. If set as an empty string, the ``system.default_output_dir`` value will be used as the fallback. | |
| +=============+==========+==================+===================================================================================================+ | ||
| |``cache_dir``|string |``fw_cli`` |The folder name of the CLI Helper cache. | | ||
| +-------------+----------+------------------+---------------------------------------------------------------------------------------------------+ | ||
| |``root_dir`` |string |``/tmp/firewheel``|The path to the ``cache_dir``. If left empty, the ``system.default_output_dir`` value will be used.| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| |``root_dir`` |string |``/tmp/firewheel``|The path to the ``cache_dir``. If left empty, the ``system.default_output_dir`` value will be used.| | |
| |``root_dir`` |string |``/tmp/firewheel``|The path to the ``cache_dir``. If set as an empty string, the ``system.default_output_dir`` value will be used as the fallback. | |
|
@mitchnegus I do agree with all the wording suggestions you made. It turns out, however, that it falling back to I would also prefer to have a way to set |
|
Okay, so apparently the log directories falling back to Also, Maybe the right way to do this is to wrap a call to |
I would love it if we could bundle I'm a big fan of wrapping the functionality of Looks like |
Better default config values
Description
A number of the default configuration parameters are pretty useless as is. Setting them to reasonable defaults will make the process of installing FIREWHEEL much simpler.
Related Issue
N/A
Type of Change
Please select the type of change your pull request introduces:
Checklist
Additional Notes
N/A