Commit 52c3666
committed
Resolve GMAT root by exact wrapper path
- locateGmatRoot now checks exactly <staging>/GMAT/<version>/api/BuildApiStartupFile.py and returns <staging>/GMAT/<version>. The R2026a Linux tarball wraps the install in two levels (GMAT/R2026a/...); R2022a and R2025a use the same shape (verified against the live SourceForge tarballs). The previous depth-0/1 search overgeneralized from a single tarball and missed R2026a.
- extract(archivePath, version) now takes version; install.ts threads inputs.version through the orchestrator.
- Loud failure on layout drift: if the expected path is missing, the error names exactly which path was expected so the next bisect is one step.
- No discovery, no BFS, no scan. The supported-version matrix (R2022a, R2025a, R2026a — note R2023a/R2024a were never released) all match this layout; if a future release ever changes shape, we'll hear about it loudly and adapt with the actual evidence in hand.
- dist/index.js regenerated.
Closes #271 parent 7c9997c commit 52c3666
3 files changed
Lines changed: 14 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
40 | 33 | | |
41 | 34 | | |
42 | | - | |
43 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
44 | 38 | | |
45 | 39 | | |
46 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
0 commit comments