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

1053 Commits

Author SHA1 Message Date
James Titcumb
47afcbeb83 Merge pull request #559 from php/remicollet-patch-1
Add LZF as supported
2026-03-23 07:47:00 +00:00
Remi Collet
cc0b989124 Add LZF as supported 2026-03-20 10:50:44 +01:00
James Titcumb
97673090f4 Merge pull request #552 from asgrim/538-fix-phpize-build-tool-finder-api-verison-check-test
538: fix phpize build tool finder api verison check test
1.4.0-alpha.1
2026-03-18 14:02:49 +00:00
James Titcumb
bb33861b5f Ensure the phpApiVersion we look for is wildly different from anything in real life, so auto detection does not pick up the real system phpize 2026-03-18 12:00:00 +00:00
James Titcumb
06e86c8745 538: set phpize explicitly on TargetPlatform to ensure it is using the right phpize 2026-03-18 08:27:41 +00:00
James Titcumb
b46ed9db1d Merge pull request #550 from asgrim/merge-up-1.4.x
Merge up 1.4.x - fixes for architecture parsing and PHP 8.5 warnings
2026-03-18 07:47:16 +00:00
James Titcumb
dac084b51e Merge up #548 and #549 into 1.4.x 2026-03-18 07:22:06 +00:00
James Titcumb
bb8b16f1f0 Merge pull request #549 from asgrim/542-improve-architecture-parsing
542: improve architecture parsing and more test cases
1.3.10
2026-03-18 07:04:26 +00:00
James Titcumb
4fa1169f49 Merge pull request #548 from asgrim/537-fix-deprecation-warnings-from-box
537: fix deprecated output when using Box
2026-03-18 07:04:02 +00:00
James Titcumb
ec58093164 542: improve architecture parsing and more test cases 2026-03-17 11:39:48 +00:00
James Titcumb
3137195c5e Merge pull request #547 from TimWolla/docker-no-cache
Add `--no-cache` to Docker instructions
2026-03-17 09:42:35 +00:00
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
10eb8469f4 537: fix deprecated output when using Box
- PIE issue: https://github.com/php/pie/issues/537
 - Upstream box issue: https://github.com/box-project/box/issues/1577

Can probably be reverted once the Box issue is fixed & released :)
2026-03-17 07:50:02 +00: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