Commit b2c44dc
committed
fix: accept legacy
Index descriptors in the current mcpp-index repo embed the namespace in
the package's `[package].name` string (e.g. `name = "mcpplibs.cmdline"`)
rather than using the xpkg-spec separate `namespace = "mcpplibs"; name =
"cmdline"` form. Until the index is migrated, accept both:
* the new short form (`name == "cmdline"`)
* the legacy composite (`name == "mcpplibs.cmdline"`)
Restores the self-host smoke step in CI which builds mcpp using the
freshly-built mcpp; that path resolves `mcpplibs.cmdline` from the
released index repo, hits the legacy descriptor, and previously failed
with `mismatch with declared name 'cmdline'`.<ns>.<name> form on path-dep name match1 parent 7902b63 commit b2c44dc
1 file changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1334 | 1334 | | |
1335 | 1335 | | |
1336 | 1336 | | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
1342 | 1343 | | |
1343 | 1344 | | |
1344 | | - | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
1345 | 1355 | | |
1346 | 1356 | | |
1347 | 1357 | | |
| |||
0 commit comments