Exclude AI tooling and rector config from WordPress.org deploys#153
Merged
Exclude AI tooling and rector config from WordPress.org deploys#153
Conversation
The 0.11.0 SVN deploy was about to publish .claude/, AGENTS.md, and rector.php to plugin users because none of them were listed in .distignore. They are all developer- or assistant-side configuration that has no place in an installed plugin and would only confuse users poking around their plugins directory. Add them so the next deploy ships only the plugin code itself.
2 tasks
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.
Summary
The 0.11.0 SVN deploy attempt got far enough to stage the trunk and tag commits before failing on authentication, and the staged file list revealed a near-miss: three developer-only files were about to be published to plugin users on WordPress.org. None of them belong in an installed plugin, but each was added to the repository after the last meaningful refresh of
.distignore, so none was being filtered out..claude/is Claude Code's local configuration directory — it has no runtime relevance and would only confuse users who happen to look inside their plugins folder.AGENTS.mddocuments how AI assistants should work in the repository, again purely a contributor-side concern.rector.phpis the configuration for the Rector refactoring tool and only matters when running dev tooling.This branch adds all three to
.distignoreso the next deploy ships only the plugin code itself. The fix is independent of the SVN credentials issue that actually caused the 0.11.0 deploy to fail; it just happens to be a useful thing to land while the deploy is paused.Test plan
.distignorelists/.claude/,AGENTS.md, andrector.php.