From 07df794b421c0fdd6b8897eab8b7606082b88bde Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 22 Aug 2026 20:13:51 +0900 Subject: chore(flake): comment out the VCSs no test needs VersionGuesser probes git, hg, fossil and svn in turn on every version guess, and a temp directory that is no working copy fails each probe only after paying that binary's startup cost. Dropping the three from the dev shell takes the `command` test binary from ~140s to ~46s, and no test that was passing starts failing. Co-Authored-By: Claude Opus 5 (1M context) --- flake.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index df1d0c3a..5b51672e 100644 --- a/flake.nix +++ b/flake.nix @@ -53,12 +53,19 @@ pkgs.php85Packages.composer pkgs.just - # The following softwares are used for testing. + # The following softwares are used for testing: + # VCSs - pkgs.fossil pkgs.git - pkgs.mercurial - pkgs.subversion + # VCSs (optional) + # Neither Composer's test suite nor Shirabe's uses a real binary + # for these commands: all tests for them mock a process executor. + # They only slow the tests down. + # Please uncomment to run those code paths by hand. + # pkgs.fossil + # pkgs.mercurial + # pkgs.subversion + # Archivers pkgs.bzip2 pkgs.gnutar -- cgit v1.3.1-4-g156e