diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index ceb76f05f..2c1f4979d 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,9 +6,9 @@ Fixes # ## Pull request checklist -- [ ] I have read the [contributing guide](https://github.com/pilosa/pilosa/blob/master/CONTRIBUTING.md). +- [ ] I have read the [contributing guide](https://github.com/molecula/featurebase/blob/master/CONTRIBUTING.md). - [ ] I have agreed to the [Contributor License Agreement](https://cla-assistant.io/pilosa/pilosa). -- [ ] I have updated the [documentation](https://github.com/pilosa/pilosa/tree/master/docs). +- [ ] I have updated the [documentation](https://github.com/molecula/docs). - [ ] I have resolved any merge conflicts. - [ ] I have included tests that cover my changes. - [ ] All new and existing tests pass. diff --git a/Makefile b/Makefile index 5ea170d9f..fe9c9547c 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ BRANCH_ID := $(BRANCH)-$(GOOS)-$(GOARCH) BUILD_TIME := $(shell date -u +%FT%T%z) SHARD_WIDTH = 20 COMMIT := $(shell git describe --exact-match >/dev/null 2>&1 || git rev-parse --short HEAD) -LDFLAGS="-X github.com/pilosa/pilosa/v2.Version=$(VERSION) -X github.com/pilosa/pilosa/v2.BuildTime=$(BUILD_TIME) -X github.com/pilosa/pilosa/v2.Variant=$(VARIANT) -X github.com/pilosa/pilosa/v2.Commit=$(COMMIT) -X github.com/pilosa/pilosa/v2.TrialDeadline=$(TRIAL_DEADLINE)" +LDFLAGS="-X github.com/molecula/featurebase/v2.Version=$(VERSION) -X github.com/molecula/featurebase/v2.BuildTime=$(BUILD_TIME) -X github.com/molecula/featurebase/v2.Variant=$(VARIANT) -X github.com/molecula/featurebase/v2.Commit=$(COMMIT) -X github.com/molecula/featurebase/v2.TrialDeadline=$(TRIAL_DEADLINE)" GO_VERSION=1.16.3 DOCKER_BUILD= # set to 1 to use `docker-build` instead of `build` when creating a release BUILD_TAGS += shardwidth$(SHARD_WIDTH) @@ -165,11 +165,11 @@ build-lattice: # `go generate` protocol buffers generate-protoc: require-protoc require-protoc-gen-gofast - $(GO) generate github.com/pilosa/pilosa/v2/pb + $(GO) generate github.com/molecula/featurebase/v2/pb # `go generate` statik assets (lattice UI) generate-statik: build-lattice require-statik - $(GO) generate github.com/pilosa/pilosa/v2/statik + $(GO) generate github.com/molecula/featurebase/v2/statik # `go generate` statik assets (lattice UI) in Docker generate-statik-docker: build-lattice @@ -177,7 +177,7 @@ generate-statik-docker: build-lattice # `go generate` stringers generate-stringer: - $(GO) generate github.com/pilosa/pilosa/v2 + $(GO) generate github.com/molecula/featurebase/v2 generate-pql: require-peg cd pql && peg -inline pql.peg && cd .. @@ -188,7 +188,7 @@ generate-proto-grpc: require-protoc require-protoc-gen-go # TODO: Modify above commands and remove the below mv if possible. # See https://go-review.googlesource.com/c/protobuf/+/219298/ for info on --go-opt # I couldn't get it to work during development - Cody - cp -r proto/github.com/pilosa/pilosa/v2/proto/ proto/ + cp -r proto/github.com/molecula/featurebase/v2/proto/ proto/ rm -rf proto/github.com # `go generate` all needed packages diff --git a/README.md b/README.md index 2bf292998..e221fbb1d 100644 --- a/README.md +++ b/README.md @@ -1,63 +1,5 @@ -

- - - -

