Skip to content

chore: keep development files out of the Composer archive - #7

Merged
ogorzalka merged 1 commit into
mainfrom
chore/export-ignore
Oct 30, 2026
Merged

ogorzalka merged 1 commit into
mainfrom
chore/export-ignore

Conversation

@ogorzalka

@ogorzalka ogorzalka commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

The repository had no .gitattributes, so the archive Composer downloads for a tagged release carried the tests, the CI workflows, the tool configuration and the agent files: 40 files, of which 18 matter at run time.

This adds the export-ignore list that pollora/wp-rest and pollora/woocommerce use, plus the harness and agent files this package has (rector.php, .harness.json, AGENTS.md, api-surface.json, .claude).

After it, git archive holds LICENSE, README.md, composer.json and src/, and nothing else.

Why it matters: McpConnector bundles this package in its distributable zip, and the zip of 1.2.2 and 1.3.0 carries vendor/pollora/abilities/tests/. The fix only reaches that zip with a new tag of this package. Not tagged.

There was no .gitattributes, so the archive Composer downloads for a tagged release carried the tests, the CI workflows, the tool configuration and the agent files: 40 files for the 18 that matter at run time. A package that bundles pollora/abilities in a distributable (McpConnector's plugin zip) shipped its tests.
@ogorzalka
ogorzalka force-pushed the chore/export-ignore branch from fa19b06 to 5958870 Compare October 30, 2026 11:05
@ogorzalka
ogorzalka merged commit 4a05c6e into main Oct 30, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant