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

873 Commits

Author SHA1 Message Date
James Titcumb
e8a96bf77f Merge pull request #463 from asgrim/462-fix-intermittent-fault-caused-by-complete-alias-packages
462: fix intermittent failure to look up packages
1.3.3
2025-12-19 16:23:13 +00:00
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
5193fa5975 Merge pull request #456 from asgrim/451-fix-windows-relative-ext-path
Fix windows relative ext path
1.3.2
2025-12-17 13:59:23 +00:00
James Titcumb
702e0da43a 451: ensure Windows relative path expansion happens before creation of extension path 2025-12-16 18:53:24 +00:00
James Titcumb
81543dd72e 451: test to model relative extension paths in Windows explicitly 2025-12-16 18:53:06 +00:00
James Titcumb
2ebd9dcb45 Merge pull request #441 from asgrim/fix-self-verify
Fix self-verify to use latest attestation library
1.3.1
2025-11-27 16:24:28 +00:00
James Titcumb
ae60748b6a Fix self-verify to use latest attestation library, see ThePHPF/attestation#14 2025-11-27 15:46:27 +00:00
James Titcumb
3a2824243f Merge pull request #426 from asgrim/remove-timeouts-on-processes-except-sudo
Remove timeouts on all process invocations except those potentially using sudo
1.3.0 1.3.0-rc.3
2025-11-24 16:16:16 +00:00
James Titcumb
c82fe3c38f Remove timeouts on all process invocations except those potentially using sudo 2025-11-24 15:46:30 +00:00
James Titcumb
2b573c691b Merge pull request #425 from asgrim/fix-configure-options-causing-package-not-found
Fix configure options causing package not found
2025-11-24 15:46:13 +00:00
James Titcumb
9bac9f83b7 Remove 8.5 RC step 2025-11-24 14:54:30 +00:00
James Titcumb
3f3f5f87b7 Allow capturing of requested package argument when configure options are placed before package argument 2025-11-24 14:34:22 +00:00
James Titcumb
baafa28623 Split download/build/install extension features 2025-11-24 11:56:07 +00:00
James Titcumb
6df445ee09 Merge pull request #422 from macintoshplus/doc-os-families
Document OS compatibility restrictions for extensions
2025-11-20 12:58:20 +00:00
Jean-Baptiste Nahan
863a7b823f Apply suggestions from code review
Co-authored-by: James Titcumb <james@asgrim.com>
2025-11-20 13:40:29 +01:00
Jean-Baptiste Nahan
d6a347c183 Document OS compatibility restrictions for extensions
Added guidelines for 'os-families' and 'os-families-exclude' directives to restrict OS compatibility for extensions.
2025-11-20 09:33:50 +01:00
James Titcumb
e74075a577 Merge pull request #419 from asgrim/update-attestation-library
Use 0.0.4 of attestation library
1.3.0-rc.2
2025-11-18 15:10:40 +00:00
James Titcumb
e964d71670 Use 0.0.4 of attestation library 2025-11-18 14:29:30 +00:00
James Titcumb
b30a6b3f67 Merge pull request #417 from asgrim/behat-feature-improvements
Behat feature description improvements
1.3.0-rc.1
2025-11-14 13:00:29 +00:00
James Titcumb
d771cdc74c Ensure all the tags are available 2025-11-14 12:21:44 +00:00
James Titcumb
bfb830d634 Ensure the PHAR we build in Behat is not verifiable 2025-11-14 11:55:38 +00:00
James Titcumb
8a0d5438cc Implemented self-update feature check 2025-11-14 11:43:55 +00:00
James Titcumb
81f9633417 Implemented features/install-in-pie-project.feature as Behat test 2025-11-14 09:27:49 +00:00
James Titcumb
4bea38646c Use Dockerfile for reproducible Behat test environment 2025-11-14 09:27:49 +00:00
James Titcumb
3018777f7a Display more output for some failures 2025-11-14 09:27:49 +00:00
James Titcumb
74e35f453c Implemented feature tests for PHP project pie install 2025-11-14 09:27:49 +00:00
James Titcumb
b28712456f Implement platform dependencies feature Behat tests 2025-11-14 09:27:49 +00:00
James Titcumb
772ae3bf07 Add Behat context for bundled-php-extensions.feature 2025-11-14 09:27:49 +00:00
James Titcumb
1c1b37e859 Separate install vs install and enable Behat steps 2025-11-14 09:27:49 +00:00
James Titcumb
73e06fd114 Expand feature descriptions for better coverage of new features 2025-11-14 09:27:48 +00:00
James Titcumb
66bf738a33 Increase timeout for running pie itself 2025-11-14 09:27:43 +00:00
James Titcumb
40e238ef3a Merge pull request #248 from rtm-ctrlz/fixup/composer-2.9-auth-helper
Remove Composer::AuthHelper usage & update to Composer 2.9.1
2025-11-13 18:05:44 +00:00
James Titcumb
2594f25cc8 Updated to use ^0.0.3 of attestation library after it was released (and Composer ^2.9.1) 2025-11-13 17:45:40 +00:00
James Titcumb
b3416f4483 Rip out AuthHelper completely - Composer HttpDownloader already handles adding the auth header for us 2025-11-13 17:29:27 +00:00
James Titcumb
e36a87020d Adjusted PieJsonEditor test expectations following repository format change in Composer 2025-11-13 15:36:16 +00:00
James Titcumb
c867cfbc3a Update to dev version of attestation lib with AuthHelper removed 2025-11-13 15:35:07 +00:00
James Titcumb
fcd4fd50d9 Wrap Composer AuthHelper in a PieComposerAuthHelper 2025-11-13 13:41:16 +00:00
James Titcumb
975e0ddfe6 Add phpstan-webmozart-assert extension 2025-11-13 13:33:17 +00:00
Ilia Urvachev
287709fda4 fix(Composer::AuthHelper): update AuthHelper to use addAuthenticationOptions instead of deprecated addAuthenticationHeader 2025-11-13 11:56:09 +00:00
James Titcumb
2abf3c0bac Merge pull request #414 from asgrim/fix-version-constraint-parsing-for-nonstable
Ensure a previously tagged non-stable nightly can be upgraded
2025-11-05 17:52:33 +00:00
James Titcumb
15b11bde8a Ensure a previously tagged non-stable nightly can be upgraded 2025-11-05 17:30:14 +00:00
James Titcumb
05dc7c8c8f Merge pull request #412 from asgrim/fix-release-phar-job
Ensure repo is checked out for gh to attach the release
2025-11-05 15:50:57 +00:00
James Titcumb
65351ce429 Ensure repo is checked out for gh to attach the release 1.3.0-alpha.3 2025-11-05 15:25:26 +00:00
James Titcumb
fe7e8e93c5 Merge pull request #410 from asgrim/modify-release-workflow-for-immutable-releases
Modify release workflow to allow immutable releases
1.3.0-alpha.2
2025-11-05 15:15:54 +00:00
James Titcumb
458bf2d4f4 Modify release workflow to allow immutable releases
Instead of creating the release by hand and then having a workflow triggered
to add the release, which is not possible if immutable releases are enabled,
we will now:

 - run the release workflow on "tag" instead of "release"
 - the workflow creates a DRAFT release based on the tag that triggered
 - the workflow then attaches the PHAR to the release
 - maintainer must then review the release, ensure it is correct, then publish

