aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/self_update.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-23 01:39:54 +0900
committernsfisis <nsfisis@gmail.com>2026-02-23 01:59:59 +0900
commit8199bf2f432968eef4b8f2abd998995b0364a1d5 (patch)
tree13893e93c793490ebee94e5038b4b240ed48704a /crates/mozart/src/commands/self_update.rs
parentbb132ac9201b958f9f6b916e701d9bfb323166b9 (diff)
downloadphp-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