Skip to content

Format version - #2012

Open
amilcarlucas wants to merge 2 commits into
masterfrom
format_version
Open

Format version#2012
amilcarlucas wants to merge 2 commits into
masterfrom
format_version

Conversation

@amilcarlucas

Copy link
Copy Markdown
Collaborator

Description

Update Format version

Checklist

  • Run pre-commit checks locally
  • Verified by a human programmer
  • All commits are signed off (use git commit --signoff)
  • Code follows our coding standards
  • Documentation updated if needed
  • No breaking changes or properly documented

Testing

Describe how you tested these changes:

  • Unit tests pass
  • Integration tests pass
  • Manual testing performed
  • Tested on flight controller hardware

Copilot AI lite review requested due to automatic review settings September 2, 2026 09:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Updates the vehicle components JSON schema to Format version 2 across templates, docs, and migration code.

Changes:

  • Bump "Format version" from 1 to 2 in settings template and all vehicle_components.json templates
  • Update backend constant VEHICLE_COMPONENTS_FORMAT_VERSION to 2
  • Broaden the PowerShell formatting script to rewrite any numeric format version

Reviewed changes

Copilot reviewed 34 out of 34 changed files in this pull request and generated no comments.

Show a summary per file
File Description
windows/settings_template.json Updates settings template format version to 2
scripts/force_format_version.ps1 Changes format-version rewrite rule to match any numeric version
ardupilot_methodic_configurator/vehicle_templates/Rover/Carisma_SCA-1E/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/Rover/AION_R1/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/Heli/OMP_M4/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduPlane/normal_plane/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduPlane/empty_4.7.x/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/empty_4.7.x/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/empty_4.6.x/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/empty_4.5.x/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/diatone_taycan_mxc/4.6.x-params/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/diatone_taycan_mxc/4.5.x-params/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/diatone_taycan_mxc/4.4.4-params/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/diatone_taycan_mxc/4.3.8-params/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/X11_plus/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Tarot_X4/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/ReadyToSkyZD550/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Marmotte5v2/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Hoverit_X13/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Hoverit_X11+/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X650_LTE/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/GazeboIrisWithTargetFollow/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/FETtec-5/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/ESM450X-Des/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Demo32Motor_PeterHall/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Chimera7/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Big_Owl/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/AirCar_v1/vehicle_components.json Bumps template format version to 2
ardupilot_methodic_configurator/data_model_vehicle_project.py Moves pylint suppression to function signature line
ardupilot_methodic_configurator/backend_filesystem_migration.py Updates canonical vehicle components format version constant to 2
CUSTOMIZING_CONFIGURATION_STEPS.md Updates documented format version example to 2
Suppressed comments (2)

scripts/force_format_version.ps1:1

  • This PR’s title/description indicates a bump to format version 2, but the script still forces \"Format version\" to 0 (now for any numeric version). If the intent is to keep templates at v2, update the replacement value to 2 (or parameterize the target version so the script can be used for either upgrading or resetting).
    scripts/force_format_version.ps1:1
  • The regex requires exactly one space after the colon (\"Format version\": ␠\\d+), so it won’t match valid JSON that uses different whitespace (e.g., \"Format version\":2 or extra spaces). Consider using a whitespace-tolerant pattern like \"Format version\"\\s*:\\s*\\d+ to reliably update all templates.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@amilcarlucas

Copy link
Copy Markdown
Collaborator Author

We are not at version 2 yet. Do not merge this!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants