diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-23 01:39:54 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-23 01:59:59 +0900 |
| commit | 8199bf2f432968eef4b8f2abd998995b0364a1d5 (patch) | |
| tree | 13893e93c793490ebee94e5038b4b240ed48704a /crates/mozart/src/commands/self_update.rs | |
| parent | bb132ac9201b958f9f6b916e701d9bfb323166b9 (diff) | |
| download | php-mozart-8199bf2f432968eef4b8f2abd998995b0364a1d5.tar.gz php-mozart-8199bf2f432968eef4b8f2abd998995b0364a1d5.tar.zst php-mozart-8199bf2f432968eef4b8f2abd998995b0364a1d5.zip | |
fix(repository): support Composer's associative-key repo format
Composer stores repositories as {"name": {"type":...}} while Mozart
only understood [{"name":"name","type":...}]. This adds normalization
so Mozart can read both formats for list, get-url, set-url, and remove.
Also distinguishes "no URL" from "not found" in get-url errors.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands/self_update.rs')
0 files changed, 0 insertions, 0 deletions
