Skip to content
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

fix(config): unifying config manipulation #876

Merged
merged 57 commits into from Aug 18, 2022
Merged

fix(config): unifying config manipulation #876

merged 57 commits into from Aug 18, 2022

Conversation

ColinFay
Copy link
Member

@ColinFay ColinFay commented Jul 2, 2022

All config manipulation now go through amend_golem_config.
This allows to be sure that the !expr are not lost

Close #709

ColinFay and others added 30 commits July 2, 2022 10:28
All config manipulation now go through amend_golem_config.
This allows to be sure that the !expr are not lost

Close #709
There is no need to set things that are already set in the yaml
The name is already set by the function that gsub in the files
so there is no need to do it one extra time
…_wd()

The attr is not set before being passed to set_golem_wd() in set_golem_options()
The yaml manimpulation functions are now separated
in various files
The get_golem_* didn't rely on the GOLEM_CONFIG_ACTIVE  env_var
+ get_golem_wd tries golem::pkg_path
+ get_golem_name tries pkg_name
+ get_golem_version tries pkg_version
Co-authored-by: Colin Fay <colin@thinkr.fr>
Co-authored-by: Colin Fay <colin@thinkr.fr>
Co-authored-by: vincent guyader <vincent@thinkr.fr>
Hotfix because of the dirty way we released
version 0.3.3
path is now renamed pkg
ColinFay and others added 27 commits August 9, 2022 09:03
All config manipulation now go through amend_golem_config.
This allows to be sure that the !expr are not lost

Close #709
There is no need to set things that are already set in the yaml
The name is already set by the function that gsub in the files
so there is no need to do it one extra time
…_wd()

The attr is not set before being passed to set_golem_wd() in set_golem_options()
The yaml manimpulation functions are now separated
in various files
The get_golem_* didn't rely on the GOLEM_CONFIG_ACTIVE  env_var
+ get_golem_wd tries golem::pkg_path
+ get_golem_name tries pkg_name
+ get_golem_version tries pkg_version
path is now renamed pkg
- Unified param name for pkg/path
- set_golem_wd() is now correctly documented
Move to here::here() for now
@ColinFay ColinFay merged commit 18a2a9b into dev Aug 18, 2022
@ColinFay ColinFay deleted the issue-709-reborn branch February 28, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants