chore: migrate wpackagist → WP Packages (roots)#435
Open
oxyc wants to merge 3 commits into
Open
Conversation
wpackagist is now WP Engine-owned and serves unversioned/un-checksummed downloads that let locked versions silently drift on install. WP Packages (repo.wp-packages.org) serves version-pinned downloads instead. Plugin namespaces are renamed wpackagist-plugin/* -> wp-plugin/* and the repository URL is updated accordingly. Version constraints are unchanged; only within-constraint updates were allowed during re-locking. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
createTable() is protected on DatabaseCommand (sage-cachetags v2), so calling it directly routes through Illuminate\Console\Command::__call() and throws BadMethodCallException, breaking the phpunit bootstrap. Use the CreatesDatabaseTable trait directly (exposed public via an anonymous class), and boot the Acorn HTTP kernel in console mode so the theme's providers/views are bound for ThemeTest. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The `>=9.0` constraint pulled PHPUnit 12, which removed PHPUnit\Util\Test::parseTestMethodAnnotations() that wp-phpunit still calls, breaking the test run. Pin to the WordPress-compatible PHPUnit 9 line (and keep wp-phpunit on 6.x) — matches the working test stack in current projects. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Why
wpackagist is now WP Engine-owned and serves unversioned/un-checksummed downloads that let locked versions silently drift on install. WP Packages (
repo.wp-packages.org) serves version-pinned downloads instead.This PR:
repositoriesentry URLhttps://wpackagist.org→https://repo.wp-packages.org.wpackagist-plugin/*→wp-plugin/*(inrequireand inextrainstaller-paths / wp-translation-downloader excludes).composer update "wp-plugin/*" --no-install --no-scripts, which removes the orphanedwpackagist-plugin/*lock entries and allows only within-constraint updates. Version constraints are unchanged.There are no
wpackagist-theme/*entries and nowp-taxonomy-orderdependency in this repo, so the theme rename and the wp-taxonomy-order fork special case did not apply.Within-constraint version bumps (from composer update)
limit-login-attempts-reloaded3.0.0 → 3.2.4woocommerce10.6.1 → 10.7.0wordpress-seo27.2 → 27.6(All other migrated plugins re-locked at the same version.)
composer validate --no-check-publishpasses (only pre-existing unbound-constraint warnings). Onlycomposer.jsonandcomposer.lockchanged.🤖 Generated with Claude Code
Plugin version changes
Within-constraint version bumps pulled by this migration (from
composer.lock):cli-parser: 4.2.0 → 1.0.2comparator: 7.1.4 → 4.0.10complexity: 5.0.0 → 2.0.3deprecation-contracts: v3.6.0 → v3.7.0diff: 7.0.0 → 4.0.6environment: 8.0.4 → 5.1.5exporter: 7.0.2 → 4.0.8global-state: 8.0.2 → 5.0.8limit-login-attempts-reloaded: 3.0.0 → 3.2.4lines-of-code: 4.0.0 → 1.0.4object-enumerator: 7.0.0 → 4.0.4object-reflector: 5.0.0 → 2.0.4php-code-coverage: 12.5.3 → 9.2.32php-file-iterator: 6.0.1 → 3.0.6php-invoker: 6.0.0 → 3.1.1php-text-template: 5.0.0 → 2.0.4php-timer: 8.0.0 → 5.0.3phpunit: 12.5.14 → 9.6.34polyfill-ctype: v1.33.0 → v1.37.0recursion-context: 7.0.1 → 4.0.6tokenizer: 2.0.1 → 1.3.1type: 6.0.3 → 3.2.1version: 6.0.0 → 3.0.2woocommerce: 10.6.1 → 10.7.0wordpress-seo: 27.2 → 27.6