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

Implement inotify file close events #690

Closed
wants to merge 6 commits into from
Closed

Implement inotify file close events #690

wants to merge 6 commits into from

Conversation

lukassup
Copy link
Contributor

@lukassup lukassup commented Oct 7, 2020

INotify-specific events for IN_WRITE_CLOSE and IN_NOWRITE_CLOSE

@BoboTiG BoboTiG added the inotify label Oct 8, 2020
@BoboTiG
Copy link
Collaborator

BoboTiG commented Oct 8, 2020

Hello @lukassup,

Thanks a lot for the patch!

Do you mind adding a line in https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst and a test? It would be perfect :)

@BoboTiG
Copy link
Collaborator

BoboTiG commented Oct 8, 2020

Should we make a difference between "write" and "nowrite" events? The later should not trigger a DirModifiedEvent maybe?

changelog.rst Outdated Show resolved Hide resolved
@lukassup
Copy link
Contributor Author

lukassup commented Oct 8, 2020

Thanks! Will do more extensive testing a bit later.

@BoboTiG
Copy link
Collaborator

BoboTiG commented Oct 8, 2020

Thanks to you 👍
Let me know when you are ready for another review.

ysard added a commit to ysard/watchdog that referenced this pull request Jan 13, 2021
ysard added a commit to ysard/watchdog that referenced this pull request Jan 14, 2021
ysard added a commit to ysard/watchdog that referenced this pull request Jan 15, 2021
BoboTiG pushed a commit that referenced this pull request Jan 15, 2021
* add: inotify file close events

* fix: NOWRITE_CLOSE doesn't modify dir

* update changelog & version

* add: test events

* Revert "update changelog & version"

This reverts commit 69d61d0.

* update changelog

* [gnu/linux] Fix ability to catch IN_CLOSE_WRITE, IN_CLOSE_NOWRITE events #690

* [gnu/linux] Test IN_CLOSE_WRITE, IN_CLOSE_NOWRITE events

* Fix typos

* [gnu/linux] Fix test due to IN_CLOSE_NOWRITE event

* [gnu/linux] Revert IN_CLOSE_NOWRITE support #747

* [gnu/linux] Extend test for IN_CLOSE_WRITE support #747

* fix typos

* Update changelog #747, #690

Co-authored-by: Lukas Šupienis <l.supienis@ncs.lt>
Co-authored-by: Lukas Šupienis <lukas.supienis@gmail.com>
@BoboTiG
Copy link
Collaborator

BoboTiG commented Jan 15, 2021

Superseded by #747. Thanks a lot @lukassup for the initial patch (you've been credited correctly) 💪

@BoboTiG BoboTiG closed this Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants