-
Notifications
You must be signed in to change notification settings - Fork 9
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
Updating to use _default #262
Conversation
@@ -13,7 +13,7 @@ bitops: | |||
filename: bitops-run # log filename | |||
err: bitops.logs # error logs filename | |||
path: /var/logs/bitops # path to log folder | |||
opsrepo_root_default_dir: _default | |||
default_folder: _default |
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.
If we're renaming opsrepo_root_default_dir
to default_folder
it's considered a breaking change for the users. Do we need to include it in the migration docs?
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.
damn you for being right.
But god dang this is a gross looking config option.
I'm can revert this, however the sooner this is done the less pain it is for the users so if we do plan on updating the config option, now rather then later is better
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.
I think it's fine for the current project adoption & velocity.
Just let's make sure we're adding it to the https://github.com/bitovi/bitops/blob/main/docs/migration/2.0.0-migration.md doc too.
bitops.config.yaml
Outdated
ansible: | ||
plugin: ansible | ||
|
||
default_folder: _default |
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.
Looking at other variables bitops_envroot_dir
, bitops_operations_dir
, bitops_scripts_dir
I suggest to follow that consistent naming and use dir
, instead of folder
:
default_folder: _default | |
default_dir: _default |
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.
👍 I agree
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.
@PhillypHenning Please add the following:
dd1e777
to
211e97e
Compare
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #
#261
#252
Type of change
Fix
Please delete options that are not relevant.
How Has This Been Tested?
Locally
Run command using default value
Logs
Run command using bitops.config.yaml value
Logs
Run command using ENVIRONMENT VARIABLE
Logs
Checklist: