Open oh-yes-0-fps opened 1 week ago
What are the steps for adding another schema version upgrade? We should document whatever that is in the interest of documenting maintenance tasks.
What are the steps for adding another schema version upgrade?
Incrementing the constants for the schema version (its just an incrementing integer now for simplicity idk how you define semver for the schema stuff when any change is "breaking").
Add a new upgrader action in upgraders.rs
for the changes you made
Update the choreolib code if its needed.
I admit there is more that goes into it than i would like but most actions that reduce complexity in schema management add complexity to some build step.
I also don't know if we should require that Choreolib changes matching spec changes must go in the same PR.
I think we risk creating issues/having Choreolib fall behind similar to how C++ does if it's not updated in the same PR.
I agree. I'm just wondering what effect that will have on PRs getting carried through to mergeability.
If we can't get it done in the PR itself, I'd be concerned about it ever getting done, since maintainers can push directly to PRs.
Items to address:
Item 3 is somewhat related to another issue about assembling a common set of test JSONs for all sorts of tests.
Needs unit tests but has been tested on my robot project
This pr also adds
trackwidth
to .traj output field to show off the upgrader, its just a dummy value of 1.0 for nowFixes #570.