Commit Graph

287 Commits

Author SHA1 Message Date
Shivam Mathur
94c859a50e
Add GitHub releases fallback URL for phing 2022-03-01 20:44:20 +05:30
Shivam Mathur
4dc94c27cf
Refactor utils.fetch to a module and mock it with nock
Add redirect support in utils.fetch
2022-02-06 10:53:40 +05:30
Shivam Mathur
408b70728f
Improve support for sqlsrv and pdo_sqlsrv 2022-02-02 14:38:28 +05:30
Shivam Mathur
5acd006232
Fix second run in the same job
Refactor install.ts and its tests
2022-01-30 08:45:11 +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
cad2a1bda3
Rename os_version => os 2022-01-29 05:29:58 +05:30
Shivam Mathur
c2c73b16c1
Append to script instead read then write 2022-01-29 04:45:17 +05:30
Shivam Mathur
63c7766312
Remove unnecessary writing of scripts to RUNNER_TOOL_CACHE 2022-01-29 04:40:49 +05:30
Shivam Mathur
1db2ec93f3
Fix tools.getLatestVersion 2022-01-27 08:44:53 +05:30
Shivam Mathur
a0a791cada
Add ini_file input to set base php.ini 2022-01-25 13:43:49 +05:30
Shivam Mathur
c38f1acc38
Fix potential exponential backtracking in regex in utils.parseExtensionSource 2022-01-22 02:25:58 +05:30
Shivam Mathur
0374a8ae84
Add support for gnupg from shivammathur/homebrew-extensions 2022-01-17 22:07:36 +05:30
Shivam Mathur
e480353a3d
Process extensions before tools 2022-01-13 04:29:05 +05:30
Shivam Mathur
2fd8046c9d
Refactor extension functions to add_extensions scripts 2022-01-05 15:20:40 +05:30
Shivam Mathur
f24f33ea89
Scope binary tools installed using composer 2021-12-31 00:11:33 +05:30
Shivam Mathur
0f13e29d1f
Use composer phars from cache with PHP version 2021-12-22 20:07:07 +05:30
Shivam Mathur
5cd765a20d
Add support for blackfire extension on PHP 8.1 2021-12-20 19:50:31 +05:30
Shivam Mathur
dab0e73adf
Refactor addPhive in tools.ts 2021-12-13 08:11:59 +05:30
Shivam Mathur
15b20027cf
Use GitHub releases for phive's latest version 2021-12-13 07:47:57 +05:30
Shivam Mathur
a274bd910a
Fix to handle wrong pecl versions with hyphen 2021-12-08 04:56:29 +05:30
Shivam Mathur
7c0b4c8c8e
Bump version to 2.16.0 2021-11-26 00:15:10 +05:30
Shivam Mathur
b33066473d
Log error when wrong Xdebug version is requested 2021-11-26 00:07:28 +05:30
Shivam Mathur
345999bf0b
Add support for mailparse on macOS using shivammathur/extensions tap 2021-11-25 20:29:41 +05:30
Shivam Mathur
719018955c
Add support for xlswriter on macOS using shivammathur/extensions tap 2021-10-12 20:56:58 +05:30
Shivam Mathur
fca0924fa9
Use custom support for phalcon 2021-10-09 06:26:16 +05:30
Shivam Mathur
13760f5b16
Add support for expect and ssh2 using shivammathur/extensions tap on macOS 2021-09-16 18:41:02 +05:30
Shivam Mathur
a34eeedd37
Bump version to 2.14.0
Add config to generate types

Fix build error in install.ts after TypeScript upgrade

Minor refactor in install.test.ts

Add bugs, directories, files and types entries in package.json

Update Node.js dependencies

Update SECURITY.md
2021-09-11 05:25:45 +05:30
Shivam Mathur
d068c17d9e
Add support for nightly alias 2021-09-06 11:58:31 +05:30
Shivam Mathur
e990e98a54
Use shivammathur/extensions tap to install vips on macOS 2021-09-01 15:53:05 +05:30
Shivam Mathur
b2d037d560
Add support to remove all shared extensions 2021-08-28 12:17:23 +05:30
Shivam Mathur
8e80635955
Fix parsing extensions input if Zend OPcache is specified instead of opcache 2021-08-28 12:17:21 +05:30
Shivam Mathur
c8837583fc
Do not check dependents for PCOV and Xdebug 2021-08-28 12:17:21 +05:30
Shivam Mathur
5402397d9f
Do not delete extensions, just disable them 2021-08-28 12:17:19 +05:30
Shivam Mathur
cf40c1e950
Bump version to 2.13.0
Update dependencies
2021-08-23 16:19:24 +05:30
Shivam Mathur
4d3cfaa653
Fixed support for php-cs-fixer
Added fetch_latest to tools.json. When fetch_latest is true for a tool
it will fetch the release.atom for the tool and parse that to get the
latest release.

