Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support admin-only option for redirecting presets #9209

Closed
rarkins opened this issue Mar 18, 2021 · 1 comment · Fixed by #10111
Closed

Support admin-only option for redirecting presets #9209

rarkins opened this issue Mar 18, 2021 · 1 comment · Fixed by #10111
Assignees
Labels
priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others status:in-progress Someone is working on implementation type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Collaborator

rarkins commented Mar 18, 2021

What would you like Renovate to be able to do?

As a bot admin, I'd like the ability to "change" a deprecated preset to another without manually changing every repository. e.g. from npm-based preset to platform-based.

Did you already have any implementation ideas?

A new config object, e.g. presetMigrations, like so:

modules.exports =
{
  presetMigrations: {
    foo: 'github>myorg/foo',
    '@bar': 'github>bar/renovate-config'
  }
}

When this exists, I think two separate things need doing:

  • If the preset is directly extended in this repo, we should migrate it in the config so that it will (one day) be migrated using a PR
  • If the preset is nested, invisibly change/fix it
@rarkins rarkins added type:feature Feature (new functionality) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others status:ready labels Mar 18, 2021
@rarkins rarkins mentioned this issue May 22, 2021
6 tasks
@rarkins rarkins self-assigned this May 22, 2021
@rarkins rarkins added status:in-progress Someone is working on implementation and removed status:ready labels May 22, 2021
@renovate-release
Copy link
Collaborator

🎉 This issue has been resolved in version 25.29.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others status:in-progress Someone is working on implementation type:feature Feature (new functionality)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants