Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit da9b57b

Browse files
author
Fletcher Haynes
committed
Updated dependency paths to reflect new repo location
1 parent eb06bb5 commit da9b57b

File tree

347 files changed

+891
-891
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+891
-891
lines changed

Dockerfile-clustertests

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM golang:1.19
55

66
LABEL maintainer "[email protected]"
77

8-
COPY . /go/src/github.com/molecula/featurebase/
8+
COPY . /go/src/github.com/featurebasedb/featurebase/
99

1010

1111
# download pumba for fault injection
@@ -22,9 +22,9 @@ RUN chmod +x /usr/local/bin/docker-compose
2222

2323
# generate an instrumented binary to allow for calculating code coverage for clustertests
2424
# the entrypoint for the binary is TestRunMain, which is wrapper for main
25-
RUN cd /go/src/github.com/molecula/featurebase/cmd/featurebase && \
25+
RUN cd /go/src/github.com/featurebasedb/featurebase/cmd/featurebase && \
2626
go test -covermode=atomic -coverpkg=../../... -c -tags testrunmain -o featurebase && \
27-
cp /go/src/github.com/molecula/featurebase/cmd/featurebase/featurebase /featurebase
27+
cp /go/src/github.com/featurebasedb/featurebase/cmd/featurebase/featurebase /featurebase
2828

2929
COPY NOTICE /NOTICE
3030

Dockerfile-clustertests-client

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM golang:1.19
55

66
LABEL maintainer "[email protected]"
77

8-
COPY . /go/src/github.com/molecula/featurebase/
8+
COPY . /go/src/github.com/featurebasedb/featurebase/
99

1010
# download pumba for fault injection
1111
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
1919
ADD https://github.com/docker/compose/releases/latest/download/docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
2020
RUN chmod +x /usr/local/bin/docker-compose
2121

22-
RUN cd /go/src/github.com/molecula/featurebase/cmd/featurebase && \
22+
RUN cd /go/src/github.com/featurebasedb/featurebase/cmd/featurebase && \
2323
go test -covermode=atomic -coverpkg=../../... -c -tags testrunmain -o featurebase && \
24-
cp /go/src/github.com/molecula/featurebase/cmd/featurebase/featurebase /featurebase
24+
cp /go/src/github.com/featurebasedb/featurebase/cmd/featurebase/featurebase /featurebase
2525

2626

2727
COPY NOTICE /NOTICE
2828

29-
COPY ./internal/clustertests /go/src/github.com/molecula/featurebase/internal/clustertests
29+
COPY ./internal/clustertests /go/src/github.com/featurebasedb/featurebase/internal/clustertests
3030

3131
EXPOSE 10101
3232
VOLUME /data

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BRANCH_ID := $(BRANCH)-$(GOOS)-$(GOARCH)
1212
BUILD_TIME := $(shell date -u +%FT%T%z)
1313
SHARD_WIDTH = 20
1414
COMMIT := $(shell git describe --exact-match >/dev/null 2>&1 || git rev-parse --short HEAD)
15-
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)"
15+
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)"
1616
GO_VERSION=1.19
1717
DOCKER_BUILD= # set to 1 to use `docker-build` instead of `build` when creating a release
1818
BUILD_TAGS += shardwidth$(SHARD_WIDTH)
@@ -68,7 +68,7 @@ testv-race: testvsub-race
6868
#
6969
testvsub:
7070
@set -e; for pkg in $(GOPACKAGES); do \
71-
if [ $${pkg:0:38} == "github.com/molecula/featurebase/v3/idk" ]; then \
71+
if [ $${pkg:0:38} == "github.com/featurebasedb/featurebase/v3/idk" ]; then \
7272
echo; echo "___ skipping subpkg $$pkg"; \
7373
continue; \
7474
fi; \
@@ -161,7 +161,7 @@ clustertests: vendor
161161
$(DOCKER_COMPOSE) -f internal/clustertests/docker-compose.yml down
162162

163163
# Run the cluster tests with authentication enabled
164-
AUTH_ARGS="-c /go/src/github.com/molecula/featurebase/internal/clustertests/testdata/featurebase.conf"
164+
AUTH_ARGS="-c /go/src/github.com/featurebasedb/featurebase/internal/clustertests/testdata/featurebase.conf"
165165
authclustertests: vendor
166166
CLUSTERTESTS_FB_ARGS=$(AUTH_ARGS) $(DOCKER_COMPOSE) -f internal/clustertests/docker-compose.yml down
167167
CLUSTERTESTS_FB_ARGS=$(AUTH_ARGS) $(DOCKER_COMPOSE) -f internal/clustertests/docker-compose.yml build
@@ -187,19 +187,19 @@ build-lattice:
187187

188188
# `go generate` protocol buffers
189189
generate-protoc: require-protoc require-protoc-gen-gofast
190-
$(GO) generate github.com/molecula/featurebase/v3/pb
190+
$(GO) generate github.com/featurebasedb/featurebase/v3/pb
191191

192192
# `go generate` statik assets (lattice UI)
193193
generate-statik: build-lattice require-statik
194-
$(GO) generate github.com/molecula/featurebase/v3/statik
194+
$(GO) generate github.com/featurebasedb/featurebase/v3/statik
195195

