Installer: multi-repo install, catalog expansion, and a machine-readable catalog export#1162
Open
SeaCelo wants to merge 2 commits into
Open
Installer: multi-repo install, catalog expansion, and a machine-readable catalog export#1162SeaCelo wants to merge 2 commits into
SeaCelo wants to merge 2 commits into
Conversation
…-list/--list-json/repos.json export
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1162 +/- ##
==========================================
- Coverage 73.38% 73.26% -0.12%
==========================================
Files 21 21
Lines 5313 5394 +81
==========================================
+ Hits 3899 3952 +53
- Misses 1414 1442 +28
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
Builds on the universal installer (#1142). Three additions:
Install several repos in one run.
--repocan be repeated (--repo og-zaf --repo og-idn) or take a comma list;--allinstalls the whole catalog. (On Windows, where a parameter can't repeat, use the comma form:-Repo og-zaf,og-idn.) Each repo clones into its own subfolder under--destand installs independently — if one fails it's reported and the rest continue, with a per-repo summary at the end.uvis installed once. A single repo keeps the existing per-step prompts; multiple run as a batch after one confirmation.--branchand--repo-urlstay single-repo only.Expanded catalog. Adds
og-zaf,og-idn,og-phlalongsideog-core/og-eth, now that they're uv-native.A reliable way to read the catalog.
--list(table) and--list-json(JSON) print the catalog and exit, andscripts/repos.jsonpublishes the same data as a static file — so downstream tooling can stay in sync by fetching one URL instead of scraping the script or--help. A small CI check (.github/workflows/check_catalog.yml) fails ifinstall.sh,install.ps1, andrepos.jsonever drift apart.Hands-free, unattended use:
bash install.sh --all --dest ~/OG --yes.scripts/QUICK_INSTALL.mdis updated for all of the above.Also tightens a few edges: clean error messages for unknown or missing flag values, and a correct non-zero exit when a non-interactive run can't proceed.
Tested: every selection mode on bash 3.2 (the macOS default) — repeated / comma /
--all/ dedup / single, plus the guardrail errors — all stopping before any real install; the catalog stays in sync via the new CI check. The PowerShell side mirrors the bash logic and its-ListJsonpath runs in CI, but I haven't yet run the full multi-repo install loop on Windows.cc: @rickecon @jdebacker