Let the pull-reprint selector pick individual files - #4533
Closed
gavande1 wants to merge 6 commits into
Closed
Conversation
Contributor
Author
|
@fredrikekelund Looking for some early review while upstream PR is reviewed and merged. |
gavande1
marked this pull request as ready for review
August 14, 2026 06:50
Collaborator
📊 Performance Test ResultsComparing 83507ac vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
Contributor
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.
Related issues
pull-files --onlyWordPress/reprint#564, which teachespull-files --onlyto accept a file pathHow AI was used in this PR
Claude wrote the code, guided by the author. The author reviewed it manually and ran the unit tests, the type checker, and the CLI build locally.
Proposed Changes
plugins/hello.phpcan be selected.Testing Instructions
The pull completes only once Reprint has the fix from WordPress/reprint#564. The selector is testable now.
npm run cli:build.STUDIO_ENABLE_PULL_REPRINT=1 node apps/cli/dist/cli/main.mjs pull-reprint --path <a site made with studio create> --verboseand pick a connected WordPress.com site.plugins/hello.php, and confirm.[reprint] php reprint.phar pull-filesline carries--only=:wp-content:/plugins/hello.php. A first pull also lists the remote core roots, which the site needs to boot.Tests:
npm test -- apps/cli/lib/ apps/cli/commands/tests/pull-reprint.test.tsPre-merge Checklist