Bumped lib version to ES2020 in tsconfig.json for string.matchAll.
2021-08-20 09:14:39 +05:30
Shivam Mathur
5137c78ee5
Use shivammathur/extensions tap for yaml extension on macOS 2021-08-18 09:53:32 +05:30
Shivam Mathur
4bb4f1812c
Fix to make utils.readEnv more resilient to user input 2021-08-18 09:53:26 +05:30
Shivam Mathur
7bd9f10bef
Add no_tools_cache flag 2021-08-18 09:53:25 +05:30
Shivam Mathur
0b38e86c65
Use shivammathur/extensions tap on macOS for mongodb on PHP 5.6 to 8.1 2021-08-18 09:53:24 +05:30
Shivam Mathur
947009a717
Sunset support for Ubuntu 16.04 2021-08-02 23:10:43 +05:30
jrfnl
f31d416e6e Update Phive configuration
Phive has released version `0.15.0` which ups the minimum supported PHP version to PHP 7.3.

This adds the switch statement for Phive to take this into account.

Ref: https://github.com/phar-io/phive/releases
2021-08-01 19:52:48 +02:00
Shivam Mathur
a3727c20a4
Bump version to 2.12.0
Update Node.js dependencies
2021-07-14 14:38:18 +05:30
Shivam Mathur
3b2ce6cae6
Update Ubuntu 16.04 warning in install.ts 2021-07-14 14:17:38 +05:30
Shivam Mathur
09e08a3554
More fixes in fetching tool versions 2021-07-14 14:17:32 +05:30
Shivam Mathur
7eec3d790d
Fix repeated version_prefix 2021-07-10 02:10:33 +05:30
Shivam Mathur
14fa980966
Improve error handling in utils.fetch and its uses
Minor fixes in tests

Revert to ES2019
2021-07-09 11:26:38 +05:30
Shivam Mathur
39491a0fba
Add authorization header to GitHub API call when COMPOSER_TOKEN is set 2021-07-07 22:40:05 +05:30
Shivam Mathur
e1a9afe11c
Add support to specify major or major.minor versions for tools with GitHub repository 2021-07-07 22:40:03 +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
60ff774608
Fix replacing v prefix in tool version 2021-07-07 22:40:01 +05:30
Shivam Mathur
dd591f1661
Use shivammathur/extensions tap for rdkafka on macOS 2021-07-07 22:39:59 +05:30
Shivam Mathur
55ab748aaa
Update dependencies
Update to Jest 27

Set sourceMap to true in tsconfig.json
2021-06-04 21:34:31 +05:30
Shivam Mathur
4067ce8b81
Deprecate Ubuntu 16.04 2021-05-04 23:43:26 +05:30
Shivam Mathur
15c43e89cd
Fix mysql regex for windows in extensions.ts 2021-04-27 15:17:29 +05:30
Shivam Mathur
b0559f7f8e
Bump version to 2.11.0
Update dependencies

Update year in license

Cleanup tsconfig.json

Set moduleResolution to node in tsconfig.json
2021-04-26 15:12:09 +05:30
Shivam Mathur
9ad81048ce
Use shivammathur/extensions for memcache and memcached on darwin 2021-04-21 22:37:23 +05:30
Shivam Mathur
8cfcbb030f
Add support for tools: none 2021-04-21 17:11:24 +05:30
Shivam Mathur
7e5351f399
Do not lowercase source extension input
Fix warnings in parseExtensionSource in utils.ts

Fix add_lib_log in source.sh
2021-04-21 04:38:37 +05:30
Shivam Mathur
fe944a16b5
Use EXTENSION_PATH to specify subdirectory in add_extension_from_source 2021-04-20 17:20:36 +05:30
Shivam Mathur
23393c46d7
Add support for composer packages using tools input 2021-04-19 17:05:59 +05:30
Shivam Mathur
3c6827c2c3
Use shivammathur/extensions for phalcon and psr 2021-04-19 17:05:53 +05:30
Shivam Mathur
ada1ce86b7
Refactor and improve extension support
Add support for APCu on macOS from shivammathur/homebrew-extensions
Improve support for geos to compile on PHP 8.0 and 8.1
Fix pecl setup to avoid unnecessary callbacks
Use GitHub releases for all couchbase versions
Use add_extension_from_source for all custom supported extensions
Remove bintray and use shivammathur/intl-icu releases
Add patch for protobuf for installing from source
Move patches from custom extension scripts to patches directory
Add support to build extension from GitHub and pecl tar archives (Internal API)
Refactor regex in extension.ts
Move add_pecl_extension to common.sh
Refactor remove_extension in darwin.sh
Fix shellcheck warning in darwin.sh
Improve switch_version in linux.sh to accept parameters
2021-04-15 16:54:35 +05:30
Shivam Mathur
b3152daa8d
Add support for any git repository to compile extension from source
Add support for extensions in a subdirectory to compile from source
2021-04-15 16:54:32 +05:30
Shivam Mathur
c342ca379e
Check if the extensions has to be built from source first 2021-04-15 16:54:26 +05:30
Shivam Mathur
f8646352c6
Fix gearman setup 2021-04-15 16:54:24 +05:30
Shivam Mathur
15b99e2a8d
Fix warning in install.ts 2021-04-15 16:54:21 +05:30
Shivam Mathur
0741f2b23a
Fix icu-intl setup 2021-04-13 19:08:45 +05:30
Shivam Mathur
62aa8428dd
Fix coverage 2021-03-23 06:50:05 +05:30
Shivam Mathur
fa18c2b29f
Remove bintray from manifest and win32.ps1
Fix JIT ini values in win32.ps1
2021-02-23 14:34:03 +05:30
Shivam Mathur
399ab79d14
Improve support for couchbase, pdo_firdbird, pdo_oci and phalcon3
Downgrade husky to 4.x
2021-02-23 13:07:17 +05:30
Shivam Mathur
9601a19811
Bump version to 2.10.0
Update dependencies

