Skip to content

fsnotify dependency broken #136

@mattayes

Description

@mattayes

The import used for fsnotify (gopkg.in/fsnotify.v1) no longer points to the correct repository. Someone created go-fsnotify/fsnotify which broke an old redirect to the real fsnotify. Anyone using gopkg.in/fsnotify.v1 or github.com/go-fsnotify/fsnotify will get the squatted (incorrect) package.

This isn't an issue if you're using tail directly, since fsnotify is vendored. However, when using tail with a dependency manager (we use dep), things break.

I recommend changing the import used in watch/inotify_tracker.go from gopkg.in/fsnotify.v1 to github.com/fsnotify/fsnotify as recommended by the fsnotify docs.

I'm happy to create a PR for this, if you'd like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions