fix: fetch dependency versions from central config in configure.sh #73

Merged
mahmoud merged 1 commit from development_configure_fix into development 2026-04-07 09:10:15 +00:00
Owner

Summary

scripts/configure.sh had hardcoded stale versions for dependencies (e.g. my_hypervisor v0.1.2 when v0.1.4 is current). This caused make configure to fail downloading non-existent releases.

Now fetches all versions from the central config repo (hero_compute_config), matching how scripts/install.sh already works.

Changes

  • Add TOML parser helpers (reused from install.sh)
  • Fetch development.toml from central config on startup
  • Replace hardcoded versions for cloud-hypervisor, mycelium, hero_proc, and my_hypervisor with dynamic config lookups
  • Add cleanup trap for temp config file

Test plan

  • make configure completes without download failures
  • Correct versions are installed matching central config
## Summary `scripts/configure.sh` had hardcoded stale versions for dependencies (e.g. `my_hypervisor v0.1.2` when `v0.1.4` is current). This caused `make configure` to fail downloading non-existent releases. Now fetches all versions from the central config repo (`hero_compute_config`), matching how `scripts/install.sh` already works. ## Changes - Add TOML parser helpers (reused from install.sh) - Fetch `development.toml` from central config on startup - Replace hardcoded versions for cloud-hypervisor, mycelium, hero_proc, and my_hypervisor with dynamic config lookups - Add cleanup trap for temp config file ## Test plan - [ ] `make configure` completes without download failures - [ ] Correct versions are installed matching central config
fix: fetch dependency versions from central config in configure.sh
All checks were successful
Test / test (push) Successful in 2m11s
Test / test (pull_request) Successful in 2m7s
a711a138b2
Replace all hardcoded versions (cloud-hypervisor v43.0, my_hypervisor v0.1.2,
hero_proc v0.4.4) with dynamic lookups from the central config repo at
git.ourworld.tf/lhumina_code/hero_compute_config.

This matches how install.sh already works — single source of truth for
all component versions.

#68
mahmoud merged commit 8f1aedb3e9 into development 2026-04-07 09:10:15 +00:00
mahmoud deleted branch development_configure_fix 2026-04-07 09:10:19 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_compute!73
No description provided.