Repository navigation
Repair wp/6.5 branch Actions: Fix wp-env Docker builds broken by archived Debian Buster/Bullseye repositories and expired Debian Stretch signing keys - #82995
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Size Change: 0 B Total Size: 1.72 MB ℹ️ View Unchanged
|
|
Hey 👋 I wanted to give you a heads-up since this pull request is affected by recent validation changes for changelog files. #83043 adds additional validation for changelog files. You'll note that this pull request is currently failing a "Required changes from trunk" check. What you'll need to do: You will need to either rebase or merge the latest code from |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
80b4d91 to
7d83294
Compare
7d83294 to
4a8b324
Compare
4a8b324 to
6d6083b
Compare
6d6083b to
1877883
Compare
1877883 to
0288cb6
Compare
Part of #82928.
What?
Cherry-picks two upstream trunk fixes into this branch's
wp-envpackage source (packages/env/lib/init-config.js) to fix Docker build failures caused by Debian repositories being archived after their releases reached end-of-life, and adds a third fix that only this branch needs:cc1f5bd2698f99f03ab05517087aee98cc797ed3(#70718) — Debian Buster.d21304e3323571401364805242fc26d1cf03a52d(#82478) — Debian Bullseye.trunk.Why?
Debian moves a release's package repositories to its archive server once that release reaches end-of-life.
wp-env start's Docker build fails withapt-get404s against the regular mirrors for any PHP version whose base image relies on an archived Debian release. This branch supports PHP versions across the range affected by Buster, Bullseye and Stretch, so all three fixes are needed — even for PHP versions this branch doesn't actively test in CI, since a contributor may still need to runwp-envlocally against any officially supported version.Stretch needs one more step. Rewriting its sources to the archive isn't enough, because the archive's signing keys for Stretch have expired and won't be replaced, so
apt-get installfails withE: There were unauthenticated packages and -y was used without --allow-unauthenticated. The override only takes effect when Stretch is in/etc/apt/sources.list, so newer Debian releases are unaffected.Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.