-
-
Notifications
You must be signed in to change notification settings - Fork 130
Description
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 to watchfiles and rewritten in rust. watchgod will remain available in pypi (with a message about migrating).
- watchgod will remain unchanged with the file scanning python code
- watchfiles will use the new rust backend from it's first release
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):
- Rename in the codebase, effectively
*.replace('god', 'files'), include a notice in the readme about the "old" name - Rename the github repo
- release the new codebase to pypi under the name
watchfiles, version will bev0.10to avoid confusion withwatchgodversions - release a version of
watchgodwith a prominent notice in the readme about the new name and migration, add theDevelopment Status :: 7 - Inactivepypi classifier - Perhaps in future release a final version of watchgod with:
- deprecation warnings on the main public functions explaining about the renaming
- if this gets approved before the release, add a pip announcement