Skip to content

Skills: check ApolloCrossDev for updates before starting a project - #29

Merged
WDrijver merged 1 commit into
mainfrom
skills-acd-update-check
Nov 5, 2026
Merged

WDrijver merged 1 commit into
mainfrom
skills-acd-update-check

Conversation

@WDrijver

@WDrijver WDrijver commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

WDrijver's suggestion: apollo-new-project should check whether ApolloCrossDev is installed and up to date, and offer an update before it starts.

skills/apollo-build/scripts/find-acd.sh

New output (skipped with --offline; without network it says it could not check):

  • UPDATE=checkout: the ApolloCrossDev checkout is behind GitHub (git ls-remote), plus LOCAL_CHANGES= when tracked files are changed, before a git pull.
  • UPDATE=compiler: GCC-6.50-Dev was built before its install script (GCC-6.50-Dev-MacOS.sh or -Linux.sh) or Compilers/_archives/patches last changed on GitHub (GitHub API, no token needed). A reinstall is advised.
  • BUILT=: the compiler's build time (file time of m68k-amigaos-gcc); UPDATES=none when up to date.

Skills

  • apollo-new-project, step 2: before creating anything, report the findings and offer: install (stop until done), git pull (only with consent, mind local changes), reinstall the compiler (the user runs it; explains what the newer build fixes from toolchain/compiler-variants.md) or continue; git pull is required when the template is older than v1.2.
  • apollo-build, step 2: mentions updates once without blocking; on an internal compiler error, a pending compiler update is the first suspect.

Tested

  • On WDrijver's Mac: UPDATE=compiler: built 2026-11-03T13:20Z, GCC-6.50-Dev-MacOS.sh changed 2026-11-04T09:27Z (Remove double-indirect-fix.patch from the Dev scripts), which is correct: that build still has the double-indirect patch.
  • An older clone with a changed file: UPDATE=checkout (local 3b1a263, GitHub d636629) and LOCAL_CHANGES=1.
  • --offline skips the GitHub checks; check_skills.py passes.

Knowledge base files relied on: toolchain/index.md, toolchain/compiler-variants.md.

🤖 Generated with Claude Code

find-acd.sh now also reports, unless --offline:
- UPDATE=checkout when the ApolloCrossDev checkout is behind GitHub, with
  LOCAL_CHANGES= when tracked files are changed (before a git pull);
- UPDATE=compiler when GCC-6.50-Dev was built before its install script or
  the patches last changed on GitHub (reinstall advised);
- BUILT= the compiler's build time; UPDATES=none when up to date.

apollo-new-project offers the updates before creating anything (install,
pull, reinstall or continue); apollo-build mentions them without blocking
and suspects a pending compiler update first on a compiler crash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WDrijver
WDrijver requested a review from TuKo1982 as a code owner November 5, 2026 12:23
@WDrijver
WDrijver merged commit 9767284 into main Nov 5, 2026
2 checks passed
@WDrijver
WDrijver deleted the skills-acd-update-check branch November 5, 2026 12:25
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.

1 participant