Fix eslint config
2021-02-22 15:57:16 +05:30
Shivam Mathur
739ccacdc4
Refactor tools
Improve support for tool aliases
2021-02-20 16:11:20 +05:30
Shivam Mathur
cff0bdeaa3
Use composer for codeception setup 2021-02-19 13:49:58 +05:30
Shivam Mathur
70d858dd49
Add support for msgpack and redis on macOS for PHP 5.6+ 2021-02-19 13:49:57 +05:30
Shivam Mathur
3340d60d91
Improve support for pecl_http on linux and macOS 2021-02-19 13:49:56 +05:30
Shivam Mathur
57c17e3349
Add support for pecl_http on Windows for PHP 7.1 to 8.0 2021-02-19 13:49:55 +05:30
Shivam Mathur
356e1a5128
Add support for pecl_http, propro, raphf, xdebug2 and zmq using shivammathur/extensions tap 2021-02-19 13:49:54 +05:30
Shivam Mathur
17349dafc1
Improve regexes in extensions.ts 2021-02-19 13:49:51 +05:30
Andreas Braun
26791e8412
Address code review feedback 2021-02-19 13:49:41 +05:30
Andreas Braun
f42065d568
Allow extensions to be compiled from GitHub sources 2021-02-19 13:49:40 +05:30
Shivam Mathur
912f27c42c
Improve regex in utils.parseVersion 2021-02-19 13:49:39 +05:30
Shivam Mathur
1686147b24
Do not quote ini values with error constants 2021-02-04 13:01:05 +05:30
Shivam Mathur
fbc8407035
Add support to specify version in \d.x notation 2021-01-16 11:16:13 +05:30
Shivam Mathur
6972aed899
Add support for quoted csv in ini-values 2021-01-15 13:52:18 +05:30
Shivam Mathur
e5b90e33c6
Add support for coverage: xdebug2 2020-12-24 18:20:42 +05:30
Shivam Mathur
849315646a
Add support for brewed extensions on PHP 8.0 and 8.1 on macOS 2020-12-24 15:48:35 +05:30
Shivam Mathur
2da85f306f
Add support for specifying ICU version on PHP 8.0 2020-12-19 18:47:19 +05:30
Shivam Mathur
d74064b67a
Fix setting xdebug.mode 2020-12-17 21:08:00 +05:30
Shivam Mathur
b3cd6b4dab
Improve pecl support 2020-12-17 12:54:01 +05:30
Shivam Mathur
ea8be20255
Improve support for phive 2020-12-14 15:43:12 +05:30
Shivam Mathur
d6f700217a
Fix comments in extensions.ts 2020-12-14 15:42:58 +05:30
Shivam Mathur
1015b3659d
Add support for blackfire on PHP 8 2020-12-14 14:53:27 +05:30
Shivam Mathur
fd9aae59b0
Add support for geos on unix 2020-12-14 14:53:19 +05:30
Shivam Mathur
9af1e7006f
Use shivammathur/extensions tap for imap and amqp on macOS 2020-12-03 15:01:13 +05:30
Shivam Mathur
f0fb8731a5
Update ini files for all available SAPI 2020-12-02 05:50:56 +05:30
Shivam Mathur
466908db61
Set 8.0 as the latest version 2020-11-28 15:08:26 +05:30
Shivam Mathur
8dbd6b7684
Improve PECL support 2020-11-28 02:13:43 +05:30
Shivam Mathur
5a40a5875d
Fix xdebug setup
Co-authored-by: Owen Voke <development@voke.dev>
Co-authored-by: Shivam Mathur <shivam_jpr@hotmail.com>
2020-11-28 02:13:42 +05:30
Shivam Mathur
09222f42ae
Skip prestissimo and composer-prefetcher unless composer:v1 is specified 2020-11-21 11:11:33 +05:30