From b820a6cd160572386f275e0fa201ee31875f99a0 Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Wed, 9 Jul 2014 18:02:08 -0600 Subject: [PATCH] update organization to go-fsnotify --- CHANGELOG.md | 2 +- CONTRIBUTING.md | 10 +++++----- README.md | 16 ++++++++-------- example_test.go | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 912c1d2..71ff4c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ ## v0.14.0 / 2014-06-28 -* [API] Don't set the Write Op for attribute notifications [#4](https://github.com/fsnotify/fsnotify/issues/4) +* [API] Don't set the Write Op for attribute notifications [#4](https://github.com/go-fsnotify/fsnotify/issues/4) * Fix for String() method on Event (thanks Alex Brainman) * Don't build on Plan 9 or Solaris (thanks @4ad) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4ded268..d1f0147 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,15 +1,15 @@ # Contributing * Send questions to [golang-dev@googlegroups.com](mailto:golang-dev@googlegroups.com). -* Request features and report bugs using the [GitHub Issue Tracker](https://github.com/fsnotify/fsnotify/issues). +* Request features and report bugs using the [GitHub Issue Tracker](https://github.com/go-fsnotify/fsnotify/issues). -A future version of Go will have [fsnotify in the standard library](https://code.google.com/p/go/issues/detail?id=4068), therefore fsnotify carries the same [LICENSE](https://github.com/fsnotify/fsnotify/blob/master/LICENSE) as Go. Contributors retain their copyright, so we need you to fill out a short form before we can accept your contribution: [Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual). +A future version of Go will have [fsnotify in the standard library](https://code.google.com/p/go/issues/detail?id=4068), therefore fsnotify carries the same [LICENSE](https://github.com/go-fsnotify/fsnotify/blob/master/LICENSE) as Go. Contributors retain their copyright, so we need you to fill out a short form before we can accept your contribution: [Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual). ### Pull Requests To hack on fsnotify: -1. Install as usual (`go get -u github.com/fsnotify/fsnotify`) +1. Install as usual (`go get -u github.com/go-fsnotify/fsnotify`) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Ensure everything works and the tests pass (see below) 4. Commit your changes (`git commit -am 'Add some feature'`) @@ -23,7 +23,7 @@ Contribute upstream: If other team members need your patch before I merge it: -1. Install as usual (`go get -u github.com/fsnotify/fsnotify`) +1. Install as usual (`go get -u github.com/go-fsnotify/fsnotify`) 2. Add your remote (`git remote add fork git@github.com:mycompany/repo.git`) 3. Pull your revisions (`git fetch fork; git checkout -b my-new-feature fork/my-new-feature`) @@ -40,7 +40,7 @@ To make cross-platform testing easier, I've created a Vagrantfile for Linux and * Install [Vagrant](http://www.vagrantup.com/) and [VirtualBox](https://www.virtualbox.org/) * Setup [Vagrant Gopher](https://github.com/nathany/vagrant-gopher) in your `src` folder. * Run `vagrant up` from the project folder. You can also setup just one box with `vagrant up linux` or `vagrant up bsd` (note: the BSD box doesn't support Windows hosts at this time, and NFS may prompt for your host OS password) -* Once setup, you can run the test suite on a given OS with a single command `vagrant ssh linux -c 'cd fsnotify/fsnotify; go test'`. +* Once setup, you can run the test suite on a given OS with a single command `vagrant ssh linux -c 'cd go-fsnotify/fsnotify; go test'`. * When you're done, you will want to halt or destroy the Vagrant boxes. Notice: fsnotify file system events don't work on shared folders. The tests get around this limitation by using a tmp directory, but it is something to be aware of. diff --git a/README.md b/README.md index a3c40ce..96e0ab3 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@ # File system notifications for Go -[![Coverage](http://gocover.io/_badge/github.com/fsnotify/fsnotify)](http://gocover.io/github.com/fsnotify/fsnotify) [![GoDoc](https://godoc.org/github.com/fsnotify/fsnotify?status.svg)](https://godoc.org/github.com/fsnotify/fsnotify) +[![Coverage](http://gocover.io/_badge/github.com/go-fsnotify/fsnotify)](http://gocover.io/github.com/go-fsnotify/fsnotify) [![GoDoc](https://godoc.org/github.com/go-fsnotify/fsnotify?status.svg)](https://godoc.org/github.com/go-fsnotify/fsnotify) Cross platform: Windows, Linux, BSD and OS X. -Please see [the documentation](http://godoc.org/github.com/fsnotify/fsnotify) for usage. The [Wiki](https://github.com/fsnotify/fsnotify/wiki) contains an FAQ and other information. +Please see [the documentation](http://godoc.org/github.com/go-fsnotify/fsnotify) for usage. The [Wiki](https://github.com/go-fsnotify/fsnotify/wiki) contains an FAQ and other information. ## API stability The fsnotify API has changed from what exists at `github.com/howeyc/fsnotify` ([GoDoc](http://godoc.org/github.com/howeyc/fsnotify)). -Further changes are expected. You may use [gopkg.in](https://gopkg.in/fsnotify/fsnotify.v0) to lock to the current API: +Further changes are expected. You may use [gopkg.in](https://gopkg.in/go-fsnotify/fsnotify.v0) to lock to the current API: ```go -import "gopkg.in/fsnotify/fsnotify.v0" +import "gopkg.in/fsnotify.v0" ``` A new major revision will be tagged for any future API changes. @@ -21,12 +21,12 @@ A new major revision will be tagged for any future API changes. ## Contributing * Send questions to [golang-dev@googlegroups.com](mailto:golang-dev@googlegroups.com). -* Request features and report bugs using the [GitHub Issue Tracker](https://github.com/fsnotify/fsnotify/issues). +* Request features and report bugs using the [GitHub Issue Tracker](https://github.com/go-fsnotify/fsnotify/issues). -A future version of Go will have [fsnotify in the standard library](https://code.google.com/p/go/issues/detail?id=4068), therefore fsnotify carries the same [LICENSE](https://github.com/fsnotify/fsnotify/blob/master/LICENSE) as Go. Contributors retain their copyright, so we need you to fill out a short form before we can accept your contribution: [Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual). +A future version of Go will have [fsnotify in the standard library](https://code.google.com/p/go/issues/detail?id=4068), therefore fsnotify carries the same [LICENSE](https://github.com/go-fsnotify/fsnotify/blob/master/LICENSE) as Go. Contributors retain their copyright, so we need you to fill out a short form before we can accept your contribution: [Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual). -Please read [CONTRIBUTING](https://github.com/fsnotify/fsnotify/blob/master/CONTRIBUTING.md) before opening a pull request. +Please read [CONTRIBUTING](https://github.com/go-fsnotify/fsnotify/blob/master/CONTRIBUTING.md) before opening a pull request. ## Example -See [example_test.go](https://github.com/fsnotify/fsnotify/blob/master/example_test.go). +See [example_test.go](https://github.com/go-fsnotify/fsnotify/blob/master/example_test.go). diff --git a/example_test.go b/example_test.go index 75261fb..f0050ef 100644 --- a/example_test.go +++ b/example_test.go @@ -9,7 +9,7 @@ package fsnotify_test import ( "log" - "github.com/fsnotify/fsnotify" + "github.com/go-fsnotify/fsnotify" ) func ExampleNewWatcher() { -- 2.50.1