Support relative paths for config presets #24753
Replies: 7 comments 1 reply
-
|
What would the syntax look like? |
Beta Was this translation helpful? Give feedback.
-
|
@rarkins If However, I'm not sure how nested |
Beta Was this translation helpful? Give feedback.
-
|
the main difficulty is that preset does know anything about paths at all, that info is only available on platform code, bit that doesn't know anything about parent preset. |
Beta Was this translation helpful? Give feedback.
-
|
We can live without this feature (with some hacks), but we'd appreciate it if Renovate teams implemented it. However, I understand that it may take a lot of time to implement, and not many users need this feature, so it's not a high priority. |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
|
Hey, Reason is that i host my repo locally on my selfhosted gitlab with selfhosted renovate but my references to renovate maybe something like |
Beta Was this translation helpful? Give feedback.
-
|
+1 for the request. I need a simple way to say "extend using this file from the same directory" and I was expecting it to be an easy thing, but it seems that you need to define a repo and git ref all the time, otherwise it just falls back to the default branch. While doing development on a repo with multiple smaller configs, like https://github.com/ulgens/renovate-presets, lack of a simple |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What would you like Renovate to be able to do?
We have several repositories that have the same files automatically synchronized between them. Renovate's config is one of them.
It would be cool if we could use relative paths in shared config presets. It would allow us to use synchronized base Renovate config and included repository specific preset.
If you have any ideas on how this should be implemented, please tell us here.
If
extendssection has a value starting with./or../, it should be treated as a relative path and loaded accordingly.Is this a feature you are interested in implementing yourself?
Maybe
Beta Was this translation helpful? Give feedback.
All reactions