Merge pull request #1 from ceph/update-paths

repo: update new repo path

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
Noah Watkins 2015-08-31 08:35:56 -06:00
commit 75b327e4c7
9 changed files with 13 additions and 13 deletions

View File

@ -11,7 +11,7 @@ RUN wget --no-check-certificate -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_
apt-get install -y ceph \
librados-dev librbd-dev libcephfs-dev
VOLUME /go/src/github.com/noahdesu/go-ceph
VOLUME /go/src/github.com/ceph/go-ceph
COPY ./ci/entrypoint.sh /tmp/entrypoint.sh

View File

@ -7,7 +7,7 @@ test:
go test -v ./...
test-docker: .build-docker
docker run --rm -it -v $(CURDIR):/go/src/github.com/noahdesu/go-ceph $(DOCKER_CI_IMAGE)
docker run --rm -it -v $(CURDIR):/go/src/github.com/ceph/go-ceph $(DOCKER_CI_IMAGE)
.build-docker:
docker build -t $(DOCKER_CI_IMAGE) .

View File

@ -1,20 +1,20 @@
# go-ceph - Go bindings for Ceph APIs (RBD, RADOS, CephFS)
[![Build Status](https://travis-ci.org/noahdesu/go-ceph.svg)](https://travis-ci.org/noahdesu/go-ceph) [![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/noahdesu/go-ceph) [![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/noahdesu/go-ceph/master/LICENSE)
[![Build Status](https://travis-ci.org/noahdesu/go-ceph.svg)](https://travis-ci.org/noahdesu/go-ceph) [![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/ceph/go-ceph) [![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/ceph/go-ceph/master/LICENSE)
This project uses Semantic Versioning (http://semver.org/).
## Installation
go get github.com/noahdesu/go-ceph
go get github.com/ceph/go-ceph
The native RADOS library and development headers are expected to be installed.
## Documentation
Detailed documentation is available at
<http://godoc.org/github.com/noahdesu/go-ceph>.
<http://godoc.org/github.com/ceph/go-ceph>.
### Connecting to a cluster

View File

@ -1,7 +1,7 @@
package cephfs_test
import "testing"
import "github.com/noahdesu/go-ceph/cephfs"
import "github.com/ceph/go-ceph/cephfs"
import "github.com/stretchr/testify/assert"
func TestCreateMount(t *testing.T) {

View File

@ -109,6 +109,6 @@ ceph osd tree
export CEPH_CONF="${DIR}/ceph.conf"
go get github.com/stretchr/testify/assert
cd /go/src/github.com/noahdesu/go-ceph
cd /go/src/github.com/ceph/go-ceph
exec go test -v ./...

4
doc.go
View File

@ -4,6 +4,6 @@ Set of wrappers around Ceph APIs.
package rados
import (
_ "github.com/noahdesu/go-ceph/rados"
_ "github.com/noahdesu/go-ceph/rbd"
_ "github.com/ceph/go-ceph/rados"
_ "github.com/ceph/go-ceph/rbd"
)

View File

@ -3,7 +3,7 @@ package rados_test
import "testing"
//import "bytes"
import "github.com/noahdesu/go-ceph/rados"
import "github.com/ceph/go-ceph/rados"
import "github.com/stretchr/testify/assert"
import "os"
import "os/exec"

View File

@ -11,7 +11,7 @@ import (
"bytes"
"errors"
"fmt"
"github.com/noahdesu/go-ceph/rados"
"github.com/ceph/go-ceph/rados"
"io"
"unsafe"
)

View File

@ -3,8 +3,8 @@ package rbd_test
import (
"bytes"
"encoding/json"
"github.com/noahdesu/go-ceph/rados"
"github.com/noahdesu/go-ceph/rbd"
"github.com/ceph/go-ceph/rados"
"github.com/ceph/go-ceph/rbd"
"github.com/stretchr/testify/assert"
"os/exec"
"sort"