-
Notifications
You must be signed in to change notification settings - Fork 0
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
use fsnotify.v0 #2
Conversation
Thank you @nathany. Honestly I'm a bit confused about the state of these types of packages. Can you please clarify for me, have the go.exp packages been officially deprecated? I haven't seen and can't currently find the evidence of that. Can you provide links to relavent discussions? You mention a comment by @davecheney that I have yet to actually locate. I read this ANN thread. I'm confused by the document you linked to. You wrote it but it's called "Go 1.5 os/fsnotify API". What is this? A recommendation to the Go team? Do you actually have credentials with Google? I'm sorry my response amounts to "Who are you and why should I believe you?" I don't mean you any disrespect. I merely want to know what I merge into my repositories. I do appreciate your effort to clean up the Go package ecosystem. |
Hi Bryan, Sorry for not introducing myself. I've been helping to maintain fsnotify since September of last year. You can see my commits in all three of these locations:
The confusion you mention is what Dave Cheney wanted to alleviate, and what I'm attempting to do. That conversation was in Slack which isn't indexed publicly. 😦 ~ Russ Cox opened an issue two years ago to bring fsnotify into standard library. However, fsnotify isn't yet ready to adopt the Go1 compatibility guarantees. There is still a lot of work to do and things to figure out. Go is an open source project. Anyone can write a proposal, including people who don't work for Google or even have commit access. Once I had the go ahead, I started drafting it up. This was for Go 1.3, but it never made it in time, and the code freeze for Go 1.4 is only two weeks away, which explains the (hopeful) Go 1.5 title. The important part of this document is that I had feedback from Russ Cox, minux and others. While it's not final by any means, I believe they set me on the right course. ~ go.exp/fsnotify hasn't been officially deprecated, at least not yet. Perhaps I can suggest that if you and others are willing to adopt the new location. There are several reasons why I'm not contributing to go.exp/fsnotify anymore:
I'm thinking of setting up a blog for fsnotify, so hopefully I'll do a better job of communicating the state of the project in the future. Thanks for asking, |
Spurred on by your questions, I wrote a message on golang-dev to suggest go.exp/fsnotify be deprecated: https://groups.google.com/d/msg/golang-dev/-__vD-kOF5s/v8eLY271-ucJ |
Thank you, @nathany, for the detailed and thoughtful response. That is unforunate that the slack community is private. I have not joined yet. That's great you wrote a proposal. I was just unclear on its purpose and origin. To my knowledge it has not a common practice for people outside of the Go team. Maybe you could add some more introductory text explaining that. I'm not completely sold on gopkg.in, but that's not a big deal. I've started creating repositories named "foo.exp" to address the problems of initial instability. That is truly unfortunate that (your) CLs are not being addressed in go.exp. That sounds like a problem. It looks like you just pinged people today. I hope it gets a response in the next couple days. If that were to happen, would things be current with your repo? Anyway, I'm fixing this thing up over the next couple days. I'll look to merge this in soon, maybe tonight. |
cool, I will watch the outcome of that as well. |
Slack is a really nice tool, but I'm not sure if it's a good choice for an open community like ours. We're not paying the per-user fees so we have very limited history indexed even for those who have joined. The CL is for changes I made quite some time ago. If it were submitted, I would need to open another CL with everything from 2014-06-12 onward (see the CHANGELOG). The hope (back then) was that the code review process would provide some suggestions to improve the codebase, which I would feed back to the mirror on GitHub. Now its diverged enough that I'd rather just close it and keep all of fsnotify's work in one place. Ciao. |
Yea. I was skeptical about the Slack community when I first heard about it. What you've just said makes me more uncertain. Thank you very much for the correspondence. Like I said, I'll be looking to merge this in shortly, once I get a test environment set up again. Cheers |
Got my tests running and things look good. Thanks @nathany |
fsnotify is currently being maintained at:
https://github.com/go-fsnotify/fsnotify
fsnotify.v0 matches the API you are using but some bugs have been fixed. There
is also a newer v1 API if you wish to upgrade.
(So I know when this is merged, ref: https://github.com/go-fsnotify/fsnotify/issues/35)