- - -## Our private fork of [Pilosa](https://github.com/pilosa/pilosa), a distributed bitmap index -- [Docs](#docs) -- [Getting Started](#getting-started) -- [Data Model](#data-model) -- [Query Language](#query-language) -- [Client Libraries](#client-libraries) -- [Get Support](#get-support) -- [Contributing](#contributing) - -## Docs +# FeatureBase, a distributed bitmap index See our [internal documentation](https://internal-docs.molecula.cloud), which includes all [external documentation](https://docs.molecula.cloud), plus many internal-only pages, listed under the "Internal" heading in the main navigation bar. -The [documentation](https://www.pilosa.com/docs/) for the open source fork is also available, but is outdated for most technical details. Conceptual explanations and [technical blog posts](https://www.pilosa.com/blog/) may still be informative. - -## Getting Started - -1. [Install Pilosa](https://www.pilosa.com/docs/latest/installation/#build-from-source). - -Optionally, to include Lattice, the in-browser UI, follow the "Build from source" instructions, and run `make generate-statik` before `make install`. When you run a local Pilosa server on the default host, for example, you can access Lattice at [localhost:10101](http://localhost:10101). - -2. [Start Pilosa](https://www.pilosa.com/docs/getting-started/#starting-pilosa) with the default configuration: - - ```shell - pilosa server - ``` - - and verify that it's running: - - ```shell - curl localhost:10101/status - ``` - -3. Follow along with the [Sample Project](https://internal-docs.molecula.cloud/tutorials/getting-started) to get a better understanding of Pilosa's capabilities. - - -## Data Model - -Check out how the Pilosa [Data Model](https://www.pilosa.com/docs/data-model/) works. - - -## Query Language - -You can interact with Pilosa directly in the console using the [Pilosa Query Language](https://internal-docs.molecula.cloud/explanations/pql-intro) (PQL). - - -## Client Libraries - -Three client libraries were supported for the open source fork: [Go](https://www.pilosa.com/docs/client-libraries/#go), (https://www.pilosa.com/docs/client-libraries/#java), (https://www.pilosa.com/docs/client-libraries/#python). Of these, only the Go client has seen significant use and development in the private fork, and it has now been incorporated into this repository, in [the `client` directory](https://github.com/molecula/pilosa/tree/master/client) - -## License - -Pilosa is licensed under the Apache License, Version 2.0. - -A copy of the license is located in [github.com/molecula/pilosa/LICENSE](https://github.com/pilosa/molecula/blob/master/LICENSE). -More details about licensing are found in [github.com/molecula/pilosa/NOTICE](https://github.com/molecula/pilosa/blob/master/NOTICE). +Follow along with the [Sample Project](https://internal-docs.molecula.cloud/tutorials/getting-started) to get a better understanding of FeatureBase's capabilities. diff --git a/api.go b/api.go index ecb9783bd..eb9dd4969 100644 --- a/api.go +++ b/api.go @@ -34,12 +34,12 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/topology" - "github.com/pilosa/pilosa/v2/tracing" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/topology" + "github.com/molecula/featurebase/v2/tracing" "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/api/client/grpc.go b/api/client/grpc.go index c9a5ff2bf..9f96dc17f 100644 --- a/api/client/grpc.go +++ b/api/client/grpc.go @@ -19,8 +19,8 @@ import ( "crypto/tls" "sync" - "github.com/pilosa/pilosa/v2/logger" - pb "github.com/pilosa/pilosa/v2/proto" + "github.com/molecula/featurebase/v2/logger" + pb "github.com/molecula/featurebase/v2/proto" "github.com/pkg/errors" "google.golang.org/grpc" "google.golang.org/grpc/connectivity" diff --git a/api_test.go b/api_test.go index 60e1f5401..4a4418ed9 100644 --- a/api_test.go +++ b/api_test.go @@ -25,12 +25,12 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/boltdb" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/boltdb" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func TestAPI_Import(t *testing.T) { diff --git a/audit.go b/audit.go index 86be7037e..854853fbf 100644 --- a/audit.go +++ b/audit.go @@ -15,7 +15,7 @@ package pilosa import ( - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) var NewAuditor func() testhook.Auditor = NewNopAuditor diff --git a/audit_internal_test.go b/audit_internal_test.go index 25a5bc6ed..a19c9f9b2 100644 --- a/audit_internal_test.go +++ b/audit_internal_test.go @@ -18,7 +18,7 @@ import ( "fmt" "reflect" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) // These audit hooks are desireable during testing, but not in diff --git a/audit_test.go b/audit_test.go index b174c3513..06f7cd4d5 100644 --- a/audit_test.go +++ b/audit_test.go @@ -19,8 +19,8 @@ import ( "os" "reflect" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/testhook" ) // AuditLeaksOn is a global switch to turn on resource diff --git a/bluegreentx.go b/bluegreentx.go index 235b16b84..07c716437 100644 --- a/bluegreentx.go +++ b/bluegreentx.go @@ -21,9 +21,9 @@ import ( "reflect" "sync" - "github.com/pilosa/pilosa/v2/roaring" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - . "github.com/pilosa/pilosa/v2/vprint" + "github.com/molecula/featurebase/v2/roaring" + txkey "github.com/molecula/featurebase/v2/short_txkey" + . "github.com/molecula/featurebase/v2/vprint" ) // blueGreenTx runs two Tx together and notices differences in their output. diff --git a/bluegreentx_test.go b/bluegreentx_test.go index a614e3501..3a365800b 100644 --- a/bluegreentx_test.go +++ b/bluegreentx_test.go @@ -25,7 +25,7 @@ import ( cryrand "crypto/rand" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) var _ = context.Background diff --git a/bolt.go b/bolt.go index c0dbb600f..366b77391 100644 --- a/bolt.go +++ b/bolt.go @@ -28,16 +28,16 @@ import ( "sync/atomic" "time" - "github.com/pilosa/pilosa/v2/hash" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/storage" - . "github.com/pilosa/pilosa/v2/vprint" + "github.com/molecula/featurebase/v2/hash" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/storage" + . "github.com/molecula/featurebase/v2/vprint" // On Bolt only, we still use the long txkey, because // this allows Max() to work readily. // - "github.com/pilosa/pilosa/v2/short_txkey" - txkey "github.com/pilosa/pilosa/v2/txkey" + "github.com/molecula/featurebase/v2/short_txkey" + txkey "github.com/molecula/featurebase/v2/txkey" "github.com/pkg/errors" bolt "go.etcd.io/bbolt" ) diff --git a/bolt_test.go b/bolt_test.go index 81ce74bf5..5c83ae1af 100644 --- a/bolt_test.go +++ b/bolt_test.go @@ -20,8 +20,8 @@ import ( "os" "testing" - "github.com/pilosa/pilosa/v2/roaring" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/roaring" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) // helpers, each runs their own new txn, and commits if a change/delete diff --git a/boltdb/translate.go b/boltdb/translate.go index 1ab18cd57..076c77f37 100644 --- a/boltdb/translate.go +++ b/boltdb/translate.go @@ -25,7 +25,7 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" "github.com/pkg/errors" bolt "go.etcd.io/bbolt" diff --git a/boltdb/translate_test.go b/boltdb/translate_test.go index 41eb1c6d5..a42d68d50 100644 --- a/boltdb/translate_test.go +++ b/boltdb/translate_test.go @@ -22,10 +22,10 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/boltdb" - "github.com/pilosa/pilosa/v2/testhook" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/boltdb" + "github.com/molecula/featurebase/v2/testhook" + "github.com/molecula/featurebase/v2/topology" ) //var vv = pilosa.VV diff --git a/broadcast.go b/broadcast.go index cea51ed88..8e4285c96 100644 --- a/broadcast.go +++ b/broadcast.go @@ -17,7 +17,7 @@ package pilosa import ( "fmt" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2/topology" "github.com/pkg/errors" ) diff --git a/bsi.go b/bsi.go index afb7dd89a..06a7a316b 100644 --- a/bsi.go +++ b/bsi.go @@ -17,7 +17,7 @@ package pilosa import ( "math/bits" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2/roaring" ) // bsiData contains BSI-structured data. diff --git a/cache.go b/cache.go index 769392baf..7991d1aaa 100644 --- a/cache.go +++ b/cache.go @@ -23,9 +23,9 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/lru" - pb "github.com/pilosa/pilosa/v2/proto" - "github.com/pilosa/pilosa/v2/stats" + "github.com/molecula/featurebase/v2/lru" + pb "github.com/molecula/featurebase/v2/proto" + "github.com/molecula/featurebase/v2/stats" "github.com/pkg/errors" ) diff --git a/cache_test.go b/cache_test.go index fe7a3848a..65dc08f43 100644 --- a/cache_test.go +++ b/cache_test.go @@ -18,7 +18,7 @@ import ( "reflect" "testing" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" ) // Ensure cache stays constrained to its configured size. diff --git a/catcher.go b/catcher.go index 6b9e421c1..b807b8ea9 100644 --- a/catcher.go +++ b/catcher.go @@ -18,9 +18,9 @@ import ( "fmt" "io" - "github.com/pilosa/pilosa/v2/roaring" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - . "github.com/pilosa/pilosa/v2/vprint" + "github.com/molecula/featurebase/v2/roaring" + txkey "github.com/molecula/featurebase/v2/short_txkey" + . "github.com/molecula/featurebase/v2/vprint" ) // catcher is useful to report error locations with a diff --git a/client.go b/client.go index d06750aa0..a6273b7a6 100644 --- a/client.go +++ b/client.go @@ -19,8 +19,8 @@ import ( "io" "time" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/topology" + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/topology" ) // Bit represents the intersection of a row and a column. It can be specified by @@ -48,7 +48,7 @@ type FieldValue struct { // While I understand that putting the entire Client behind an interface might require this many methods, // I don't want to let it go unquestioned. // Another note from Travis: I think we eventually want to unify `InternalClient` with -// the `github.com/pilosa/pilosa/v2/client` client. +// the `github.com/molecula/featurebase/v2/client` client. // Doing that may obviate the need to refactor this. type InternalClient interface { InternalQueryClient diff --git a/client/batch.go b/client/batch.go index 9ec51d519..9cfd5b473 100644 --- a/client/batch.go +++ b/client/batch.go @@ -17,9 +17,9 @@ package client import ( "time" - "github.com/pilosa/pilosa/v2/client/egpool" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2/client/egpool" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/roaring" "github.com/pkg/errors" ) diff --git a/client/client.go b/client/client.go index 337535563..dc97b008b 100644 --- a/client/client.go +++ b/client/client.go @@ -34,13 +34,13 @@ import ( "github.com/golang/protobuf/proto" //nolint:staticcheck "github.com/opentracing/opentracing-go" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/logger" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/pb" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/stats" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/logger" + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/pb" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/stats" "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/client/client_it_test.go b/client/client_it_test.go index e6a88af5b..1b5ca2884 100644 --- a/client/client_it_test.go +++ b/client/client_it_test.go @@ -20,10 +20,10 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/disco" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/shardwidth" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2/disco" + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/shardwidth" + "github.com/molecula/featurebase/v2/test" "github.com/stretchr/testify/require" "golang.org/x/sync/errgroup" ) @@ -212,7 +212,7 @@ func TestClientAgainstCluster(t *testing.T) { _, err = cli.Query(qry) require.NoErrorf(t, err, "BatchQuery") - // XXX: The following is required to make this test pass. See: https://github.com/pilosa/pilosa/issues/625 + // XXX: The following is required to make this test pass. See: https://github.com/molecula/featurebase/issues/625 _, _, err = cli.HTTPRequest("POST", "/recalculate-caches", nil, nil) require.NoErrorf(t, err, "POST /recalculate-caches") diff --git a/client/client_test.go b/client/client_test.go index 1353b789b..d567dbdb4 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -23,7 +23,7 @@ import ( "reflect" "testing" - pnet "github.com/pilosa/pilosa/v2/net" + pnet "github.com/molecula/featurebase/v2/net" ) func TestQueryWithError(t *testing.T) { diff --git a/client/cluster.go b/client/cluster.go index 4c0df25db..b883e176c 100644 --- a/client/cluster.go +++ b/client/cluster.go @@ -20,7 +20,7 @@ package client import ( "sync" - pnet "github.com/pilosa/pilosa/v2/net" + pnet "github.com/molecula/featurebase/v2/net" ) // Cluster contains hosts in a Pilosa cluster. diff --git a/client/cluster_test.go b/client/cluster_test.go index caf1284f2..9b569be1d 100644 --- a/client/cluster_test.go +++ b/client/cluster_test.go @@ -20,7 +20,7 @@ package client import ( "testing" - pnet "github.com/pilosa/pilosa/v2/net" + pnet "github.com/molecula/featurebase/v2/net" ) func TestNewClusterWithHost(t *testing.T) { diff --git a/client/csv/csv.go b/client/csv/csv.go index 9c30a622e..54335a082 100644 --- a/client/csv/csv.go +++ b/client/csv/csv.go @@ -23,7 +23,7 @@ import ( "strings" "time" - "github.com/pilosa/pilosa/v2/client" + "github.com/molecula/featurebase/v2/client" ) // Format is the format of the data in the CSV file. diff --git a/client/csv/csv_it_test.go b/client/csv/csv_it_test.go index 159b801dd..25fc39f31 100644 --- a/client/csv/csv_it_test.go +++ b/client/csv/csv_it_test.go @@ -22,8 +22,8 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/client" - "github.com/pilosa/pilosa/v2/client/csv" + "github.com/molecula/featurebase/v2/client" + "github.com/molecula/featurebase/v2/client/csv" ) func TestCSVIterate(t *testing.T) { diff --git a/client/csv/csv_test.go b/client/csv/csv_test.go index 4ef162b8e..66acc34f7 100644 --- a/client/csv/csv_test.go +++ b/client/csv/csv_test.go @@ -21,9 +21,9 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/client" - "github.com/pilosa/pilosa/v2/client/csv" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/client" + "github.com/molecula/featurebase/v2/client/csv" ) func TestCSVColumnIterator(t *testing.T) { diff --git a/client/doc.go b/client/doc.go index ea7153e01..e66240863 100644 --- a/client/doc.go +++ b/client/doc.go @@ -24,7 +24,7 @@ Usage: import ( "fmt" - "github.com/pilosa/pilosa/v2/client" + "github.com/molecula/featurebase/v2/client" ) // Create a Client instance diff --git a/client/egpool/egpool_test.go b/client/egpool/egpool_test.go index 288c9fcb6..d9b81870e 100644 --- a/client/egpool/egpool_test.go +++ b/client/egpool/egpool_test.go @@ -18,7 +18,7 @@ import ( "errors" "testing" - "github.com/pilosa/pilosa/v2/client/egpool" + "github.com/molecula/featurebase/v2/client/egpool" ) func TestEGPool(t *testing.T) { diff --git a/client/orm.go b/client/orm.go index d8ad25ca1..5e8b4d76f 100644 --- a/client/orm.go +++ b/client/orm.go @@ -26,7 +26,7 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2/pql" "github.com/pkg/errors" ) diff --git a/client/orm_test.go b/client/orm_test.go index 7a6076d2e..cbb7f0c0b 100644 --- a/client/orm_test.go +++ b/client/orm_test.go @@ -26,8 +26,8 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" "github.com/pkg/errors" ) diff --git a/client/record_test.go b/client/record_test.go index 0bf6ac903..a0232883a 100644 --- a/client/record_test.go +++ b/client/record_test.go @@ -20,7 +20,7 @@ package client_test import ( "testing" - "github.com/pilosa/pilosa/v2/client" + "github.com/molecula/featurebase/v2/client" ) func TestColumnShard(t *testing.T) { diff --git a/client/response.go b/client/response.go index 0e7ba1f54..da774f18f 100644 --- a/client/response.go +++ b/client/response.go @@ -21,7 +21,7 @@ import ( "encoding/json" "fmt" - "github.com/pilosa/pilosa/v2/pb" + "github.com/molecula/featurebase/v2/pb" ) // QueryResponse types. diff --git a/client/response_test.go b/client/response_test.go index 7511173c5..19ce3beec 100644 --- a/client/response_test.go +++ b/client/response_test.go @@ -24,7 +24,7 @@ import ( "reflect" "testing" - "github.com/pilosa/pilosa/v2/pb" + "github.com/molecula/featurebase/v2/pb" ) func TestNewRowResultFromInternal(t *testing.T) { diff --git a/client/shardnodes.go b/client/shardnodes.go index a0f0a296f..d7da05c59 100644 --- a/client/shardnodes.go +++ b/client/shardnodes.go @@ -20,7 +20,7 @@ package client import ( "sync" - pnet "github.com/pilosa/pilosa/v2/net" + pnet "github.com/molecula/featurebase/v2/net" ) type shardNodes struct { diff --git a/cluster.go b/cluster.go index 9771ca41c..e86883c1c 100644 --- a/cluster.go +++ b/cluster.go @@ -23,11 +23,11 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/topology" - "github.com/pilosa/pilosa/v2/tracing" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/topology" + "github.com/molecula/featurebase/v2/tracing" "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/cluster_internal_test.go b/cluster_internal_test.go index 9484b7721..8af84efed 100644 --- a/cluster_internal_test.go +++ b/cluster_internal_test.go @@ -25,11 +25,11 @@ import ( "time" "github.com/davecgh/go-spew/spew" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/testhook" - "github.com/pilosa/pilosa/v2/topology" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/testhook" + "github.com/molecula/featurebase/v2/topology" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" ) diff --git a/cmd.go b/cmd.go index b9e46a8a8..c27e3cb4a 100644 --- a/cmd.go +++ b/cmd.go @@ -17,7 +17,7 @@ package pilosa import ( "io" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2/logger" ) // CmdIO holds standard unix inputs and outputs. diff --git a/cmd/backup.go b/cmd/backup.go index 85a77dd15..e81aa0483 100644 --- a/cmd/backup.go +++ b/cmd/backup.go @@ -18,7 +18,7 @@ import ( "context" "io" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2/ctl" "github.com/spf13/cobra" ) diff --git a/cmd/badloader/badloader.go b/cmd/badloader/badloader.go index 8fee28640..fabb50216 100644 --- a/cmd/badloader/badloader.go +++ b/cmd/badloader/badloader.go @@ -26,10 +26,10 @@ import ( "io/ioutil" gohttp "net/http" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - pnet "github.com/pilosa/pilosa/v2/net" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + pnet "github.com/molecula/featurebase/v2/net" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "os" "strconv" diff --git a/cmd/check.go b/cmd/check.go index 4d075e4ad..f7bdfa24b 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/cobra" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2/ctl" ) var checker *ctl.CheckCommand diff --git a/cmd/chksum.go b/cmd/chksum.go index 8732cd155..187174e5b 100644 --- a/cmd/chksum.go +++ b/cmd/chksum.go @@ -18,7 +18,7 @@ import ( "context" "io" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2/ctl" "github.com/spf13/cobra" ) diff --git a/cmd/config.go b/cmd/config.go index db59580ff..6ba4e6c73 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -20,8 +20,8 @@ import ( "github.com/spf13/cobra" - "github.com/pilosa/pilosa/v2/ctl" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2/ctl" + "github.com/molecula/featurebase/v2/server" ) var conf *ctl.ConfigCommand diff --git a/cmd/convert.go b/cmd/convert.go index 86452905d..0fcebf055 100644 --- a/cmd/convert.go +++ b/cmd/convert.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/cobra" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2/ctl" ) var inspector *ctl.InspectCommand diff --git a/cmd/export.go b/cmd/export.go index bceedb98a..c820f8883 100644 --- a/cmd/export.go +++ b/cmd/export.go @@ -20,7 +20,7 @@ import ( "github.com/spf13/cobra" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2/ctl" ) var Exporter *ctl.ExportCommand diff --git a/cmd/export_test.go b/cmd/export_test.go index bd14eaba1..69e512aa1 100644 --- a/cmd/export_test.go +++ b/cmd/export_test.go @@ -18,7 +18,7 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/cmd" + "github.com/molecula/featurebase/v2/cmd" ) func TestExportHelp(t *testing.T) { diff --git a/cmd/generate_config.go b/cmd/generate_config.go index 82230159c..8d283352e 100644 --- a/cmd/generate_config.go +++ b/cmd/generate_config.go @@ -20,7 +20,7 @@ import ( "github.com/spf13/cobra" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2/ctl" ) var generateConf *ctl.GenerateConfigCommand diff --git a/cmd/import.go b/cmd/import.go index cd091dc9a..a58421971 100644 --- a/cmd/import.go +++ b/cmd/import.go @@ -18,8 +18,8 @@ import ( "context" "io" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/ctl" "github.com/spf13/cobra" ) diff --git a/cmd/import_test.go b/cmd/import_test.go index e8c0ff2fb..8df7276b4 100644 --- a/cmd/import_test.go +++ b/cmd/import_test.go @@ -18,10 +18,10 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" - "github.com/pilosa/pilosa/v2/cmd" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2/cmd" + "github.com/molecula/featurebase/v2/pql" ) func TestImportHelp(t *testing.T) { diff --git a/cmd/pilosa-bench/main.go b/cmd/pilosa-bench/main.go index 1502dae23..fda09b9ce 100644 --- a/cmd/pilosa-bench/main.go +++ b/cmd/pilosa-bench/main.go @@ -29,8 +29,8 @@ import ( "strings" "time" - "github.com/pilosa/pilosa/v2" - phttp "github.com/pilosa/pilosa/v2/http" + "github.com/molecula/featurebase/v2" + phttp "github.com/molecula/featurebase/v2/http" "golang.org/x/sync/errgroup" ) diff --git a/cmd/pilosa/main.go b/cmd/pilosa/main.go index c880d5e6b..ffabd808c 100644 --- a/cmd/pilosa/main.go +++ b/cmd/pilosa/main.go @@ -21,7 +21,7 @@ import ( "fmt" "os" - "github.com/pilosa/pilosa/v2/cmd" + "github.com/molecula/featurebase/v2/cmd" ) func main() { diff --git a/cmd/random-query/main.go b/cmd/random-query/main.go index a42155cf1..1faafad1e 100644 --- a/cmd/random-query/main.go +++ b/cmd/random-query/main.go @@ -26,10 +26,10 @@ import ( "strings" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/pql" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/pql" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) // RandomQueryConfig diff --git a/cmd/random-query/main_test.go b/cmd/random-query/main_test.go index 696959d4b..eb6cc9040 100644 --- a/cmd/random-query/main_test.go +++ b/cmd/random-query/main_test.go @@ -20,12 +20,12 @@ import ( "strconv" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/boltdb" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/boltdb" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func Test_RandomQuery(t *testing.T) { diff --git a/cmd/rbf.go b/cmd/rbf.go index 5abcf9db5..aaeb2cd61 100644 --- a/cmd/rbf.go +++ b/cmd/rbf.go @@ -21,7 +21,7 @@ import ( "io" "strconv" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2/ctl" "github.com/spf13/cobra" ) diff --git a/cmd/restore.go b/cmd/restore.go index e713ad74b..88605b2ad 100644 --- a/cmd/restore.go +++ b/cmd/restore.go @@ -18,7 +18,7 @@ import ( "context" "io" - "github.com/pilosa/pilosa/v2/ctl" + "github.com/molecula/featurebase/v2/ctl" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index 73b9babfc..0f6a7f6a6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -19,7 +19,7 @@ import ( "io" "strings" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" "github.com/spf13/cobra" "github.com/spf13/pflag" "github.com/spf13/viper" diff --git a/cmd/root_test.go b/cmd/root_test.go index 26da96799..2683b18df 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -25,8 +25,8 @@ import ( "time" - "github.com/pilosa/pilosa/v2/cmd" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/cmd" + "github.com/molecula/featurebase/v2/testhook" "github.com/spf13/cobra" ) diff --git a/cmd/server.go b/cmd/server.go index 1fe9e8400..2963d2010 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -17,10 +17,10 @@ package cmd import ( "io" - "github.com/pilosa/pilosa/v2/ctl" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/tracing" - "github.com/pilosa/pilosa/v2/tracing/opentracing" + "github.com/molecula/featurebase/v2/ctl" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/tracing" + "github.com/molecula/featurebase/v2/tracing/opentracing" "github.com/pkg/errors" "github.com/spf13/cobra" jaegercfg "github.com/uber/jaeger-client-go/config" diff --git a/cmd/server_test.go b/cmd/server_test.go index 452d1db18..83b8129d0 100644 --- a/cmd/server_test.go +++ b/cmd/server_test.go @@ -20,10 +20,10 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/cmd" - _ "github.com/pilosa/pilosa/v2/test" - "github.com/pilosa/pilosa/v2/testhook" - "github.com/pilosa/pilosa/v2/toml" + "github.com/molecula/featurebase/v2/cmd" + _ "github.com/molecula/featurebase/v2/test" + "github.com/molecula/featurebase/v2/testhook" + "github.com/molecula/featurebase/v2/toml" "github.com/pkg/errors" ) diff --git a/cmd/slurp/slurp.go b/cmd/slurp/slurp.go index 6d5c3466e..cee15aa4c 100644 --- a/cmd/slurp/slurp.go +++ b/cmd/slurp/slurp.go @@ -30,10 +30,10 @@ import ( "strings" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - pnet "github.com/pilosa/pilosa/v2/net" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + pnet "github.com/molecula/featurebase/v2/net" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) // slurp: slurp is a load-tester for importing bulk data. diff --git a/ctl/backup.go b/ctl/backup.go index d1c2cc8cd..e68ce52d2 100644 --- a/ctl/backup.go +++ b/ctl/backup.go @@ -24,10 +24,10 @@ import ( "os" "path/filepath" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/topology" "golang.org/x/sync/errgroup" ) diff --git a/ctl/check.go b/ctl/check.go index fe8145389..7278521d0 100644 --- a/ctl/check.go +++ b/ctl/check.go @@ -22,8 +22,8 @@ import ( "path/filepath" "syscall" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/roaring" "github.com/pkg/errors" ) diff --git a/ctl/check_test.go b/ctl/check_test.go index f5f466fd6..5785b6396 100644 --- a/ctl/check_test.go +++ b/ctl/check_test.go @@ -23,7 +23,7 @@ import ( "context" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) func TestCheckCommand_RunCacheFile(t *testing.T) { diff --git a/ctl/chksum.go b/ctl/chksum.go index 3f788dba5..81fb28aae 100644 --- a/ctl/chksum.go +++ b/ctl/chksum.go @@ -21,8 +21,8 @@ import ( "io" "github.com/cespare/xxhash" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/server" ) // ChkSumCommand represents a command for backing up a Pilosa node. diff --git a/ctl/common.go b/ctl/common.go index 49e35afc6..976c83010 100644 --- a/ctl/common.go +++ b/ctl/common.go @@ -15,9 +15,9 @@ package ctl import ( - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/server" "github.com/pkg/errors" "github.com/spf13/pflag" ) diff --git a/ctl/config.go b/ctl/config.go index 14cf6c7f5..ed89dd481 100644 --- a/ctl/config.go +++ b/ctl/config.go @@ -20,8 +20,8 @@ import ( "io" toml "github.com/pelletier/go-toml" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/server" ) // ConfigCommand represents a command for printing a default config. diff --git a/ctl/config_test.go b/ctl/config_test.go index a8f94562d..b4036de06 100644 --- a/ctl/config_test.go +++ b/ctl/config_test.go @@ -22,7 +22,7 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2/server" ) func TestConfigCommand_Run(t *testing.T) { diff --git a/ctl/export.go b/ctl/export.go index 40e5b2bbf..8c1e48099 100644 --- a/ctl/export.go +++ b/ctl/export.go @@ -19,8 +19,8 @@ import ( "io" "os" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/server" "github.com/pkg/errors" ) diff --git a/ctl/export_test.go b/ctl/export_test.go index 66314a4ef..53fb4fd14 100644 --- a/ctl/export_test.go +++ b/ctl/export_test.go @@ -21,8 +21,8 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/test" ) func TestExportCommand_Validation(t *testing.T) { diff --git a/ctl/generate_config.go b/ctl/generate_config.go index f58ff71c4..f9f28bac9 100644 --- a/ctl/generate_config.go +++ b/ctl/generate_config.go @@ -20,8 +20,8 @@ import ( "io" "github.com/pelletier/go-toml" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/server" "github.com/pkg/errors" ) diff --git a/ctl/import.go b/ctl/import.go index 49d820bf3..f53ee8e19 100644 --- a/ctl/import.go +++ b/ctl/import.go @@ -26,10 +26,10 @@ import ( "strconv" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/server" "github.com/pkg/errors" ) diff --git a/ctl/import_test.go b/ctl/import_test.go index e24782494..fa82637da 100644 --- a/ctl/import_test.go +++ b/ctl/import_test.go @@ -27,9 +27,9 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/test" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/test" + "github.com/molecula/featurebase/v2/testhook" ) func TestImportCommand_Validation(t *testing.T) { diff --git a/ctl/inspect.go b/ctl/inspect.go index 1ed1832fd..bbeb9d908 100644 --- a/ctl/inspect.go +++ b/ctl/inspect.go @@ -32,9 +32,9 @@ import ( "unsafe" "github.com/gogo/protobuf/proto" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pb" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pb" + "github.com/molecula/featurebase/v2/roaring" "github.com/pkg/errors" ) diff --git a/ctl/inspect_test.go b/ctl/inspect_test.go index 97599dd68..eca8192d1 100644 --- a/ctl/inspect_test.go +++ b/ctl/inspect_test.go @@ -22,7 +22,7 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) func TestInspectCommand_Run(t *testing.T) { diff --git a/ctl/main_test.go b/ctl/main_test.go index 3a724eafd..294e03d9a 100644 --- a/ctl/main_test.go +++ b/ctl/main_test.go @@ -22,7 +22,7 @@ import ( _ "net/http/pprof" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) func TestMain(m *testing.M) { diff --git a/ctl/rbf_check.go b/ctl/rbf_check.go index 1d08f7a0c..2474fab60 100644 --- a/ctl/rbf_check.go +++ b/ctl/rbf_check.go @@ -19,8 +19,8 @@ import ( "fmt" "io" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/rbf" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/rbf" ) // RBFCheckCommand represents a command for running a consistency check on RBF. diff --git a/ctl/rbf_dump.go b/ctl/rbf_dump.go index 32295d6f3..89710ba2a 100644 --- a/ctl/rbf_dump.go +++ b/ctl/rbf_dump.go @@ -21,8 +21,8 @@ import ( "io" "strings" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/rbf" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/rbf" ) // RBFDumpCommand represents a command for dumping raw data for an RBF page. diff --git a/ctl/rbf_page.go b/ctl/rbf_page.go index de6a168c1..5ba6054aa 100644 --- a/ctl/rbf_page.go +++ b/ctl/rbf_page.go @@ -19,8 +19,8 @@ import ( "fmt" "io" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/rbf" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/rbf" ) // RBFPageCommand represents a command for printing data for a single RBF page. diff --git a/ctl/rbf_pages.go b/ctl/rbf_pages.go index 9a3e918c2..4006536a8 100644 --- a/ctl/rbf_pages.go +++ b/ctl/rbf_pages.go @@ -19,9 +19,9 @@ import ( "fmt" "io" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/rbf" - "github.com/pilosa/pilosa/v2/txkey" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/rbf" + "github.com/molecula/featurebase/v2/txkey" ) // RBFPagesCommand represents a command for printing a list of RBF page metadata. diff --git a/ctl/restore.go b/ctl/restore.go index 6a98aa9f1..26d72c788 100644 --- a/ctl/restore.go +++ b/ctl/restore.go @@ -26,9 +26,9 @@ import ( "strconv" "strings" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/topology" "golang.org/x/sync/errgroup" ) diff --git a/ctl/server.go b/ctl/server.go index 552d5d1c4..b4f8b8029 100644 --- a/ctl/server.go +++ b/ctl/server.go @@ -18,8 +18,8 @@ import ( "fmt" "time" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/storage" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/storage" "github.com/spf13/cobra" ) diff --git a/ctl/server_test.go b/ctl/server_test.go index b99a2ed25..bb0837423 100644 --- a/ctl/server_test.go +++ b/ctl/server_test.go @@ -18,7 +18,7 @@ import ( "bytes" "testing" - "github.com/pilosa/pilosa/v2/server" + "github.com/molecula/featurebase/v2/server" "github.com/spf13/cobra" ) diff --git a/dbshard.go b/dbshard.go index 628cad194..606fe75f2 100644 --- a/dbshard.go +++ b/dbshard.go @@ -23,12 +23,12 @@ import ( "strings" "sync" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - "github.com/pilosa/pilosa/v2/storage" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" + txkey "github.com/molecula/featurebase/v2/short_txkey" + "github.com/molecula/featurebase/v2/storage" "github.com/pkg/errors" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) var _ = sort.Sort diff --git a/dbshard_internal_test.go b/dbshard_internal_test.go index 55ddb077c..81d64436c 100644 --- a/dbshard_internal_test.go +++ b/dbshard_internal_test.go @@ -21,11 +21,11 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/rbf" - "github.com/pilosa/pilosa/v2/shardwidth" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/rbf" + "github.com/molecula/featurebase/v2/shardwidth" + txkey "github.com/molecula/featurebase/v2/short_txkey" + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) // Shard per db evaluation diff --git a/dbshard_test.go b/dbshard_test.go index 0d6586e18..c53db8302 100644 --- a/dbshard_test.go +++ b/dbshard_test.go @@ -20,12 +20,12 @@ import ( "reflect" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/boltdb" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/boltdb" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func TestAPI_SimplerOneNode_ImportColumnKey(t *testing.T) { diff --git a/delete_test.go b/delete_test.go index b228b76c3..061b72d1d 100644 --- a/delete_test.go +++ b/delete_test.go @@ -21,8 +21,8 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/test" "github.com/stretchr/testify/require" ) diff --git a/diagnostics.go b/diagnostics.go index 0f835b9d1..705cc5b67 100644 --- a/diagnostics.go +++ b/diagnostics.go @@ -24,7 +24,7 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2/logger" "github.com/pkg/errors" ) @@ -137,11 +137,11 @@ func (d *diagnosticsCollector) compareVersion(value string) error { localVersion := versionSegments(d.version) if localVersion[0] < currentVersion[0] { //Major - return fmt.Errorf("you are running Pilosa %s, a newer version (%s) is available: https://github.com/pilosa/pilosa/releases", d.version, value) + return fmt.Errorf("you are running Pilosa %s, a newer version (%s) is available: https://github.com/molecula/featurebase/releases", d.version, value) } else if localVersion[1] < currentVersion[1] && localVersion[0] == currentVersion[0] { // Minor - return fmt.Errorf("you are running Pilosa %s, the latest minor release is %s: https://github.com/pilosa/pilosa/releases", d.version, value) + return fmt.Errorf("you are running Pilosa %s, the latest minor release is %s: https://github.com/molecula/featurebase/releases", d.version, value) } else if localVersion[2] < currentVersion[2] && localVersion[0] == currentVersion[0] && localVersion[1] == currentVersion[1] { // Patch - return fmt.Errorf("there is a new patch release of Pilosa available: %s: https://github.com/pilosa/pilosa/releases", value) + return fmt.Errorf("there is a new patch release of Pilosa available: %s: https://github.com/molecula/featurebase/releases", value) } return nil diff --git a/diagnostics_internal_test.go b/diagnostics_internal_test.go index d43196866..5ab532c7c 100644 --- a/diagnostics_internal_test.go +++ b/diagnostics_internal_test.go @@ -23,7 +23,7 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2/logger" ) func TestDiagnosticsClient(t *testing.T) { diff --git a/encoding/proto/proto.go b/encoding/proto/proto.go index 33c05fe50..5904f82e8 100644 --- a/encoding/proto/proto.go +++ b/encoding/proto/proto.go @@ -19,13 +19,13 @@ import ( "time" "github.com/gogo/protobuf/proto" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/disco" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/pb" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/disco" + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/pb" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/topology" "github.com/pkg/errors" ) diff --git a/etcd/embed.go b/etcd/embed.go index 25800c4de..67711d4c1 100644 --- a/etcd/embed.go +++ b/etcd/embed.go @@ -27,9 +27,9 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/topology" "github.com/pkg/errors" "go.etcd.io/etcd/clientv3" "go.etcd.io/etcd/clientv3/clientv3util" diff --git a/etcd/leasedkv.go b/etcd/leasedkv.go index 515c70ac4..5d028316b 100644 --- a/etcd/leasedkv.go +++ b/etcd/leasedkv.go @@ -20,7 +20,7 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/disco" + "github.com/molecula/featurebase/v2/disco" "github.com/pkg/errors" "go.etcd.io/etcd/clientv3" "go.etcd.io/etcd/clientv3/clientv3util" diff --git a/etcd/leasedkv_test.go b/etcd/leasedkv_test.go index 8a8077764..0312ebc1f 100644 --- a/etcd/leasedkv_test.go +++ b/etcd/leasedkv_test.go @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/testhook" "go.etcd.io/etcd/embed" "go.etcd.io/etcd/etcdserver/api/v3client" ) diff --git a/event.go b/event.go index 39e688f07..3f555bcbb 100644 --- a/event.go +++ b/event.go @@ -14,7 +14,7 @@ package pilosa -import "github.com/pilosa/pilosa/v2/topology" +import "github.com/molecula/featurebase/v2/topology" // NodeEventType are the types of node events. type NodeEventType int diff --git a/executor.go b/executor.go index 449bd69ee..9283bb2f6 100644 --- a/executor.go +++ b/executor.go @@ -31,14 +31,14 @@ import ( "golang.org/x/sync/errgroup" "github.com/lib/pq" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/proto" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/shardwidth" - "github.com/pilosa/pilosa/v2/testhook" - "github.com/pilosa/pilosa/v2/topology" - "github.com/pilosa/pilosa/v2/tracing" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/proto" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/shardwidth" + "github.com/molecula/featurebase/v2/testhook" + "github.com/molecula/featurebase/v2/topology" + "github.com/molecula/featurebase/v2/tracing" "github.com/pkg/errors" ) @@ -645,7 +645,7 @@ func (e *executor) executeCall(ctx context.Context, qcx *Qcx, index string, c *p } // Fixes #2009 - // See: https://github.com/pilosa/pilosa/issues/2009 + // See: https://github.com/molecula/featurebase/issues/2009 // TODO: Remove at version 2.0 if e.detectRangeCall(c) { e.Holder.Logger.Infof("DEPRECATED: Range() is deprecated, please use Row() instead.") diff --git a/executor_internal_test.go b/executor_internal_test.go index fbc3f55d6..4aa37971c 100644 --- a/executor_internal_test.go +++ b/executor_internal_test.go @@ -22,8 +22,8 @@ import ( "strconv" "testing" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/testhook" ) func TestExecutor_TranslateRowsOnBool(t *testing.T) { diff --git a/executor_test.go b/executor_test.go index 856c2b600..23cdf4b4d 100644 --- a/executor_test.go +++ b/executor_test.go @@ -38,17 +38,17 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/boltdb" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/proto" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/storage" - "github.com/pilosa/pilosa/v2/test" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/boltdb" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/proto" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/storage" + "github.com/molecula/featurebase/v2/test" + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" ) diff --git a/field.go b/field.go index bbfe55227..0bb88d6ce 100644 --- a/field.go +++ b/field.go @@ -28,12 +28,12 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/testhook" - "github.com/pilosa/pilosa/v2/tracing" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/testhook" + "github.com/molecula/featurebase/v2/tracing" "github.com/pkg/errors" ) diff --git a/field_internal_test.go b/field_internal_test.go index 337909494..41f288016 100644 --- a/field_internal_test.go +++ b/field_internal_test.go @@ -25,10 +25,10 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) // Ensure a bsiGroup can adjust to its baseValue. diff --git a/field_test.go b/field_test.go index 3deef292b..38056e8ac 100644 --- a/field_test.go +++ b/field_test.go @@ -19,10 +19,10 @@ import ( "testing" "github.com/google/go-cmp/cmp" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/test" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/test" + "github.com/molecula/featurebase/v2/testhook" ) // Ensure a field can set & read a bsiGroup value. diff --git a/fragment.go b/fragment.go index d117b0459..8b7f55f46 100644 --- a/fragment.go +++ b/fragment.go @@ -40,17 +40,17 @@ import ( "github.com/cespare/xxhash" "github.com/gogo/protobuf/proto" - "github.com/pilosa/pilosa/v2/logger" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/pb" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/shardwidth" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/testhook" - "github.com/pilosa/pilosa/v2/topology" - "github.com/pilosa/pilosa/v2/tracing" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/logger" + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/pb" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/shardwidth" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/testhook" + "github.com/molecula/featurebase/v2/topology" + "github.com/molecula/featurebase/v2/tracing" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" ) diff --git a/fragment_internal_test.go b/fragment_internal_test.go index d7bf8e8dd..7de7b5c1f 100644 --- a/fragment_internal_test.go +++ b/fragment_internal_test.go @@ -36,11 +36,11 @@ import ( "testing/quick" "github.com/davecgh/go-spew/spew" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/storage" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/storage" + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/gcnotify/gcnotify.go b/gcnotify/gcnotify.go index ae1676ccc..3e57a9f5f 100644 --- a/gcnotify/gcnotify.go +++ b/gcnotify/gcnotify.go @@ -16,7 +16,7 @@ package gcnotify import ( "github.com/CAFxX/gcnotifier" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" ) // Ensure ActiveGCNotifier implements interface. diff --git a/gendebug_test.go b/gendebug_test.go index c42e76801..00a8477a3 100644 --- a/gendebug_test.go +++ b/gendebug_test.go @@ -21,7 +21,7 @@ import ( "fmt" "runtime" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) func examineResults() error { diff --git a/generation.go b/generation.go index 9c5d66e9f..8063e07dd 100644 --- a/generation.go +++ b/generation.go @@ -25,9 +25,9 @@ import ( "syscall" "time" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/syswrap" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/syswrap" "github.com/pkg/errors" ) diff --git a/go.mod b/go.mod index 3eb1fdbe6..953ef0af3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pilosa/pilosa/v2 +module github.com/molecula/featurebase/v2 replace go.etcd.io/etcd => github.com/molecula/etcd v0.0.0-20210621160528-2cd93f1df0e7 diff --git a/gopsutil/systeminfo.go b/gopsutil/systeminfo.go index 5374e00af..579de9b95 100644 --- a/gopsutil/systeminfo.go +++ b/gopsutil/systeminfo.go @@ -19,7 +19,7 @@ import ( "runtime" "strings" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" "github.com/shirou/gopsutil/v3/cpu" "github.com/shirou/gopsutil/v3/disk" "github.com/shirou/gopsutil/v3/host" diff --git a/gopsutil/systeminfo_test.go b/gopsutil/systeminfo_test.go index 330535c97..a90fd35cc 100644 --- a/gopsutil/systeminfo_test.go +++ b/gopsutil/systeminfo_test.go @@ -17,8 +17,8 @@ package gopsutil_test import ( "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/gopsutil" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/gopsutil" ) func TestSystemInfo(t *testing.T) { diff --git a/handler.go b/handler.go index ee9a7d8b5..eff3e3a37 100644 --- a/handler.go +++ b/handler.go @@ -18,7 +18,7 @@ import ( "encoding/json" "time" - "github.com/pilosa/pilosa/v2/tracing" + "github.com/molecula/featurebase/v2/tracing" "github.com/pkg/errors" ) diff --git a/hash/blake3_test.go b/hash/blake3_test.go index af2342ea3..9223ddeb8 100644 --- a/hash/blake3_test.go +++ b/hash/blake3_test.go @@ -22,7 +22,7 @@ import ( "path" "testing" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) func TestBlake3Hasher(t *testing.T) { diff --git a/holder.go b/holder.go index d05401d19..0ec881add 100644 --- a/holder.go +++ b/holder.go @@ -28,15 +28,15 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/logger" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/storage" - "github.com/pilosa/pilosa/v2/testhook" - "github.com/pilosa/pilosa/v2/topology" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/logger" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/storage" + "github.com/molecula/featurebase/v2/testhook" + "github.com/molecula/featurebase/v2/topology" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/holder_internal_test.go b/holder_internal_test.go index 9b0048bcf..c87b6bf73 100644 --- a/holder_internal_test.go +++ b/holder_internal_test.go @@ -20,9 +20,9 @@ import ( "os" "testing" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) var _ = fmt.Printf diff --git a/holder_test.go b/holder_test.go index cece22830..6aeeab79d 100644 --- a/holder_test.go +++ b/holder_test.go @@ -24,9 +24,9 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/test" "github.com/pkg/errors" ) diff --git a/http/client.go b/http/client.go index 29f943699..a51f54233 100644 --- a/http/client.go +++ b/http/client.go @@ -30,11 +30,11 @@ import ( "strings" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/encoding/proto" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/topology" - "github.com/pilosa/pilosa/v2/tracing" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/encoding/proto" + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/topology" + "github.com/molecula/featurebase/v2/tracing" "github.com/pkg/errors" ) diff --git a/http/client_test.go b/http/client_test.go index f9004821a..d78b04e08 100644 --- a/http/client_test.go +++ b/http/client_test.go @@ -27,12 +27,12 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" + "github.com/molecula/featurebase/v2/topology" "github.com/pkg/errors" ) diff --git a/http/handler.go b/http/handler.go index 444df39db..96c7edf98 100644 --- a/http/handler.go +++ b/http/handler.go @@ -40,13 +40,13 @@ import ( "github.com/gorilla/handlers" "github.com/gorilla/mux" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/encoding/proto" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/rbf" - "github.com/pilosa/pilosa/v2/topology" - "github.com/pilosa/pilosa/v2/tracing" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/encoding/proto" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/rbf" + "github.com/molecula/featurebase/v2/topology" + "github.com/molecula/featurebase/v2/tracing" "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus/promhttp" dto "github.com/prometheus/client_model/go" diff --git a/http/handler_internal_test.go b/http/handler_internal_test.go index 466030a24..b3a3b8550 100644 --- a/http/handler_internal_test.go +++ b/http/handler_internal_test.go @@ -21,8 +21,8 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" ) // Test custom UnmarshalJSON for postIndexRequest object diff --git a/http/handler_test.go b/http/handler_test.go index 74be0c5c1..e702d6e09 100644 --- a/http/handler_test.go +++ b/http/handler_test.go @@ -19,9 +19,9 @@ import ( "net" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/test" ) func TestHandlerOptions(t *testing.T) { diff --git a/http/translator.go b/http/translator.go index a5d1e4152..67deebbc2 100644 --- a/http/translator.go +++ b/http/translator.go @@ -25,8 +25,8 @@ import ( "reflect" "sync" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/logger" ) func GetOpenTranslateReaderFunc(client *http.Client) pilosa.OpenTranslateReaderFunc { diff --git a/http/translator_test.go b/http/translator_test.go index 928d11a1e..065876553 100644 --- a/http/translator_test.go +++ b/http/translator_test.go @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/test" ) func TestTranslateStore_EntryReader(t *testing.T) { diff --git a/idalloc_test.go b/idalloc_test.go index cc2ee49af..dff559146 100644 --- a/idalloc_test.go +++ b/idalloc_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" bolt "go.etcd.io/bbolt" ) diff --git a/index.go b/index.go index 18fa1d49e..b7204007f 100644 --- a/index.go +++ b/index.go @@ -24,11 +24,11 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/index_internal_test.go b/index_internal_test.go index 909278b2b..a8cd51706 100644 --- a/index_internal_test.go +++ b/index_internal_test.go @@ -17,7 +17,7 @@ package pilosa import ( "testing" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) // mustOpenIndex returns a new, opened index at a temporary path. Panic on error. diff --git a/index_test.go b/index_test.go index bad61c4dc..149133108 100644 --- a/index_test.go +++ b/index_test.go @@ -18,10 +18,10 @@ import ( "reflect" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/test" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/test" + "github.com/molecula/featurebase/v2/testhook" "github.com/pkg/errors" ) diff --git a/internal/clustertests/cluster_test.go b/internal/clustertests/cluster_test.go index b7d700a48..892e66383 100644 --- a/internal/clustertests/cluster_test.go +++ b/internal/clustertests/cluster_test.go @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/disco" - picli "github.com/pilosa/pilosa/v2/http" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/disco" + picli "github.com/molecula/featurebase/v2/http" ) func TestClusterStuff(t *testing.T) { diff --git a/internal/test/querygenerator.go b/internal/test/querygenerator.go index 1964b4ba9..baf3e1697 100644 --- a/internal/test/querygenerator.go +++ b/internal/test/querygenerator.go @@ -19,7 +19,7 @@ import ( "strconv" "strings" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2/pql" ) type Args map[string]interface{} diff --git a/internal/test/querygenerator_test.go b/internal/test/querygenerator_test.go index 840c209c2..bea598a2a 100644 --- a/internal/test/querygenerator_test.go +++ b/internal/test/querygenerator_test.go @@ -17,7 +17,7 @@ package test import ( "testing" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2/pql" ) func TestPQL_Generator(t *testing.T) { diff --git a/iterator.go b/iterator.go index c8b17c199..8a2a671e5 100644 --- a/iterator.go +++ b/iterator.go @@ -17,7 +17,7 @@ package pilosa import ( "fmt" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2/roaring" ) // iterator is an interface for looping over row/column pairs. diff --git a/logger/filewriter_test.go b/logger/filewriter_test.go index 837a36be4..df7501e5c 100644 --- a/logger/filewriter_test.go +++ b/logger/filewriter_test.go @@ -30,7 +30,7 @@ import ( "os" "testing" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) // TestReopenAppend -- make sure we always append to an existing file diff --git a/main_test.go b/main_test.go index 3957de633..90f3cf214 100644 --- a/main_test.go +++ b/main_test.go @@ -22,7 +22,7 @@ import ( _ "net/http/pprof" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) func TestMain(m *testing.M) { diff --git a/mmap_test.go b/mmap_test.go index 01dad0ffb..2a4ea14c7 100644 --- a/mmap_test.go +++ b/mmap_test.go @@ -20,8 +20,8 @@ import ( "runtime" "testing" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/syswrap" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/syswrap" ) type cv struct { diff --git a/mock/translator.go b/mock/translator.go index e7e88644f..a482349c1 100644 --- a/mock/translator.go +++ b/mock/translator.go @@ -18,7 +18,7 @@ import ( "context" "io" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" ) type TranslateStore struct { diff --git a/pg/pgtest/handler.go b/pg/pgtest/handler.go index c9ca64c89..b146359d8 100644 --- a/pg/pgtest/handler.go +++ b/pg/pgtest/handler.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/pilosa/pilosa/v2/pg" + "github.com/molecula/featurebase/v2/pg" ) // HandlerFunc implements a postgres query handler with a function. diff --git a/pg/pgtest/server.go b/pg/pgtest/server.go index fe7c8046f..c5687f5e5 100644 --- a/pg/pgtest/server.go +++ b/pg/pgtest/server.go @@ -20,7 +20,7 @@ import ( "net" "testing" - "github.com/pilosa/pilosa/v2/pg" + "github.com/molecula/featurebase/v2/pg" "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/pg/pgtest/tls.go b/pg/pgtest/tls.go index 53e942e80..a8a4b46ee 100644 --- a/pg/pgtest/tls.go +++ b/pg/pgtest/tls.go @@ -25,7 +25,7 @@ import ( "math/big" "time" - "github.com/pilosa/pilosa/v2/pg" + "github.com/molecula/featurebase/v2/pg" "github.com/pkg/errors" ) diff --git a/pg/protocol.go b/pg/protocol.go index f7016ac9f..222a9055f 100644 --- a/pg/protocol.go +++ b/pg/protocol.go @@ -29,7 +29,7 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/pg/message" + "github.com/molecula/featurebase/v2/pg/message" "github.com/pkg/errors" ) diff --git a/pg/query.go b/pg/query.go index 8b95b4df8..cc81d490f 100644 --- a/pg/query.go +++ b/pg/query.go @@ -18,7 +18,7 @@ import ( "context" "fmt" - "github.com/pilosa/pilosa/v2/pg/message" + "github.com/molecula/featurebase/v2/pg/message" "github.com/pkg/errors" ) diff --git a/pg/server.go b/pg/server.go index f53cdda8b..071024385 100644 --- a/pg/server.go +++ b/pg/server.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2/logger" ) // Server is a postgres wire protocol server. diff --git a/pg/server_test.go b/pg/server_test.go index 7ab8b45d8..6a4693855 100644 --- a/pg/server_test.go +++ b/pg/server_test.go @@ -28,9 +28,9 @@ import ( "time" "github.com/lib/pq" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/pg" - "github.com/pilosa/pilosa/v2/pg/pgtest" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/pg" + "github.com/molecula/featurebase/v2/pg/pgtest" ) // TestStartupTimeout tests that an incoming connection that does nothing times out and gets closed. diff --git a/pg/type.go b/pg/type.go index 7a89cc947..67e56d3e7 100644 --- a/pg/type.go +++ b/pg/type.go @@ -14,7 +14,7 @@ package pg -import "github.com/pilosa/pilosa/v2/pg/message" +import "github.com/molecula/featurebase/v2/pg/message" // Type represents a postgres type. type Type struct { diff --git a/pilosa.go b/pilosa.go index de309a21f..6359871a1 100644 --- a/pilosa.go +++ b/pilosa.go @@ -19,9 +19,9 @@ import ( "regexp" "time" - "github.com/pilosa/pilosa/v2/disco" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/storage" + "github.com/molecula/featurebase/v2/disco" + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/storage" "github.com/pkg/errors" ) diff --git a/pilosa_internal_test.go b/pilosa_internal_test.go index c1e1b90e0..9b0ae010f 100644 --- a/pilosa_internal_test.go +++ b/pilosa_internal_test.go @@ -19,8 +19,8 @@ import ( "reflect" "testing" - "github.com/pilosa/pilosa/v2/roaring" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/roaring" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func TestValidateName(t *testing.T) { diff --git a/pilosa_test.go b/pilosa_test.go index 91092dea8..4218acfe4 100644 --- a/pilosa_test.go +++ b/pilosa_test.go @@ -18,8 +18,8 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2" - _ "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + _ "github.com/molecula/featurebase/v2/test" ) func TestAddressWithDefaults(t *testing.T) { diff --git a/pprof.go b/pprof.go index 99f05f78d..6e10c0bb5 100644 --- a/pprof.go +++ b/pprof.go @@ -23,8 +23,8 @@ import ( _ "net/http/pprof" // Imported for its side-effect of registering pprof endpoints with the server. - "github.com/pilosa/pilosa/v2/storage" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/storage" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) // CPUProfileForDur (where "Dur" is short for "Duration"), is used for diff --git a/pql/ast_test.go b/pql/ast_test.go index 6e3a3d5ad..694cdf955 100644 --- a/pql/ast_test.go +++ b/pql/ast_test.go @@ -17,7 +17,7 @@ package pql_test import ( "testing" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2/pql" ) // Ensure call can be converted into a string. diff --git a/pql/decimal_test.go b/pql/decimal_test.go index 34372651f..e1a020658 100644 --- a/pql/decimal_test.go +++ b/pql/decimal_test.go @@ -20,7 +20,7 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2/pql" ) // Ensure call can be converted into a string. diff --git a/pql/parser_test.go b/pql/parser_test.go index f050cc15a..dc3f5c92e 100644 --- a/pql/parser_test.go +++ b/pql/parser_test.go @@ -19,8 +19,8 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/pql" - _ "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2/pql" + _ "github.com/molecula/featurebase/v2/test" ) // Ensure the parser can parse PQL. diff --git a/prometheus/prometheus.go b/prometheus/prometheus.go index 05805fac9..d07d03bb7 100644 --- a/prometheus/prometheus.go +++ b/prometheus/prometheus.go @@ -20,8 +20,8 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/stats" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/stats" "github.com/prometheus/client_golang/prometheus" ) diff --git a/prometheus/prometheus_test.go b/prometheus/prometheus_test.go index 25e846727..cdfebac83 100644 --- a/prometheus/prometheus_test.go +++ b/prometheus/prometheus_test.go @@ -19,7 +19,7 @@ import ( "testing" "time" - pilosaPrometheus "github.com/pilosa/pilosa/v2/prometheus" + pilosaPrometheus "github.com/molecula/featurebase/v2/prometheus" "github.com/prometheus/client_golang/prometheus" io_prometheus_client "github.com/prometheus/client_model/go" ) diff --git a/proto/vdsm/vdsm.pb.go b/proto/vdsm/vdsm.pb.go index a62f5c8be..62e9cc00c 100644 --- a/proto/vdsm/vdsm.pb.go +++ b/proto/vdsm/vdsm.pb.go @@ -7,7 +7,7 @@ import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" - proto1 "github.com/pilosa/pilosa/v2/proto" + proto1 "github.com/molecula/featurebase/v2/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/rbf.go b/rbf.go index 73e8f92d1..e75e7768e 100644 --- a/rbf.go +++ b/rbf.go @@ -25,13 +25,13 @@ import ( "sync" "sync/atomic" - "github.com/pilosa/pilosa/v2/rbf" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" - "github.com/pilosa/pilosa/v2/roaring" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - "github.com/pilosa/pilosa/v2/storage" + "github.com/molecula/featurebase/v2/rbf" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/roaring" + txkey "github.com/molecula/featurebase/v2/short_txkey" + "github.com/molecula/featurebase/v2/storage" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" ) diff --git a/rbf/array.go b/rbf/array.go index b6dddbfb1..6d8e628b2 100644 --- a/rbf/array.go +++ b/rbf/array.go @@ -17,7 +17,7 @@ package rbf import ( "unsafe" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2/roaring" ) // toArray16 converts a byte slice into a slice of uint16 values using unsafe. diff --git a/rbf/cursor.go b/rbf/cursor.go index 4c1a05dbc..eb488f1ea 100644 --- a/rbf/cursor.go +++ b/rbf/cursor.go @@ -20,7 +20,7 @@ import ( "sort" "unsafe" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2/roaring" "github.com/pkg/errors" ) diff --git a/rbf/cursor_internal_test.go b/rbf/cursor_internal_test.go index b2202c2cb..3d8dca800 100644 --- a/rbf/cursor_internal_test.go +++ b/rbf/cursor_internal_test.go @@ -19,8 +19,8 @@ import ( "fmt" "testing" - "github.com/pilosa/pilosa/v2/roaring" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/roaring" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func getRoaringIter(bitsToSet ...uint64) roaring.RoaringIterator { diff --git a/rbf/cursor_test.go b/rbf/cursor_test.go index 1a72bcd73..8c321fcec 100644 --- a/rbf/cursor_test.go +++ b/rbf/cursor_test.go @@ -23,8 +23,8 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/rbf" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2/rbf" + "github.com/molecula/featurebase/v2/roaring" ) func TestCursor_FirstNext(t *testing.T) { diff --git a/rbf/cursorx.go b/rbf/cursorx.go index f1c8f338a..0916d2c36 100644 --- a/rbf/cursorx.go +++ b/rbf/cursorx.go @@ -21,8 +21,8 @@ import ( "os" "unsafe" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/storage" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/storage" "github.com/pkg/errors" ) diff --git a/rbf/db.go b/rbf/db.go index 75f357e5b..f54027593 100644 --- a/rbf/db.go +++ b/rbf/db.go @@ -24,8 +24,8 @@ import ( "syscall" "github.com/benbjohnson/immutable" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" - "github.com/pilosa/pilosa/v2/syswrap" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/syswrap" ) var ( diff --git a/rbf/db_test.go b/rbf/db_test.go index 431062a84..44fe5a1fc 100644 --- a/rbf/db_test.go +++ b/rbf/db_test.go @@ -26,8 +26,8 @@ import ( _ "net/http/pprof" - "github.com/pilosa/pilosa/v2/rbf" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/rbf" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" "golang.org/x/sync/errgroup" ) diff --git a/rbf/ingest_test.go b/rbf/ingest_test.go index cf288cd46..40176783c 100644 --- a/rbf/ingest_test.go +++ b/rbf/ingest_test.go @@ -25,12 +25,12 @@ import ( //"time" - "github.com/pilosa/pilosa/v2/rbf/cfg" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/testhook" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + txkey "github.com/molecula/featurebase/v2/short_txkey" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func rbfName(index, field, view string, shard uint64) string { diff --git a/rbf/rbf.go b/rbf/rbf.go index b9714ac1b..2245cf189 100644 --- a/rbf/rbf.go +++ b/rbf/rbf.go @@ -28,9 +28,9 @@ import ( "unsafe" "github.com/benbjohnson/immutable" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/shardwidth" - . "github.com/pilosa/pilosa/v2/vprint" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/shardwidth" + . "github.com/molecula/featurebase/v2/vprint" ) const ( diff --git a/rbf/rbf_test.go b/rbf/rbf_test.go index f6b1264df..a5baff1e7 100644 --- a/rbf/rbf_test.go +++ b/rbf/rbf_test.go @@ -24,9 +24,9 @@ import ( "sort" "testing" - "github.com/pilosa/pilosa/v2/rbf" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/rbf" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/testhook" ) var quickCheckN *int = flag.Int("quickchecks", 10, "The number of iterations for each quickcheck") diff --git a/rbf/tx.go b/rbf/tx.go index 85b4af03c..f126cfbf9 100644 --- a/rbf/tx.go +++ b/rbf/tx.go @@ -23,10 +23,10 @@ import ( "sync" "github.com/benbjohnson/immutable" - "github.com/pilosa/pilosa/v2/hash" - "github.com/pilosa/pilosa/v2/roaring" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - . "github.com/pilosa/pilosa/v2/vprint" + "github.com/molecula/featurebase/v2/hash" + "github.com/molecula/featurebase/v2/roaring" + txkey "github.com/molecula/featurebase/v2/short_txkey" + . "github.com/molecula/featurebase/v2/vprint" ) var _ = txkey.ToString diff --git a/rbf/tx_test.go b/rbf/tx_test.go index 3ca9aaa1d..771e17722 100644 --- a/rbf/tx_test.go +++ b/rbf/tx_test.go @@ -22,8 +22,8 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/rbf" - txkey "github.com/pilosa/pilosa/v2/short_txkey" + "github.com/molecula/featurebase/v2/rbf" + txkey "github.com/molecula/featurebase/v2/short_txkey" ) func TestTx_CommitRollback(t *testing.T) { diff --git a/rbf/util.go b/rbf/util.go index f43d15ff8..fede5c190 100644 --- a/rbf/util.go +++ b/rbf/util.go @@ -18,8 +18,8 @@ import ( "io" "strings" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - . "github.com/pilosa/pilosa/v2/vprint" + txkey "github.com/molecula/featurebase/v2/short_txkey" + . "github.com/molecula/featurebase/v2/vprint" ) func (tx *Tx) dumpAllPages(showLeaves bool) error { diff --git a/rbf/util_test.go b/rbf/util_test.go index 1af2d02ce..93cd7f8f4 100644 --- a/rbf/util_test.go +++ b/rbf/util_test.go @@ -19,9 +19,9 @@ import ( "os" "testing" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/testhook" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/testhook" ) // util_test adds reusable utilities for testing. diff --git a/roaring/benchpretty/main.go b/roaring/benchpretty/main.go index 424f9c948..f178ea056 100644 --- a/roaring/benchpretty/main.go +++ b/roaring/benchpretty/main.go @@ -24,7 +24,7 @@ import ( "strconv" "strings" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2/roaring" ) var pattern = regexp.MustCompile(`^BenchmarkCtOps/([^/]+)/([^/]+)/([^-]+)-([0-9]+)\s*([0-9]+)\s*([0-9.]+) ns/op`) diff --git a/roaring/filter.go b/roaring/filter.go index 1f2018ad1..601c10283 100644 --- a/roaring/filter.go +++ b/roaring/filter.go @@ -18,7 +18,7 @@ import ( "errors" "fmt" - "github.com/pilosa/pilosa/v2/shardwidth" + "github.com/molecula/featurebase/v2/shardwidth" ) // We want BitmapScanner to be accessible from both the pilosa package, and diff --git a/roaring/filter_internal_test.go b/roaring/filter_internal_test.go index 0fc9c0fe0..40abd7e1e 100644 --- a/roaring/filter_internal_test.go +++ b/roaring/filter_internal_test.go @@ -22,7 +22,7 @@ import ( "sync" "testing" - "github.com/pilosa/pilosa/v2/shardwidth" + "github.com/molecula/featurebase/v2/shardwidth" ) // For each container key i from 1 to (shard width in containers), we diff --git a/roaring/printutil.go b/roaring/printutil.go index 01fb4e6e2..b68568a1c 100644 --- a/roaring/printutil.go +++ b/roaring/printutil.go @@ -18,7 +18,7 @@ import ( "fmt" "math" - "github.com/pilosa/pilosa/v2/shardwidth" + "github.com/molecula/featurebase/v2/shardwidth" ) func (b *Bitmap) String() (r string) { diff --git a/roaring/printutil_test.go b/roaring/printutil_test.go index 9734efac2..79575986d 100644 --- a/roaring/printutil_test.go +++ b/roaring/printutil_test.go @@ -18,7 +18,7 @@ import ( "fmt" "testing" - "github.com/pilosa/pilosa/v2/shardwidth" + "github.com/molecula/featurebase/v2/shardwidth" ) func TestAsContainerMatrixString(t *testing.T) { diff --git a/roaring/roaring_internal_test.go b/roaring/roaring_internal_test.go index 9902c4373..ce6f61a7d 100644 --- a/roaring/roaring_internal_test.go +++ b/roaring/roaring_internal_test.go @@ -25,7 +25,7 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/generator" + "github.com/molecula/featurebase/v2/generator" "github.com/pkg/errors" ) diff --git a/roaring/roaring_stats.go b/roaring/roaring_stats.go index c43362c99..bf3742857 100644 --- a/roaring/roaring_stats.go +++ b/roaring/roaring_stats.go @@ -17,7 +17,7 @@ package roaring import ( - "github.com/pilosa/pilosa/v2/stats" + "github.com/molecula/featurebase/v2/stats" ) var statsEv = stats.NewExpvarStatsClient() diff --git a/roaring/roaring_test.go b/roaring/roaring_test.go index 18b9ce8ab..57f4297cf 100644 --- a/roaring/roaring_test.go +++ b/roaring/roaring_test.go @@ -24,10 +24,10 @@ import ( "testing/quick" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/generator" - "github.com/pilosa/pilosa/v2/roaring" - _ "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/generator" + "github.com/molecula/featurebase/v2/roaring" + _ "github.com/molecula/featurebase/v2/test" ) func TestContainerCount(t *testing.T) { diff --git a/row.go b/row.go index 246bbb4ae..022ee76f3 100644 --- a/row.go +++ b/row.go @@ -18,8 +18,8 @@ import ( "encoding/json" "sort" - pb "github.com/pilosa/pilosa/v2/proto" - "github.com/pilosa/pilosa/v2/roaring" + pb "github.com/molecula/featurebase/v2/proto" + "github.com/molecula/featurebase/v2/roaring" "github.com/pkg/errors" ) diff --git a/row_test.go b/row_test.go index a4740c897..b18ccfc93 100644 --- a/row_test.go +++ b/row_test.go @@ -19,7 +19,7 @@ import ( "reflect" "testing" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" ) // Ensure a row can be merged diff --git a/rrtx.go b/rrtx.go index 9cce080c3..d5504cecb 100644 --- a/rrtx.go +++ b/rrtx.go @@ -26,11 +26,11 @@ import ( "sync" "sync/atomic" - "github.com/pilosa/pilosa/v2/roaring" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - "github.com/pilosa/pilosa/v2/storage" + "github.com/molecula/featurebase/v2/roaring" + txkey "github.com/molecula/featurebase/v2/short_txkey" + "github.com/molecula/featurebase/v2/storage" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" ) diff --git a/rrtx_internal_test.go b/rrtx_internal_test.go index 7c8a8bb67..7dc84e609 100644 --- a/rrtx_internal_test.go +++ b/rrtx_internal_test.go @@ -17,7 +17,7 @@ package pilosa import ( "testing" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func TestRoaring_HasData(t *testing.T) { diff --git a/server.go b/server.go index f824253bf..b233ed935 100644 --- a/server.go +++ b/server.go @@ -30,14 +30,14 @@ import ( uuid "github.com/satori/go.uuid" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/logger" - pnet "github.com/pilosa/pilosa/v2/net" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/storage" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/logger" + pnet "github.com/molecula/featurebase/v2/net" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/storage" + "github.com/molecula/featurebase/v2/topology" "github.com/pkg/errors" "golang.org/x/sync/errgroup" diff --git a/server/cluster_test.go b/server/cluster_test.go index 56895baa0..1f7d59b14 100644 --- a/server/cluster_test.go +++ b/server/cluster_test.go @@ -25,10 +25,10 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" ) // Ensure program can send/receive broadcast messages. diff --git a/server/config.go b/server/config.go index 18acd8968..bb5b412c5 100644 --- a/server/config.go +++ b/server/config.go @@ -24,10 +24,10 @@ import ( "strings" "time" - petcd "github.com/pilosa/pilosa/v2/etcd" - rbfcfg "github.com/pilosa/pilosa/v2/rbf/cfg" - "github.com/pilosa/pilosa/v2/storage" - "github.com/pilosa/pilosa/v2/toml" + petcd "github.com/molecula/featurebase/v2/etcd" + rbfcfg "github.com/molecula/featurebase/v2/rbf/cfg" + "github.com/molecula/featurebase/v2/storage" + "github.com/molecula/featurebase/v2/toml" "github.com/pkg/errors" ) diff --git a/server/config_test.go b/server/config_test.go index db2b83b29..8cf05f253 100644 --- a/server/config_test.go +++ b/server/config_test.go @@ -19,8 +19,8 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/toml" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/toml" ) func Test_ValidateConfig(t *testing.T) { diff --git a/server/grpc.go b/server/grpc.go index be949b67d..f2f4d3246 100644 --- a/server/grpc.go +++ b/server/grpc.go @@ -26,11 +26,11 @@ import ( "time" "github.com/improbable-eng/grpc-web/go/grpcweb" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/logger" - pb "github.com/pilosa/pilosa/v2/proto" - vdsm_pb "github.com/pilosa/pilosa/v2/proto/vdsm" - "github.com/pilosa/pilosa/v2/stats" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/logger" + pb "github.com/molecula/featurebase/v2/proto" + vdsm_pb "github.com/molecula/featurebase/v2/proto/vdsm" + "github.com/molecula/featurebase/v2/stats" "github.com/pkg/errors" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/server/grpc_test.go b/server/grpc_test.go index 683881ba7..19353838f 100644 --- a/server/grpc_test.go +++ b/server/grpc_test.go @@ -22,12 +22,12 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" - pb "github.com/pilosa/pilosa/v2/proto" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/sql" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" + pb "github.com/molecula/featurebase/v2/proto" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/sql" + "github.com/molecula/featurebase/v2/test" "github.com/pkg/errors" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/server/handler_test.go b/server/handler_test.go index 639611ac8..ea6c74e4f 100644 --- a/server/handler_test.go +++ b/server/handler_test.go @@ -32,14 +32,14 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/boltdb" - "github.com/pilosa/pilosa/v2/encoding/proto" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/pql" - pb "github.com/pilosa/pilosa/v2/proto" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/boltdb" + "github.com/molecula/featurebase/v2/encoding/proto" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/pql" + pb "github.com/molecula/featurebase/v2/proto" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" "google.golang.org/grpc" ) diff --git a/server/pg.go b/server/pg.go index 281c48c17..0f03e7dfb 100644 --- a/server/pg.go +++ b/server/pg.go @@ -25,11 +25,11 @@ import ( "strings" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/pg" - "github.com/pilosa/pilosa/v2/pql" - pb "github.com/pilosa/pilosa/v2/proto" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/pg" + "github.com/molecula/featurebase/v2/pql" + pb "github.com/molecula/featurebase/v2/proto" "github.com/pkg/errors" "golang.org/x/sync/errgroup" diff --git a/server/pg_test.go b/server/pg_test.go index 59768dfe9..012986afc 100644 --- a/server/pg_test.go +++ b/server/pg_test.go @@ -21,12 +21,12 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/pg" - "github.com/pilosa/pilosa/v2/pg/pgtest" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/pg" + "github.com/molecula/featurebase/v2/pg/pgtest" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" ) func TestPostgresHandler(t *testing.T) { diff --git a/server/server.go b/server/server.go index 84378f00b..f23a0feab 100644 --- a/server/server.go +++ b/server/server.go @@ -41,21 +41,21 @@ import ( "golang.org/x/sync/errgroup" "github.com/pelletier/go-toml" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/boltdb" - "github.com/pilosa/pilosa/v2/encoding/proto" - petcd "github.com/pilosa/pilosa/v2/etcd" - "github.com/pilosa/pilosa/v2/gcnotify" - "github.com/pilosa/pilosa/v2/gopsutil" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/logger" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/prometheus" - "github.com/pilosa/pilosa/v2/statik" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/statsd" - "github.com/pilosa/pilosa/v2/syswrap" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/boltdb" + "github.com/molecula/featurebase/v2/encoding/proto" + petcd "github.com/molecula/featurebase/v2/etcd" + "github.com/molecula/featurebase/v2/gcnotify" + "github.com/molecula/featurebase/v2/gopsutil" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/logger" + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/prometheus" + "github.com/molecula/featurebase/v2/statik" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/statsd" + "github.com/molecula/featurebase/v2/syswrap" + "github.com/molecula/featurebase/v2/testhook" "github.com/pkg/errors" ) diff --git a/server/server_test.go b/server/server_test.go index ca1d6dd21..d7f26a36d 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -30,14 +30,14 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" + "github.com/molecula/featurebase/v2/testhook" "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/server/sql.go b/server/sql.go index 26686c561..e1179ebbb 100644 --- a/server/sql.go +++ b/server/sql.go @@ -17,10 +17,10 @@ package server import ( "context" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/logger" - pb "github.com/pilosa/pilosa/v2/proto" - "github.com/pilosa/pilosa/v2/sql" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/logger" + pb "github.com/molecula/featurebase/v2/proto" + "github.com/molecula/featurebase/v2/sql" "github.com/pkg/errors" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/server/tlsconfig.go b/server/tlsconfig.go index d01c82e31..3bbcf8b9a 100644 --- a/server/tlsconfig.go +++ b/server/tlsconfig.go @@ -54,7 +54,7 @@ import ( "sync" "syscall" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2/logger" "github.com/pkg/errors" ) diff --git a/server/trial.go b/server/trial.go index 342d979f9..273e40873 100644 --- a/server/trial.go +++ b/server/trial.go @@ -24,7 +24,7 @@ import ( "time" "github.com/beevik/ntp" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" ) // handleTrialDeadline checks to see if this is a trial version of Molecula that expires at some point. diff --git a/server_internal_test.go b/server_internal_test.go index f799629b5..7fbddf73e 100644 --- a/server_internal_test.go +++ b/server_internal_test.go @@ -19,7 +19,7 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) // Ensure the file handle count is working diff --git a/snapshotqueue.go b/snapshotqueue.go index 9c29a59cb..08c2b2537 100644 --- a/snapshotqueue.go +++ b/snapshotqueue.go @@ -24,8 +24,8 @@ import ( "sync/atomic" "time" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/testhook" "github.com/pkg/errors" ) diff --git a/sql/ddl.go b/sql/ddl.go index fd098f6c5..1f7cb5f7b 100644 --- a/sql/ddl.go +++ b/sql/ddl.go @@ -18,8 +18,8 @@ import ( "context" "fmt" - "github.com/pilosa/pilosa/v2" - pproto "github.com/pilosa/pilosa/v2/proto" + "github.com/molecula/featurebase/v2" + pproto "github.com/molecula/featurebase/v2/proto" "github.com/pkg/errors" "vitess.io/vitess/go/vt/sqlparser" ) diff --git a/sql/extract.go b/sql/extract.go index 85c3447ef..4f85f38a4 100644 --- a/sql/extract.go +++ b/sql/extract.go @@ -21,8 +21,8 @@ import ( "strings" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" "github.com/pkg/errors" "vitess.io/vitess/go/vt/sqlparser" ) diff --git a/sql/mapper.go b/sql/mapper.go index e9659bcd9..3ff500d8f 100644 --- a/sql/mapper.go +++ b/sql/mapper.go @@ -17,7 +17,7 @@ package sql import ( "strings" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2/logger" "github.com/pkg/errors" "vitess.io/vitess/go/vt/sqlparser" ) diff --git a/sql/model.go b/sql/model.go index 76ba80498..671c6adde 100644 --- a/sql/model.go +++ b/sql/model.go @@ -17,7 +17,7 @@ package sql import ( "fmt" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" "github.com/pkg/errors" ) diff --git a/sql/reduce.go b/sql/reduce.go index e670d1220..a7a18f1f7 100644 --- a/sql/reduce.go +++ b/sql/reduce.go @@ -17,9 +17,9 @@ package sql import ( "sort" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" - pproto "github.com/pilosa/pilosa/v2/proto" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" + pproto "github.com/molecula/featurebase/v2/proto" "github.com/pkg/errors" ) diff --git a/sql/reduce_test.go b/sql/reduce_test.go index 27f645c99..3af2b5c36 100644 --- a/sql/reduce_test.go +++ b/sql/reduce_test.go @@ -19,7 +19,7 @@ import ( "reflect" "testing" - pproto "github.com/pilosa/pilosa/v2/proto" + pproto "github.com/molecula/featurebase/v2/proto" "github.com/pkg/errors" ) diff --git a/sql/select.go b/sql/select.go index 9cbc35c20..ca4b22042 100644 --- a/sql/select.go +++ b/sql/select.go @@ -19,9 +19,9 @@ import ( "fmt" "strings" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" - pproto "github.com/pilosa/pilosa/v2/proto" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" + pproto "github.com/molecula/featurebase/v2/proto" "github.com/pkg/errors" "vitess.io/vitess/go/vt/sqlparser" ) diff --git a/sql/show.go b/sql/show.go index 0bac67d46..420095b61 100644 --- a/sql/show.go +++ b/sql/show.go @@ -18,8 +18,8 @@ import ( "context" "fmt" - "github.com/pilosa/pilosa/v2" - pproto "github.com/pilosa/pilosa/v2/proto" + "github.com/molecula/featurebase/v2" + pproto "github.com/molecula/featurebase/v2/proto" "github.com/pkg/errors" "vitess.io/vitess/go/vt/sqlparser" ) diff --git a/statik/filesystem.go b/statik/filesystem.go index c7f3141fc..0b6a268fc 100644 --- a/statik/filesystem.go +++ b/statik/filesystem.go @@ -21,7 +21,7 @@ package statik import ( "net/http" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" "github.com/rakyll/statik/fs" ) diff --git a/stats/stats.go b/stats/stats.go index c360baab0..0bbe8cacd 100644 --- a/stats/stats.go +++ b/stats/stats.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2/logger" ) // Expvar global expvar map. diff --git a/stats/stats_test.go b/stats/stats_test.go index 1fe8ce1f5..ef414d257 100644 --- a/stats/stats_test.go +++ b/stats/stats_test.go @@ -22,11 +22,11 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/test" ) // TestMultiStatClient_Expvar run the multistat client with exp var diff --git a/statsd/statsd.go b/statsd/statsd.go index 9366fde77..e1ea378a0 100644 --- a/statsd/statsd.go +++ b/statsd/statsd.go @@ -19,8 +19,8 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/stats" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/stats" ) // StatsD protocol wrapper using the DataDog library that added Tags to the StatsD protocol diff --git a/statsd/statsd_test.go b/statsd/statsd_test.go index 14835300d..530ac746d 100644 --- a/statsd/statsd_test.go +++ b/statsd/statsd_test.go @@ -19,8 +19,8 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/statsd" - _ "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2/statsd" + _ "github.com/molecula/featurebase/v2/test" ) func TestStatsClient_WithTags(t *testing.T) { diff --git a/stattx.go b/stattx.go index 5b7bece29..9dc5ab5f9 100644 --- a/stattx.go +++ b/stattx.go @@ -23,10 +23,10 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/debugstats" - "github.com/pilosa/pilosa/v2/roaring" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/debugstats" + "github.com/molecula/featurebase/v2/roaring" + txkey "github.com/molecula/featurebase/v2/short_txkey" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) // statTx is useful to profile on a diff --git a/synthload/synthload_test.go b/synthload/synthload_test.go index 0a0a26997..f816fd2ff 100644 --- a/synthload/synthload_test.go +++ b/synthload/synthload_test.go @@ -28,9 +28,9 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" ) func Test_SynthLoad_ImportSchema(t *testing.T) { diff --git a/test/cluster.go b/test/cluster.go index 22489bc9a..7ff157094 100644 --- a/test/cluster.go +++ b/test/cluster.go @@ -23,13 +23,13 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/api/client" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/proto" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/storage" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/api/client" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/proto" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/storage" "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/test/disco.go b/test/disco.go index 8ace1f96e..7aebd8f89 100644 --- a/test/disco.go +++ b/test/disco.go @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/etcd" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/etcd" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/testhook" "github.com/pkg/errors" ) diff --git a/test/field.go b/test/field.go index 4663e4c0a..4559b2aa2 100644 --- a/test/field.go +++ b/test/field.go @@ -15,7 +15,7 @@ package test import ( - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" ) // Field represents a test wrapper for pilosa.Field. diff --git a/test/holder.go b/test/holder.go index 40ef4c843..079495488 100644 --- a/test/holder.go +++ b/test/holder.go @@ -19,10 +19,10 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" ) diff --git a/test/index.go b/test/index.go index d885d05da..608bcae1c 100644 --- a/test/index.go +++ b/test/index.go @@ -18,8 +18,8 @@ import ( "context" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/testhook" ) // Index represents a test wrapper for pilosa.Index. diff --git a/test/pilosa.go b/test/pilosa.go index 66b17ea4e..925213cd1 100644 --- a/test/pilosa.go +++ b/test/pilosa.go @@ -26,12 +26,12 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/encoding/proto" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/encoding/proto" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/testhook" ) //////////////////////////////////////////////////////////////////////////////////// diff --git a/test/pilosa_test.go b/test/pilosa_test.go index 4a1e42c31..6ab2008eb 100644 --- a/test/pilosa_test.go +++ b/test/pilosa_test.go @@ -21,8 +21,8 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/test" ) func TestNewCluster(t *testing.T) { diff --git a/test/transaction.go b/test/transaction.go index 37535a9b5..6a46540af 100644 --- a/test/transaction.go +++ b/test/transaction.go @@ -18,7 +18,7 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" + "github.com/molecula/featurebase/v2" ) const deadlineSkew = time.Second diff --git a/testhook/auditor_test.go b/testhook/auditor_test.go index deff64f88..c7aacaff7 100644 --- a/testhook/auditor_test.go +++ b/testhook/auditor_test.go @@ -19,7 +19,7 @@ import ( "reflect" "testing" - "github.com/pilosa/pilosa/v2/testhook" + "github.com/molecula/featurebase/v2/testhook" ) func TestAuditor_CatchError(t *testing.T) { diff --git a/topology/node.go b/topology/node.go index 6fde62c7c..9eb9df613 100644 --- a/topology/node.go +++ b/topology/node.go @@ -17,8 +17,8 @@ package topology import ( "fmt" - "github.com/pilosa/pilosa/v2/disco" - "github.com/pilosa/pilosa/v2/net" + "github.com/molecula/featurebase/v2/disco" + "github.com/molecula/featurebase/v2/net" ) // Node represents a node in the cluster. diff --git a/topology/snapshot.go b/topology/snapshot.go index 8ad6305c6..a11dd8d87 100644 --- a/topology/snapshot.go +++ b/topology/snapshot.go @@ -18,8 +18,8 @@ import ( "encoding/binary" "hash/fnv" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/shardwidth" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/shardwidth" ) const ( diff --git a/tracing/opentracing/opentracing.go b/tracing/opentracing/opentracing.go index 465f051ef..a0afe8669 100644 --- a/tracing/opentracing/opentracing.go +++ b/tracing/opentracing/opentracing.go @@ -20,8 +20,8 @@ import ( "github.com/opentracing/opentracing-go" "github.com/opentracing/opentracing-go/ext" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/tracing" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/tracing" ) // Ensure type implements interface. diff --git a/transaction.go b/transaction.go index 99926eb42..764c1e67e 100644 --- a/transaction.go +++ b/transaction.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/pilosa/pilosa/v2/logger" + "github.com/molecula/featurebase/v2/logger" "github.com/pkg/errors" ) diff --git a/transaction_test.go b/transaction_test.go index d994564be..557726340 100644 --- a/transaction_test.go +++ b/transaction_test.go @@ -20,9 +20,9 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/logger" - "github.com/pilosa/pilosa/v2/test" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/logger" + "github.com/molecula/featurebase/v2/test" ) // TestTransactionManager currently uses an in memory transaction diff --git a/translate.go b/translate.go index 5d7a20db3..738fc1686 100644 --- a/translate.go +++ b/translate.go @@ -23,7 +23,7 @@ import ( "sort" "sync" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2/topology" "github.com/pkg/errors" ) diff --git a/translator_test.go b/translator_test.go index 17c731b20..2144d2b9a 100644 --- a/translator_test.go +++ b/translator_test.go @@ -24,13 +24,13 @@ import ( "time" "github.com/google/go-cmp/cmp" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/boltdb" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/mock" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/test" - "github.com/pilosa/pilosa/v2/topology" + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/boltdb" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/mock" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/test" + "github.com/molecula/featurebase/v2/topology" "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/tx.go b/tx.go index d0d083099..13fd9fded 100644 --- a/tx.go +++ b/tx.go @@ -17,9 +17,9 @@ package pilosa import ( "io" - "github.com/pilosa/pilosa/v2/roaring" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - //txkey "github.com/pilosa/pilosa/v2/txkey" + "github.com/molecula/featurebase/v2/roaring" + txkey "github.com/molecula/featurebase/v2/short_txkey" + //txkey "github.com/molecula/featurebase/v2/txkey" ) // writable initializes Tx that update, use !writable for read-only. diff --git a/tx_internal_test.go b/tx_internal_test.go index 3ff4ddd63..66d36db19 100644 --- a/tx_internal_test.go +++ b/tx_internal_test.go @@ -19,7 +19,7 @@ import ( "sync" "testing" - "github.com/pilosa/pilosa/v2/roaring" + "github.com/molecula/featurebase/v2/roaring" ) const countRangeMaxN = 8192 diff --git a/tx_test.go b/tx_test.go index 9ae3fd615..e53a91dbe 100644 --- a/tx_test.go +++ b/tx_test.go @@ -20,12 +20,12 @@ import ( "strings" "testing" - "github.com/pilosa/pilosa/v2" - "github.com/pilosa/pilosa/v2/http" - "github.com/pilosa/pilosa/v2/server" - "github.com/pilosa/pilosa/v2/storage" - "github.com/pilosa/pilosa/v2/test" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2" + "github.com/molecula/featurebase/v2/http" + "github.com/molecula/featurebase/v2/server" + "github.com/molecula/featurebase/v2/storage" + "github.com/molecula/featurebase/v2/test" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func queryIRABit(m0api *pilosa.API, acctOwnerID uint64, iraField string, iraRowID uint64, index string) (bit bool) { diff --git a/txfactory.go b/txfactory.go index 482b90f85..84742cd2e 100644 --- a/txfactory.go +++ b/txfactory.go @@ -27,11 +27,11 @@ import ( "syscall" "text/tabwriter" - "github.com/pilosa/pilosa/v2/hash" - "github.com/pilosa/pilosa/v2/roaring" - txkey "github.com/pilosa/pilosa/v2/short_txkey" - "github.com/pilosa/pilosa/v2/storage" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/hash" + "github.com/molecula/featurebase/v2/roaring" + txkey "github.com/molecula/featurebase/v2/short_txkey" + "github.com/molecula/featurebase/v2/storage" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" "github.com/zeebo/blake3" ) diff --git a/txfactory_internal_test.go b/txfactory_internal_test.go index ad38927e1..b310dbdfe 100644 --- a/txfactory_internal_test.go +++ b/txfactory_internal_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) func Test_TxFactory_Qcx_query_context(t *testing.T) { diff --git a/util.go b/util.go index 13f8f8e90..3bbeff8e3 100644 --- a/util.go +++ b/util.go @@ -27,8 +27,8 @@ import ( "syscall" "unsafe" - "github.com/pilosa/pilosa/v2/roaring" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/roaring" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" ) diff --git a/utils_internal_test.go b/utils_internal_test.go index 864267f07..a3a6af2a7 100644 --- a/utils_internal_test.go +++ b/utils_internal_test.go @@ -20,11 +20,11 @@ import ( "testing" "time" - pnet "github.com/pilosa/pilosa/v2/net" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/testhook" - "github.com/pilosa/pilosa/v2/topology" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + pnet "github.com/molecula/featurebase/v2/net" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/testhook" + "github.com/molecula/featurebase/v2/topology" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck ) // utilities used by tests diff --git a/view.go b/view.go index 8d8367896..c38bd8572 100644 --- a/view.go +++ b/view.go @@ -25,11 +25,11 @@ import ( "sync/atomic" "time" - "github.com/pilosa/pilosa/v2/pql" - "github.com/pilosa/pilosa/v2/roaring" - "github.com/pilosa/pilosa/v2/stats" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/pql" + "github.com/molecula/featurebase/v2/roaring" + "github.com/molecula/featurebase/v2/stats" + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "github.com/pkg/errors" "golang.org/x/sync/errgroup" ) diff --git a/view_internal_test.go b/view_internal_test.go index f4774a545..9258cdd27 100644 --- a/view_internal_test.go +++ b/view_internal_test.go @@ -18,8 +18,8 @@ import ( "testing" "time" - "github.com/pilosa/pilosa/v2/testhook" - . "github.com/pilosa/pilosa/v2/vprint" // nolint:staticcheck + "github.com/molecula/featurebase/v2/testhook" + . "github.com/molecula/featurebase/v2/vprint" // nolint:staticcheck "golang.org/x/sync/errgroup" )