Open astellingwerf opened 2 years ago
doesn't make sense, as you still need to run renovate on it.
so the request would be to allow migrating presets instead. so please update issue
That's what configMigration=true
achieves if migratePresets
is also set. I don't see a reason to update the issue.
So I think ideally it would have been called something like "remapPresets" because it doesn't migrate anything itself per se. But now that we have it, is it work renaming it?
If the current name is confusing we should pick a better name, even if that means more work. Good names help to understand what the bot is going to do. 😄
Edit: I see we also mention remapPresets
in this issue:
Do you want a new issue to track renaming migratePresets
to remapPresets
?
Yes, let's have a separate issue. We need to remember to migrate self-hosted config in this case
Yes, let's have a separate issue.
Done, see:
We need to remember to migrate self-hosted config in this case
Can you tell me where that todo belongs? I don't understand if it's for this issue or the new separate issue. 🙈
Within the same issue
This would be really helpful, as it would allow rename files:
configMigration
in the "old" file (yes, might lead to other PRs being created, but that's OK in my case)migratePresets
in the "old" file to reference the new/renamed file
What would you like Renovate to be able to do?
The property
migratePresets
can be used to migrate presets (shocker, I know!). Today, the property is a self-hosted property. I'd like to suggest that I'd would be of more use if the property could also be set in a repo or preset context. More specifically: whenever implementable, it should be possible for a "legacy" preset to include amigratePresets
declaration about itself and its replacement, in order to auto-discover the new prefered situation.If you have any ideas on how this should be implemented, please tell us here.
Not really.
Is this a feature you are interested in implementing yourself?
Maybe