Skip to content

Exclude AI tooling and rector config from WordPress.org deploys#153

Merged
GaryJones merged 1 commit intodevelopfrom
fix/distignore-dev-files
Apr 25, 2026
Merged

Exclude AI tooling and rector config from WordPress.org deploys#153
GaryJones merged 1 commit intodevelopfrom
fix/distignore-dev-files

Conversation

@GaryJones
Copy link
Copy Markdown
Contributor

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.md documents how AI assistants should work in the repository, again purely a contributor-side concern. rector.php is the configuration for the Rector refactoring tool and only matters when running dev tooling.

This branch adds all three to .distignore so 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

  • Confirm .distignore lists /.claude/, AGENTS.md, and rector.php.
  • After this is merged and the SVN credentials are refreshed, re-run the 0.11.0 deploy and confirm the staged file list no longer includes any of the three.

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.
@GaryJones GaryJones requested a review from a team as a code owner April 25, 2026 16:56
@GaryJones GaryJones merged commit 578751a into develop Apr 25, 2026
7 checks passed
@GaryJones GaryJones deleted the fix/distignore-dev-files branch April 25, 2026 16:57
@GaryJones GaryJones added this to the Next milestone Apr 25, 2026
@GaryJones GaryJones added the type: maintenance Routine maintenance and code quality improvements label Apr 25, 2026
@GaryJones GaryJones self-assigned this Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Routine maintenance and code quality improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant