packages.wenpai.net/internal/wporg
Scott Walkinshaw 82974e38de
Pin dev-trunk to SVN revision and remove unpinnable dist (#69)
* Pin dev-trunk to SVN revision and remove unpinnable dist (#68)

Extract per-slug revision numbers from SVN changelog (already available
in the DAV log response) and store as trunk_revision on each package.
The build step now emits `"reference": "trunk@<rev>"` in ~dev.json,
making composer.lock reproducible for dev-trunk installs. The
unversioned dist URL is removed since it always points to latest trunk.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add backfill-revisions command and sanitize SVN log XML

New `backfill-revisions` command scans SVN changelog backwards in
chunks to populate trunk_revision for plugins that don't have one
yet. Retries failed chunks up to 3 times and skips on persistent
failure. Also sanitize illegal XML characters from SVN log responses
to handle malformed commit messages in older revisions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Update dev-trunk notices to reflect SVN revision pinning

With trunk_revision support, Composer now pins dev-trunk installs
to a specific SVN revision in composer.lock. Replace mutability
warnings with messaging about revision pinning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add untagged plugin install comparison to vs page

Highlight that WP Packages pins dev-trunk to SVN revisions for
reproducible installs, while WPackagist uses mutable trunk zips.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Ben Word <ben@benword.com>
2026-03-26 12:10:49 -05:00
..
testdata Replace shell smoke test with Go integration tests (#26) 2026-03-19 00:38:21 -04:00
client.go Deactivate closed plugins that return stub API responses (#62) 2026-03-25 13:17:53 -05:00
client_test.go WP Packages rename (#42) 2026-03-19 11:50:12 -05:00
mock_server.go Replace shell smoke test with Go integration tests (#26) 2026-03-19 00:38:21 -04:00
svn.go Pin dev-trunk to SVN revision and remove unpinnable dist (#69) 2026-03-26 12:10:49 -05:00
svn_test.go Pin dev-trunk to SVN revision and remove unpinnable dist (#69) 2026-03-26 12:10:49 -05:00