Once the release is published (assuming immutable releases are enabled):

 - the tag is immutable
 - the attached assets on the release are immutable
 - the flag that dictates pre-release/latest release status is immutable
 - the release changelog may still be changed
 - the release title may still be changed
 - a release attestation is added to the release which can be verified

The release can be verified with:

```shell
gh release verify <release-tag>
```

A given `pie.phar` on your machine can be verified as the release asset with:

```shell
gh release verify-asset <release-tag> pie.phar
```

For more documentation, see:
https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/immutable-releases
2025-11-04 18:39:40 +00:00
James Titcumb
c1fc730eda Merge pull request #407 from asgrim/dep-update-bumps
Dep update bumps
1.3.0-alpha.1
2025-11-03 16:34:57 +00:00
James Titcumb
a72c0d589a Merge pull request #402 from mbeccati/skip-no-known-php-config
Skip test with no known /usr/bin/php-configX.Y
2025-11-03 16:09:29 +00:00
James Titcumb
89973f7de3 Increase pkg-config timeout 2025-11-03 15:59:42 +00:00
Matteo Beccati
bb80aa6e0c Skip test with no known /usr/bin/php-configX.Y 2025-11-03 16:39:43 +01:00
James Titcumb
97e58b0f91 Composer deps update and bump 2025-11-03 15:21:30 +00:00