Commit Graph

36 Commits

Author SHA1 Message Date
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
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
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
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
9d529a72e0 Only check castor version if castor.php is present 2023-06-24 02:25:43 +05:30
Shivam Mathur
6461006ceb Improve Write-Error messages 2023-03-14 06:07:46 +05:30
Shivam Mathur
5f422817a1 Use Write-Error with ErrorAction as Stop instead of exit 2023-03-14 06:02:04 +05:30
Shivam Mathur
f9390a5478 Add retry logic to Invoke-Webrequests
Add fallback url to nightly setup
2023-02-03 12:59:37 +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
e57ea715eb Fix scoped tool setup on Windows 2022-07-20 19:41:07 +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
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
948917a97b Fix to correctly use fallback URL for tools on Windows 2022-02-08 03:52:45 +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
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
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
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