Commit Graph

208 Commits

Author SHA1 Message Date
Shivam Mathur
b971d8f4ad
use brew_extensions config for testing add_brew_extension 2021-10-09 08:11:39 +05:30
Aneesh Relan
f2d6820ca2 tests: sort test data in alphabetic order and merge duplicates 2021-10-08 22:24:17 +05:30
Aneesh Relan
705c2a5785 tests: increase test coverage for extensions.test.ts 2021-10-08 20:28:41 +05:30
Aneesh Relan
5e33fdb0d9 tests: refactor extensions.test.ts to use jest.each 2021-10-08 20:02:42 +05:30
Aneesh Relan
2cc925b655 tests: refactor extensions test to use jest-each 2021-10-06 01:05:47 +05:30
jrfnl
2c8682d5e6 Tools: add support for phpunit-polyfills
Ref: https://github.com/Yoast/PHPUnit-Polyfills
2021-09-20 16:04:04 +02:00
jrfnl
257e4c088d Tools: add support for parallel-lint 2021-09-20 02:22:22 +02:00
jrfnl
fa5fbefff9 Tools: add support for phpDocumentor 2021-09-19 13:41:39 +02:00
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
64e9bb0e79
Add special cases to config.test.ts 2021-09-09 07:19:49 +05:30
Shivam Mathur
19a01870e7
Refactor config.test.ts 2021-09-09 07:08:12 +05:30
Shivam Mathur
c4560dd084
Refactor coverage.test.ts 2021-09-09 06:54:17 +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
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
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
c88f07696b
Add support for phpunit-bridge 2021-07-17 08:42:11 +05:30
Shivam Mathur
a3727c20a4
Bump version to 2.12.0
Update Node.js dependencies
2021-07-14 14:38:18 +05:30
Shivam Mathur
09e08a3554
More fixes in fetching tool versions 2021-07-14 14:17:32 +05:30
Shivam Mathur
1a216636c5
Use composer for composer-require-checker 2021-07-12 10:45:56 +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
c6b6dabbb9
Refactor tests for tools using jest.Each 2021-07-07 22:40:04 +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
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
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
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
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
Andreas Braun
f42065d568
Allow extensions to be compiled from GitHub sources 2021-02-19 13:49:40 +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