Commit 0134a8b
committed
feat: namespace-aware read_xpkg_lua + bump to 0.0.8
read_xpkg_lua now tries multiple filename patterns when looking up
a package's .lua descriptor in index repos:
1. <full-qualified-name>.lua (old: mcpplibs.cmdline.lua)
2. <short-name>.lua (new: cmdline.lua)
3. compat.<name>.lua (new: compat.gtest.lua)
This completes namespace migration support: both install_path (0.0.7)
and read_xpkg_lua (0.0.8) handle old and new index layouts.
Locally verified: mcpp self-build + tinyhttps + llmapi + cmdline all
pass against the migrated mcpp-index (namespace fields + short names
+ renamed files).1 parent 9675ea9 commit 0134a8b
3 files changed
Lines changed: 37 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
597 | | - | |
598 | 596 | | |
599 | 597 | | |
600 | 598 | | |
601 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
602 | 624 | | |
603 | | - | |
604 | 625 | | |
605 | 626 | | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
612 | 638 | | |
613 | 639 | | |
614 | 640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments