Provide capability to use multiple configuration files for monorepos #19721
Replies: 7 comments 22 replies
-
unlikely to happen |
Beta Was this translation helpful? Give feedback.
-
I'm not sure how this would even work. More details needed |
Beta Was this translation helpful? Give feedback.
-
I'm not a TS/JS expert, but it is currently ran by using |
Beta Was this translation helpful? Give feedback.
-
Renovate operates on multiple repos per run. If you want a different global config like your example then you can already do that |
Beta Was this translation helpful? Give feedback.
-
Just to be clear - I'm asking for a self-hosted scenario. But that's what I figured; I'm curious to know how it is running them? Imagine I have 1 repo with 2 configs; how do I tell it to use config A and not B? |
Beta Was this translation helpful? Give feedback.
-
Converted to a discussion |
Beta Was this translation helpful? Give feedback.
-
My team is meeting similar challenges with a single renovate.json5 file configured into our mono repo:
As I understand github hosted presets from https://docs.renovatebot.com/config-presets/#github-hosted-presets , extracting parts of configuration from our github>org/repo:renovate.json5 into github>org/repo:component1.json5 and github>org/repo:component2.json5 has the following drawbacks for the usage of mend bot on github:
The modularity issue in configuration seems a common problem to many systems. This might offer inspiration and reuse for renovate ? For instance, K8S and kustomize use strategic-merge-patch or Json patches, see https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/patches/ This enables granular fine-grain, focussed files contributing to constructing a single large (json) document. Could renovate support similar patches applying on the current single configuration file ? |
Beta Was this translation helpful? Give feedback.
-
What would you like Renovate to be able to do?
Provide capability to use multiple configuration files for monorepos, so that per component we can have a Renovate configuration to keep them small and scoped.
While re-usable presets can help; top-level configuration such as
includePaths
is not supported.Originates from #19666.
If you have any ideas on how this should be implemented, please tell us here.
N/A
Is this a feature you are interested in implementing yourself?
No
Beta Was this translation helpful? Give feedback.
All reactions