Fix tomb import
has moved from launchpad.net (now down) to GitHub, and accessible as gopkg.in/tomb.v1 closes #33
This commit is contained in:
parent
056d606881
commit
22e519566e
11
Dockerfile
11
Dockerfile
|
@ -1,12 +1,9 @@
|
||||||
# -*- sh -*-
|
FROM ubuntu
|
||||||
|
|
||||||
FROM ubuntu:13.10
|
|
||||||
|
|
||||||
RUN echo "deb http://archive.ubuntu.com/ubuntu quantal main universe" >> /etc/apt/sources.list
|
|
||||||
|
|
||||||
RUN apt-get -qy update
|
RUN apt-get -qy update
|
||||||
RUN apt-get -qy install golang-go
|
RUN apt-get -y install golang-go
|
||||||
RUN apt-get -qy install git mercurial bzr subversion
|
RUN apt-get -y install git
|
||||||
|
RUN apt-get -y install mercurial subversion
|
||||||
|
|
||||||
ENV GOPATH $HOME/go
|
ENV GOPATH $HOME/go
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,10 @@
|
||||||
"type": "git-clone",
|
"type": "git-clone",
|
||||||
"alias": "github.com/howeyc/fsnotify"
|
"alias": "github.com/howeyc/fsnotify"
|
||||||
},
|
},
|
||||||
"launchpad.net/tomb": {
|
"gopkg.in/tomb.v1": {
|
||||||
"repo": "launchpad.net/tomb",
|
"repo": "https://github.com/go-tomb/tomb.git",
|
||||||
"version": "17",
|
"version": "c131134a1947e9afd9cecfe11f4c6dff0732ae58",
|
||||||
"type": "bzr"
|
"type": "git-clone",
|
||||||
|
"alias": "gopkg.in/tomb.v1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
tail.go
2
tail.go
|
@ -8,9 +8,9 @@ import (
|
||||||
"github.com/ActiveState/tail/ratelimiter"
|
"github.com/ActiveState/tail/ratelimiter"
|
||||||
"github.com/ActiveState/tail/util"
|
"github.com/ActiveState/tail/util"
|
||||||
"github.com/ActiveState/tail/watch"
|
"github.com/ActiveState/tail/watch"
|
||||||
|
"gopkg.in/tomb.v1"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"launchpad.net/tomb"
|
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/ActiveState/tail/util"
|
"github.com/ActiveState/tail/util"
|
||||||
"github.com/howeyc/fsnotify"
|
"github.com/howeyc/fsnotify"
|
||||||
"launchpad.net/tomb"
|
"gopkg.in/tomb.v1"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,7 @@ package watch
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/ActiveState/tail/util"
|
"github.com/ActiveState/tail/util"
|
||||||
"launchpad.net/tomb"
|
"gopkg.in/tomb.v1"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
package watch
|
package watch
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"launchpad.net/tomb"
|
"gopkg.in/tomb.v1"
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue