Skip to content

(Gitlab) Repo configuration should inherit Global configuration #248

Open
@xNok

Description

@xNok

Is your feature request related to a problem? Please describe.
The config at least should be inherited from a global configuration because those will most likely be shared actors repositories such as the user_mapping used to fix user auto-discovery.

config:
  user_mapping:

The second use case I see for inheritance is to have a global list of people on vacation so they can be rejected from the review selection.

Describe the solution you'd like
In the GitLab setup, we have to define a dedicated repo, cm that contains the Gitlab CI pipeline for the repo. We also have the option to define a global automation configuration. Any repo configuration should be able to inherit the global configuration.

Describe alternatives you've considered
Copy pasting

Additional context
This solution should simply require loading the global and repo configuration and applying a deep merge between both configurations. You can think of more advanced solutions such as includes or patches, but a simple (deep merge) inheritance would already cover a lot of use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions