aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-27 20:19:56 +0900
committernsfisis <nsfisis@gmail.com>2026-06-27 20:20:47 +0900
commit40bb49fc0b80d5ff97875903b2c2e55ff394cecc (patch)
treeb4ac82245573b6905f216116d9bc88bfc7e0d51e /crates/shirabe/tests/command
parente63ccb5cbb479df0f0e5010065ff57bbf4ca238f (diff)
downloadphp-shirabe-40bb49fc0b80d5ff97875903b2c2e55ff394cecc.tar.gz
php-shirabe-40bb49fc0b80d5ff97875903b2c2e55ff394cecc.tar.zst
php-shirabe-40bb49fc0b80d5ff97875903b2c2e55ff394cecc.zip
refactor(http): present reqwest instead of faking curl_version
- StreamContextFactory: User-Agent reports the HTTP stack as "reqwest" - RequestProxy::supports_secure_proxy: always true (reqwest+rustls can always TLS to a proxy); drop the now-dead curl<7.52 guard in get_curl_options - DiagnoseCommand::get_curl_version: phase-D TODO placeholder Empirically verified: reqwest sends no default User-Agent (shirabe sets it explicitly) and accepts https:// proxy URLs. init+install output stays byte-identical to Composer. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/command')
-rw-r--r--crates/shirabe/tests/command/search_command_test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/tests/command/search_command_test.rs b/crates/shirabe/tests/command/search_command_test.rs
index ebdd4bd..69f2930 100644
--- a/crates/shirabe/tests/command/search_command_test.rs
+++ b/crates/shirabe/tests/command/search_command_test.rs
@@ -36,7 +36,7 @@ fn run_search_case(command: Vec<(PhpMixed, PhpMixed)>, expected: &str) {
#[test]
#[serial]
-#[ignore = "searching a `package`-type repo constructs an HTTP downloader whose User-Agent build calls curl_version() (todo!() in shirabe-php-shim::curl); the HTTP layer is not yet ported"]
+#[ignore = "searching a `package`-type repo returns incomplete results (some matching packages are dropped); the search/repository path is not yet fully ported"]
fn test_search() {
// 'by name and description'
run_search_case(