Updated dependency paths to reflect new repo location

This commit is contained in:
Fletcher Haynes 2022-09-06 09:39:22 -07:00
parent eb06bb50ae
commit da9b57bd45
347 changed files with 889 additions and 889 deletions

View file

@ -5,7 +5,7 @@ FROM golang:1.19
LABEL maintainer "dev@pilosa.com"
COPY . /go/src/github.com/molecula/featurebase/
COPY . /go/src/github.com/featurebasedb/featurebase/
# download pumba for fault injection
@ -22,9 +22,9 @@ RUN chmod +x /usr/local/bin/docker-compose
# generate an instrumented binary to allow for calculating code coverage for clustertests
# the entrypoint for the binary is TestRunMain, which is wrapper for main
RUN cd /go/src/github.com/molecula/featurebase/cmd/featurebase && \
RUN cd /go/src/github.com/featurebasedb/featurebase/cmd/featurebase && \
go test -covermode=atomic -coverpkg=../../... -c -tags testrunmain -o featurebase && \
cp /go/src/github.com/molecula/featurebase/cmd/featurebase/featurebase /featurebase
cp /go/src/github.com/featurebasedb/featurebase/cmd/featurebase/featurebase /featurebase
COPY NOTICE /NOTICE

View file

@ -5,7 +5,7 @@ FROM golang:1.19
LABEL maintainer "dev@pilosa.com"
COPY . /go/src/github.com/molecula/featurebase/
COPY . /go/src/github.com/featurebasedb/featurebase/
# download pumba for fault injection
ADD https://github.com/alexei-led/pumba/releases/download/0.6.0/pumba_linux_amd64 /pumba
@ -19,14 +19,14 @@ RUN apt install -y docker.io
ADD https://github.com/docker/compose/releases/latest/download/docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
RUN chmod +x /usr/local/bin/docker-compose
RUN cd /go/src/github.com/molecula/featurebase/cmd/featurebase && \
RUN cd /go/src/github.com/featurebasedb/featurebase/cmd/featurebase && \
go test -covermode=atomic -coverpkg=../../... -c -tags testrunmain -o featurebase && \
cp /go/src/github.com/molecula/featurebase/cmd/featurebase/featurebase /featurebase
cp /go/src/github.com/featurebasedb/featurebase/cmd/featurebase/featurebase /featurebase
COPY NOTICE /NOTICE
COPY ./internal/clustertests /go/src/github.com/molecula/featurebase/internal/clustertests
COPY ./internal/clustertests /go/src/github.com/featurebasedb/featurebase/internal/clustertests
EXPOSE 10101
VOLUME /data

View file

@ -12,7 +12,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/molecula/featurebase/v3.Version=$(VERSION) -X github.com/molecula/featurebase/v3.BuildTime=$(BUILD_TIME) -X github.com/molecula/featurebase/v3.Variant=$(VARIANT) -X github.com/molecula/featurebase/v3.Commit=$(COMMIT) -X github.com/molecula/featurebase/v3.TrialDeadline=$(TRIAL_DEADLINE)"
LDFLAGS="-X github.com/featurebasedb/featurebase/v3.Version=$(VERSION) -X github.com/featurebasedb/featurebase/v3.BuildTime=$(BUILD_TIME) -X github.com/featurebasedb/featurebase/v3.Variant=$(VARIANT) -X github.com/featurebasedb/featurebase/v3.Commit=$(COMMIT) -X github.com/featurebasedb/featurebase/v3.TrialDeadline=$(TRIAL_DEADLINE)"
GO_VERSION=1.19
DOCKER_BUILD= # set to 1 to use `docker-build` instead of `build` when creating a release
BUILD_TAGS += shardwidth$(SHARD_WIDTH)
@ -68,7 +68,7 @@ testv-race: testvsub-race
#
testvsub:
@set -e; for pkg in $(GOPACKAGES); do \
if [ $${pkg:0:38} == "github.com/molecula/featurebase/v3/idk" ]; then \
if [ $${pkg:0:38} == "github.com/featurebasedb/featurebase/v3/idk" ]; then \
echo; echo "___ skipping subpkg $$pkg"; \
continue; \
fi; \
@ -161,7 +161,7 @@ clustertests: vendor
$(DOCKER_COMPOSE) -f internal/clustertests/docker-compose.yml down
# Run the cluster tests with authentication enabled
AUTH_ARGS="-c /go/src/github.com/molecula/featurebase/internal/clustertests/testdata/featurebase.conf"
AUTH_ARGS="-c /go/src/github.com/featurebasedb/featurebase/internal/clustertests/testdata/featurebase.conf"
authclustertests: vendor
CLUSTERTESTS_FB_ARGS=$(AUTH_ARGS) $(DOCKER_COMPOSE) -f internal/clustertests/docker-compose.yml down
CLUSTERTESTS_FB_ARGS=$(AUTH_ARGS) $(DOCKER_COMPOSE) -f internal/clustertests/docker-compose.yml build
@ -187,11 +187,11 @@ build-lattice:
# `go generate` protocol buffers
generate-protoc: require-protoc require-protoc-gen-gofast
$(GO) generate github.com/molecula/featurebase/v3/pb
$(GO) generate github.com/featurebasedb/featurebase/v3/pb
# `go generate` statik assets (lattice UI)
generate-statik: build-lattice require-statik
$(GO) generate github.com/molecula/featurebase/v3/statik
$(GO) generate github.com/featurebasedb/featurebase/v3/statik
# `go generate` statik assets (lattice UI) in Docker
generate-statik-docker: build-lattice
@ -199,7 +199,7 @@ generate-statik-docker: build-lattice
# `go generate` stringers
generate-stringer:
$(GO) generate github.com/molecula/featurebase/v3
$(GO) generate github.com/featurebasedb/featurebase/v3
generate-pql: require-peg
cd pql && peg -inline pql.peg && cd ..
@ -210,7 +210,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/molecula/featurebase/v3/proto/ proto/
cp -r proto/github.com/featurebasedb/featurebase/v3/proto/ proto/
rm -rf proto/github.com
# `go generate` all needed packages

