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

1064 Commits

Author SHA1 Message Date
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
dependabot[bot]
25417fd05e Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 15:20:38 +00:00
dependabot[bot]
64c0ff74ce Bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 15:20:20 +00:00
James Titcumb
a7df7378ae Merge pull request #399 from asgrim/fix-case-sensitive-ext-requires
Fix case sensitivity of ext requires in pie install and pie show
2025-11-03 15:19:10 +00:00
James Titcumb
f6ba46c26d Merge pull request #401 from asgrim/override-default-recommended-version-for-bundled-exts
Override default recommended versions for bundled extensions
2025-11-03 15:18:49 +00:00
James Titcumb
086defd9f0 Override default recommended versions for bundled extensions 2025-10-27 12:43:26 -05:00
James Titcumb
0aa422860d Improve case/ext name conversion in pie show 2025-10-27 09:26:10 -05:00
James Titcumb
c14843ffdb Ensure case insensitive extension name matching is used in pie install command 2025-10-27 09:11:24 -05:00
James Titcumb
da8a8e5d91 Merge pull request #395 from asgrim/dep-update-php85rc2
Housekeeping and dep update
2025-10-21 08:12:02 +02:00
James Titcumb
60ff5ba967 Merge pull request #396 from asgrim/add-no-cache-option
Added --no-cache option to avoid using Composer cache
2025-10-21 08:11:48 +02:00