[5pt] An option to configure different managers per overlay #1126
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
sig/user-experience
Issues or PRs related to the User Experience of our Services, Tools, and Libraries.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Problem statement
A
.thoth.yaml
configuration file supports overlays, which allows e.g. different configurations for thoth adviser (different runtimes, different recommendation types). However, themanagers
configuration section is common to all the overlays.I would like to be able to have different Kebechet manager configurations in different overlays, so I can choose to e.g. get the benefits of thoth advice in one overlay but just use the pipenv-based update manager for another.
The fact that there is a single manager configuration for the whole repo means that enabling a certain manager is an "all or nothing" configuration option. If I have 10 overlays and 1 of them can not work with
thoth-advise
manager, then I can not usethoth-advise
in the other 9 overlays either.High-level Goals
To be able to configure different managers / options per overlay.
Proposal description
Some options to implement this:
.thoth.yaml
has anoverlays_dir
configured, then themanagers
configuration section contains one entry per overlay. This approach would be consistent with how thoth / thamos configuration looks like, but it might introduce too much redundancyallow
anddisallow
to each manager's configuration options, where the user can specify which repos each manager is (dis)allowed to act on.Alternatives
Keep it as is. It works, but it is less flexible.
Additional context
Acceptance Criteria
.thoth.yaml
configuration file has some way to specify different manager configurations for different overlaysThe text was updated successfully, but these errors were encountered: