-
Notifications
You must be signed in to change notification settings - Fork 209
Support ignored files as a parameter #77
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
Conversation
e6e5d5d
to
84af74e
Compare
This has been changed to live entirely in the spec, as requested. There are two fields, the "string form" (which is easier for end-users in many cases) and the "list form" (the more programmable version). I figured both of these would be nice, but feel free to tell me otherwise. I would vastly prefer the list form if I had to choose. There's still some docs and testing to do but this is functioning as intended with initial hand testing. |
Another thing we could do, is coalesce these into a subtype that is used by the spec. It would also make the logic simpler in the loadExcludedFiles code by keying off a single attribute. LMK how you'd like me to press forward. |
@erikh i would opt for a single field that represents a .sourceignore file embedded like showed in the issue, with one expression per line. |
Adjusted to support .sourceignore format, PTAL at impl, I think you'll be happy with this round. Will hack on some tests tomorrow hopefully. |
79a47de
to
ae3d7b9
Compare
-- More coming in this commit message soon Signed-off-by: Erik Hollensbe <github@hollensbe.org>
ok, sorry about that, some messy comments from the earlier patches. I've also adjusted a few small bits around the handling of the .gitignore scanner that simplifies things since I made the last comment. Should be reviewable now. |
I just noticed that the defaults are broken in master, I'm getting the |
The API looks good now, thanks! |
I can't reproduce (the git directory is not in the tarball), but I will try to make a test for that separately. |
I had a .sourceignore file in one of my test repo 🤦 all good, my messy tests were at fault |
d9c2fdd
to
bb1a73e
Compare
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
This is ready. PTAL please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @erikh
This closes #74, see comments for design work.
Still unfinished as of this writing.