Migrate PHP packages to the unified packages.sury.org repository#2798
Draft
tomjn wants to merge 1 commit into
Draft
Migrate PHP packages to the unified packages.sury.org repository#2798tomjn wants to merge 1 commit into
tomjn wants to merge 1 commit into
Conversation
The Launchpad ondrej/php PPA is being retired in favour of the unified deb.sury.org repository. Move PHP sourcing for the currently-supported Ubuntu releases (jammy/noble/resolute) to packages.sury.org: - jammy/noble apt sources now point at https://packages.sury.org/php/ signed by the deb.sury.org archive keyring - php_register_apt_keys installs the sury archive keyring on supported releases, falling through to the legacy Launchpad key handling on EOL releases (focal/bionic) - Pin the deb.sury.org origin alongside the legacy PPA origin - Drop the stale HTTP 418 note Refs #2797
Member
Author
CI result: mechanics validated, blocked on upstream extension parityThe Ubuntu 24 (noble) provisioning job exercised the migration end to end. The sury path works:
Blocker: the sury noble suite is missing several PHP extensions VVV installs, so the package step fails: These exist on the legacy Launchpad PPA (so develop stays green) but aren't published on Status: implementation is complete and correct; do not merge until the unified repo reaches extension parity for jammy/noble (at minimum: xdebug, redis, imagick, memcached, yaml, ssh2, pcov). The CI job here is the readiness signal — it goes green once upstream catches up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft — migrates PHP sourcing for currently-supported Ubuntu releases from the Launchpad
ppa:ondrej/phpto the unified packages.sury.org repo, ahead of the PPA being retired.Closes #2797 (tracking).
Why
The ondrej Launchpad PPA is being sunset (accelerated by the Launchpad DDoS); the maintainer is consolidating on
packages.sury.org. See oerdnj/deb.sury.org#73.Scope: supported releases only
The unified repo serves jammy (22.04), noble (24.04), resolute (26.04) — confirmed via
dists/<codename>/Release. It does not serve focal/bionic, because ondrej deletes packages once an Ubuntu release reaches EOL (true of the PPA too) — so those are already dead upstream and are left untouched here.Changes
sources-ubuntu-{jammy,noble}.list→deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ <codename> mainphp_register_apt_keysroutes by codename: installs the official deb.sury.org archive keyring (debsuryorg-archive-keyring.deb) on jammy/noble/resolute; EOL releases fall through to the existing Launchpad key logicondrej-ppa-pinpins thedeb.sury.orgorigin alongside the legacy PPA originValidation
Notes / possible follow-ups
.deb(downloaded at provision time). A shipped offline fallback key (as done for nginx/mariadb) could be added if desired.network_checkinprovision-helpers.shstill probesppa.launchpadcontent.net; could addpackages.sury.orgas the supported-release critical host.