From ec5f3292ac324789298c3a12972f8f78b688ca24 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 22 Aug 2026 17:53:13 +0900 Subject: feat(cli): tell the user to run `shirabe`, not `composer` Messages that instruct the user to run a command named the Composer binary. Shirabe ships as its own binary, so the hints now name it. File names (composer.json, composer.lock), the "composer" repository type and prose about Composer itself are untouched. The installer and functional integration fixtures live in the Composer submodule and cannot be edited, so their expected output is normalized on load. --- crates/shirabe/src/installer.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/shirabe/src/installer.rs') diff --git a/crates/shirabe/src/installer.rs b/crates/shirabe/src/installer.rs index d1e38542..ca1ca380 100644 --- a/crates/shirabe/src/installer.rs +++ b/crates/shirabe/src/installer.rs @@ -453,7 +453,7 @@ impl Installer { (if 1 == funding_count { "is" } else { "are" }), )); self.io - .write_error("Use the `composer fund` command to find out more!"); + .write_error("Use the `shirabe fund` command to find out more!"); } } @@ -590,7 +590,7 @@ impl Installer { { self.io.write_error3( &format!( - "Cannot update {} without a lock file present. Run `composer update` to generate a lock file.", + "Cannot update {} without a lock file present. Run `shirabe update` to generate a lock file.", if self.update_mirrors { "lock file information" } else { @@ -1052,7 +1052,7 @@ impl Installer { if !self.locker.borrow_mut().is_fresh()? { self.io.write_error3( - "Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `.", + "Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `shirabe update` or `shirabe update `.", true, io_interface::QUIET, ); @@ -1129,7 +1129,7 @@ impl Installer { // installing the locked packages on this platform resulted in lock modifying operations, there wasn't a conflict, but the lock file as-is seems to not work on this system if !lock_transaction.get_operations().is_empty() { self.io.write_error3( - "Your lock file cannot be installed on this system without changes. Please run composer update.", + "Your lock file cannot be installed on this system without changes. Please run shirabe update.", true, io_interface::QUIET, ); @@ -1138,7 +1138,7 @@ impl Installer { } } Err(e) => { - let err = "Your lock file does not contain a compatible set of packages. Please run composer update."; + let err = "Your lock file does not contain a compatible set of packages. Please run shirabe update."; let pretty_problem = e.get_pretty_string( &repository_set, &request, -- cgit v1.3.1-4-g156e