Pin dev-trunk to SVN revision and remove unpinnable dist#69
Merged
Conversation
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>
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>
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>
4c2090f to
8174daf
Compare
Member
|
Two additional changes added:
On merge:
Going forward, the normal pipeline keeps |
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>
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.
Closes #68
Ref #15
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.