refactor: standardize variable file naming and merge glob patterns #732
+36
−34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
No functional changes
Settings.SUB_ORG_PATTERN
Settings.REPO_PATTERN
Settings.FILE_NAME
toSettings.FILE_PATH
for better clarity and consistencyenv.DEPLOYMENT_CONFIG_FILE
toenv.DEPLOYMENT_CONFIG_FILE_PATH
Note: We could also consider to add env var
DEPLOYMENT_CONFIG_FILE_PATH
to support both old and new naming in the future. This would allow us to introduce it in a minor version while maintaining backward compatibility. Removing the old env vars would then be a breaking change for a future major version.Why?
I'm currently deep dive into the code base to try fix some issues and doing other refactor to help us contribute more easily.
I will try to submit PR with some small changes instead of big one and no breaking change if possible.
Let me know if this approach works for you - I want to be helpful, not disruptive.