From 7ab77b76fe5ddf4cf86c35021aa3630a2380f1fa Mon Sep 17 00:00:00 2001 From: Antonio Jesus Navarro Perez Date: Tue, 7 Mar 2017 12:32:51 +0100 Subject: [PATCH] Move go-billy to gopkg.in --- .travis.yml | 10 +++++----- README.md | 4 ++-- memfs/memory.go | 4 ++-- memfs/memory_test.go | 2 +- osfs/os.go | 4 ++-- osfs/os_test.go | 2 +- test/fs_suite.go | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5886be8..5115081 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,14 +9,14 @@ matrix: - go: tip install: - - rm -rf $GOPATH/src/srcd.works - - mkdir -p $GOPATH/src/srcd.works - - ln -s $PWD $GOPATH/src/srcd.works/go-billy.v1 - - cd $GOPATH/src/srcd.works/go-billy.v1 + - rm -rf $GOPATH/src/gopkg.in/src-d + - mkdir -p $GOPATH/src/gopkg.in/src-d + - ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-billy.v1 + - cd $GOPATH/src/gopkg.in/src-d/go-billy.v1 - go get -v -t ./... script: - - cd $GOPATH/src/srcd.works/go-billy.v1 + - cd $GOPATH/src/gopkg.in/src-d/go-billy.v1 - go test -v ./... - make test-coverage diff --git a/README.md b/README.md index c36a1be..7c41583 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# go-billy [![GoDoc](https://godoc.org/srcd.works/go-billy.v1?status.svg)](https://godoc.org/srcd.works/go-billy.v1) [![Build Status](https://travis-ci.org/src-d/go-billy.svg)](https://travis-ci.org/src-d/go-billy) [![codebeat badge](https://codebeat.co/badges/03bdec03-b477-4472-bbe3-b552e3799174)](https://codebeat.co/projects/github-com-src-d-go-billy) +# go-billy [![GoDoc](https://godoc.org/gopkg.in/src-d/go-billy.v1?status.svg)](https://godoc.org/gopkg.in/src-d/go-billy.v1) [![Build Status](https://travis-ci.org/src-d/go-billy.svg)](https://travis-ci.org/src-d/go-billy) [![codebeat badge](https://codebeat.co/badges/03bdec03-b477-4472-bbe3-b552e3799174)](https://codebeat.co/projects/github-com-src-d-go-billy) An interface to abstract several storages. @@ -8,7 +8,7 @@ This library was extracted from ## Installation ```go -go get -u srcd.works/go-billy.v1/... +go get -u gopkg.in/src-d/go-billy.v1/... ``` ## Why billy? diff --git a/memfs/memory.go b/memfs/memory.go index 08b701b..996c0f8 100644 --- a/memfs/memory.go +++ b/memfs/memory.go @@ -1,5 +1,5 @@ // Package memfs provides a billy filesystem base on memory. -package memfs // import "srcd.works/go-billy.v1/memfs" +package memfs // import "gopkg.in/src-d/go-billy.v1/memfs" import ( "errors" @@ -11,7 +11,7 @@ import ( "strings" "time" - "srcd.works/go-billy.v1" + "gopkg.in/src-d/go-billy.v1" ) const separator = '/' diff --git a/memfs/memory_test.go b/memfs/memory_test.go index 9044abb..985b1d8 100644 --- a/memfs/memory_test.go +++ b/memfs/memory_test.go @@ -4,7 +4,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/test" + "gopkg.in/src-d/go-billy.v1/test" ) func Test(t *testing.T) { TestingT(t) } diff --git a/osfs/os.go b/osfs/os.go index 71e9cd7..901c0d4 100644 --- a/osfs/os.go +++ b/osfs/os.go @@ -1,5 +1,5 @@ // Package os provides a billy filesystem for the OS. -package osfs // import "srcd.works/go-billy.v1/osfs" +package osfs // import "gopkg.in/src-d/go-billy.v1/osfs" import ( "io/ioutil" @@ -7,7 +7,7 @@ import ( "path" "path/filepath" - "srcd.works/go-billy.v1" + "gopkg.in/src-d/go-billy.v1" ) const ( diff --git a/osfs/os_test.go b/osfs/os_test.go index 57346fd..c697579 100644 --- a/osfs/os_test.go +++ b/osfs/os_test.go @@ -7,7 +7,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/test" + "gopkg.in/src-d/go-billy.v1/test" ) func Test(t *testing.T) { TestingT(t) } diff --git a/test/fs_suite.go b/test/fs_suite.go index e0b4a88..6259fe1 100644 --- a/test/fs_suite.go +++ b/test/fs_suite.go @@ -10,7 +10,7 @@ import ( "testing" . "gopkg.in/check.v1" - . "srcd.works/go-billy.v1" + . "gopkg.in/src-d/go-billy.v1" ) func Test(t *testing.T) { TestingT(t) }