1
0
mirror of https://github.com/php/pie.git synced 2026-03-23 23:12:17 +01:00
Commit Graph

1041 Commits

Author SHA1 Message Date
Tim Düsterhus
4bb1f36ed8 Add --no-cache to Docker instructions
The composer cache is not reusable within Docker, as each build is independent.
It thus just bloats the final image.
2026-03-17 10:08:06 +01:00
James Titcumb
c37df9e1cd Merge pull request #546 from TimWolla/improve-docker-instructions
Improve Docker instructions in docs/usage.md
2026-03-17 09:00:28 +00:00
Tim Düsterhus
3252bbc999 Improve Docker instructions in docs/usage.md
This aims to strike a balance between “best practice” and “being easy to
understand”. It uses `RUN --mount` to avoid including PIE in the resulting
image and takes care to uninstall `unzip` as well, but does not provide
“extension mechanisms” to install per-extension build or runtime libraries.
2026-03-17 09:25:44 +01:00
James Titcumb
09b665b20e Merge pull request #545 from cataphract/glibc+musl
Allow distribution of musl + glibc binaries
2026-03-16 13:06:39 +01:00
James Titcumb
4690ae18dc Apply CS fixes 2026-03-16 11:46:12 +00:00
Gustavo André dos Santos Lopes
5e2de67a92 Fix two tests when run on macos/alpine 2026-03-16 09:13:40 +00:00
Gustavo André dos Santos Lopes
02e42dcd7e Allow distribution of musl+glibc binaries
Search for binaries with the anylibc suffix as a fallback candidate.
This allows shipping binaries that work both on glibc and musl without
copying the same binary with two separate names.
2026-03-16 09:09:07 +00:00
James Titcumb
2f8517f3c9 Merge pull request #540 from BSN4/add-grpc-pie-support
539: Add bsn4/grpc as PIE-supported alternative for ext-grpc
2026-03-11 14:50:21 +00:00
Bader
c824418229 539: Add bsn4/grpc as PIE-supported alternative for ext-grpc 2026-03-11 17:21:16 +03:00
James Titcumb
b3525ee6cc Merge pull request #533 from asgrim/improve-ext-path-exception
Improve the exception_dir exception message with more details
2026-03-10 12:03:09 +00:00
James Titcumb
a91ae7da84 Merge pull request #534 from asgrim/phpize-build-tool-finder-check-api-version
Ensure the build tool finder checks PHP API version in phpize
2026-03-10 12:02:50 +00:00
James Titcumb
b6f78bf2f7 Merge pull request #536 from asgrim/dev-php-versions-issues
Fix `-dev` php versions issues
2026-03-10 12:02:20 +00:00
James Titcumb
6cd857301a 535: Add more robust testing for testRequiresReturnsListOfStatuses 2026-03-10 10:53:48 +00:00
James Titcumb
bc893d0f38 535: prevent bundled PHP extns from installing on '-dev' versions of PHP 2026-03-10 10:03:02 +00:00
James Titcumb
cee6573026 Ensure the build tool finder checks PHP API version in phpize
This avoids the wrong phpize tool being detected and giving a false positive in the build tool check.
2026-03-09 12:26:17 +00:00
James Titcumb
362d34cb32 Improve the exception_dir exception message with more details 2026-03-09 12:03:17 +00:00
James Titcumb
28eec8c422 Merge pull request #528 from asgrim/dep-updates
Dependency updates
2026-03-06 11:32:40 +00:00
James Titcumb
7fa3aa6e59 Bump actions/attest-build-provenance from 3 to 4
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 3 to 4.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 10:43:40 +00:00
James Titcumb
608cdb2e3c Bump phpstan/phpstan from 2.1.38 to 2.1.40
---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-version: 2.1.40
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 10:42:12 +00:00
dependabot[bot]
730f3c2836 Bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 10:39:38 +00:00
dependabot[bot]
2796a0c1ad Bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 10:39:20 +00:00
James Titcumb
1fa74f04ad Merge pull request #526 from asgrim/435-prompt-to-install-missing-system-deps
435: prompt to install missing system deps
2026-03-06 10:30:12 +00:00
James Titcumb
e7053cb3e6 435: documentation improvements for 1.4.0 features 2026-03-06 09:23:36 +00:00
James Titcumb
3fb0c2443b 435: Added more system deps definitions 2026-03-06 08:25:50 +00:00
James Titcumb
606137190c 435: check system deps in pie build command 2026-03-05 11:57:21 +00:00
James Titcumb
4d3ec06e97 435: added flags to control system dependency scanning behaviour 2026-03-05 11:55:54 +00:00
James Titcumb
0c48a668a5 435: add tests for PrescanSystemDependencies 2026-03-05 11:28:12 +00:00
James Titcumb
e63b9c75ac 435: separate definition of system dependencies into configurable class 2026-03-05 09:27:10 +00:00
James Titcumb
076fddf53e 435: add phpstan-phpunit extension 2026-03-05 08:38:31 +00:00
James Titcumb
62bc6521f9 Fix filtering of InstalledPiePackages to exclude non-extensions
Note: baseline widened because of https://github.com/phpstan/phpstan/discussions/14228
2026-03-04 11:32:24 +00:00
James Titcumb
299903fd9d 435: added service to pre-scan for missing dependencies before installing an extension 2026-03-03 12:26:29 +00:00
James Titcumb
a41a1ab678 Add .noai to disable Jetbrains AI 2026-03-03 11:39:16 +00:00
James Titcumb
be8c76c4ca 435: add ->satisfied() helper method to DependencyStatus 2026-03-03 11:38:49 +00:00
James Titcumb
e87299846d 435: move PackageManager to Platform namespace 2026-03-02 11:21:49 +00:00
James Titcumb
b76b136769 435: extract fetching dependency status 2026-03-02 10:16:03 +00:00
James Titcumb
36fbea6e98 Merge branch '1.3.x' into 1.4.x 2026-03-02 09:13:17 +00:00
James Titcumb
9f845c2222 Merge pull request #519 from asgrim/517-change-pie-install-to-invoke-subcommand-for-interactivity
517: fix inability to provide sudo prompt when using "pie install" on a PHP project
1.3.9
2026-03-02 08:16:46 +00:00
James Titcumb
50644e72ca 517: fix inability to provide sudo prompt when using "pie install" on a PHP project
Previously, the `pie install` would invoke another instance of `pie`. However,
since this would always be run in a non-interactive shell, `sudo` prompts will
never work. I've changed this instead to use `InvokeSubCommand` which copies
the input params into the sub command, so it is all run in the same PIE process
and therefore retains the interactivity (or lack thereof) of the shell it was
invoked from.
2026-02-27 14:14:43 +00:00
James Titcumb
10c4971e3e Merge pull request #518 from php-win-ext/update_supported_extension
Add new PHP extensions to supported list
2026-02-25 17:13:15 +00:00
Jean-Baptiste Nahan
02316ffdaf Add new PHP extensions to supported list
Added new PHP extensions 'rar', 'sync', and 'varnish' to the supported extensions list.
2026-02-25 17:41:27 +01:00
James Titcumb
6e0bafdac7 Merge pull request #509 from asgrim/install-root-env-var
Prefix INSTALL_ROOT env var for UnixInstall
2026-02-25 08:07:22 +00:00
James Titcumb
62361e1d46 Prefix INSTALL_ROOT env var for UnixInstall 2026-02-24 11:38:56 +00:00
James Titcumb
682a10b9f1 Merge pull request #510 from asgrim/use-phpize-path-if-specified-for-tool-check
Fix checking for phpize when --with-phpize-path option given
2026-02-24 11:31:11 +00:00
James Titcumb
6985aad7a9 Merge pull request #516 from asgrim/contributing-templates
Contributing templates
2026-02-24 11:27:54 +00:00
James Titcumb
db110ff70c Fixes #514 disable Windows build 2026-02-24 10:27:45 +00:00
James Titcumb
2052bd38d4 Added CONTRIBUTING.md and PR template 2026-02-24 09:41:15 +00:00
James Titcumb
637a55d3da Rework PhpizePath to be passed to TargetPlatform 2026-02-12 13:54:51 +00:00
James Titcumb
adfe984c52 Merge pull request #508 from asgrim/fix-php-windows-builder-example-link
Fix broken anchor link for php-windows-builder examples
2026-02-10 10:13:20 +00:00
James Titcumb
9a5e529e0e Fix broken anchor link for php-windows-builder examples 2026-02-10 09:15:16 +00:00
James Titcumb
0bab5f714d Merge pull request #507 from asgrim/remove-xdebug-from-pre-packaged-binary-docs
Removed xdebug from pre-packaged-binary example docs to avoid confusion
2026-02-10 07:58:01 +00:00