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

Support coalesced fsevents #734

Merged
merged 17 commits into from
Jan 19, 2021

Commits on Dec 13, 2020

  1. Add is_coalesced property to NativeEvent

    So that we can effectively decide if we need to perform additional
    system calls to figure out what really happened.
    CCP-Aporia committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    ba0a9e5 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2020

  1. Configuration menu
    Copy the full SHA
    09477f1 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. Replace NativeEvent._event_type with repr() support

    It's more pythonic, and the `_event_type` implementation wasn't quite
    usable anyway.
    
    NB: the representation is not truly copy/paste python code if there is
    a double quote inside event.path, but that should be a rare case so we
    don't add the expensive special case handling there.
    CCP-Aporia committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    cd94330 View commit details
    Browse the repository at this point in the history
  2. Allow running tests with debugger attached

    Some Python debuggers create additional threads, so we shouldn't assume that there is only one.
    CCP-Aporia committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    9515854 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. Configuration menu
    Copy the full SHA
    1bc5730 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2020

  1. Expect events on macOS instead of using time.sleep()

    It might be even better to check for the emitter class, as opposed to platform
    CCP-Aporia committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    3ab47db View commit details
    Browse the repository at this point in the history
  2. Add exception handling to FSEventsEmitter

    Reduce the amount of 'silent breakage'
    CCP-Aporia committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    3c35a1d View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Use sentinel event when setting up tests on macOS

    So that we can avoid a race between test setup and fseventsd
    CCP-Aporia committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    164debd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a7ba5a View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. Configuration menu
    Copy the full SHA
    a8877ca View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. Configuration menu
    Copy the full SHA
    d24e0a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f77d79 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    78267eb View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2021

  1. Remove filesystem_view again

    While the `filesystem_view` helps with filtering out additional
    `FileCreatedEvent`+`DirModifiedEvent` pairs then it also introduces
    a huge amount of edge cases for synthetic events caused by move and
    rename operations. On top of that, in order to properly resolve
    those edge cases we'd have to go back to a solution very similar to
    the old directory snapshots, with all the performance penalties they
    suffered from...
    
    As such I think it's better to acknowledge the behaviour for coalesced
    events instead, and thus remove the `filesystem_view` again.
    CCP-Aporia committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    4d542dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d98a7c View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. Update Changelog

    CCP-Aporia committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    26a48f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bff934 View commit details
    Browse the repository at this point in the history