diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-22 20:13:51 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-22 20:13:51 +0900 |
| commit | 07df794b421c0fdd6b8897eab8b7606082b88bde (patch) | |
| tree | 7afb5f97da65eb5beaa3afc2419701d1be52f9fe | |
| parent | dbb33ad61d35d12cc30eb2c79a7b7f557bb147a5 (diff) | |
| download | php-shirabe-07df794b421c0fdd6b8897eab8b7606082b88bde.tar.gz php-shirabe-07df794b421c0fdd6b8897eab8b7606082b88bde.tar.zst php-shirabe-07df794b421c0fdd6b8897eab8b7606082b88bde.zip | |
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) <noreply@anthropic.com>
| -rw-r--r-- | flake.nix | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -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 |
