Skip to content

[Backport release-2.28] Add support for Profiles onto the Config. (#5498) #5570

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

Merged
merged 2 commits into from
Jul 4, 2025

Conversation

kounelisagis
Copy link
Member

Backport of #5498 to release-2.28


TYPE: FEATURE
DESC: Add support for Profiles onto the Config.

@kounelisagis kounelisagis requested a review from ypatia July 2, 2025 08:10
@kounelisagis kounelisagis requested a review from a team as a code owner July 2, 2025 08:10
This PR adds support for `Profiles` onto the `Config` by introducing the
corresponding `set_profile` method to the internal class, as well as to
both the C and C++ APIs. `Profiles` created with the default `name` and
`dir` are automatically loaded, without the need to call the
`set_profile` method. The `Profiles` serve as a third fallback mechanism
in the `Config` when retrieving parameters - after user-set config
values and environment variables.

---

[sc-64254]

---
TYPE: FEATURE
DESC: Add support for `Profiles` onto the `Config`.

---------

Co-authored-by: Agisilaos Kounelis <kounelisagis@gmail.com>
@kounelisagis kounelisagis force-pushed the backport/5498-to-release-2.28 branch from e36126d to e286d3b Compare July 2, 2025 08:25
@ypatia ypatia merged commit 0be6f9b into release-2.28 Jul 4, 2025
110 of 111 checks passed
@ypatia ypatia deleted the backport/5498-to-release-2.28 branch July 4, 2025 08:37
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.

3 participants