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

Use os.walk for recursing+add ignored dirs #63

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

Elias481
Copy link

This is a quite properly implemented merge of #30 from @Larivact + #31 from @innlym + #48 from @xlotlu into master.
Would be fine if You could merge this or similiar as I dislike the idea staying on a fork not in sync with upstream to have a working version.
(Still some fixes/cahnges missing here as I did not merge this proposal into my main fixes branch yet.)

Larivact and others added 17 commits March 21, 2017 16:41
…to Larivact-patch-1

Conflicts:
	inotify/adapters.py
* fixed order of add-watch/scandir to ensure not missing any directory created between scanning directory and adding watch
* try to import walk from scandir module if python's version os module is missing scandir functionality
* adjusted README accordingly
* adjusted tests accordingly
- fixed merge/implementation of ignored_dirs parameter for the tree-watchers
* added testcase
- did a small fix I have commited in another branch (remove duplicate IN_MOVED_TO handling) to have clean testcases
(- maybe some other minor adjustments btw... check history...)
…ded" and missed to fix the "trusty" (v4 kernel?) version)
@coveralls
Copy link

Coverage Status

Coverage increased (+0.5%) to 85.616% when pulling 2fe0df6 on Elias481:use-os.walk-for-recursing+add-ignored_dirs into 288a2b0 on dsoprea:master.

@codethief
Copy link

Any news regarding this pull request?

@Elias481
Copy link
Author

Elias481 commented May 4, 2019

@codethief
sadly @dsoprea seems busy with other things...
I also didn't continue, partly because I waited for feedback and partly because the project I wanted to use this is on-hold for different reasons.

I wanted to merge all the collected fixes and changes into one branch and into one complete PR (so that at least I have a more complete version to continue with).
I think I stopped somewhere with trying to get tests relyiably working on all the different kernels where inotify is available but changed somehow...
For my part I will take a look into this soon.

@dsoprea
Copy link
Owner

dsoprea commented Aug 25, 2020

This is too big of a PR. Please squash.

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

Successfully merging this pull request may close these issues.

6 participants