Skip to content

Anchor project-only patterns in .mcpbignore#1

Merged
mgoldsborough merged 1 commit intomainfrom
fix/mcpbignore-anchor-patterns
Apr 24, 2026
Merged

Anchor project-only patterns in .mcpbignore#1
mgoldsborough merged 1 commit intomainfrom
fix/mcpbignore-anchor-patterns

Conversation

@mgoldsborough
Copy link
Copy Markdown
Contributor

Anchors project-only patterns in .mcpbignore so they can't match inside vendored deps/. Fixes the same bug class that broke synapse-research 0.1.1 (stripped beartype/_conf/conftest.py). Only touches .mcpbignore; preventive, no behavior change on the currently-published artifact.

Unanchored gitignore patterns (no leading /) in .mcpbignore match
anywhere in the tree — including inside vendored deps/ — which lets
mcpb pack strip legitimate runtime files from bundled packages.
Same bug class as synapse-research 0.1.1 / openweathermap 0.4.0.

Anchor project-only patterns with a leading /; keep cross-tree
hygiene (__pycache__/, *.pyc, .DS_Store) unanchored; drop the
redundant conftest.py rule.

Preventive — no behavior change for the currently-published
artifact. Next release will produce a bundle that keeps vendored
deps intact.
@mgoldsborough mgoldsborough merged commit 50285ab into main Apr 24, 2026
3 checks passed
@mgoldsborough mgoldsborough deleted the fix/mcpbignore-anchor-patterns branch April 24, 2026 23:04
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