Skip to content

Commit

Permalink
Use vendor/ instead of godep
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed Jul 8, 2016
1 parent a707483 commit 4d60839
Show file tree
Hide file tree
Showing 260 changed files with 269 additions and 254 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Original file line Diff line number Diff line change
@@ -1,21 +1,22 @@
language: go language: go
go: go:
- 1.4 - 1.5.4
- 1.5 - 1.6.2
- 1.6
- tip - tip

env:
global:
- GO15VENDOREXPERIMENT='1'

before_install: before_install:
- sudo apt-get install libgeoip-dev bzr - sudo apt-get install libgeoip-dev bzr

install: install:
- mkdir -p $TRAVIS_BUILD_DIR/db - mkdir -p $TRAVIS_BUILD_DIR/db
- curl -s http://geodns.bitnames.com/geoip/GeoLiteCity.dat.gz | gzip -cd > $TRAVIS_BUILD_DIR/db/GeoIPCity.dat - curl -s http://geodns.bitnames.com/geoip/GeoLiteCity.dat.gz | gzip -cd > $TRAVIS_BUILD_DIR/db/GeoIPCity.dat
- curl -s http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz | gzip -cd > $TRAVIS_BUILD_DIR/db/GeoIPASNum.dat - curl -s http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz | gzip -cd > $TRAVIS_BUILD_DIR/db/GeoIPASNum.dat
- echo [geodns] >> dns/geodns.conf - echo [geodns] >> dns/geodns.conf
- echo Directory=$TRAVIS_BUILD_DIR/db >> dns/geodns.conf - echo Directory=$TRAVIS_BUILD_DIR/db >> dns/geodns.conf
- go get github.com/abh/dns
- go get github.com/abh/geoip
- go get gopkg.in/check.v1
- go get -v
- go build -v - go build -v
- go install - go install


Expand Down
26 changes: 21 additions & 5 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Godeps/_workspace/.gitignore

This file was deleted.

57 changes: 0 additions & 57 deletions Godeps/_workspace/src/code.google.com/p/gcfg/LICENSE

This file was deleted.

7 changes: 0 additions & 7 deletions Godeps/_workspace/src/code.google.com/p/gcfg/README

This file was deleted.

109 changes: 0 additions & 109 deletions Godeps/_workspace/src/gopkg.in/check.v1/printer_test.go

This file was deleted.

4 changes: 2 additions & 2 deletions config.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"sync" "sync"
"time" "time"


"github.com/abh/geodns/Godeps/_workspace/src/code.google.com/p/gcfg" "gopkg.in/fsnotify.v1"
"github.com/abh/geodns/Godeps/_workspace/src/gopkg.in/fsnotify.v1" "gopkg.in/gcfg.v1"
) )


type AppConfig struct { type AppConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion geodns.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"strings" "strings"
"time" "time"


"github.com/abh/geodns/Godeps/_workspace/src/github.com/pborman/uuid" "github.com/pborman/uuid"
) )


// VERSION is the current version of GeoDNS // VERSION is the current version of GeoDNS
Expand Down
2 changes: 1 addition & 1 deletion geoip.go
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,8 @@
package main package main


import ( import (
"github.com/abh/geodns/Godeps/_workspace/src/github.com/abh/geoip"
"github.com/abh/geodns/countries" "github.com/abh/geodns/countries"
"github.com/abh/geoip"
"log" "log"
"net" "net"
"strings" "strings"
Expand Down
2 changes: 1 addition & 1 deletion metrics.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"runtime" "runtime"
"time" "time"


metrics "github.com/abh/geodns/Godeps/_workspace/src/github.com/rcrowley/go-metrics" metrics "github.com/rcrowley/go-metrics"
) )


type ServerMetrics struct { type ServerMetrics struct {
Expand Down
4 changes: 2 additions & 2 deletions monitor.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"strconv" "strconv"
"time" "time"


"github.com/abh/geodns/Godeps/_workspace/src/github.com/rcrowley/go-metrics" "github.com/rcrowley/go-metrics"
"github.com/abh/geodns/Godeps/_workspace/src/golang.org/x/net/websocket" "golang.org/x/net/websocket"
) )


// Initial status message on websocket // Initial status message on websocket
Expand Down
3 changes: 2 additions & 1 deletion monitor_test.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package main


import ( import (
"fmt" "fmt"
. "github.com/abh/geodns/Godeps/_workspace/src/gopkg.in/check.v1"
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"strings" "strings"
"time" "time"

. "gopkg.in/check.v1"
) )


type MonitorSuite struct { type MonitorSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion picker.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import ( import (
"math/rand" "math/rand"


"github.com/abh/geodns/Godeps/_workspace/src/github.com/miekg/dns" "github.com/miekg/dns"
) )


func (label *Label) Picker(qtype uint16, max int) Records { func (label *Label) Picker(qtype uint16, max int) Records {
Expand Down
4 changes: 2 additions & 2 deletions serve.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings" "strings"
"time" "time"


"github.com/abh/geodns/Godeps/_workspace/src/github.com/miekg/dns" "github.com/miekg/dns"
"github.com/abh/geodns/Godeps/_workspace/src/github.com/rcrowley/go-metrics" "github.com/rcrowley/go-metrics"
) )


func getQuestionName(z *Zone, req *dns.Msg) string { func getQuestionName(z *Zone, req *dns.Msg) string {
Expand Down
4 changes: 2 additions & 2 deletions serve_test.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"sync" "sync"
"time" "time"


"github.com/abh/geodns/Godeps/_workspace/src/github.com/miekg/dns" "github.com/miekg/dns"
. "github.com/abh/geodns/Godeps/_workspace/src/gopkg.in/check.v1" . "gopkg.in/check.v1"
) )


const ( const (
Expand Down
4 changes: 2 additions & 2 deletions stathat.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings" "strings"
"time" "time"


"github.com/abh/geodns/Godeps/_workspace/src/github.com/rcrowley/go-metrics" "github.com/rcrowley/go-metrics"
"github.com/abh/geodns/Godeps/_workspace/src/github.com/stathat/go" "github.com/stathat/go"
) )


func (zs *Zones) statHatPoster() { func (zs *Zones) statHatPoster() {
Expand Down
2 changes: 1 addition & 1 deletion targeting_test.go
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
package main package main


import ( import (
. "github.com/abh/geodns/Godeps/_workspace/src/gopkg.in/check.v1" . "gopkg.in/check.v1"
"net" "net"
) )


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 4d60839

Please sign in to comment.