-
Notifications
You must be signed in to change notification settings - Fork 2.7k
mcp(developer): add fallback on .gitignore if no .gooseignore is present #2661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mcp(developer): add fallback on .gitignore if no .gooseignore is present #2661
Conversation
|
Should be good to go, @angiejones? |
* upstream/main: Feat: Refined the documentation for Goose (block#2751) mcp(developer): add fallback on .gitignore if no .gooseignore is present (block#2661) cli(ux): Show active context length in CLI (block#2315) cli(config): Add GOOSE_CONTEXT_STRATEGY setting (block#2666) fix: new models have different messages for context length exceeded (block#2763)
* main: fix: pr comment build cli workflow (#2774) hotfix: don't always run prompt (#2773) Lifei/test workflow (#2772) chore: use hermit to install node, rust and protoc (#2766) Feat: Refined the documentation for Goose (#2751) mcp(developer): add fallback on .gitignore if no .gooseignore is present (#2661) cli(ux): Show active context length in CLI (#2315) cli(config): Add GOOSE_CONTEXT_STRATEGY setting (#2666) fix: new models have different messages for context length exceeded (#2763) fix: increase limit for direct to disk for performance (#2762) Revert "chore: use hermit in goose" (#2759) alexhancock/remove-settings-v1 (#2744) blog: Democratizing Detection Engineering at Block with Goose and Panther MCP (#2746)
* main: (82 commits) feat: lead/worker model (#2719) fix: pass ref in pr comment workflow (#2777) feat: goose web for local terminal alternative (#2718) chore: run CI on merge_group (#2786) fix: Don't break from consuming subprocess output in shell tool until both streams are done (#2771) Add retries w/ exponential backoff for databricks provider (#2764) Fix paths in google drive mcp documentation (#2775) testing windows build (#2770) docs: Add Context7 YouTube Video (#2779) cli(command): Add `export` command to CLI for markdown export of sessions (#2533) fix(copilot): gh copilot auth token conflicts w/ gh mcp env var (#2743) feat(providers): Add support for Gemini 2.5 Flash Preview and Pro Preview models (#2780) fix: pr comment build cli workflow (#2774) hotfix: don't always run prompt (#2773) Lifei/test workflow (#2772) chore: use hermit to install node, rust and protoc (#2766) Feat: Refined the documentation for Goose (#2751) mcp(developer): add fallback on .gitignore if no .gooseignore is present (#2661) cli(ux): Show active context length in CLI (#2315) cli(config): Add GOOSE_CONTEXT_STRATEGY setting (#2666) ...
|
@dbraduan we might need to revert this, there are cases where people don't want to automatically have goose ignore git ignored files. wdyt? From a user below: Seems to me like those are different ignores with different purposes. This has been causing some annoyances for me, it seems cumbersome to create a blank local .gooseignore just to get it to not ignore anything. This is a kind of an anti-pattern for data workflows. I frequently work in a git repo and have .csv files gitignored because I don't want to be saving full datasets to the git history. Goose now can't interact with those. It also seems like even if I define a blank .gooseignore in the same directory, it still ignores everything from the .gitignore. |
Noticed that our .gitignore wasn't really respected, and saw goose has a bit different approach to determining it's .gooseignore.
Adding a fallback to .gitignore before fallback to default 3 patterns.
This is a bit of a breaking change for people who used this MCP without previously having
.gooseignore, but it's commonly used in other Agents:Alternatively, happy to hide this behavior under a config setting.