1
0
mirror of https://github.com/php/pie.git synced 2026-03-24 15:32:14 +01:00

30 Commits

Author SHA1 Message Date
James Titcumb
395fb35783 462: fix CompleteAliasPackage from breaking CompletePackage checks by ensuring we use CompletePackageInterface 2025-12-19 15:40:05 +00:00
James Titcumb
088acd777e Replace output throughout all of PIE witih Composer ConsoleIO 2025-10-16 19:27:33 +01:00
James Titcumb
ce02e1f3f8 Updated psalm phpunit plugin so dataproviders no longer need suppression 2025-04-01 20:30:38 +01:00
James Titcumb
edf17f5963 Refactor PIE Package VO to improve the API 2025-02-05 10:22:25 +00:00
James Titcumb
1b30f41031 Normalise all the things for Windows 2025-01-23 08:51:21 +00:00
James Titcumb
bb8a463997 Add support for non-Packagist Composer repos in the back end of the PieJsonEditor
NOTE: that this does not enable support in the repository add command, as
Private Packagist does not yet appear to pass down the `php-ext` metadata,
meaning some packages won't actually work.

See: https://github.com/php/pie/issues/175
2025-01-22 10:49:33 +00:00
James Titcumb
cb1069dc87 Added command helper to write out Composer repositories in use 2025-01-21 09:55:25 +00:00
James Titcumb
38f2dfd4e8 Added priority property to Package 2024-12-23 08:05:53 +00:00
James Titcumb
3636bf9d43 Make (in)compatible OS families non-empty-list or a nullable to express intent better 2024-12-03 08:54:33 +01:00
Alexandre Daubois
f934832fe7 Add support for os-families and os-families-exclude in extensions composer.json 2024-11-26 16:26:23 +01:00
James Titcumb
bb21e571a3 Added support for build-path php-ext configuration
Co-authored-by: Go Kudo <zeriyoshi@gmail.com>
2024-11-19 22:15:20 +00:00
James Titcumb
3e125cf16e Merge pull request #111 from alexandre-daubois/phpize-windows-cmd
Prevent the `--with-phpize-path` option to be used on Windows
2024-11-19 20:10:22 +00:00
Alexandre Daubois
c1dd798b88 Use #[RequiresOperatingSystemFamily] where possible 2024-11-19 16:48:20 +01:00
Alexandre Daubois
7243d71161 Prevent the --with-phpize-path option to be used on Windows 2024-11-19 16:43:18 +01:00
James Titcumb
e3e1660dbc Removed redundant install notification code 2024-11-15 10:59:23 +00:00
James Titcumb
00d31642d9 Fixed some tests after updating to use Composer 2024-11-15 10:59:18 +00:00
James Titcumb
e8a4dd6434 Reorganise createComposer into PieComposerFactory 2024-11-15 10:59:18 +00:00
James Titcumb
21f1c9d669 Restructure to use Composer and PieComposerRequest to determine order of operations 2024-11-15 10:59:14 +00:00
Tim Düsterhus
678d4cfe99 Remove escapeshellarg() quoting for configure flags
This quoting is not necessary and in fact actively harmful, because the
`./configure` command is not passed to a shell as a string where word-splitting
happens, but as an argv array which the process will use as-is.

As an example, previously providing the `--with-library=/tmp/foo` flag would
result in the `--with-library='/tmp/foo'` flag being passed as the argument,
which then would be interpreted as if `"--with-library='/tmp/foo'"` was entered
into a shell. In other words: The library was expected to be found in a
directory literally starting with a single-quote.
2024-11-15 10:24:38 +01:00
James Titcumb
2f4ca87522 Do not limit make command timeout 2024-10-24 13:08:06 +01:00
James Titcumb
68c6ffbfdd Added supportZts and supportNts properties from Composer package definition 2024-09-23 22:07:34 +01:00
James Titcumb
1e53f0f876 Merge pull request #45 from asgrim/install-notification-to-packagist
Install notification to packagist
2024-09-23 20:13:49 +01:00
James Titcumb
8f8b981334 Add notificationUrl and version to Package VO 2024-09-20 20:56:35 +01:00
James Titcumb
0ba4a6b91b Extract configurePhpConfigOptions in CommandHelper 2024-09-19 19:59:08 +01:00
James Titcumb
96721569c1 Added ExtensionType enum 2024-07-22 16:00:06 +01:00
James Titcumb
5713757879 Ensure --with-php-path and --with-php-config are used correctly on platform 2024-07-16 08:07:46 +01:00
James Titcumb
c8610e8473 Use platform-specific escapeshellarg for assertion in testProcessingConfigureOptionsFromInput 2024-07-10 12:15:21 +01:00
James Titcumb
7746fdd9b3 Added configure option processing from build command 2024-07-09 22:16:40 +01:00
James Titcumb
388da71d8d Add configure options as CLI parameters at runtime 2024-07-09 20:38:46 +01:00
James Titcumb
589693430e Split out re-usable parts from DownloadCommand 2024-07-09 20:38:41 +01:00