16
api.go
View file

@ -23,15 +23,15 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/ingest"
"github.com/molecula/featurebase/v3/rbf"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/ingest"
"github.com/featurebasedb/featurebase/v3/rbf"
//"github.com/molecula/featurebase/v3/pg"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/stats"
"github.com/molecula/featurebase/v3/tracing"
//"github.com/featurebasedb/featurebase/v3/pg"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/stats"
"github.com/featurebasedb/featurebase/v3/tracing"
"github.com/pkg/errors"
"golang.org/x/sync/errgroup"
)

View file

@ -7,8 +7,8 @@ import (
"crypto/tls"
"sync"
"github.com/molecula/featurebase/v3/logger"
pb "github.com/molecula/featurebase/v3/proto"
"github.com/featurebasedb/featurebase/v3/logger"
pb "github.com/featurebasedb/featurebase/v3/proto"
"github.com/pkg/errors"
"google.golang.org/grpc"
"google.golang.org/grpc/connectivity"

View file

@ -23,14 +23,14 @@ import (
"time"
"github.com/golang-jwt/jwt"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/boltdb"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/server"
"github.com/molecula/featurebase/v3/shardwidth"
"github.com/molecula/featurebase/v3/test"
. "github.com/molecula/featurebase/v3/vprint" // nolint:staticcheck
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/boltdb"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/shardwidth"
"github.com/featurebasedb/featurebase/v3/test"
. "github.com/featurebasedb/featurebase/v3/vprint" // nolint:staticcheck
"golang.org/x/sync/errgroup"
)

View file

@ -3,7 +3,7 @@
package pilosa
import (
"github.com/molecula/featurebase/v3/testhook"
"github.com/featurebasedb/featurebase/v3/testhook"
)
var NewAuditor func() testhook.Auditor = NewNopAuditor

View file

@ -6,7 +6,7 @@ import (
"fmt"
"reflect"
"github.com/molecula/featurebase/v3/testhook"
"github.com/featurebasedb/featurebase/v3/testhook"
)
// These audit hooks are desireable during testing, but not in

View file

@ -7,8 +7,8 @@ import (
"os"
"reflect"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/testhook"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/testhook"
)
// AuditLeaksOn is a global switch to turn on resource

View file

@ -20,7 +20,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/metadata"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/pkg/errors"
"golang.org/x/oauth2"
)

View file

@ -17,7 +17,7 @@ import (
"time"
"github.com/golang-jwt/jwt"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
"google.golang.org/grpc"
"google.golang.org/grpc/metadata"
)

View file

@ -8,7 +8,7 @@ import (
"io"
"io/ioutil"
"github.com/molecula/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/authn"
"gopkg.in/yaml.v2"
)

