Skip to content
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

Ignore file #125

Open
ianlewis opened this issue Jul 26, 2023 · 2 comments · May be fixed by #135
Open

Ignore file #125

ianlewis opened this issue Jul 26, 2023 · 2 comments · May be fixed by #135
Labels
enhancement New feature or request
Milestone

Comments

@ianlewis
Copy link
Owner

ianlewis commented Jul 26, 2023

Add support for an ignore file(s) which can be used to define files that can be excluded. Syntax should match .gitignore and could just default to .gitignore but if a .todosignore file is present it could take precedence in case users need to set the file differently from their .gitignore.

Related #63

@ianlewis ianlewis added the enhancement New feature or request label Jul 26, 2023
@ianlewis ianlewis added this to the v1.0.0 milestone Jul 26, 2023
@ianlewis
Copy link
Owner Author

ianlewis commented Aug 1, 2023

This library supports parsing a .gitignore and dealing with sub-directories which could each have their own .gitignore
https://github.com/denormal/go-gitignore

@ianlewis ianlewis linked a pull request Aug 18, 2023 that will close this issue
@ianlewis ianlewis removed this from the v1.0.0 milestone Aug 19, 2023
@ianlewis ianlewis added this to the v1.0.0 milestone Sep 20, 2023
@ianlewis
Copy link
Owner Author

I started trying to use go-gitignore on #135 but eventually started writing my own lexer at https://github.com/ianlewis/lexparse. TBH, I can't remember why I did that but I'm sure it has to do with how go-gitignore does its file i/o which makes it hard to work on cross platform (e.g. windows).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant