Merge branch 'master' into db-specific-slices

This commit is contained in:
Travis 2016-11-29 11:59:41 -06:00
commit 4d1c12b4d7
35 changed files with 53 additions and 53 deletions

2
Godeps/Godeps.json generated
View file

@ -1,5 +1,5 @@
{
"ImportPath": "github.com/umbel/pilosa",
"ImportPath": "github.com/pilosa/pilosa",
"GoVersion": "go1.7",
"GodepVersion": "v75",
"Packages": [

View file

@ -4,21 +4,21 @@ Development Environment
Install Go versions 1.6.2+ or 1.7 for your platform.
Fork `github.com/umbel/pilosa` to your own account. The forked repo will be private.
Fork `github.com/pilosa/pilosa` to your own account. The forked repo will be private.
Make sure `$GOPATH` environment variable points to your Go working directory and `$PATH` incudes `$GOPATH/bin`.
Create a directory (note that we use `github.com/umbel`, NOT `github.com/USER`) and clone your own Pilosa repo:
Create a directory (note that we use `github.com/pilosa`, NOT `github.com/USER`) and clone your own Pilosa repo:
```sh
mkdir -p ${GOPATH}/src/github.com/umbel && cd $_
mkdir -p ${GOPATH}/src/github.com/pilosa && cd $_
git clone git@github.com:${USER}/pilosa.git
```
`cd` to your pilosa directory:
```sh
cd ${GOPATH}/src/github.com/umbel/pilosa
cd ${GOPATH}/src/github.com/pilosa/pilosa
```
Install `godep` to manage dependencies:
@ -30,16 +30,16 @@ go get -u github.com/tools/godep
Install Pilosa command line tools:
```sh
go install github.com/umbel/pilosa/...
go install github.com/pilosa/pilosa/...
```
Running `pilosa` should now run a Pilosa instance.
In order to sync your fork with upstream Umbel repo, add an *upstream* to your repo:
In order to sync your fork with upstream Pilosa repo, add an *upstream* to your repo:
```sh
cd ${GOPATH}/src/github.com/umbel/pilosa
git remote add upstream git@github.com:umbel/pilosa.git
cd ${GOPATH}/src/github.com/pilosa/pilosa
git remote add upstream git@github.com:pilosa/pilosa.git
```
Before starting to work on a task, sync your branch with the upstream:

View file

@ -10,13 +10,13 @@ Pilosa requires Go 1.7 or greater.
You can download the source by running `go get`:
```sh
$ go get github.com/umbel/pilosa
$ go get github.com/pilosa/pilosa
```
Now you can install the `pilosa` binary:
```sh
$ go install github.com/umbel/pilosa/...
$ go install github.com/pilosa/pilosa/...
```
Now run `pilosa` with the default configuration:

View file

@ -11,7 +11,7 @@ import (
"github.com/boltdb/bolt"
"github.com/gogo/protobuf/proto"
"github.com/umbel/pilosa/internal"
"github.com/pilosa/pilosa/internal"
)
// AttrBlockSize is the size of attribute blocks for anti-entropy.

View file

@ -6,7 +6,7 @@ import (
"reflect"
"testing"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// Ensure database can set and retrieve profile attributes.

View file

@ -6,8 +6,8 @@ import (
"encoding/json"
"sort"
"github.com/umbel/pilosa/internal"
"github.com/umbel/pilosa/roaring"
"github.com/pilosa/pilosa/internal"
"github.com/pilosa/pilosa/roaring"
)
// Bitmap represents a set of bits.

View file

@ -9,7 +9,7 @@ import (
"github.com/gogo/protobuf/proto"
"github.com/golang/groupcache/lru"
"github.com/umbel/pilosa/internal"
"github.com/pilosa/pilosa/internal"
)
// Cache represents a cache for bitmap counts.

View file

@ -18,7 +18,7 @@ import (
"time"
"github.com/gogo/protobuf/proto"
"github.com/umbel/pilosa/internal"
"github.com/pilosa/pilosa/internal"
)
// Client represents a client to the Pilosa cluster.

View file

@ -7,7 +7,7 @@ import (
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// Ensure client can bulk import data.

View file

@ -8,7 +8,7 @@ import (
"testing/quick"
"github.com/davecgh/go-spew/spew"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// Ensure the cluster can fairly distribute partitions across the nodes.

View file

@ -11,7 +11,7 @@ import (
"path/filepath"
"strconv"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// BasePort is the initial port used when generating a cluster.

View file

@ -6,7 +6,7 @@ import (
"os"
"testing"
main "github.com/umbel/pilosa/cmd/pilosa-bench"
main "github.com/pilosa/pilosa/cmd/pilosa-bench"
)
// Ensure server count flag can be parsed.

View file

@ -14,7 +14,7 @@ import (
"time"
"github.com/BurntSushi/toml"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// Build holds the build information passed in at compile time.

View file

@ -17,8 +17,8 @@ import (
"testing/quick"
"github.com/BurntSushi/toml"
"github.com/umbel/pilosa"
main "github.com/umbel/pilosa/cmd/pilosa"
"github.com/pilosa/pilosa"
main "github.com/pilosa/pilosa/cmd/pilosa"
)
// Ensure program can process queries and maintain consistency.

View file

@ -21,8 +21,8 @@ import (
"time"
"unsafe"
"github.com/umbel/pilosa"
"github.com/umbel/pilosa/roaring"
"github.com/pilosa/pilosa"
"github.com/pilosa/pilosa/roaring"
)
var (

View file

@ -7,7 +7,7 @@ import (
"time"
"github.com/DataDog/datadog-go/statsd"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
const (

View file

@ -4,7 +4,7 @@ import (
"reflect"
"testing"
"github.com/umbel/pilosa/datadog"
"github.com/pilosa/pilosa/datadog"
)
func TestStatsClient_WithTags(t *testing.T) {

View file

@ -5,7 +5,7 @@ import (
"os"
"testing"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// Ensure database can open and retrieve a frame.

View file

@ -12,8 +12,8 @@ import (
"time"
"github.com/gogo/protobuf/proto"
"github.com/umbel/pilosa/internal"
"github.com/umbel/pilosa/pql"
"github.com/pilosa/pilosa/internal"
"github.com/pilosa/pilosa/pql"
)
// DefaultFrame is the frame used if one is not specified.

View file

@ -7,8 +7,8 @@ import (
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/umbel/pilosa"
"github.com/umbel/pilosa/pql"
"github.com/pilosa/pilosa"
"github.com/pilosa/pilosa/pql"
)
// Ensure a bitmap query can be executed.

View file

@ -22,8 +22,8 @@ import (
"unsafe"
"github.com/gogo/protobuf/proto"
"github.com/umbel/pilosa/internal"
"github.com/umbel/pilosa/roaring"
"github.com/pilosa/pilosa/internal"
"github.com/pilosa/pilosa/roaring"
)
const (

View file

@ -10,7 +10,7 @@ import (
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// Test flags

View file

@ -5,7 +5,7 @@ import (
"os"
"testing"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// Ensure frame can open and retrieve a fragment.

View file

@ -18,8 +18,8 @@ import (
"time"
"github.com/gogo/protobuf/proto"
"github.com/umbel/pilosa/internal"
"github.com/umbel/pilosa/pql"
"github.com/pilosa/pilosa/internal"
"github.com/pilosa/pilosa/pql"
)
// Handler represents an HTTP handler.

View file

@ -15,9 +15,9 @@ import (
"testing"
"github.com/gogo/protobuf/proto"
"github.com/umbel/pilosa"
"github.com/umbel/pilosa/internal"
"github.com/umbel/pilosa/pql"
"github.com/pilosa/pilosa"
"github.com/pilosa/pilosa/internal"
"github.com/pilosa/pilosa/pql"
)
// Ensure the handler returns "not found" for invalid paths.

View file

@ -8,8 +8,8 @@ import (
"reflect"
"testing"
"github.com/umbel/pilosa"
"github.com/umbel/pilosa/pql"
"github.com/pilosa/pilosa"
"github.com/pilosa/pilosa/pql"
)
// Ensure index can delete a database and its underlying files.

View file

@ -3,7 +3,7 @@ package pilosa
import (
"fmt"
"github.com/umbel/pilosa/roaring"
"github.com/pilosa/pilosa/roaring"
)
// Iterator is an interface for looping over bitmap/profile pairs.

View file

@ -4,7 +4,7 @@ import (
"reflect"
"testing"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
// Ensure slice iterator and iterate over a set of pairs.

View file

@ -4,7 +4,7 @@ import (
"errors"
"github.com/gogo/protobuf/proto"
"github.com/umbel/pilosa/internal"
"github.com/pilosa/pilosa/internal"
)
//go:generate protoc --gogo_out=. internal/internal.proto

View file

@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/umbel/pilosa/pql"
"github.com/pilosa/pilosa/pql"
)
// Ensure the Bitmap call can be converted into a string.

View file

@ -6,7 +6,7 @@ import (
"time"
"github.com/davecgh/go-spew/spew"
"github.com/umbel/pilosa/pql"
"github.com/pilosa/pilosa/pql"
)
// Ensure the parser can parse a "Bitmap()" function with keyed args.

View file

@ -4,7 +4,7 @@ import (
"strings"
"testing"
"github.com/umbel/pilosa/pql"
"github.com/pilosa/pilosa/pql"
)
func TestScanner_Scan(t *testing.T) {

View file

@ -10,7 +10,7 @@ import (
"testing"
"testing/quick"
"github.com/umbel/pilosa/roaring"
"github.com/pilosa/pilosa/roaring"
)
// Ensure an empty bitmap returns false if checking for existence.

View file

@ -15,7 +15,7 @@ import (
"time"
"github.com/gogo/protobuf/proto"
"github.com/umbel/pilosa/internal"
"github.com/pilosa/pilosa/internal"
)
// Default server settings.

View file

@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/umbel/pilosa"
"github.com/pilosa/pilosa"
)
func TestTimeIDsFromRange_1h_0(t *testing.T) {