View file

@ -9,8 +9,8 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/authz"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/authz"
)
func TestAuth_ReadPermissionsFile(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"sync"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/roaring"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/pkg/errors"
bolt "go.etcd.io/bbolt"

View file

@ -4,7 +4,7 @@ import (
"path/filepath"
"testing"
"github.com/molecula/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/roaring"
bolt "go.etcd.io/bbolt"
)

View file

@ -11,11 +11,11 @@ import (
"testing"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/boltdb"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/testhook"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/boltdb"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/testhook"
)
//var vv = pilosa.VV

View file

@ -5,7 +5,7 @@ package pilosa
import (
"fmt"
"github.com/molecula/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/pkg/errors"
)

2
bsi.go
View file

@ -5,7 +5,7 @@ package pilosa
import (
"math/bits"
"github.com/molecula/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/roaring"
)
// bsiData contains BSI-structured data.

View file

@ -11,9 +11,9 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/lru"
pb "github.com/molecula/featurebase/v3/proto"
"github.com/molecula/featurebase/v3/stats"
"github.com/featurebasedb/featurebase/v3/lru"
pb "github.com/featurebasedb/featurebase/v3/proto"
"github.com/featurebasedb/featurebase/v3/stats"
"github.com/pkg/errors"
)

View file

@ -6,7 +6,7 @@ import (
"reflect"
"testing"
pilosa "github.com/molecula/featurebase/v3"
pilosa "github.com/featurebasedb/featurebase/v3"
)
// Ensure cache stays constrained to its configured size.

View file

@ -3,9 +3,9 @@
package pilosa
import (
"github.com/molecula/featurebase/v3/roaring"
txkey "github.com/molecula/featurebase/v3/short_txkey"
"github.com/molecula/featurebase/v3/vprint"
"github.com/featurebasedb/featurebase/v3/roaring"
txkey "github.com/featurebasedb/featurebase/v3/short_txkey"
"github.com/featurebasedb/featurebase/v3/vprint"
)
// catcher is useful to report error locations with a

View file

@ -9,10 +9,10 @@ import (
"sync"
"time"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/client/egpool"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/roaring"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/client/egpool"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/pkg/errors"
)

View file

@ -12,8 +12,8 @@ import (
"testing"
"time"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/test"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/test"
"github.com/pkg/errors"
)

View file

