Skip to content

Commit 2403cad

Browse files
committed
Fix imports
1 parent d9f4dcd commit 2403cad

9 files changed

+20
-20
lines changed

Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
FROM golang
22

3-
RUN mkdir -p $GOPATH/src/github.com/ActiveState/tail/
4-
ADD . $GOPATH/src/github.com/ActiveState/tail/
3+
RUN mkdir -p $GOPATH/src/github.com/hpcloud/tail/
4+
ADD . $GOPATH/src/github.com/hpcloud/tail/
55

66
# expecting to fetch dependencies successfully.
7-
RUN go get -v github.com/ActiveState/tail
7+
RUN go get -v github.com/hpcloud/tail
88

99
# expecting to run the test successfully.
10-
RUN go test -v github.com/ActiveState/tail
10+
RUN go test -v github.com/hpcloud/tail
1111

1212
# expecting to install successfully
13-
RUN go install -v github.com/ActiveState/tail
14-
RUN go install -v github.com/ActiveState/tail/cmd/gotail
13+
RUN go install -v github.com/hpcloud/tail
14+
RUN go install -v github.com/hpcloud/tail/cmd/gotail
1515

1616
RUN $GOPATH/bin/gotail -h || true
1717

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ fmt:
88

99
# Run the test in an isolated environment.
1010
fulltest:
11-
docker build -t activestate/tail .
11+
docker build -t hpcloud/tail .

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/ActiveState/tail.svg)](https://travis-ci.org/ActiveState/tail)
1+
[![Build Status](https://travis-ci.org/hpcloud/tail.svg)](https://travis-ci.org/ActiveState/tail)
22

33
# Go package for tail-ing files
44

@@ -11,7 +11,7 @@ for line := range t.Lines {
1111
}
1212
```
1313

14-
See [API documentation](http://godoc.org/github.com/ActiveState/tail).
14+
See [API documentation](http://godoc.org/github.com/hpcloud/tail).
1515

1616
## Log rotation
1717

@@ -20,8 +20,8 @@ designed to work with log rotation tools.
2020

2121
## Installing
2222

23-
go get github.com/ActiveState/tail/...
23+
go get github.com/hpcloud/tail/...
2424

2525
## Windows support
2626

27-
This package [needs assistance](https://github.com/ActiveState/tail/labels/Windows) for full Windows support.
27+
This package [needs assistance](https://github.com/hpcloud/tail/labels/Windows) for full Windows support.

cmd/gotail/gotail.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package main
55
import (
66
"flag"
77
"fmt"
8-
"github.com/ActiveState/tail"
8+
"github.com/hpcloud/tail"
99
"os"
1010
)
1111

tail.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"strings"
1313
"time"
1414

15-
"github.com/ActiveState/tail/ratelimiter"
16-
"github.com/ActiveState/tail/util"
17-
"github.com/ActiveState/tail/watch"
15+
"github.com/hpcloud/tail/ratelimiter"
16+
"github.com/hpcloud/tail/util"
17+
"github.com/hpcloud/tail/watch"
1818
"gopkg.in/tomb.v1"
1919
)
2020

tail_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"time"
1515

1616
"./watch"
17-
"github.com/ActiveState/tail/ratelimiter"
17+
"github.com/hpcloud/tail/ratelimiter"
1818
)
1919

2020
func init() {

tail_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package tail
44

55
import (
6-
"github.com/ActiveState/tail/winfile"
6+
"github.com/hpcloud/tail/winfile"
77
"os"
88
)
99

watch/inotify.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"os"
88
"path/filepath"
99

10-
"github.com/ActiveState/tail/util"
10+
"github.com/hpcloud/tail/util"
1111
"gopkg.in/fsnotify.v0"
1212
"gopkg.in/tomb.v1"
1313
)

watch/polling.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package watch
44

55
import (
6-
"github.com/ActiveState/tail/util"
6+
"github.com/hpcloud/tail/util"
77
"gopkg.in/tomb.v1"
88
"os"
99
"runtime"
@@ -63,7 +63,7 @@ func (fw *PollingFileWatcher) ChangeEvents(t *tomb.Tomb, origFi os.FileInfo) *Fi
6363
time.Sleep(POLL_DURATION)
6464
fi, err := os.Stat(fw.Filename)
6565
if err != nil {
66-
// Windows cannot delete a file if a handle is still open (tail keeps one open)
66+
// Windows cannot delete a file if a handle is still open (tail keeps one open)
6767
// so it gives access denied to anything trying to read it until all handles are released.
6868
if os.IsNotExist(err) || (runtime.GOOS == "windows" && os.IsPermission(err)) {
6969
// File does not exist (has been deleted).

0 commit comments

Comments
 (0)