Allow to define custom presets in the global config for self-hosted users #40119
Replies: 4 comments 7 replies
Out of interest, why do you feel this would make them more testable? I'd see a "merge to the |
Have you got any stats indicating that the HTTP lookups are causing a bottleneck for you? The Renovate cache should also stop them needing re-fetching too often |
|
Just FYI, I also considered suggesting allowing presets to be fetched from Because it is in the |
|
I would not block this suggestion |
Uh oh!
There was an error while loading. Please reload this page.
Tell us more.
Currently, presets need to be defined as a JSON file in some repository or in some HTTP server.
I would like to propose an alternative: defining presets in the global config, which would be useful for self-hosted users.
For example, here's how a
config.jscould look like:And here's how a repository's
renovate.jsoncould look like:{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended", "custom:groupAll" ] }Where
custom:prefix would indicate when a preset should be loaded fromcustomPresets, to avoid risking it overriding some built-in preset (even in future).And I believe that would be a better approach for some users for two main reasons:
What do you think?
Originally #40117.
All reactions