@ -21,14 +21,14 @@ import (
"time"
"github.com/golang/protobuf/proto" //nolint:staticcheck
pilosa "github.com/molecula/featurebase/v3"
fbproto "github.com/molecula/featurebase/v3/encoding/proto" // TODO use this everywhere and get rid of proto import
"github.com/molecula/featurebase/v3/logger"
pnet "github.com/molecula/featurebase/v3/net"
"github.com/molecula/featurebase/v3/pb"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/stats"
pilosa "github.com/featurebasedb/featurebase/v3"
fbproto "github.com/featurebasedb/featurebase/v3/encoding/proto" // TODO use this everywhere and get rid of proto import
"github.com/featurebasedb/featurebase/v3/logger"
pnet "github.com/featurebasedb/featurebase/v3/net"
"github.com/featurebasedb/featurebase/v3/pb"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/stats"
"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
"golang.org/x/sync/errgroup"

View file

@ -9,12 +9,12 @@ import (
"testing"
"time"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/disco"
pnet "github.com/molecula/featurebase/v3/net"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/shardwidth"
"github.com/molecula/featurebase/v3/test"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/disco"
pnet "github.com/featurebasedb/featurebase/v3/net"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/shardwidth"
"github.com/featurebasedb/featurebase/v3/test"
"github.com/stretchr/testify/require"
"golang.org/x/sync/errgroup"
)
@ -227,7 +227,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/molecula/featurebase/issues/625
// XXX: The following is required to make this test pass. See: https://github.com/featurebasedb/featurebase/issues/625
_, _, err = cli.HTTPRequest("POST", "/recalculate-caches", nil, nil)
require.NoErrorf(t, err, "POST /recalculate-caches")

View file

@ -11,7 +11,7 @@ import (
"reflect"
"testing"
pnet "github.com/molecula/featurebase/v3/net"
pnet "github.com/featurebasedb/featurebase/v3/net"
)
func TestQueryWithError(t *testing.T) {

View file

@ -8,7 +8,7 @@ package client
import (
"sync"
pnet "github.com/molecula/featurebase/v3/net"
pnet "github.com/featurebasedb/featurebase/v3/net"
)
// Cluster contains hosts in a Pilosa cluster.

View file

@ -8,7 +8,7 @@ package client
import (
"testing"
pnet "github.com/molecula/featurebase/v3/net"
pnet "github.com/featurebasedb/featurebase/v3/net"
)
func TestNewClusterWithHost(t *testing.T) {

View file

@ -11,7 +11,7 @@ import (
"strings"
"time"
"github.com/molecula/featurebase/v3/client"
"github.com/featurebasedb/featurebase/v3/client"
)
// Format is the format of the data in the CSV file.

View file

@ -11,8 +11,8 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/client"
"github.com/molecula/featurebase/v3/client/csv"
"github.com/featurebasedb/featurebase/v3/client"
"github.com/featurebasedb/featurebase/v3/client/csv"
)
func TestCSVIterate(t *testing.T) {

View file

@ -9,9 +9,9 @@ import (
"strings"
"testing"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/client"
"github.com/molecula/featurebase/v3/client/csv"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/client"
"github.com/featurebasedb/featurebase/v3/client/csv"
)
func TestCSVColumnIterator(t *testing.T) {

View file

@ -12,7 +12,7 @@ Usage:
import (
"fmt"
"github.com/molecula/featurebase/v3/client"
"github.com/featurebasedb/featurebase/v3/client"
)
// Create a Client instance

View file

@ -6,7 +6,7 @@ import (
"errors"
"testing"
"github.com/molecula/featurebase/v3/client/egpool"
"github.com/featurebasedb/featurebase/v3/client/egpool"
)
func TestEGPool(t *testing.T) {

View file

@ -3,7 +3,7 @@ package client
import (
"time"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/pkg/errors"
)

View file

@ -5,8 +5,8 @@ import (
"testing"
"time"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/test"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/test"
)
func TestIngestAPIBatchAdd(t *testing.T) {

View file

@ -14,7 +14,7 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/pkg/errors"
)

View file

@ -14,8 +14,8 @@ import (
"testing"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/pql"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/pkg/errors"
)

View file

@ -8,7 +8,7 @@ package client_test
import (
"testing"
"github.com/molecula/featurebase/v3/client"
"github.com/featurebasedb/featurebase/v3/client"
)
func TestColumnShard(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"encoding/json"
"fmt"
"github.com/molecula/featurebase/v3/pb"
"github.com/featurebasedb/featurebase/v3/pb"
)
// QueryResponse types.

View file

@ -12,7 +12,7 @@ import (
"reflect"
"testing"
"github.com/molecula/featurebase/v3/pb"
"github.com/featurebasedb/featurebase/v3/pb"
)
func TestNewRowResultFromInternal(t *testing.T) {

View file

@ -8,7 +8,7 @@ package client
import (
"sync"
pnet "github.com/molecula/featurebase/v3/net"
pnet "github.com/featurebasedb/featurebase/v3/net"
)
type shardNodes struct {

View file

@ -8,10 +8,10 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/ingest"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/ingest"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/pkg/errors"
"golang.org/x/sync/errgroup"
)

View file

@ -11,11 +11,11 @@ import (
"time"
"github.com/davecgh/go-spew/spew"
"github.com/molecula/featurebase/v3/disco"
pnet "github.com/molecula/featurebase/v3/net"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/testhook"
. "github.com/molecula/featurebase/v3/vprint" // nolint:staticcheck
"github.com/featurebasedb/featurebase/v3/disco"
pnet "github.com/featurebasedb/featurebase/v3/net"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/testhook"
. "github.com/featurebasedb/featurebase/v3/vprint" // nolint:staticcheck
)
// newHolderWithTempPath returns a new instance of Holder.

2
cmd.go
View file

@ -5,7 +5,7 @@ package pilosa
import (
"io"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
// CmdIO holds standard unix inputs and outputs.

View file

@ -6,7 +6,7 @@ import (
"context"
"io"
"github.com/molecula/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/spf13/cobra"
)

View file

@ -6,7 +6,7 @@ import (
"context"
"io"
"github.com/molecula/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/spf13/cobra"
)

View file

@ -13,10 +13,10 @@ import (
"io/ioutil"
gohttp "net/http"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/encoding/proto"
pnet "github.com/molecula/featurebase/v3/net"
"github.com/molecula/featurebase/v3/vprint"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/encoding/proto"
pnet "github.com/featurebasedb/featurebase/v3/net"
"github.com/featurebasedb/featurebase/v3/vprint"
"os"
"strconv"

View file

@ -6,7 +6,7 @@ import (
"context"
"io"
"github.com/molecula/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/spf13/cobra"
)

View file

@ -8,8 +8,8 @@ import (
"github.com/spf13/cobra"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/server"
)
var conf *ctl.ConfigCommand

View file

@ -8,7 +8,7 @@ import (
"github.com/spf13/cobra"
"github.com/molecula/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/ctl"
)
var Exporter *ctl.ExportCommand

View file

@ -6,7 +6,7 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/cmd"
"github.com/featurebasedb/featurebase/v3/cmd"
)
func TestExportHelp(t *testing.T) {

View file

@ -10,7 +10,7 @@ import (
"os"
"strings"
"github.com/molecula/featurebase/v3/sql2"
"github.com/featurebasedb/featurebase/v3/sql2"
)
func main() {

View file

@ -9,8 +9,8 @@ import (
"fmt"
"os"
"github.com/molecula/featurebase/v3/cmd"
"github.com/molecula/featurebase/v3/monitor"
"github.com/featurebasedb/featurebase/v3/cmd"
"github.com/featurebasedb/featurebase/v3/monitor"
)
func main() {

View file

@ -8,7 +8,7 @@ import (
"github.com/spf13/cobra"
"github.com/molecula/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/ctl"
)
var generateConf *ctl.GenerateConfigCommand

View file

@ -8,9 +8,9 @@ import (
"io"
"strconv"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/pql"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/spf13/cobra"
)

View file

@ -6,10 +6,10 @@ import (
"strings"
"testing"
pilosa "github.com/molecula/featurebase/v3"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/molecula/featurebase/v3/cmd"
"github.com/molecula/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/cmd"
"github.com/featurebasedb/featurebase/v3/pql"
)
func TestImportHelp(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"context"
"io"
"github.com/molecula/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/spf13/cobra"
)

View file

@ -17,8 +17,8 @@ import (
"strings"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/encoding/proto"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/encoding/proto"
"golang.org/x/sync/errgroup"
)

View file

@ -9,7 +9,7 @@ import (
"io"
"strconv"
"github.com/molecula/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/spf13/cobra"
)

View file

@ -6,7 +6,7 @@ import (
"context"
"io"
"github.com/molecula/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/spf13/cobra"
)

View file

@ -14,13 +14,13 @@ import (
"strings"
"syscall"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/rbf"
"github.com/molecula/featurebase/v3/rbf/cfg"
"github.com/molecula/featurebase/v3/roaring"
txkey "github.com/molecula/featurebase/v3/short_txkey"
"github.com/molecula/featurebase/v3/vprint"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/rbf"
"github.com/featurebasedb/featurebase/v3/rbf/cfg"
"github.com/featurebasedb/featurebase/v3/roaring"
txkey "github.com/featurebasedb/featurebase/v3/short_txkey"
"github.com/featurebasedb/featurebase/v3/vprint"
"github.com/spf13/cobra"
)

View file

@ -7,7 +7,7 @@ import (
"io"
"strings"
pilosa "github.com/molecula/featurebase/v3"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"

View file

@ -13,8 +13,8 @@ import (
"time"
"github.com/molecula/featurebase/v3/cmd"
"github.com/molecula/featurebase/v3/testhook"
"github.com/featurebasedb/featurebase/v3/cmd"
"github.com/featurebasedb/featurebase/v3/testhook"
"github.com/spf13/cobra"
)

View file

@ -5,10 +5,10 @@ package cmd
import (
"io"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/server"
"github.com/molecula/featurebase/v3/tracing"
"github.com/molecula/featurebase/v3/tracing/opentracing"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/tracing"
"github.com/featurebasedb/featurebase/v3/tracing/opentracing"
"github.com/pkg/errors"
"github.com/spf13/cobra"
jaegercfg "github.com/uber/jaeger-client-go/config"

View file

@ -10,10 +10,10 @@ import (
"time"
"github.com/felixge/fgprof"
"github.com/molecula/featurebase/v3/cmd"
_ "github.com/molecula/featurebase/v3/test"
"github.com/molecula/featurebase/v3/testhook"
"github.com/molecula/featurebase/v3/toml"
"github.com/featurebasedb/featurebase/v3/cmd"
_ "github.com/featurebasedb/featurebase/v3/test"
"github.com/featurebasedb/featurebase/v3/testhook"
"github.com/featurebasedb/featurebase/v3/toml"
"github.com/pkg/errors"
)

View file

@ -18,10 +18,10 @@ import (
"strings"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/encoding/proto"
pnet "github.com/molecula/featurebase/v3/net"
"github.com/molecula/featurebase/v3/vprint"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/encoding/proto"
pnet "github.com/featurebasedb/featurebase/v3/net"
"github.com/featurebasedb/featurebase/v3/vprint"
)
// slurp: slurp is a load-tester for importing bulk data.

View file

@ -13,8 +13,8 @@ import (
"strings"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/server"
"golang.org/x/oauth2"
)

View file

@ -13,11 +13,11 @@ import (
"path/filepath"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/encoding/proto"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/encoding/proto"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pkg/errors"
"github.com/ricochet2200/go-disk-usage/du"
"golang.org/x/sync/errgroup"

View file

@ -9,8 +9,8 @@ import (
"io"
"github.com/cespare/xxhash"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/server"
)
// ChkSumCommand represents a command for backing up a Pilosa node.

View file

@ -5,10 +5,10 @@ package ctl
import (
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/encoding/proto"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/encoding/proto"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)

View file

@ -7,8 +7,8 @@ import (
"fmt"
"io"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/server"
toml "github.com/pelletier/go-toml"
)

View file

@ -10,7 +10,7 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/server"
)
func TestConfigCommand_Run(t *testing.T) {

View file

@ -7,8 +7,8 @@ import (
"io"
"os"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pkg/errors"
)

View file

@ -9,8 +9,8 @@ import (
"strings"
"testing"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/test"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/test"
)
func TestExportCommand_Validation(t *testing.T) {

View file

@ -7,8 +7,8 @@ import (
"fmt"
"io"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pelletier/go-toml"
"github.com/pkg/errors"
)

View file

@ -12,10 +12,10 @@ import (
"strconv"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pkg/errors"
)

View file

@ -19,12 +19,12 @@ import (
"time"
"github.com/golang-jwt/jwt"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
"github.com/molecula/featurebase/v3/test"
"github.com/molecula/featurebase/v3/testhook"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/test"
"github.com/featurebasedb/featurebase/v3/testhook"
)
func TestImportCommand_Validation(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"io"
"github.com/gorilla/securecookie"
pilosa "github.com/molecula/featurebase/v3"
pilosa "github.com/featurebasedb/featurebase/v3"
)
// Keygen represents a command for generating a cryptographic key.

View file

@ -10,7 +10,7 @@ import (
_ "net/http/pprof"
"github.com/molecula/featurebase/v3/testhook"
"github.com/featurebasedb/featurebase/v3/testhook"
)
func TestMain(m *testing.M) {

View file

@ -7,8 +7,8 @@ import (
"fmt"
"io"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/rbf"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/rbf"
)
// RBFCheckCommand represents a command for running a consistency check on RBF.

View file

@ -9,8 +9,8 @@ import (
"io"
"strings"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/rbf"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/rbf"
)
// RBFDumpCommand represents a command for dumping raw data for an RBF page.

View file

@ -7,8 +7,8 @@ import (
"fmt"
"io"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/rbf"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/rbf"
)
// RBFPageCommand represents a command for printing data for a single RBF page.

View file

@ -7,9 +7,9 @@ import (
"fmt"
"io"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/rbf"
"github.com/molecula/featurebase/v3/txkey"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/rbf"
"github.com/featurebasedb/featurebase/v3/txkey"
)
// RBFPagesCommand represents a command for printing a list of RBF page metadata.

View file

@ -18,11 +18,11 @@ import (
"github.com/hashicorp/go-retryablehttp"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pkg/errors"
"golang.org/x/sync/errgroup"
)

View file

@ -5,8 +5,8 @@ package ctl
import (
"time"
"github.com/molecula/featurebase/v3/server"
"github.com/molecula/featurebase/v3/storage"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/storage"
"github.com/spf13/cobra"
)

View file

@ -6,7 +6,7 @@ import (
"bytes"
"testing"
"github.com/molecula/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/spf13/cobra"
)

View file

@ -9,7 +9,7 @@ import (
"time"
"github.com/felixge/fgprof"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/pkg/errors"
)

View file

@ -11,12 +11,12 @@ import (
"strings"
"sync"
rbfcfg "github.com/molecula/featurebase/v3/rbf/cfg"
txkey "github.com/molecula/featurebase/v3/short_txkey"
"github.com/molecula/featurebase/v3/storage"
rbfcfg "github.com/featurebasedb/featurebase/v3/rbf/cfg"
txkey "github.com/featurebasedb/featurebase/v3/short_txkey"
"github.com/featurebasedb/featurebase/v3/storage"
"github.com/pkg/errors"
"github.com/molecula/featurebase/v3/vprint"
"github.com/featurebasedb/featurebase/v3/vprint"
)
var _ = sort.Sort

View file

@ -8,11 +8,11 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/rbf"
"github.com/molecula/featurebase/v3/shardwidth"
txkey "github.com/molecula/featurebase/v3/short_txkey"
"github.com/molecula/featurebase/v3/testhook"
. "github.com/molecula/featurebase/v3/vprint" // nolint:staticcheck
"github.com/featurebasedb/featurebase/v3/rbf"
"github.com/featurebasedb/featurebase/v3/shardwidth"
txkey "github.com/featurebasedb/featurebase/v3/short_txkey"
"github.com/featurebasedb/featurebase/v3/testhook"
. "github.com/featurebasedb/featurebase/v3/vprint" // nolint:staticcheck
)
// Shard per db evaluation

View file

@ -8,11 +8,11 @@ import (
"reflect"
"testing"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/boltdb"
"github.com/molecula/featurebase/v3/server"
"github.com/molecula/featurebase/v3/test"
. "github.com/molecula/featurebase/v3/vprint" // nolint:staticcheck
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/boltdb"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/test"
. "github.com/featurebasedb/featurebase/v3/vprint" // nolint:staticcheck
)
func TestAPI_SimplerOneNode_ImportColumnKey(t *testing.T) {

View file

@ -9,9 +9,9 @@ import (
"testing"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/test"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/test"
"github.com/stretchr/testify/require"
)

View file

@ -12,7 +12,7 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/pkg/errors"
)
@ -125,11 +125,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/molecula/featurebase/releases", d.version, value)
return fmt.Errorf("you are running Pilosa %s, a newer version (%s) is available: https://github.com/featurebasedb/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/molecula/featurebase/releases", d.version, value)
return fmt.Errorf("you are running Pilosa %s, the latest minor release is %s: https://github.com/featurebasedb/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/molecula/featurebase/releases", value)
return fmt.Errorf("there is a new patch release of Pilosa available: %s: https://github.com/featurebasedb/featurebase/releases", value)
}
return nil

View file

@ -11,7 +11,7 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestDiagnosticsClient(t *testing.T) {

View file

@ -5,7 +5,7 @@ package disco
import (
"fmt"
"github.com/molecula/featurebase/v3/net"
"github.com/featurebasedb/featurebase/v3/net"
)
// Node represents a node in the cluster.

View file

@ -6,8 +6,8 @@ import (
"encoding/binary"
"hash/fnv"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/shardwidth"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/shardwidth"
)
const (

View file

@ -8,13 +8,13 @@ import (
"time"
"github.com/gogo/protobuf/proto"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/ingest"
pnet "github.com/molecula/featurebase/v3/net"
"github.com/molecula/featurebase/v3/pb"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/roaring"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/ingest"
pnet "github.com/featurebasedb/featurebase/v3/net"
"github.com/featurebasedb/featurebase/v3/pb"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/pkg/errors"
)

View file

@ -7,9 +7,9 @@ import (
"reflect"
"testing"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/ingest"
"github.com/molecula/featurebase/v3/pb"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/ingest"
"github.com/featurebasedb/featurebase/v3/pb"
)
func testOneRoundTrip(t *testing.T, s pilosa.Serializer, obj pilosa.Message, expectedMarshalErr error, expectedUnmarshalErr error, expectedMismatchErr error) {

View file

@ -14,9 +14,9 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/monitor"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/monitor"
"github.com/pkg/errors"
"go.etcd.io/etcd/api/v3/mvccpb"
"go.etcd.io/etcd/client/pkg/v3/transport"

View file

@ -6,8 +6,8 @@ import (
"testing"
"time"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/logger"
"go.etcd.io/etcd/server/v3/embed"
)

View file

@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/molecula/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/disco"
clientv3 "go.etcd.io/etcd/client/v3"
)

Some files were not shown because too many files have changed in this diff Show more