Commit Graph

47 Commits

Author SHA1 Message Date
Shivam Mathur 694649a4a3 Fix mutable tool cache restore 2026-05-13 19:43:21 +05:30
Shivam Mathur 7748c24380 GHSA-f9f8-rm49-7jv2: Fix GitHub auth handling for composer in affected versions 2026-05-13 16:19:11 +05:30
Shivam Mathur a5c2146f3f Improve tool cache to not cache persistent urls 2026-03-15 11:36:39 +05:30
Shivam Mathur 1eee54fe48 Fix paths for bin tools and scoped tools [skip ci] 2026-01-23 01:04:38 +05:30
Shivam Mathur 341bc9e176 Improve cache for tools 2026-01-21 17:02:28 +05:30
Shivam Mathur 185f9de395 Fix linking tools 2026-01-21 15:54:25 +05:30
Shivam Mathur baed2d33b8 Provide better error in tools' setup 2025-09-01 12:27:19 +05:30
Shivam Mathur 89b2566bb0 Check github-token on enterprise
On GitHub enterprise we may get a Personal Access token or a default token generated by GitHub that maybe not have the permissions required to access public GitHub, so we check and add it only if it can authenticate with the public GitHub API
2025-08-02 12:12:58 +05:30
Shivam Mathur dcec1cf0b4 Override GITHUB_TOKEN if COMPOSER_TOKEN is set 2025-07-30 22:30:05 +05:30
Shivam Mathur 2a597f617d Fix race condition 2025-07-29 02:08:56 +05:30
Shivam Mathur 11373c6dce Fix shellcheck in add_tools.sh [skip ci] 2025-07-28 20:13:02 +05:30
Shivam Mathur 50ad25710d Use auth.json for composer authentication 2025-07-28 20:11:02 +05:30
Shivam Mathur 12b910a04d Add support for COMPOSER_ALLOW_PLUGINS 2025-06-09 17:30:41 +05:30
Sn0wCrack 310e481b83 feat: allow tools path directory to be set
also add a .node-version file
2025-04-07 12:28:57 +05:30
Shivam Mathur a6ce3f5633 Add support to use existing COMPOSER_PROCESS_TIMEOUT 2024-02-22 12:06:24 +05:30
Shivam Mathur 29a9813921 Add required extensions for box 2023-11-01 10:23:55 +05:30
Shivam Mathur 91026460e4 Create tool_path_dir if it does not exist 2023-09-22 08:15:57 +05:30
Shivam Mathur 7fdd3ece87 Fix blackfire-player on Linux and macOS
Drop support for blackfire-player on Windows
2023-09-14 02:51:49 +05:30
Shivam Mathur 9d529a72e0 Only check castor version if castor.php is present 2023-06-24 02:25:43 +05:30
Shivam Mathur bbc65d999a Fix extension logs
Refactor utils.addCommand
2023-01-18 09:00:28 +05:30
Shivam Mathur 66f24470dc Fix reading composer package type for older versions 2022-07-20 19:41:49 +05:30
Shivam Mathur ce49f82dd8 Do not add composer plugins to allow list for composer v1 2022-07-08 04:55:44 +05:30
Shivam Mathur cf5cd90b4c Improve support for composer authenticating private respositories 2022-07-06 12:19:55 +05:30
Shivam Mathur 261f13a7c5 Add composer plugins to allow list before installing 2022-07-06 00:43:25 +05:30
Shivam Mathur a863ab6d3d Add support to allow composer plugins 2022-07-05 06:25:04 +05:30
Shivam Mathur 74d43be8a3 Fix support for deployer 2022-05-31 10:12:38 +05:30
Shivam Mathur 846135c190 Create empty composer.json in scoped directory
When installing composer based tools in a scoped directory with old composer versions it breaks if a composer.json is not present in the scoped directory
2022-05-02 11:22:58 +05:30
Shivam Mathur 18f3abac75 Fix UUOC shellcheck warning 2022-02-09 03:40:58 +05:30
Shivam Mathur 7854a0cae7 Fix adding composer_bin to PATH 2022-02-09 03:27:03 +05:30
Shivam Mathur a72a638da4 Fix check in add_path
Add composer_bin to the PATH after a tool is added using composer
2022-02-09 00:53:56 +05:30
Shivam Mathur 6f6e534936 Improve tools support when extensions are disabled/missing 2022-02-06 03:37:57 +05:30
Shivam Mathur 99a4a141f4 Add --ignore-platform-req=ext-* while installing composer packages with composer v2 2022-02-06 03:37:56 +05:30
Shivam Mathur 57662657e0 Enable extensions required for installing composer packages 2022-02-06 03:37:55 +05:30
Shivam Mathur 0022878947 Remove unnecessary dist parameter 2022-01-29 12:14:42 +05:30
Shivam Mathur 71d07ee7f4 Update symfony-cli support to use new symfony-cli/symfony-cli 2022-01-29 11:27:44 +05:30
Shivam Mathur 147905fd60 Fix composer_bin not found error 2022-01-25 12:32:59 +05:30
Shivam Mathur 2b729b1130 Refactor setting environment variables 2022-01-18 04:41:51 +05:30
Shivam Mathur f3010adf3e Improve tools setup
Log full semver of tools installed with composer

Refactor adding paths to PATH
2022-01-11 06:04:19 +05:30
Shivam Mathur b7cdb2373c Fix cp in add_tools.sh 2022-01-09 13:44:50 +05:30
Shivam Mathur d189609ea9 Refactor tools functions to add_tools scripts 2022-01-05 15:20:39 +05:30
Shivam Mathur f24f33ea89 Scope binary tools installed using composer 2021-12-31 00:11:33 +05:30
Shivam Mathur 2f2a90e464 Add workaround to ensure PHPUnit installed by setup-php is used along with PHPUnit-Polyfills 2021-11-16 08:23:46 +05:30
Shivam Mathur 81a06ff6ed Fix shellcheck warning in add_tools.sh 2021-11-16 08:14:06 +05:30
Shivam Mathur 87993cd853 Add lowercase alias for phpDocumentor on unix 2021-09-20 06:23:13 +05:30
Shivam Mathur 7b145b5fae Add fileinfo extension with phpdoc
Add aliases for phpdoc
2021-09-20 05:46:02 +05:30
Shivam Mathur 6449431df2 Move tools config to tools.json
Refactor tools functions to use Records and object literals
2021-07-07 22:40:02 +05:30
Shivam Mathur 739ccacdc4 Refactor tools
Improve support for tool aliases
2021-02-20 16:11:20 +05:30