Open
Conversation
6c75be8 to
2f06906
Compare
Contributor
Test in WordPress PlaygroundTest the plugin with the code from this branch:
|
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.
This pull request introduces optimizations to the editor source fetching process in the
Makefile, aiming to reduce unnecessary downloads and improve build efficiency. The changes add sparse and shallow cloning, reuse existing checkouts when possible, and provide clearer cleaning targets for the build artifacts and fetched sources.Optimizations to editor source fetching:
--filter=blob:noneto thefetch-editor-sourcetarget, significantly reducing download size by excluding unnecessary directories (test/,doc/,app/,packaging/)..fetched-refmarker and logic to reuse existing checkouts if the repo URL and ref haven't changed, avoiding redundant fetches.Improved build cleanup:
clean-editorto remove the.fetched-refmarker and clarified its scope. Added a newclean-editor-alltarget to remove the fetched source entirely.helpoutput to reflect the new and modified cleaning targets, providing clearer guidance to users.