feat: allow include and exclude patterns to be used at the same time
Allow both include and exclude patterns to be used at the same time
Currently we are unable to choose a combination of both thru the cli / UI.
Use Case
I'm being facing some scenarios where I would like to generate all *.csproj files except for *.UnitTest.csproj files , and currently I'm unable to do it, because I cant combine those patterns
In the implementation for the query_process the logic is almost ready to handle those differently, we just need a helper to allow it.
https://github.com/cyclotruc/gitingest/blob/9aee15f8ac07befa995da892894c47cb8d79ccd3/src/server/query_processor.py#L54-L61
Came here for this.
I'd like to include a path and exclude a nested path.
Tried using the ! prefix like in the gitignore pattern to exclude it but it's not supported either.
@J3m5 @RogerBarreto That's a good point I will add an advanced settings tab where you can add both settings at once
I second this feature request as well. Looking forward for the Advanced Tab.
Maybe release it already with a few features first, and take more time for more features.
Any update on this? In my case, I would like to exclude all *.json files, except for some special ones like config.json.
I'll take this and see what can be done quickly.
We need to make this compatible for package and cli usage first, then we can add it to the frontend once we finished talking about integrating the advanced options to the frontend.
Hi there! We haven’t seen activity here for 45 days, so I’m marking this issue as stale. If you’d like to keep it open, please leave a comment within 10 days. Thanks!
Hi there! We haven’t heard anything for 10 days, so I’m closing this issue. Feel free to reopen if you’d like to continue the discussion. Thanks!