feat(scadm): dynamic OpenSCAD version resolution#311
Draft
Copilot wants to merge 4 commits intocopilot/vscode-mndmjeww-pyvzfrom
Draft
feat(scadm): dynamic OpenSCAD version resolution#311Copilot wants to merge 4 commits intocopilot/vscode-mndmjeww-pyvzfrom
Copilot wants to merge 4 commits intocopilot/vscode-mndmjeww-pyvzfrom
Conversation
- Add resolver.py module for scraping snapshots page and GitHub API - Update installer.py to read openscad config from scadm.json - Replace --stable CLI flag with config-driven approach - Add --info flag for version info display - Remove hardcoded version constants from constants.py - Add openscad config section to scadm.json - Add tests for resolver and installer config Agent-Logs-Url: https://github.com/kellerlabs/homeracker/sessions/5be46701-041e-42c5-9701-71c2bdbe9002 Co-authored-by: kellervater <33324812+kellervater@users.noreply.github.com>
- Replace constants.py custom managers with scadm.json openscad version manager - Update test-renovate-local.sh assertions - Update README with new config schema and --info flag docs Agent-Logs-Url: https://github.com/kellerlabs/homeracker/sessions/5be46701-041e-42c5-9701-71c2bdbe9002 Co-authored-by: kellervater <33324812+kellervater@users.noreply.github.com>
- Use str.removeprefix() instead of manual slicing - Make Renovate regex order-independent for JSON fields Agent-Logs-Url: https://github.com/kellerlabs/homeracker/sessions/5be46701-041e-42c5-9701-71c2bdbe9002 Co-authored-by: kellervater <33324812+kellervater@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Replace hardcoded OpenSCAD nightly version constants with dynamic resolution
feat(scadm): dynamic OpenSCAD version resolution
Mar 30, 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.
📦 What
Replace hardcoded nightly version constants with dynamic "latest" resolution. Unify the two separate Windows/Linux nightly constants (identical since ~2026.01.03) into a single config-driven approach.
resolver.pymodule: scrapes OpenSCAD snapshots page (nightly) or GitHub releases API (stable), with local caching inbin/openscad/.resolved-versionopenscadconfig section inscadm.jsonwithtype(nightly/stable) andversion(latest/pinned)--infoflag onscadm installto show configured, resolved, and installed versions--stableCLI flag (breaking) — type now comes from configOPENSCAD_NIGHTLY_VERSION_WINDOWS,OPENSCAD_NIGHTLY_VERSION_LINUX,OPENSCAD_STABLE_VERSIONfromconstants.pyconstants.pycustom managers with 1scadm.jsonversion manager💡 Why
Renovate was creating separate PRs for Windows and Linux nightly versions that have been identical since 2026.01. The constants-in-code approach required a code change + release for every version bump. With
"version": "latest", scadm resolves dynamically — no code changes needed. Pinned versions still work for reproducibility and Renovate tracking.🔧 How
Backward compatible — missing
openscadsection defaults to{"type": "nightly", "version": "latest"}.{ "openscad": { "type": "nightly", "version": "latest" }, "dependencies": [...] }Pin a specific version to opt out of dynamic resolution:
{ "openscad": { "type": "nightly", "version": "2026.03.28" } }Warning
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:
files.openscad.org.venv/bin/scadm .venv/bin/scadm install(dns block)/home/REDACTED/.local/bin/scadm scadm install --info(dns block)If you need me to access, download, or install something from one of these locations, you can either: