-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
cli/migrate: migrate meters #24145
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
cli/migrate: migrate meters #24145
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the |
@tolot27 thanks for your PR! This is a quite complex migration and it still does not handle all necessary reference update scenarios we can have. Right now we also don't have a loadpoints migration for similar reasons. Loadpoints also can contain references to vehicles, chargers, meters and circuits. I'd say we don't invest any extra time into the migrate command and deprecate/remove it in on of the next releases. The We might revisit this decision depending on feedback. For most users it's one (or two) hand full of forms that would have to be filled out manually. \cc @andig |
I've added the migration of vehicles, circuits and loadpoints including all reference updates. Just have to push it. |
Thanks 🙌 |
@naltatis, could you please reopen this PR so that it shows the most recent commits from my branch tolot27:migrate_meters? |
Unfortunately not possible, GH won't let us. Could you create new PR from your branch? |
I've created a new PR #24436. |
The migrate commend does not migrate meters yet. This PR addresses this gap and fixes the meter references in the circuits as well.