Update VSS documentation generation to COVESA VSS 6.0 with auto-detection#76
Merged
Conversation
- Update build-vss-docs.sh to auto-detect latest VSS release via GitHub API - Download and extract VSS spec automatically, clean output before regenerating - Update vspecjson2markdown.py to use vss-tools 4.2 API (VSSUnit/VSSUnitCollection) - Add -q/--quantities argument for quantities.yaml support - Set abort_on_unknown_attribute=False for VSS 6.0 pattern keyword - Update vss.mako.md template unit attribute names for new API - Regenerate all 1607 markdown files from COVESA VSS 6.0 Co-authored-by: mikehaller <920755+mikehaller@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update build script to retrieve latest VSS Release 6.0
Update VSS documentation generation to COVESA VSS 6.0 with auto-detection
Mar 8, 2026
mikehaller
approved these changes
Mar 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The VSS build script was hardcoded to VSS 3.1 and required a manual clone of the COVESA VSS repo. This updates it to auto-detect and download the latest VSS release (currently 6.0), and fixes API compatibility with vss-tools 4.2.
Build script (
build-vss-docs.sh)v6.0if unavailableoutput/before regenerating to avoid stale files (e.g. the removedVehicle.OBDbranch)LATEST_TAG=$(curl -s "${GITHUB_API_URL}" | python3 -c "import sys, json; print(json.load(sys.stdin)['tag_name'])" 2>/dev/null || echo "")Python converter (
vspecjson2markdown.py)Unitclass withVSSUnit/VSSUnitCollectionfrom vss-tools 4.x API-q/--quantitiesargument; callsvspec.load_quantities()for the newquantities.yamlrequired by VSS 6.0abort_on_unknown_attribute=Falseto tolerate the newpatternkeyword in VSS 6.0Mako template (
vss.mako.md)unit.label→unit.unit,unit.description→unit.definition,unit.domain→unit.quantityhasattrchecksRegenerated output
Vehicle.OBDremoved; new branches added:ControlUnit,Diagnostics,MotionManagement,Trailer, and othersWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/COVESA/vehicle_signal_specification/releases/usr/bin/curl curl -s REDACTED(http block)https://api.github.com/repos/COVESA/vehicle_signal_specification/releases/latest/usr/bin/curl curl -s REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.