Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move go-billy to gopkg.in #15

Merged
merged 1 commit into from
Mar 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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?
Expand Down
4 changes: 2 additions & 2 deletions memfs/memory.go
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -11,7 +11,7 @@ import (
"strings"
"time"

"srcd.works/go-billy.v1"
"gopkg.in/src-d/go-billy.v1"
)

const separator = '/'
Expand Down
2 changes: 1 addition & 1 deletion memfs/memory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down
4 changes: 2 additions & 2 deletions osfs/os.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// 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"
"os"
"path"
"path/filepath"

"srcd.works/go-billy.v1"
"gopkg.in/src-d/go-billy.v1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion osfs/os_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down
2 changes: 1 addition & 1 deletion test/fs_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down