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

Manage file ID cache paths in debouncer-full #557

Merged
merged 4 commits into from
Jan 22, 2024

Conversation

dfaust
Copy link
Member

@dfaust dfaust commented Jan 21, 2024

  • CHANGE: Manage root folder paths for the file ID cache automatically. breaking

    This simplifies the usage of the debouncer-full. By default it will now maintain the file id cache on its own.
    It should make it impossible to misuse the feature.

  • CHANGE: Add RecommendedCache, which automatically enables the file ID cache on Windows and MacOS
    and disables it on Linux, where it is not needed.

    inotify emits rename cookies, so the file id cache can be disabled on Linux.

@0xpr03 0xpr03 merged commit 80aaee2 into notify-rs:main Jan 22, 2024
13 checks passed
@ForsakenHarmony
Copy link

When is this getting released?

@dfaust dfaust deleted the debouncer-managed-roots branch February 21, 2024 15:27
@dfaust
Copy link
Member Author

dfaust commented Feb 21, 2024

When is this getting released?

@0xpr03 I just pushed a bunch of PRs. When they are merged, we should release a new version.

@0xpr03
Copy link
Member

0xpr03 commented Feb 22, 2024

Will take a look tomorrow.

github-merge-queue bot pushed a commit to bevyengine/bevy that referenced this pull request Oct 28, 2024
# Objective

- Supersedes #16126 

## Solution

- Updated code in `file_watcher.rs` to fix breaking changes introduced
in the new version.
- Check changelog here:
https://github.com/notify-rs/notify/blob/main/CHANGELOG.md#debouncer-full-040-2024-10-25.
- Relevant PR with the breaking change:
notify-rs/notify#557.

## Testing

- CI checks passing locally

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
mockersf pushed a commit to bevyengine/bevy that referenced this pull request Nov 5, 2024
# Objective

- Supersedes #16126 

## Solution

- Updated code in `file_watcher.rs` to fix breaking changes introduced
in the new version.
- Check changelog here:
https://github.com/notify-rs/notify/blob/main/CHANGELOG.md#debouncer-full-040-2024-10-25.
- Relevant PR with the breaking change:
notify-rs/notify#557.

## Testing

- CI checks passing locally

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

3 participants