chore: Deprecate configure.sh and align install scripts with Hero conventions #78
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_compute#78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The Hero skills conventions (documented in
hero_skills/claude/skills/) define clear rules for scripting:curl | bashbootstrap and CI workflowspkillor screen sessionsscripts/, Makefiles are thin wrappersOur current scripts partially violate these conventions.
Current State
scripts/install.shcurl | bashscripts/configure.shscripts/uninstall.shPlan
1. Deprecate
scripts/configure.shconfigure.shdoes two things:install.shalready does this bettercargo build) — only needed for developers, not end usersSplit it:
install.sh(downloads pre-built binaries, no Rust needed)make buildalready handles compilation.make configureshould only install build dependencies (Rust, musl-tools, system packages) and runtime deps, not download pre-built binariesAdd a deprecation notice to
configure.shpointing users toinstall.sh.2. Create nushell module for Hero component management
Per Kristof's direction and the Hero conventions, create
install_heroinhero_skills/tools/modules/:This lives in hero_skills (not hero_compute) because it manages multiple Hero components.
See related: Kristof's request for nushell-based install flow.
3. Simplify
make configurefor developers onlyReduce
configure.shto developer-only setup:install.shfor runtime dependencies (don't duplicate the download logic)4. Update
install.shfor upgrade awarenessAlready tracked in #77 — graceful stop, state capture, auto-restart.
Files to Change
scripts/configure.shscripts/install.shscripts/uninstall.shMakefileconfiguretarget descriptiondocs/setup.mdinstall.shfor end users,make configurefor developers onlyhero_skills/tools/modules/install_heronushell module (separate repo/issue)Related