-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
The plan for watchfiles, née watchgod #102
Comments
So are there any breaking changes when moving from |
The basic methods:
All remain, but the arguments have changed. In particular the way changes are filtered has changed completely. I'll add a section to the new docs. |
How should code be changed in regards to |
I think you can just remove it. I can't think of any potential race conditions ... Until someone finds one. |
This is all done, except adding a deprecation warning in watchgod which 1) shouldn't happen for months, 2) is debatable anyway. |
This issue replaces #25 and #96 as my plan has change significantly.
I've wanted to rename watchgod for a while, I've also wanted to migrate from file scanning/polling to a rust based file system notification backend. Instead of doing that as two separate (disruptive) steps, I'm going to do them together.
TL;DR;
watchgod
is being renamed towatchfiles
and rewritten in rust.watchgod
will remain available in pypi (with a message about migrating).See this thread for a discussion of the arguments, merits & drawbacks of both renaming packages, and the name "watchgod".
I wanted a new name that was fairly close to the current name (still had the "watch" idea) but wasn't as easily confused. I originally thought about "watchman", but there's already a package by that name maintained by facebook. @thornycrackers was kind enough to release the name
watchfiles
in pypi so I could use it for this package. Big thanks to @thornycrackers for being so responsive and generous. I've uploaded a holding package to secure that name.The process for switching will be roughly as follows (see the twitter thread above for a discussion of how to go about this):
*.replace('god', 'files')
, include a notice in the readme about the "old" namewatchfiles
, version will bev0.10
to avoid confusion withwatchgod
versionswatchgod
with a prominent notice in the readme about the new name and migration, add theDevelopment Status :: 7 - Inactive
pypi classifierThe text was updated successfully, but these errors were encountered: