-
Notifications
You must be signed in to change notification settings - Fork 140
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
add option to ignore files/dirs #424
Conversation
adds a new option into all workflow builders to ignore specific files and directories ex: { options: { "ignore": [".build", ".tmp*"] } }
Does it solve #185? - The fact Excluded files is hard coded is the problem. As I see this, isnt this still using the hard coded |
Hmm, I wanted it to be backwards compatible. But it's not that hard to improve. For example, I can add |
I think the easier route would be allow exclude to be set. If unset, set to default Really there are 2 use cases here:
The question - will end users see them being one in the same? Or are they separate use cases? |
I'm not sure I want to force users to set the existing hundred excludes for python, just because they need to add only one. |
Good point. In #185 use case I need to remove some :). So the only way I know how to support both is you override or dont. |
Thanks for bringing this to our attention and thanks for the discussion! Since it seems like we have some use cases where we want to ignore more things than But I do see @pkit 's concern:
Maybe the best way would be allowing three possibilities of controlling
Anyway, will discuss with the team, and put this PR in draft in the meantime. Let us know if you have more thoughts! |
First I wanted to create a .gitignore-like file that can be fed into the json-rpc options. |
Closing until we figure out the correct path forward. Consolidating include/exclude functionality design and discussion into a single issue #516. |
adds a new option to all workflow builders: ignore specific files and directories
ex:
fixes: #382
fixes: #185
And other numerous issues asking for a simple ignore feature
Added a test for python because I don't care for anything else right now.
But the feature is fully backwards compatible anyway.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.