updates#4
Open
lincoltd7 wants to merge 52 commits into
Open
Conversation
releasable version
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Robotmad/HexManager/sessions/3dbe6bc7-1ce8-409b-b5d5-2f9980a30c63 Co-authored-by: Robotmad <3315650+Robotmad@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Robotmad/HexManager/sessions/4248c750-a1c6-45b3-85ff-1a3980584125 Co-authored-by: Robotmad <3315650+Robotmad@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Enhance submodule management with branch verification.
Removed checkout command for HexManager submodule.
Added a step to checkout the badge repository based on the PR branch.
Added a step to checkout the badge repository based on the PR branch.
Updated Python setup step to use a fixed version 3.11.
Improve EEPROM naming and scan UX
Agent-Logs-Url: https://github.com/Robotmad/HexManager/sessions/8324d722-1083-4ef3-820b-ab85cad7843c Co-authored-by: Robotmad <3315650+Robotmad@users.noreply.github.com>
Pin CI pytest major version to restore HexManager test compatibility
Agent-Logs-Url: https://github.com/Robotmad/HexManager/sessions/bf2ba837-377d-4df0-a187-4cfbffd8ccf5 Co-authored-by: Robotmad <3315650+Robotmad@users.noreply.github.com>
Fix CI: disable pytest cacheprovider to avoid sim shim incompatibility
…on; update HexCurrent submodule to latest commit
… clean shutdown process
There was a problem hiding this comment.
Pull request overview
This PR refactors HexManager to use vendored (submodule) hexpansion apps instead of in-repo EEPROM sources, adds support for a separate friendly_name stored in the EEPROM header, and improves UX/error reporting (startup warnings + paginated messages). It also adds EEPROM geometry probing for blank chips and updates dev/release tooling to build external app artifacts.
Changes:
- Move HexDrive/GPS/etc app sources to
vendor/submodules and update imports, build scripts, and JSON metadata accordingly. - Add
friendly_nameto hexpansion type definitions and propagate it into EEPROM header writing + UI rendering. - Add blank-EEPROM geometry detection + “Scan” UI flow, plus improved startup warning reporting and paginated message display.
Reviewed changes
Copilot reviewed 19 out of 34 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
hexpansion_mgr.py |
Adds EEPROM geometry probing/caching, blank-port scan flow, and friendly_name header usage. |
app.py |
Adds import-failure reason tracking, startup warning formatting, and message wrapping/pagination with navigation. |
hexpansions.json |
Updates schema/help text, adds friendly_name, updates/extends hexpansion entries and app metadata. |
README.md |
Documents friendly_name and new minification pipeline. |
dev/minify.py |
New minify+compile pipeline for vendor modules. |
dev/download_to_device.py |
Updates module list to compile vendor modules and optionally invoke minification. |
dev/build_release.py |
Builds release artifacts while excluding vendored sources from the final bundle. |
dev/dev_requirements.txt |
Adds dev dependencies for minification and related tooling. |
tests/test_smoke.py |
Updates vendored imports and adds tests for startup warning pagination + version extraction from sources. |
tests/test_serialise.py |
Adds Fake I2C probing and tests for geometry detection, scan UI flow, and friendly-name behavior. |
tests/conftest.py |
Updates HexDrive runtime import to vendored path. |
settings_mgr.py |
Makes setting persistence safer/cleaner by caching key/index once and early-returning on missing index. |
pyproject.toml |
Disables pytest cache provider. |
.gitmodules |
Adds vendor submodules for external apps. |
.gitignore |
Ignores minifier intermediate artifacts under vendor/. |
.gitattributes |
Excludes vendor/ from export bundles. |
.github/workflows/tests.yml |
Updates CI checkout/submodule logic and Python version. |
.github/workflows/release.yml |
Ensures release workflow checks out submodules recursively. |
EEPROM/hexdrive.py |
Removed (HexDrive app now vendored). |
EEPROM/gps.py |
Removed (GPS app now vendored). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.