diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-09 00:36:24 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-09 00:36:48 +0900 |
| commit | 720430c0d08817f1113cbf35b541eaf673679fb9 (patch) | |
| tree | 709577c1d7e63774550feacb092acc0786d77295 /crates/mozart/src/commands/update.rs | |
| parent | 82667e0a1d2c728f2f8f084a5f7591e0fc006dcf (diff) | |
| download | php-mozart-720430c0d08817f1113cbf35b541eaf673679fb9.tar.gz php-mozart-720430c0d08817f1113cbf35b541eaf673679fb9.tar.zst php-mozart-720430c0d08817f1113cbf35b541eaf673679fb9.zip | |
refactor(show): Slice A — align show.rs with Composer's ShowCommand pipeline
- A3: wire --major-only/--minor-only/--patch-only version constraint filtering
in fetch_latest_for_package (mirrors ShowCommand::findLatestPackage 1500-1515)
- A4: implement --sort-by-age ordering by release date
- A5: add abandoned-package warning after each list row
- A6: print color legend before list when --latest is on; ASCII markers
(\! ~ =) in non-decorated mode
- A7: split list into "Direct dependencies" / "Transitive dependencies"
sections when --latest && \!--direct (mirrors Composer 671-695)
- A8: replace local is_platform_package with mozart_core::platform::is_platform_package
- A9: emit --installed deprecation warning (mirrors Composer 143-145)
- A10: apply --strict exit-code check in both installed and locked paths
- A11: fetch and display latest: line in single-package detail view
- A12: add conflict/provide/replace link sections to detail view
- A13: add released/names/support/autoload fields to detail view
- A14: use "locked" JSON key for --locked output (was incorrectly "installed")
- A15: unify show_installed_package_detail + show_locked_package_detail into
a single PackageDetail struct + print_package_detail function
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands/update.rs')
0 files changed, 0 insertions, 0 deletions