196196
# `go generate` statik assets (lattice UI) in Docker
197197
generate-statik-docker: build-lattice
198198
docker run --rm -t -v $(PWD):/pilosa golang:1.15.8 sh -c "go get github.com/rakyll/statik && /go/bin/statik -src=/pilosa/lattice/build -dest=/pilosa -f"
199199

200200
# `go generate` stringers
201201
generate-stringer:
202-
$(GO) generate github.com/molecula/featurebase/v3
202+
$(GO) generate github.com/featurebasedb/featurebase/v3
203203

204204
generate-pql: require-peg
205205
cd pql && peg -inline pql.peg && cd ..
@@ -210,7 +210,7 @@ generate-proto-grpc: require-protoc require-protoc-gen-go
210210
# TODO: Modify above commands and remove the below mv if possible.
211211
# See https://go-review.googlesource.com/c/protobuf/+/219298/ for info on --go-opt
212212
# I couldn't get it to work during development - Cody
213-
cp -r proto/github.com/molecula/featurebase/v3/proto/ proto/
213+
cp -r proto/github.com/featurebasedb/featurebase/v3/proto/ proto/
214214
rm -rf proto/github.com
215215

216216
# `go generate` all needed packages

api.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ import (
2323
"sync"
2424
"time"
2525

26-
"github.com/molecula/featurebase/v3/disco"
27-
"github.com/molecula/featurebase/v3/ingest"
28-
"github.com/molecula/featurebase/v3/rbf"
29-
30-
//"github.com/molecula/featurebase/v3/pg"
31-
"github.com/molecula/featurebase/v3/pql"
32-
"github.com/molecula/featurebase/v3/roaring"
33-
"github.com/molecula/featurebase/v3/stats"
34-
"github.com/molecula/featurebase/v3/tracing"
26+
"github.com/featurebasedb/featurebase/v3/disco"
27+
"github.com/featurebasedb/featurebase/v3/ingest"
28+
"github.com/featurebasedb/featurebase/v3/rbf"
29+
30+
//"github.com/featurebasedb/featurebase/v3/pg"
31+
"github.com/featurebasedb/featurebase/v3/pql"
32+
"github.com/featurebasedb/featurebase/v3/roaring"
33+
"github.com/featurebasedb/featurebase/v3/stats"
34+
"github.com/featurebasedb/featurebase/v3/tracing"
3535
"github.com/pkg/errors"
3636
"golang.org/x/sync/errgroup"
3737
)

api/client/grpc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"crypto/tls"
88
"sync"
99

10-
"github.com/molecula/featurebase/v3/logger"
11-
pb "github.com/molecula/featurebase/v3/proto"
10+
"github.com/featurebasedb/featurebase/v3/logger"
11+
pb "github.com/featurebasedb/featurebase/v3/proto"
1212
"github.com/pkg/errors"
1313
"google.golang.org/grpc"
1414
"google.golang.org/grpc/connectivity"

api_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ import (
2323
"time"
2424

2525
"github.com/golang-jwt/jwt"
26-
pilosa "github.com/molecula/featurebase/v3"
27-
"github.com/molecula/featurebase/v3/authn"
28-
"github.com/molecula/featurebase/v3/boltdb"
29-
"github.com/molecula/featurebase/v3/roaring"
30-
"github.com/molecula/featurebase/v3/server"
31-
"github.com/molecula/featurebase/v3/shardwidth"
32-
"github.com/molecula/featurebase/v3/test"
33-
. "github.com/molecula/featurebase/v3/vprint" // nolint:staticcheck
26+
pilosa "github.com/featurebasedb/featurebase/v3"
27+
"github.com/featurebasedb/featurebase/v3/authn"
28+
"github.com/featurebasedb/featurebase/v3/boltdb"
29+
"github.com/featurebasedb/featurebase/v3/roaring"
30+
"github.com/featurebasedb/featurebase/v3/server"
31+
"github.com/featurebasedb/featurebase/v3/shardwidth"
32+
"github.com/featurebasedb/featurebase/v3/test"
33+
. "github.com/featurebasedb/featurebase/v3/vprint" // nolint:staticcheck
3434

3535
"golang.org/x/sync/errgroup"
3636
)

audit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package pilosa
44

55
import (
6-
"github.com/molecula/featurebase/v3/testhook"
6+
"github.com/featurebasedb/featurebase/v3/testhook"
77
)
88

99
var NewAuditor func() testhook.Auditor = NewNopAuditor

audit_internal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
"reflect"
88

9-
"github.com/molecula/featurebase/v3/testhook"
9+
"github.com/featurebasedb/featurebase/v3/testhook"
1010
)
1111

1212
// These audit hooks are desireable during testing, but not in

audit_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"os"
88
"reflect"
99

10-
pilosa "github.com/molecula/featurebase/v3"
11-
"github.com/molecula/featurebase/v3/testhook"
10+
pilosa "github.com/featurebasedb/featurebase/v3"
11+
"github.com/featurebasedb/featurebase/v3/testhook"
1212
)
1313

1414
// AuditLeaksOn is a global switch to turn on resource

authn/authenticate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"google.golang.org/grpc"
2121
"google.golang.org/grpc/metadata"
2222

23-
"github.com/molecula/featurebase/v3/logger"
23+
"github.com/featurebasedb/featurebase/v3/logger"
2424
"github.com/pkg/errors"
2525
"golang.org/x/oauth2"
2626
)

0 commit comments

Comments
 (0)