diff --git a/.github/workflows/ci-dgraph-core-upgrade-tests.yml b/.github/workflows/ci-dgraph-core-upgrade-tests.yml index 68d4ef12093..7b1230f87fe 100644 --- a/.github/workflows/ci-dgraph-core-upgrade-tests.yml +++ b/.github/workflows/ci-dgraph-core-upgrade-tests.yml @@ -41,9 +41,9 @@ jobs: cp dgraph/dgraph ~/go/bin/dgraph # run the core upgrade tests go test -tags=upgrade \ - github.com/dgraph-io/dgraph/v24/ee/acl \ - github.com/dgraph-io/dgraph/v24/worker \ - github.com/dgraph-io/dgraph/v24/query \ + github.com/hypermodeinc/dgraph/v24/ee/acl \ + github.com/hypermodeinc/dgraph/v24/worker \ + github.com/hypermodeinc/dgraph/v24/query \ -v -timeout=120m -failfast # clean up docker containers after test execution go clean -testcache diff --git a/.github/workflows/ci-dgraph-system-upgrade-tests.yml b/.github/workflows/ci-dgraph-system-upgrade-tests.yml index d84c8566d2e..5a1812fc232 100644 --- a/.github/workflows/ci-dgraph-system-upgrade-tests.yml +++ b/.github/workflows/ci-dgraph-system-upgrade-tests.yml @@ -40,10 +40,10 @@ jobs: # move the binary cp dgraph/dgraph ~/go/bin/dgraph # run the sytem upgrade tests - go test -tags=upgrade github.com/dgraph-io/dgraph/v24/systest/mutations-and-queries \ - github.com/dgraph-io/dgraph/v24/systest/plugin \ - github.com/dgraph-io/dgraph/v24/systest/license \ - github.com/dgraph-io/dgraph/v24/systest/multi-tenancy \ + go test -tags=upgrade github.com/hypermodeinc/dgraph/v24/systest/mutations-and-queries \ + github.com/hypermodeinc/dgraph/v24/systest/plugin \ + github.com/hypermodeinc/dgraph/v24/systest/license \ + github.com/hypermodeinc/dgraph/v24/systest/multi-tenancy \ -v -timeout=120m -failfast # clean up docker containers after test execution go clean -testcache diff --git a/README.md b/README.md index 2c4481ffb36..feb8e5affbd 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,9 @@ [![ci-dgraph-load-tests](https://github.com/hypermodeinc/dgraph/actions/workflows/ci-dgraph-load-tests.yml/badge.svg)](https://github.com/hypermodeinc/dgraph/actions/workflows/ci-dgraph-load-tests.yml) [![ci-golang-lint](https://github.com/hypermodeinc/dgraph/actions/workflows/ci-golang-lint.yml/badge.svg)](https://github.com/hypermodeinc/dgraph/actions/workflows/ci-golang-lint.yml) [![ci-aqua-security-trivy-tests](https://github.com/hypermodeinc/dgraph/actions/workflows/ci-aqua-security-trivy-tests.yml/badge.svg)](https://github.com/hypermodeinc/dgraph/actions/workflows/ci-aqua-security-trivy-tests.yml) -[![Coverage Status](https://coveralls.io/repos/github/dgraph-io/dgraph/badge.svg?branch=main)](https://coveralls.io/github/dgraph-io/dgraph?branch=main) -[![Go Report Card](https://goreportcard.com/badge/github.com/dgraph-io/dgraph)](https://goreportcard.com/report/github.com/dgraph-io/dgraph) -[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/dgraph-io/dgraph/main)](https://www.tickgit.com/browse?repo=github.com/dgraph-io/dgraph&branch=main) +[![Coverage Status](https://coveralls.io/repos/github/hypermodeinc/dgraph/badge.svg?branch=main)](https://coveralls.io/github/hypermodeinc/dgraph?branch=main) +[![Go Report Card](https://goreportcard.com/badge/github.com/hypermodeinc/dgraph)](https://goreportcard.com/report/github.com/hypermodeinc/dgraph) +[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/hypermodeinc/dgraph/main)](https://www.tickgit.com/browse?repo=github.com/hypermodeinc/dgraph&branch=main) Dgraph is a horizontally scalable and distributed GraphQL database with a graph backend. It provides ACID transactions, consistent replication, and linearizable reads. It's built from the ground up to perform a rich set of queries. Being a native GraphQL database, it tightly controls how the diff --git a/algo/heap.go b/algo/heap.go index 1e339e6b74d..b6b62e51e73 100644 --- a/algo/heap.go +++ b/algo/heap.go @@ -17,7 +17,7 @@ package algo import ( - "github.com/dgraph-io/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/codec" ) type elem struct { diff --git a/algo/packed.go b/algo/packed.go index eb027071c67..bbd6761b7c8 100644 --- a/algo/packed.go +++ b/algo/packed.go @@ -20,8 +20,8 @@ import ( "container/heap" "sort" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) // ApplyFilterPacked applies the filter to a list of packed uids. diff --git a/algo/packed_test.go b/algo/packed_test.go index 25c0bfd1163..0cf42d496f0 100644 --- a/algo/packed_test.go +++ b/algo/packed_test.go @@ -22,8 +22,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) func newUidPack(data []uint64) *pb.UidPack { diff --git a/algo/uidlist.go b/algo/uidlist.go index 9babdcac265..a4084a02846 100644 --- a/algo/uidlist.go +++ b/algo/uidlist.go @@ -20,8 +20,8 @@ import ( "container/heap" "sort" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) const jump = 32 // Jump size in InsersectWithJump. diff --git a/algo/uidlist_test.go b/algo/uidlist_test.go index 6d8f96ff871..6dd4b8c1613 100644 --- a/algo/uidlist_test.go +++ b/algo/uidlist_test.go @@ -26,8 +26,8 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) func newList(data []uint64) *pb.List { diff --git a/check_upgrade/check_upgrade.go b/check_upgrade/check_upgrade.go index 68d7f5b454f..8431699406e 100644 --- a/check_upgrade/check_upgrade.go +++ b/check_upgrade/check_upgrade.go @@ -30,8 +30,8 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/check_upgrade/check_upgrade_test.go b/check_upgrade/check_upgrade_test.go index b6c7d59f5b9..eaae0419a66 100644 --- a/check_upgrade/check_upgrade_test.go +++ b/check_upgrade/check_upgrade_test.go @@ -28,10 +28,10 @@ import ( "time" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" "github.com/golang-jwt/jwt/v5" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/chunker/chunk.go b/chunker/chunk.go index e501ffe6884..3494a4017fa 100644 --- a/chunker/chunk.go +++ b/chunker/chunk.go @@ -30,9 +30,9 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/lex" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/x" ) // Chunker describes the interface to parse and process the input to the live and bulk loaders. diff --git a/chunker/json_parser.go b/chunker/json_parser.go index 17b3333bfd6..2a4aabde66c 100644 --- a/chunker/json_parser.go +++ b/chunker/json_parser.go @@ -31,11 +31,11 @@ import ( "github.com/twpayne/go-geom/encoding/geojson" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/simdjson-go" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) func stripSpaces(str string) string { diff --git a/chunker/json_parser_test.go b/chunker/json_parser_test.go index 33e3cdd2ab5..88624581b81 100644 --- a/chunker/json_parser_test.go +++ b/chunker/json_parser_test.go @@ -32,9 +32,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" ) func makeNquad(sub, pred string, val *api.Value) *api.NQuad { diff --git a/chunker/rdf_parser.go b/chunker/rdf_parser.go index 05584a8b816..5b0b40fac3c 100644 --- a/chunker/rdf_parser.go +++ b/chunker/rdf_parser.go @@ -25,11 +25,11 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/lex" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/chunker/rdf_parser_test.go b/chunker/rdf_parser_test.go index 31a82f759e2..30c86e1a0b9 100644 --- a/chunker/rdf_parser_test.go +++ b/chunker/rdf_parser_test.go @@ -22,9 +22,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/lex" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) var testNQuads = []struct { diff --git a/chunker/rdf_state.go b/chunker/rdf_state.go index deda7f240e3..83b7093c2d9 100644 --- a/chunker/rdf_state.go +++ b/chunker/rdf_state.go @@ -19,7 +19,7 @@ package chunker import ( "strconv" - "github.com/dgraph-io/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/lex" ) // The constants represent different types of lexed Items possible for an rdf N-Quad. diff --git a/codec/benchmark/benchmark.go b/codec/benchmark/benchmark.go index 599535e7ac3..3d91cc31a4a 100644 --- a/codec/benchmark/benchmark.go +++ b/codec/benchmark/benchmark.go @@ -33,9 +33,9 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) // So, with SIMD instructions before, we were getting great performance, but at the cost of diff --git a/codec/codec.go b/codec/codec.go index d3848b2b63f..0c092cbf79b 100644 --- a/codec/codec.go +++ b/codec/codec.go @@ -25,9 +25,9 @@ import ( "github.com/dgryski/go-groupvarint" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) type seekPos int diff --git a/codec/codec_test.go b/codec/codec_test.go index de74f5ff865..5f570711629 100644 --- a/codec/codec_test.go +++ b/codec/codec_test.go @@ -30,9 +30,9 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) func getUids(size int) []uint64 { diff --git a/compose/compose.go b/compose/compose.go index 349210d8fa6..fdf6f8b756d 100644 --- a/compose/compose.go +++ b/compose/compose.go @@ -30,7 +30,7 @@ import ( "github.com/spf13/pflag" yaml "gopkg.in/yaml.v2" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) type stringMap map[string]string @@ -471,7 +471,7 @@ func addMetrics(cfg *composeConfig) { }, { Type: "bind", - Source: "$GOPATH/src/github.com/dgraph-io/dgraph/compose/prometheus.yml", + Source: "$GOPATH/src/github.com/hypermodeinc/dgraph/compose/prometheus.yml", Target: "/etc/prometheus/prometheus.yml", ReadOnly: true, }, diff --git a/conn/node.go b/conn/node.go index ddb02c33b8b..3017bab281a 100644 --- a/conn/node.go +++ b/conn/node.go @@ -37,10 +37,10 @@ import ( "github.com/dgraph-io/badger/v4/y" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/conn/node_test.go b/conn/node_test.go index fe0b60380a8..52ff517249c 100644 --- a/conn/node_test.go +++ b/conn/node_test.go @@ -28,8 +28,8 @@ import ( "go.etcd.io/etcd/raft/v3" "go.etcd.io/etcd/raft/v3/raftpb" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" ) func (n *Node) run(wg *sync.WaitGroup) { diff --git a/conn/pool.go b/conn/pool.go index 5fdb5325562..228cb32c795 100644 --- a/conn/pool.go +++ b/conn/pool.go @@ -31,9 +31,9 @@ import ( "google.golang.org/grpc/credentials/insecure" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/conn/raft_server.go b/conn/raft_server.go index a6645985350..7b5605629a2 100644 --- a/conn/raft_server.go +++ b/conn/raft_server.go @@ -31,8 +31,8 @@ import ( otrace "go.opencensus.io/trace" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) type sendmsg struct { diff --git a/contrib/integration/acctupsert/main.go b/contrib/integration/acctupsert/main.go index c5d47528d61..3aa23575f51 100644 --- a/contrib/integration/acctupsert/main.go +++ b/contrib/integration/acctupsert/main.go @@ -31,8 +31,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/contrib/integration/bank/main.go b/contrib/integration/bank/main.go index cbe652ea1a9..6e4c97fb4e8 100644 --- a/contrib/integration/bank/main.go +++ b/contrib/integration/bank/main.go @@ -41,7 +41,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/contrib/integration/bigdata/main.go b/contrib/integration/bigdata/main.go index 94a88f1966e..fe1872bad02 100644 --- a/contrib/integration/bigdata/main.go +++ b/contrib/integration/bigdata/main.go @@ -33,7 +33,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var addrs = flag.String("addrs", "", "comma separated dgraph addresses") diff --git a/contrib/integration/mutates/main.go b/contrib/integration/mutates/main.go index 4ab9aeca9ae..e86273f04a2 100644 --- a/contrib/integration/mutates/main.go +++ b/contrib/integration/mutates/main.go @@ -28,7 +28,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var alpha = flag.String("alpha", "localhost:9080", "Dgraph alpha addr") diff --git a/contrib/integration/swap/main.go b/contrib/integration/swap/main.go index eb56ab047f3..337fee8bf80 100644 --- a/contrib/integration/swap/main.go +++ b/contrib/integration/swap/main.go @@ -32,8 +32,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/contrib/integration/testtxn/main_test.go b/contrib/integration/testtxn/main_test.go index 540a4f573df..fdc38d188e1 100644 --- a/contrib/integration/testtxn/main_test.go +++ b/contrib/integration/testtxn/main_test.go @@ -35,8 +35,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type state struct { diff --git a/contrib/jepsen/main.go b/contrib/jepsen/main.go index 37d6d7b3791..624806b2051 100644 --- a/contrib/jepsen/main.go +++ b/contrib/jepsen/main.go @@ -46,7 +46,7 @@ import ( "github.com/golang/glog" "github.com/spf13/pflag" - "github.com/dgraph-io/dgraph/v24/contrib/jepsen/browser" + "github.com/hypermodeinc/dgraph/v24/contrib/jepsen/browser" ) type jepsenTest struct { diff --git a/contrib/tlstest/Makefile b/contrib/tlstest/Makefile index ea3b864c021..a5e3bcd1807 100644 --- a/contrib/tlstest/Makefile +++ b/contrib/tlstest/Makefile @@ -15,7 +15,7 @@ # -DGRAPH_PATH = $(GOPATH)/src/github.com/dgraph-io/dgraph/dgraph +DGRAPH_PATH = $(GOPATH)/src/github.com/hypermodeinc/dgraph/dgraph DGRAPH_BIN = $(DGRAPH_PATH)/dgraph TARGETS = test1 test2 test3 test4 test5 test6 diff --git a/dgraph/Makefile b/dgraph/Makefile index 4d257500498..ad535691d58 100644 --- a/dgraph/Makefile +++ b/dgraph/Makefile @@ -36,11 +36,11 @@ endif GOPATH ?= $(shell go env GOPATH) # Build-time Go variables -dgraphVersion = github.com/dgraph-io/dgraph/v24/x.dgraphVersion -dgraphCodename = github.com/dgraph-io/dgraph/v24/x.dgraphCodename -gitBranch = github.com/dgraph-io/dgraph/v24/x.gitBranch -lastCommitSHA = github.com/dgraph-io/dgraph/v24/x.lastCommitSHA -lastCommitTime = github.com/dgraph-io/dgraph/v24/x.lastCommitTime +dgraphVersion = github.com/hypermodeinc/dgraph/v24/x.dgraphVersion +dgraphCodename = github.com/hypermodeinc/dgraph/v24/x.dgraphCodename +gitBranch = github.com/hypermodeinc/dgraph/v24/x.gitBranch +lastCommitSHA = github.com/hypermodeinc/dgraph/v24/x.lastCommitSHA +lastCommitTime = github.com/hypermodeinc/dgraph/v24/x.lastCommitTime BUILD_FLAGS ?= -ldflags '-X ${lastCommitSHA}=${BUILD} -X "${lastCommitTime}=${BUILD_DATE}" -X "${dgraphVersion}=${BUILD_VERSION}" -X "${dgraphCodename}=${BUILD_CODENAME}" -X ${gitBranch}=${BUILD_BRANCH}' diff --git a/dgraph/cmd/alpha/admin.go b/dgraph/cmd/alpha/admin.go index cafa2d6621b..0d69aee35a9 100644 --- a/dgraph/cmd/alpha/admin.go +++ b/dgraph/cmd/alpha/admin.go @@ -24,10 +24,10 @@ import ( "strconv" "strings" - "github.com/dgraph-io/dgraph/v24/graphql/admin" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/admin" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) type allowedMethods map[string]bool diff --git a/dgraph/cmd/alpha/dashboard.go b/dgraph/cmd/alpha/dashboard.go index 6756ca85df9..eaf72e292b4 100644 --- a/dgraph/cmd/alpha/dashboard.go +++ b/dgraph/cmd/alpha/dashboard.go @@ -20,7 +20,7 @@ import ( "encoding/json" "net/http" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) type keyword struct { diff --git a/dgraph/cmd/alpha/http.go b/dgraph/cmd/alpha/http.go index 66c9f6dec4d..6cc8e5d2d47 100644 --- a/dgraph/cmd/alpha/http.go +++ b/dgraph/cmd/alpha/http.go @@ -37,12 +37,12 @@ import ( jsonpb "google.golang.org/protobuf/encoding/protojson" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/admin" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/admin" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/x" ) func allowed(method string) bool { diff --git a/dgraph/cmd/alpha/http_test.go b/dgraph/cmd/alpha/http_test.go index 3d3668fe011..d35d375fd1f 100644 --- a/dgraph/cmd/alpha/http_test.go +++ b/dgraph/cmd/alpha/http_test.go @@ -35,10 +35,10 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type res struct { diff --git a/dgraph/cmd/alpha/login_ee.go b/dgraph/cmd/alpha/login_ee.go index c20a0ea2d10..cf739f4433e 100644 --- a/dgraph/cmd/alpha/login_ee.go +++ b/dgraph/cmd/alpha/login_ee.go @@ -22,8 +22,8 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/x" ) func loginHandler(w http.ResponseWriter, r *http.Request) { diff --git a/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go b/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go index 69f4e20a279..4b178eeaffb 100644 --- a/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go +++ b/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go @@ -29,7 +29,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) // Tests in this file require a cluster running with the --limit "mutations=;" flag. diff --git a/dgraph/cmd/alpha/run.go b/dgraph/cmd/alpha/run.go index 40a32bbadcf..3d2855d674d 100644 --- a/dgraph/cmd/alpha/run.go +++ b/dgraph/cmd/alpha/run.go @@ -50,18 +50,18 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/ee/audit" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/graphql/admin" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" _ "github.com/dgraph-io/gqlparser/v2/validator/rules" // make gql validator init() all rules "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/ee/audit" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/graphql/admin" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/dgraph/cmd/alpha/run_test.go b/dgraph/cmd/alpha/run_test.go index 09289583b07..5787cbf7ffa 100644 --- a/dgraph/cmd/alpha/run_test.go +++ b/dgraph/cmd/alpha/run_test.go @@ -46,12 +46,12 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type defaultContextKey int diff --git a/dgraph/cmd/alpha/upsert_test.go b/dgraph/cmd/alpha/upsert_test.go index 4dd80028e3f..1e29337ce0f 100644 --- a/dgraph/cmd/alpha/upsert_test.go +++ b/dgraph/cmd/alpha/upsert_test.go @@ -30,8 +30,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type QueryResult struct { diff --git a/dgraph/cmd/bulk/count_index.go b/dgraph/cmd/bulk/count_index.go index 4cbd40ab82e..cb6f850c5c4 100644 --- a/dgraph/cmd/bulk/count_index.go +++ b/dgraph/cmd/bulk/count_index.go @@ -26,11 +26,11 @@ import ( "github.com/golang/glog" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) // type countEntry struct { diff --git a/dgraph/cmd/bulk/loader.go b/dgraph/cmd/bulk/loader.go index 4d3bfe0a616..429fabab46a 100644 --- a/dgraph/cmd/bulk/loader.go +++ b/dgraph/cmd/bulk/loader.go @@ -39,14 +39,14 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/filestore" - gqlSchema "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" - "github.com/dgraph-io/dgraph/v24/xidmap" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/filestore" + gqlSchema "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/xidmap" ) type options struct { diff --git a/dgraph/cmd/bulk/mapper.go b/dgraph/cmd/bulk/mapper.go index 5f764fbbc79..142aaabc149 100644 --- a/dgraph/cmd/bulk/mapper.go +++ b/dgraph/cmd/bulk/mapper.go @@ -35,16 +35,16 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/ee/acl" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/ee/acl" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/dgraph/cmd/bulk/merge_shards.go b/dgraph/cmd/bulk/merge_shards.go index bef4b6426b7..f06fd2810e3 100644 --- a/dgraph/cmd/bulk/merge_shards.go +++ b/dgraph/cmd/bulk/merge_shards.go @@ -23,7 +23,7 @@ import ( "sort" "strings" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/dgraph/cmd/bulk/progress.go b/dgraph/cmd/bulk/progress.go index a26ddb2424f..fca74a2290f 100644 --- a/dgraph/cmd/bulk/progress.go +++ b/dgraph/cmd/bulk/progress.go @@ -23,8 +23,8 @@ import ( "github.com/dustin/go-humanize" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) type phase int32 diff --git a/dgraph/cmd/bulk/reduce.go b/dgraph/cmd/bulk/reduce.go index 48b273aeb2f..79740c829eb 100644 --- a/dgraph/cmd/bulk/reduce.go +++ b/dgraph/cmd/bulk/reduce.go @@ -42,11 +42,11 @@ import ( bo "github.com/dgraph-io/badger/v4/options" bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) type reducer struct { diff --git a/dgraph/cmd/bulk/run.go b/dgraph/cmd/bulk/run.go index 8fcab55c4d1..ab348896cd1 100644 --- a/dgraph/cmd/bulk/run.go +++ b/dgraph/cmd/bulk/run.go @@ -33,13 +33,13 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/filestore" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/filestore" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) // Bulk is the sub-command invoked when running "dgraph bulk". diff --git a/dgraph/cmd/bulk/schema.go b/dgraph/cmd/bulk/schema.go index 91169f23e8f..a64b4df8e7d 100644 --- a/dgraph/cmd/bulk/schema.go +++ b/dgraph/cmd/bulk/schema.go @@ -25,11 +25,11 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - wk "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + wk "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) type schemaStore struct { diff --git a/dgraph/cmd/bulk/shard_map.go b/dgraph/cmd/bulk/shard_map.go index f8317752931..685659ef0d6 100644 --- a/dgraph/cmd/bulk/shard_map.go +++ b/dgraph/cmd/bulk/shard_map.go @@ -19,7 +19,7 @@ package bulk import ( "sync" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) type shardMap struct { diff --git a/dgraph/cmd/bulk/speed_tests/run.sh b/dgraph/cmd/bulk/speed_tests/run.sh index 30ac4d3137e..9ff222d41f5 100755 --- a/dgraph/cmd/bulk/speed_tests/run.sh +++ b/dgraph/cmd/bulk/speed_tests/run.sh @@ -21,7 +21,7 @@ done tmp=${tmp:-tmp} -go install -race github.com/dgraph-io/dgraph/cmd/dgraph-bulk-loader +go install -race github.com/hypermodeinc/dgraph/cmd/dgraph-bulk-loader function run_test { [[ $# == 2 ]] || { echo "bad args"; exit 1; } diff --git a/dgraph/cmd/bulk/systest/run.sh b/dgraph/cmd/bulk/systest/run.sh index d42a6096603..42c22071c25 100755 --- a/dgraph/cmd/bulk/systest/run.sh +++ b/dgraph/cmd/bulk/systest/run.sh @@ -5,9 +5,9 @@ set -euo pipefail script_dir=$(dirname $(readlink -f "$0")) echo "Installing binaries..." -go install github.com/dgraph-io/dgraph/cmd/dgraph-bulk-loader -go install github.com/dgraph-io/dgraph/cmd/dgraph -go install github.com/dgraph-io/dgraph/cmd/dgraphzero +go install github.com/hypermodeinc/dgraph/cmd/dgraph-bulk-loader +go install github.com/hypermodeinc/dgraph/cmd/dgraph +go install github.com/hypermodeinc/dgraph/cmd/dgraphzero echo "Done." fail=false diff --git a/dgraph/cmd/cert/info.go b/dgraph/cmd/cert/info.go index 33813dee1fe..ac1a53bbb52 100644 --- a/dgraph/cmd/cert/info.go +++ b/dgraph/cmd/cert/info.go @@ -31,7 +31,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) type certInfo struct { diff --git a/dgraph/cmd/cert/run.go b/dgraph/cmd/cert/run.go index c8dc4154d04..88a6a61c7d6 100644 --- a/dgraph/cmd/cert/run.go +++ b/dgraph/cmd/cert/run.go @@ -22,7 +22,7 @@ import ( "github.com/spf13/cobra" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // Cert is the sub-command invoked when running "dgraph cert". diff --git a/dgraph/cmd/conv/conv.go b/dgraph/cmd/conv/conv.go index b7b0e84b2d1..e445c1180e6 100644 --- a/dgraph/cmd/conv/conv.go +++ b/dgraph/cmd/conv/conv.go @@ -29,7 +29,7 @@ import ( "github.com/golang/glog" geojson "github.com/paulmach/go.geojson" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // TODO: Reconsider if we need this binary. diff --git a/dgraph/cmd/conv/run.go b/dgraph/cmd/conv/run.go index 9375249d73b..ae2f22b89e7 100644 --- a/dgraph/cmd/conv/run.go +++ b/dgraph/cmd/conv/run.go @@ -22,7 +22,7 @@ import ( "github.com/spf13/cobra" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // Conv is the sub-command invoked when running "dgraph conv". diff --git a/dgraph/cmd/debug/run.go b/dgraph/cmd/debug/run.go index a9ccc40a853..2442024a4ee 100644 --- a/dgraph/cmd/debug/run.go +++ b/dgraph/cmd/debug/run.go @@ -39,14 +39,14 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/dgraph/cmd/debug/wal.go b/dgraph/cmd/debug/wal.go index cb0356825dd..8fa2205e89f 100644 --- a/dgraph/cmd/debug/wal.go +++ b/dgraph/cmd/debug/wal.go @@ -28,9 +28,9 @@ import ( "go.etcd.io/etcd/raft/v3/raftpb" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/x" ) func printEntry(es raftpb.Entry, pending map[uint64]bool, isZero bool) { diff --git a/dgraph/cmd/debuginfo/run.go b/dgraph/cmd/debuginfo/run.go index 166b8101b11..d3bdc9188db 100644 --- a/dgraph/cmd/debuginfo/run.go +++ b/dgraph/cmd/debuginfo/run.go @@ -24,7 +24,7 @@ import ( "github.com/golang/glog" "github.com/spf13/cobra" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) type debugInfoCmdOpts struct { diff --git a/dgraph/cmd/decrypt/decrypt.go b/dgraph/cmd/decrypt/decrypt.go index c2c48f9e863..4e51c249842 100644 --- a/dgraph/cmd/decrypt/decrypt.go +++ b/dgraph/cmd/decrypt/decrypt.go @@ -25,9 +25,9 @@ import ( "github.com/golang/glog" "github.com/spf13/cobra" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/x" ) type options struct { diff --git a/dgraph/cmd/increment/increment.go b/dgraph/cmd/increment/increment.go index 88311898d72..b6bf1c54f56 100644 --- a/dgraph/cmd/increment/increment.go +++ b/dgraph/cmd/increment/increment.go @@ -33,8 +33,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) // Increment is the sub-command invoked when calling "dgraph increment". diff --git a/dgraph/cmd/increment/increment_test.go b/dgraph/cmd/increment/increment_test.go index 3b3d934d896..2a560b1f6af 100644 --- a/dgraph/cmd/increment/increment_test.go +++ b/dgraph/cmd/increment/increment_test.go @@ -34,7 +34,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) const N = 10 diff --git a/dgraph/cmd/live/batch.go b/dgraph/cmd/live/batch.go index 8a2b7f105f4..65e00d17377 100644 --- a/dgraph/cmd/live/batch.go +++ b/dgraph/cmd/live/batch.go @@ -36,12 +36,12 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" - "github.com/dgraph-io/dgraph/v24/xidmap" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/xidmap" ) // batchMutationOptions sets the clients batch mode to Pending number of buffers each of Size. diff --git a/dgraph/cmd/live/load-json/load_test.go b/dgraph/cmd/live/load-json/load_test.go index 3ac850a7864..8073177acf0 100644 --- a/dgraph/cmd/live/load-json/load_test.go +++ b/dgraph/cmd/live/load-json/load_test.go @@ -29,8 +29,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var alphaService = testutil.SockAddr diff --git a/dgraph/cmd/live/load-uids/load_test.go b/dgraph/cmd/live/load-uids/load_test.go index 68c14d2a66c..fb41780ba2f 100644 --- a/dgraph/cmd/live/load-uids/load_test.go +++ b/dgraph/cmd/live/load-uids/load_test.go @@ -35,9 +35,9 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/dgraph/cmd/live/run.go b/dgraph/cmd/live/run.go index 8de3521a1fe..c9493329edf 100644 --- a/dgraph/cmd/live/run.go +++ b/dgraph/cmd/live/run.go @@ -46,15 +46,15 @@ import ( bopt "github.com/dgraph-io/badger/v4/options" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/filestore" - schemapkg "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" - "github.com/dgraph-io/dgraph/v24/xidmap" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/filestore" + schemapkg "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/xidmap" ) type options struct { diff --git a/dgraph/cmd/migrate/run.go b/dgraph/cmd/migrate/run.go index 7783ddfd08f..357888d8db2 100644 --- a/dgraph/cmd/migrate/run.go +++ b/dgraph/cmd/migrate/run.go @@ -27,7 +27,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/dgraph/cmd/migrate/table_info.go b/dgraph/cmd/migrate/table_info.go index 58cca50600c..406dbc3fe2b 100644 --- a/dgraph/cmd/migrate/table_info.go +++ b/dgraph/cmd/migrate/table_info.go @@ -23,7 +23,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) type keyType int diff --git a/dgraph/cmd/migrate/utils.go b/dgraph/cmd/migrate/utils.go index d05eb2786b4..ae5c0cad3c9 100644 --- a/dgraph/cmd/migrate/utils.go +++ b/dgraph/cmd/migrate/utils.go @@ -27,7 +27,7 @@ import ( "github.com/go-sql-driver/mysql" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) func getPool(host, port, user, password, db string) (*sql.DB, diff --git a/dgraph/cmd/root.go b/dgraph/cmd/root.go index f69253697e3..72ff07604f7 100644 --- a/dgraph/cmd/root.go +++ b/dgraph/cmd/root.go @@ -32,21 +32,21 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - checkupgrade "github.com/dgraph-io/dgraph/v24/check_upgrade" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/alpha" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/bulk" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/cert" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/conv" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/debug" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/debuginfo" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/decrypt" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/increment" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/live" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/migrate" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/version" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/zero" - "github.com/dgraph-io/dgraph/v24/upgrade" - "github.com/dgraph-io/dgraph/v24/x" + checkupgrade "github.com/hypermodeinc/dgraph/v24/check_upgrade" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/alpha" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/bulk" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/cert" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/conv" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/debug" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/debuginfo" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/decrypt" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/increment" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/live" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/migrate" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/version" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/zero" + "github.com/hypermodeinc/dgraph/v24/upgrade" + "github.com/hypermodeinc/dgraph/v24/x" ) // RootCmd represents the base command when called without any subcommands diff --git a/dgraph/cmd/root_ee.go b/dgraph/cmd/root_ee.go index 75716bd27db..32eb85ec9ae 100644 --- a/dgraph/cmd/root_ee.go +++ b/dgraph/cmd/root_ee.go @@ -14,9 +14,9 @@ package cmd import ( - acl "github.com/dgraph-io/dgraph/v24/ee/acl" - "github.com/dgraph-io/dgraph/v24/ee/audit" - "github.com/dgraph-io/dgraph/v24/ee/backup" + acl "github.com/hypermodeinc/dgraph/v24/ee/acl" + "github.com/hypermodeinc/dgraph/v24/ee/audit" + "github.com/hypermodeinc/dgraph/v24/ee/backup" ) func init() { diff --git a/dgraph/cmd/version/run.go b/dgraph/cmd/version/run.go index ce8a784869a..eebcaee5756 100644 --- a/dgraph/cmd/version/run.go +++ b/dgraph/cmd/version/run.go @@ -22,7 +22,7 @@ import ( "github.com/spf13/cobra" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // Version is the sub-command invoked when running "dgraph version". diff --git a/dgraph/cmd/version/version_test.go b/dgraph/cmd/version/version_test.go index 872247b0585..7c0455beebf 100644 --- a/dgraph/cmd/version/version_test.go +++ b/dgraph/cmd/version/version_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) // Test `dgraph version` with an empty config file. diff --git a/dgraph/cmd/zero/assign.go b/dgraph/cmd/zero/assign.go index 3c88b526ad8..d7ac44eee43 100644 --- a/dgraph/cmd/zero/assign.go +++ b/dgraph/cmd/zero/assign.go @@ -26,8 +26,8 @@ import ( otrace "go.opencensus.io/trace" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) var emptyAssignedIds pb.AssignedIds diff --git a/dgraph/cmd/zero/http.go b/dgraph/cmd/zero/http.go index f6f395d8ba2..7a4e928cd82 100644 --- a/dgraph/cmd/zero/http.go +++ b/dgraph/cmd/zero/http.go @@ -30,8 +30,8 @@ import ( "google.golang.org/protobuf/encoding/protojson" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) // intFromQueryParam checks for name as a query param, converts it to uint64 and returns it. diff --git a/dgraph/cmd/zero/license.go b/dgraph/cmd/zero/license.go index a490e173d39..ede4a0145cb 100644 --- a/dgraph/cmd/zero/license.go +++ b/dgraph/cmd/zero/license.go @@ -22,8 +22,8 @@ package zero import ( "net/http" - "github.com/dgraph-io/dgraph/v24/protos/pb" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) // dummy function as enterprise features are not available in oss binary. diff --git a/dgraph/cmd/zero/license_ee.go b/dgraph/cmd/zero/license_ee.go index 66e62fe15e9..b8c6731a6d2 100644 --- a/dgraph/cmd/zero/license_ee.go +++ b/dgraph/cmd/zero/license_ee.go @@ -25,10 +25,10 @@ import ( "github.com/golang/glog" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/ee/audit" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/ee/audit" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) // proposeTrialLicense proposes an enterprise license valid for 30 days. diff --git a/dgraph/cmd/zero/oracle.go b/dgraph/cmd/zero/oracle.go index 1c9db40b48a..8571a8fb815 100644 --- a/dgraph/cmd/zero/oracle.go +++ b/dgraph/cmd/zero/oracle.go @@ -29,10 +29,10 @@ import ( "github.com/dgraph-io/badger/v4/y" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok/hnsw" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok/hnsw" + "github.com/hypermodeinc/dgraph/v24/x" ) // Oracle stores and manages the transaction state and conflict detection. diff --git a/dgraph/cmd/zero/raft.go b/dgraph/cmd/zero/raft.go index d2618e30312..52064c2c625 100644 --- a/dgraph/cmd/zero/raft.go +++ b/dgraph/cmd/zero/raft.go @@ -39,11 +39,11 @@ import ( otrace "go.opencensus.io/trace" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/ee/audit" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/ee/audit" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/dgraph/cmd/zero/run.go b/dgraph/cmd/zero/run.go index 2ccc4167120..a90e76eada7 100644 --- a/dgraph/cmd/zero/run.go +++ b/dgraph/cmd/zero/run.go @@ -38,14 +38,14 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/ee/audit" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/ee/audit" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) type options struct { diff --git a/dgraph/cmd/zero/tablet.go b/dgraph/cmd/zero/tablet.go index f48dd0d20b8..0efcfad7fb5 100644 --- a/dgraph/cmd/zero/tablet.go +++ b/dgraph/cmd/zero/tablet.go @@ -27,8 +27,8 @@ import ( "github.com/pkg/errors" otrace "go.opencensus.io/trace" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/dgraph/cmd/zero/zero.go b/dgraph/cmd/zero/zero.go index fd6eea93a65..643223fa69d 100644 --- a/dgraph/cmd/zero/zero.go +++ b/dgraph/cmd/zero/zero.go @@ -31,11 +31,11 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/telemetry" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/telemetry" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/dgraph/cmd/zero/zero_test.go b/dgraph/cmd/zero/zero_test.go index 3b0beb24078..ab947cebf10 100644 --- a/dgraph/cmd/zero/zero_test.go +++ b/dgraph/cmd/zero/zero_test.go @@ -32,10 +32,10 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/testutil" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestRemoveNode(t *testing.T) { diff --git a/dgraph/main.go b/dgraph/main.go index 40e8a3e882d..64661864798 100644 --- a/dgraph/main.go +++ b/dgraph/main.go @@ -24,8 +24,8 @@ import ( "github.com/dustin/go-humanize" "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd" ) func main() { diff --git a/dgraphapi/cluster.go b/dgraphapi/cluster.go index 5714155adf5..8d3678d1dff 100644 --- a/dgraphapi/cluster.go +++ b/dgraphapi/cluster.go @@ -32,8 +32,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/dgraphtest/compose_cluster.go b/dgraphtest/compose_cluster.go index e55fdf7bdf8..84f3dc962d4 100644 --- a/dgraphtest/compose_cluster.go +++ b/dgraphtest/compose_cluster.go @@ -18,8 +18,8 @@ package dgraphtest import ( "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/testutil" ) type ComposeCluster struct{} diff --git a/dgraphtest/dcloud_cluster.go b/dgraphtest/dcloud_cluster.go index 8e29b41ba65..e9baa6cec6f 100644 --- a/dgraphtest/dcloud_cluster.go +++ b/dgraphtest/dcloud_cluster.go @@ -29,7 +29,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" ) type DCloudCluster struct { diff --git a/dgraphtest/load.go b/dgraphtest/load.go index 68d0d441384..889dc01364e 100644 --- a/dgraphtest/load.go +++ b/dgraphtest/load.go @@ -34,9 +34,9 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/dgraphtest/local_cluster.go b/dgraphtest/local_cluster.go index 61a7af47b95..7e463d74279 100644 --- a/dgraphtest/local_cluster.go +++ b/dgraphtest/local_cluster.go @@ -46,8 +46,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/x" ) // cluster's network struct diff --git a/dql/bench_test.go b/dql/bench_test.go index cbdfac2d237..78193c06dac 100644 --- a/dql/bench_test.go +++ b/dql/bench_test.go @@ -22,7 +22,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/schema" ) var sc = `type.object.name.en: string @index . diff --git a/dql/math.go b/dql/math.go index 05cffdc519c..d78878ccf77 100644 --- a/dql/math.go +++ b/dql/math.go @@ -23,9 +23,9 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/lex" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) type mathTreeStack struct{ a []*MathTree } diff --git a/dql/mutation.go b/dql/mutation.go index f6185a89fe2..6b158b09858 100644 --- a/dql/mutation.go +++ b/dql/mutation.go @@ -22,9 +22,9 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/dql/parser.go b/dql/parser.go index 201ee6e71e2..35d18089ebd 100644 --- a/dql/parser.go +++ b/dql/parser.go @@ -26,10 +26,10 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/lex" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/dql/parser_mutation.go b/dql/parser_mutation.go index 528ae2af9e0..04bb6e4d689 100644 --- a/dql/parser_mutation.go +++ b/dql/parser_mutation.go @@ -18,7 +18,7 @@ package dql import ( "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/lex" ) // ParseMutation parses a block into a mutation. Returns an object with a mutation or diff --git a/dql/parser_test.go b/dql/parser_test.go index 39187b17deb..4be794d6f5b 100644 --- a/dql/parser_test.go +++ b/dql/parser_test.go @@ -26,9 +26,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/lex" - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/types" ) func childAttrs(g *GraphQuery) []string { diff --git a/dql/state.go b/dql/state.go index 6c2235ae00b..32ef3714bcd 100644 --- a/dql/state.go +++ b/dql/state.go @@ -18,7 +18,7 @@ package dql import ( - "github.com/dgraph-io/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/lex" ) const ( diff --git a/dql/state_test.go b/dql/state_test.go index bd682b34e60..521d92c35d1 100644 --- a/dql/state_test.go +++ b/dql/state_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/lex" ) func TestQueryLexing(t *testing.T) { diff --git a/edgraph/access.go b/edgraph/access.go index b317fa24540..06c1885e3e3 100644 --- a/edgraph/access.go +++ b/edgraph/access.go @@ -25,10 +25,10 @@ import ( "github.com/golang/glog" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/x" ) // Login handles login requests from clients. This version rejects all requests diff --git a/edgraph/access_ee.go b/edgraph/access_ee.go index a25dfbf99ba..3c5a9362fd9 100644 --- a/edgraph/access_ee.go +++ b/edgraph/access_ee.go @@ -31,14 +31,14 @@ import ( bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/ee/acl" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/ee/acl" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) type predsAndvars struct { diff --git a/edgraph/access_ee_test.go b/edgraph/access_ee_test.go index 3f3c17f3d46..08f9c71a79e 100644 --- a/edgraph/access_ee_test.go +++ b/edgraph/access_ee_test.go @@ -20,9 +20,9 @@ import ( "github.com/golang-jwt/jwt/v5" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/ee/acl" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/ee/acl" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) func generateJWT(namespace uint64, userId string, groupIds []string, expiry int64) string { diff --git a/edgraph/config_mem.go b/edgraph/config_mem.go index 5a121cc0975..24431639b4d 100644 --- a/edgraph/config_mem.go +++ b/edgraph/config_mem.go @@ -7,7 +7,7 @@ package edgraph import ( - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/worker" ) // #include diff --git a/edgraph/graphql.go b/edgraph/graphql.go index d0bc789cf5e..a4c9d70eda4 100644 --- a/edgraph/graphql.go +++ b/edgraph/graphql.go @@ -27,8 +27,8 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) // ProcessPersistedQuery stores and retrieves persisted queries by following waterfall logic: diff --git a/edgraph/multi_tenancy_ee.go b/edgraph/multi_tenancy_ee.go index 9a86915c412..05b77a15f31 100644 --- a/edgraph/multi_tenancy_ee.go +++ b/edgraph/multi_tenancy_ee.go @@ -23,11 +23,11 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) type ResetPasswordInput struct { diff --git a/edgraph/server.go b/edgraph/server.go index 6d21c7f631c..2845e086eed 100644 --- a/edgraph/server.go +++ b/edgraph/server.go @@ -44,20 +44,20 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/dql" - gqlSchema "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/telemetry" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/dql" + gqlSchema "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/telemetry" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/edgraph/server_test.go b/edgraph/server_test.go index 3a2027f1083..3b10805eae3 100644 --- a/edgraph/server_test.go +++ b/edgraph/server_test.go @@ -27,10 +27,10 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) func makeNquad(sub, pred string, val *api.Value) *api.NQuad { diff --git a/ee/acl/acl.go b/ee/acl/acl.go index 9a41ea3ccdf..a5232d7e8d8 100644 --- a/ee/acl/acl.go +++ b/ee/acl/acl.go @@ -26,7 +26,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) func getUserAndGroup(conf *viper.Viper) (userId string, groupId string, err error) { diff --git a/ee/acl/acl_curl_test.go b/ee/acl/acl_curl_test.go index a8239456a8f..ecadfe9643b 100644 --- a/ee/acl/acl_curl_test.go +++ b/ee/acl/acl_curl_test.go @@ -22,9 +22,9 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func (asuite *AclTestSuite) TestCurlAuthorization() { diff --git a/ee/acl/acl_integration_test.go b/ee/acl/acl_integration_test.go index 65256433874..5101405c804 100644 --- a/ee/acl/acl_integration_test.go +++ b/ee/acl/acl_integration_test.go @@ -27,8 +27,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/x" ) func (asuite *AclTestSuite) TestInvalidGetUser() { diff --git a/ee/acl/acl_test.go b/ee/acl/acl_test.go index 86aed1a8fd8..25f568d40d7 100644 --- a/ee/acl/acl_test.go +++ b/ee/acl/acl_test.go @@ -26,9 +26,9 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/ee/acl/integration_test.go b/ee/acl/integration_test.go index cec6c372c27..0d3d58b1175 100644 --- a/ee/acl/integration_test.go +++ b/ee/acl/integration_test.go @@ -17,8 +17,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) type AclTestSuite struct { diff --git a/ee/acl/jwt_algo_test.go b/ee/acl/jwt_algo_test.go index a7203aea285..2723c02cbbc 100644 --- a/ee/acl/jwt_algo_test.go +++ b/ee/acl/jwt_algo_test.go @@ -26,9 +26,9 @@ import ( "github.com/golang-jwt/jwt/v5" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestACLJwtAlgo(t *testing.T) { diff --git a/ee/acl/run.go b/ee/acl/run.go index 597bb641a4e..b94910b27a8 100644 --- a/ee/acl/run.go +++ b/ee/acl/run.go @@ -23,7 +23,7 @@ import ( "github.com/spf13/cobra" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var CmdAcl x.SubCommand diff --git a/ee/acl/run_ee.go b/ee/acl/run_ee.go index 85ea360e6e2..5f50fbb88d5 100644 --- a/ee/acl/run_ee.go +++ b/ee/acl/run_ee.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/ee/acl/upgrade_test.go b/ee/acl/upgrade_test.go index da04eff5996..359923f5676 100644 --- a/ee/acl/upgrade_test.go +++ b/ee/acl/upgrade_test.go @@ -20,9 +20,9 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) type AclTestSuite struct { diff --git a/ee/acl/utils.go b/ee/acl/utils.go index dccb6fff181..f1a4196b49b 100644 --- a/ee/acl/utils.go +++ b/ee/acl/utils.go @@ -22,8 +22,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) // GetGroupIDs returns a slice containing the group ids of all the given groups. diff --git a/ee/audit/audit.go b/ee/audit/audit.go index 6de0a798689..d9bf2ccfc7a 100644 --- a/ee/audit/audit.go +++ b/ee/audit/audit.go @@ -19,7 +19,7 @@ package audit -import "github.com/dgraph-io/dgraph/v24/x" +import "github.com/hypermodeinc/dgraph/v24/x" type AuditConf struct { Dir string diff --git a/ee/audit/audit_ee.go b/ee/audit/audit_ee.go index 36d7309f322..30f5ff40d36 100644 --- a/ee/audit/audit_ee.go +++ b/ee/audit/audit_ee.go @@ -22,9 +22,9 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/ee/audit/interceptor.go b/ee/audit/interceptor.go index d900b933a99..402e4232880 100644 --- a/ee/audit/interceptor.go +++ b/ee/audit/interceptor.go @@ -23,7 +23,7 @@ import ( "context" "net/http" - "github.com/dgraph-io/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" "google.golang.org/grpc" ) diff --git a/ee/audit/interceptor_ee.go b/ee/audit/interceptor_ee.go index faaf2f276dc..4ae06b14524 100644 --- a/ee/audit/interceptor_ee.go +++ b/ee/audit/interceptor_ee.go @@ -26,10 +26,10 @@ import ( "strings" "sync/atomic" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/parser" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/golang/glog" "github.com/gorilla/websocket" diff --git a/ee/audit/run.go b/ee/audit/run.go index 34a52bbf818..14a235532a4 100644 --- a/ee/audit/run.go +++ b/ee/audit/run.go @@ -22,7 +22,7 @@ package audit import ( "github.com/spf13/cobra" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var CmdAudit x.SubCommand diff --git a/ee/audit/run_ee.go b/ee/audit/run_ee.go index d909b174878..85754c40cc3 100644 --- a/ee/audit/run_ee.go +++ b/ee/audit/run_ee.go @@ -26,7 +26,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var CmdAudit x.SubCommand diff --git a/ee/audit/run_ee_test.go b/ee/audit/run_ee_test.go index b932276eeff..49abdeb2a7b 100644 --- a/ee/audit/run_ee_test.go +++ b/ee/audit/run_ee_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil/testaudit" + "github.com/hypermodeinc/dgraph/v24/testutil/testaudit" ) // we will truncate copy of encrypted audit log file diff --git a/ee/backup/run.go b/ee/backup/run.go index 4d11d03dda3..643ee4e5a0c 100644 --- a/ee/backup/run.go +++ b/ee/backup/run.go @@ -31,12 +31,12 @@ import ( "google.golang.org/protobuf/proto" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) // Restore is the sub-command used to restore a backup. diff --git a/ee/enc/util_ee.go b/ee/enc/util_ee.go index f293cf53569..185df48052d 100644 --- a/ee/enc/util_ee.go +++ b/ee/enc/util_ee.go @@ -21,7 +21,7 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // EeBuild indicates if this is a Enterprise build. diff --git a/ee/flags.go b/ee/flags.go index 49463ce6aca..ca8d2827c3d 100644 --- a/ee/flags.go +++ b/ee/flags.go @@ -24,8 +24,8 @@ import ( "github.com/golang-jwt/jwt/v5" "github.com/spf13/pflag" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) // Keys holds the configuration for ACL and encryption. diff --git a/ee/keys_ee.go b/ee/keys_ee.go index 47b921ddc59..fbba6c8f097 100644 --- a/ee/keys_ee.go +++ b/ee/keys_ee.go @@ -25,8 +25,8 @@ import ( "github.com/pkg/errors" "github.com/spf13/viper" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) // GetKeys returns the ACL and encryption keys as configured by the user diff --git a/ee/vault/vault.go b/ee/vault/vault.go index 8800ff73203..8dda850746e 100644 --- a/ee/vault/vault.go +++ b/ee/vault/vault.go @@ -23,7 +23,7 @@ import ( "github.com/golang/glog" "github.com/spf13/viper" - "github.com/dgraph-io/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/ee" ) func GetKeys(config *viper.Viper) (*ee.Keys, error) { diff --git a/ee/vault_ee.go b/ee/vault_ee.go index 2c770775cd1..2e66ec43455 100644 --- a/ee/vault_ee.go +++ b/ee/vault_ee.go @@ -23,8 +23,8 @@ import ( "github.com/hashicorp/vault/api" "github.com/spf13/viper" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) func vaultGetKeys(config *viper.Viper) (aclKey, encKey x.Sensitive) { diff --git a/filestore/filestore.go b/filestore/filestore.go index 053fa199f8b..504face081d 100644 --- a/filestore/filestore.go +++ b/filestore/filestore.go @@ -21,7 +21,7 @@ import ( "io" "net/url" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // FileStore represents a file or directory of files that are either stored diff --git a/filestore/local_files.go b/filestore/local_files.go index 62479b7f6dc..e76c79dcfb4 100644 --- a/filestore/local_files.go +++ b/filestore/local_files.go @@ -21,8 +21,8 @@ import ( "io" "os" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/x" ) type localFiles struct { diff --git a/filestore/remote_files.go b/filestore/remote_files.go index df6c8118da6..6cf61ef4270 100644 --- a/filestore/remote_files.go +++ b/filestore/remote_files.go @@ -24,8 +24,8 @@ import ( "github.com/minio/minio-go/v6" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/x" ) type remoteFiles struct { diff --git a/go.mod b/go.mod index a6b0f9f6206..906f0bff6f1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dgraph-io/dgraph/v24 +module github.com/hypermodeinc/dgraph/v24 go 1.22.7 diff --git a/graphql/admin/add_group.go b/graphql/admin/add_group.go index ea5a7aeb4fe..ceb0020937d 100644 --- a/graphql/admin/add_group.go +++ b/graphql/admin/add_group.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type addGroupRewriter resolve.AddRewriter diff --git a/graphql/admin/admin.go b/graphql/admin/admin.go index afec972b543..5d4ccdbec09 100644 --- a/graphql/admin/admin.go +++ b/graphql/admin/admin.go @@ -28,14 +28,14 @@ import ( "google.golang.org/protobuf/proto" badgerpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/admin/assign.go b/graphql/admin/assign.go index 1de9ddfa2fd..3a9f764ecab 100644 --- a/graphql/admin/assign.go +++ b/graphql/admin/assign.go @@ -23,10 +23,10 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" ) const ( diff --git a/graphql/admin/backup.go b/graphql/admin/backup.go index 53f49a005c9..fc7e4897211 100644 --- a/graphql/admin/backup.go +++ b/graphql/admin/backup.go @@ -23,10 +23,10 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" ) type backupInput struct { diff --git a/graphql/admin/config.go b/graphql/admin/config.go index 133c059bba2..8bc8e8e44da 100644 --- a/graphql/admin/config.go +++ b/graphql/admin/config.go @@ -23,9 +23,9 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/worker" ) type configInput struct { diff --git a/graphql/admin/current_user.go b/graphql/admin/current_user.go index fee029eba2f..fe4edaa77b4 100644 --- a/graphql/admin/current_user.go +++ b/graphql/admin/current_user.go @@ -19,10 +19,10 @@ package admin import ( "context" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type currentUserResolver struct { diff --git a/graphql/admin/draining.go b/graphql/admin/draining.go index 69304406876..86344cac491 100644 --- a/graphql/admin/draining.go +++ b/graphql/admin/draining.go @@ -22,9 +22,9 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) func resolveDraining(ctx context.Context, m schema.Mutation) (*resolve.Resolved, bool) { diff --git a/graphql/admin/enterpriseLicense.go b/graphql/admin/enterpriseLicense.go index a50577d12c7..fb764c3e11b 100644 --- a/graphql/admin/enterpriseLicense.go +++ b/graphql/admin/enterpriseLicense.go @@ -20,10 +20,10 @@ import ( "context" "encoding/json" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" ) type enterpriseLicenseInput struct { diff --git a/graphql/admin/export.go b/graphql/admin/export.go index 18dbfb8b827..08d5b7c774c 100644 --- a/graphql/admin/export.go +++ b/graphql/admin/export.go @@ -25,11 +25,11 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) const notSet = math.MaxInt64 diff --git a/graphql/admin/health.go b/graphql/admin/health.go index 48c22af5f30..01d26c64759 100644 --- a/graphql/admin/health.go +++ b/graphql/admin/health.go @@ -22,10 +22,10 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) func resolveHealth(ctx context.Context, q schema.Query) *resolve.Resolved { diff --git a/graphql/admin/http.go b/graphql/admin/http.go index 70275e307f2..2d38d326933 100644 --- a/graphql/admin/http.go +++ b/graphql/admin/http.go @@ -31,14 +31,14 @@ import ( "github.com/pkg/errors" "go.opencensus.io/trace" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/ee/audit" - "github.com/dgraph-io/dgraph/v24/graphql/api" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/graphql/subscription" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/graphql-transport-ws/graphqlws" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/ee/audit" + "github.com/hypermodeinc/dgraph/v24/graphql/api" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/subscription" + "github.com/hypermodeinc/dgraph/v24/x" ) type Headerkey string diff --git a/graphql/admin/list_backups.go b/graphql/admin/list_backups.go index e25a0b0059b..4b19f6459fe 100644 --- a/graphql/admin/list_backups.go +++ b/graphql/admin/list_backups.go @@ -22,11 +22,11 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) type lsBackupInput struct { diff --git a/graphql/admin/login.go b/graphql/admin/login.go index 26b16b47753..72866c867bf 100644 --- a/graphql/admin/login.go +++ b/graphql/admin/login.go @@ -24,9 +24,9 @@ import ( "google.golang.org/protobuf/proto" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" ) type loginInput struct { diff --git a/graphql/admin/moveTablet.go b/graphql/admin/moveTablet.go index ad8fe0a50ab..2b9374420e1 100644 --- a/graphql/admin/moveTablet.go +++ b/graphql/admin/moveTablet.go @@ -21,11 +21,11 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) type moveTabletInput struct { diff --git a/graphql/admin/namespace.go b/graphql/admin/namespace.go index 07016f60702..60fc16e228f 100644 --- a/graphql/admin/namespace.go +++ b/graphql/admin/namespace.go @@ -23,10 +23,10 @@ import ( "fmt" "strconv" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type addNamespaceInput struct { diff --git a/graphql/admin/removeNode.go b/graphql/admin/removeNode.go index 8802b05a972..a00b154884a 100644 --- a/graphql/admin/removeNode.go +++ b/graphql/admin/removeNode.go @@ -24,10 +24,10 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" ) type removeNodeInput struct { diff --git a/graphql/admin/reset_password.go b/graphql/admin/reset_password.go index cd14e191eb7..b7844c44cc1 100644 --- a/graphql/admin/reset_password.go +++ b/graphql/admin/reset_password.go @@ -23,9 +23,9 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" ) func resolveResetPassword(ctx context.Context, m schema.Mutation) (*resolve.Resolved, bool) { diff --git a/graphql/admin/restore.go b/graphql/admin/restore.go index 418b9f762b9..8a1432ee644 100644 --- a/graphql/admin/restore.go +++ b/graphql/admin/restore.go @@ -24,11 +24,11 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" ) type restoreInput struct { diff --git a/graphql/admin/schema.go b/graphql/admin/schema.go index 658eadec727..d219fcde65d 100644 --- a/graphql/admin/schema.go +++ b/graphql/admin/schema.go @@ -22,12 +22,12 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/query" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/query" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) type getSchemaResolver struct { diff --git a/graphql/admin/shutdown.go b/graphql/admin/shutdown.go index d8ef816e96b..3f9c09f1dec 100644 --- a/graphql/admin/shutdown.go +++ b/graphql/admin/shutdown.go @@ -21,9 +21,9 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) func resolveShutdown(ctx context.Context, m schema.Mutation) (*resolve.Resolved, bool) { diff --git a/graphql/admin/state.go b/graphql/admin/state.go index f284e085d4a..835be9e178e 100644 --- a/graphql/admin/state.go +++ b/graphql/admin/state.go @@ -7,11 +7,11 @@ import ( "github.com/pkg/errors" "google.golang.org/protobuf/encoding/protojson" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) type membershipState struct { diff --git a/graphql/admin/task.go b/graphql/admin/task.go index 15fcc409ce2..dbe7ca0b080 100644 --- a/graphql/admin/task.go +++ b/graphql/admin/task.go @@ -25,10 +25,10 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" ) type taskInput struct { diff --git a/graphql/admin/update_group.go b/graphql/admin/update_group.go index 77b92046483..5eed51dd95d 100644 --- a/graphql/admin/update_group.go +++ b/graphql/admin/update_group.go @@ -5,10 +5,10 @@ import ( "fmt" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type updateGroupRewriter resolve.UpdateRewriter diff --git a/graphql/bench/auth_test.go b/graphql/bench/auth_test.go index 7347d1e90be..a385dab7b71 100644 --- a/graphql/bench/auth_test.go +++ b/graphql/bench/auth_test.go @@ -25,10 +25,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/authorization" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/authorization" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( @@ -119,7 +119,7 @@ func clearAll(b require.TestingT, metaInfo *testutil.AuthMeta) { // go test -bench=. -benchtime=60s // goos: linux // goarch: amd64 -// pkg: github.com/dgraph-io/dgraph/v24/graphql/e2e/auth/bench +// pkg: github.com/hypermodeinc/dgraph/v24/graphql/e2e/auth/bench // Auth // BenchmarkNestedQuery-8 88 815315761 ns/op // BenchmarkOneLevelQuery-8 4357 15626384 ns/op diff --git a/graphql/dgraph/execute.go b/graphql/dgraph/execute.go index ec8ff414cbb..7acee5512c9 100644 --- a/graphql/dgraph/execute.go +++ b/graphql/dgraph/execute.go @@ -24,9 +24,9 @@ import ( "go.opencensus.io/trace" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type DgraphEx struct{} diff --git a/graphql/dgraph/graphquery.go b/graphql/dgraph/graphquery.go index 910f845e382..1dafa64768e 100644 --- a/graphql/dgraph/graphquery.go +++ b/graphql/dgraph/graphquery.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/x" ) // AsString writes query as an indented dql query string. AsString doesn't diff --git a/graphql/e2e/admin_auth/poorman_auth/admin_auth_test.go b/graphql/e2e/admin_auth/poorman_auth/admin_auth_test.go index 3e117d45c7c..c6b9f38b04d 100644 --- a/graphql/e2e/admin_auth/poorman_auth/admin_auth_test.go +++ b/graphql/e2e/admin_auth/poorman_auth/admin_auth_test.go @@ -26,8 +26,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/e2e/admin_auth/poorman_auth_with_acl/admin_auth_test.go b/graphql/e2e/admin_auth/poorman_auth_with_acl/admin_auth_test.go index b2058089c67..3889ab452d2 100644 --- a/graphql/e2e/admin_auth/poorman_auth_with_acl/admin_auth_test.go +++ b/graphql/e2e/admin_auth/poorman_auth_with_acl/admin_auth_test.go @@ -26,8 +26,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/e2e/auth/add_mutation_test.go b/graphql/e2e/auth/add_mutation_test.go index 0301349c833..4c9e31dc046 100644 --- a/graphql/e2e/auth/add_mutation_test.go +++ b/graphql/e2e/auth/add_mutation_test.go @@ -27,7 +27,7 @@ import ( "github.com/google/go-cmp/cmp/cmpopts" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" ) func (p *Project) delete(t *testing.T, user, role string) { diff --git a/graphql/e2e/auth/auth_test.go b/graphql/e2e/auth/auth_test.go index 0652b22f759..f2fce731230 100644 --- a/graphql/e2e/auth/auth_test.go +++ b/graphql/e2e/auth/auth_test.go @@ -33,10 +33,10 @@ import ( "github.com/google/go-cmp/cmp/cmpopts" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/authorization" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/authorization" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/graphql/e2e/auth/debug_off/debugoff_test.go b/graphql/e2e/auth/debug_off/debugoff_test.go index d8859e9b791..033c3223d5a 100644 --- a/graphql/e2e/auth/debug_off/debugoff_test.go +++ b/graphql/e2e/auth/debug_off/debugoff_test.go @@ -13,10 +13,10 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/authorization" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/authorization" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/graphql/e2e/auth/delete_mutation_test.go b/graphql/e2e/auth/delete_mutation_test.go index 5745788157a..9d243f93804 100644 --- a/graphql/e2e/auth/delete_mutation_test.go +++ b/graphql/e2e/auth/delete_mutation_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" ) func (c *Column) add(t *testing.T, user, role string) { diff --git a/graphql/e2e/auth/update_mutation_test.go b/graphql/e2e/auth/update_mutation_test.go index 0ff3c736bdf..48acec83ea8 100644 --- a/graphql/e2e/auth/update_mutation_test.go +++ b/graphql/e2e/auth/update_mutation_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" ) func getAllProjects(t *testing.T, users, roles []string) []string { diff --git a/graphql/e2e/auth_closed_by_default/auth_closed_by_default_test.go b/graphql/e2e/auth_closed_by_default/auth_closed_by_default_test.go index 5bac72b6dc7..f9fdfecf64d 100644 --- a/graphql/e2e/auth_closed_by_default/auth_closed_by_default_test.go +++ b/graphql/e2e/auth_closed_by_default/auth_closed_by_default_test.go @@ -24,9 +24,9 @@ import ( "github.com/golang-jwt/jwt/v5" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type TestCase struct { diff --git a/graphql/e2e/common/admin.go b/graphql/e2e/common/admin.go index 770f9d52715..f2cfa0d168b 100644 --- a/graphql/e2e/common/admin.go +++ b/graphql/e2e/common/admin.go @@ -35,9 +35,9 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/e2e/common/common.go b/graphql/e2e/common/common.go index 1ff8837f653..4f36f3e60f0 100644 --- a/graphql/e2e/common/common.go +++ b/graphql/e2e/common/common.go @@ -38,9 +38,9 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/graphql/e2e/common/error.go b/graphql/e2e/common/error.go index f8055c15b16..9232ddd0574 100644 --- a/graphql/e2e/common/error.go +++ b/graphql/e2e/common/error.go @@ -36,11 +36,11 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - admin2 "github.com/dgraph-io/dgraph/v24/graphql/admin" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/graphql/test" - "github.com/dgraph-io/dgraph/v24/x" + admin2 "github.com/hypermodeinc/dgraph/v24/graphql/admin" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/test" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/e2e/common/fragment.go b/graphql/e2e/common/fragment.go index 960b03e7d3e..6a39c93b1eb 100644 --- a/graphql/e2e/common/fragment.go +++ b/graphql/e2e/common/fragment.go @@ -25,7 +25,7 @@ import ( "github.com/google/go-cmp/cmp/cmpopts" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func fragmentInMutation(t *testing.T) { diff --git a/graphql/e2e/common/lambda.go b/graphql/e2e/common/lambda.go index 81a06ba3e92..59bb8c203e3 100644 --- a/graphql/e2e/common/lambda.go +++ b/graphql/e2e/common/lambda.go @@ -29,7 +29,7 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func lambdaOnTypeField(t *testing.T) { diff --git a/graphql/e2e/common/mutation.go b/graphql/e2e/common/mutation.go index 8dc34a7baae..552a673fa8a 100644 --- a/graphql/e2e/common/mutation.go +++ b/graphql/e2e/common/mutation.go @@ -37,8 +37,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) // TestAddMutation tests that add mutations work as expected. There's a few angles diff --git a/graphql/e2e/common/query.go b/graphql/e2e/common/query.go index 639edd39d31..8c453c6f029 100644 --- a/graphql/e2e/common/query.go +++ b/graphql/e2e/common/query.go @@ -39,9 +39,9 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func queryCountryByRegExp(t *testing.T, regexp string, expectedCountries []*country) { diff --git a/graphql/e2e/common/schema.go b/graphql/e2e/common/schema.go index b48b73e2416..52c2d161ced 100644 --- a/graphql/e2e/common/schema.go +++ b/graphql/e2e/common/schema.go @@ -26,7 +26,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) const ( diff --git a/graphql/e2e/common/subscription.go b/graphql/e2e/common/subscription.go index fefd0fce62e..54229f888a3 100644 --- a/graphql/e2e/common/subscription.go +++ b/graphql/e2e/common/subscription.go @@ -26,7 +26,7 @@ import ( "github.com/golang/glog" "github.com/gorilla/websocket" - "github.com/dgraph-io/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" ) // Reference: https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md diff --git a/graphql/e2e/custom_logic/cmd/go.mod b/graphql/e2e/custom_logic/cmd/go.mod index fbc33de8344..41e29f4740c 100644 --- a/graphql/e2e/custom_logic/cmd/go.mod +++ b/graphql/e2e/custom_logic/cmd/go.mod @@ -1,4 +1,4 @@ -module github.com/dgraph-io/dgraph/graphql/e2e/custom_logic/cmd +module github.com/hypermodeinc/dgraph/graphql/e2e/custom_logic/cmd go 1.19 diff --git a/graphql/e2e/custom_logic/custom_logic_test.go b/graphql/e2e/custom_logic/custom_logic_test.go index 47741daba48..9ea41175350 100644 --- a/graphql/e2e/custom_logic/custom_logic_test.go +++ b/graphql/e2e/custom_logic/custom_logic_test.go @@ -31,10 +31,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/graphql/e2e/directives/dgraph_directives_test.go b/graphql/e2e/directives/dgraph_directives_test.go index 884b094a182..dea57ef1daf 100644 --- a/graphql/e2e/directives/dgraph_directives_test.go +++ b/graphql/e2e/directives/dgraph_directives_test.go @@ -24,9 +24,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestRunAll_WithDgraphDirectives(t *testing.T) { diff --git a/graphql/e2e/multi_tenancy/multi_tenancy_test.go b/graphql/e2e/multi_tenancy/multi_tenancy_test.go index 188eb85aed2..ce2533ca002 100644 --- a/graphql/e2e/multi_tenancy/multi_tenancy_test.go +++ b/graphql/e2e/multi_tenancy/multi_tenancy_test.go @@ -30,9 +30,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/e2e/normal/normal_test.go b/graphql/e2e/normal/normal_test.go index f8a19207074..eb5af153e86 100644 --- a/graphql/e2e/normal/normal_test.go +++ b/graphql/e2e/normal/normal_test.go @@ -24,9 +24,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestRunAll_Normal(t *testing.T) { diff --git a/graphql/e2e/schema/schema_test.go b/graphql/e2e/schema/schema_test.go index 1fbb7a16201..9fcc7f5a5e7 100644 --- a/graphql/e2e/schema/schema_test.go +++ b/graphql/e2e/schema/schema_test.go @@ -35,10 +35,10 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/graphql/e2e/subscription/subscription_test.go b/graphql/e2e/subscription/subscription_test.go index b351ebdf545..805e5fb3e84 100644 --- a/graphql/e2e/subscription/subscription_test.go +++ b/graphql/e2e/subscription/subscription_test.go @@ -27,10 +27,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/graphql/resolve/auth_test.go b/graphql/resolve/auth_test.go index 9f7100889a8..0d486c2b8a0 100644 --- a/graphql/resolve/auth_test.go +++ b/graphql/resolve/auth_test.go @@ -31,14 +31,14 @@ import ( "gopkg.in/yaml.v2" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/graphql/authorization" - "github.com/dgraph-io/dgraph/v24/graphql/dgraph" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/graphql/test" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" _ "github.com/dgraph-io/gqlparser/v2/validator/rules" // make gql validator init() all rules + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/graphql/authorization" + "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/test" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type AuthQueryRewritingCase struct { diff --git a/graphql/resolve/extensions_test.go b/graphql/resolve/extensions_test.go index 7cc0242d811..f75d0ff2359 100644 --- a/graphql/resolve/extensions_test.go +++ b/graphql/resolve/extensions_test.go @@ -22,7 +22,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/test" + "github.com/hypermodeinc/dgraph/v24/graphql/test" ) func TestQueriesPropagateExtensions(t *testing.T) { diff --git a/graphql/resolve/middlewares.go b/graphql/resolve/middlewares.go index 89bb482d767..08b22ae94ea 100644 --- a/graphql/resolve/middlewares.go +++ b/graphql/resolve/middlewares.go @@ -22,9 +22,9 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) // QueryMiddleware represents a middleware for queries diff --git a/graphql/resolve/middlewares_test.go b/graphql/resolve/middlewares_test.go index 6b7f865b095..d9cf11a9709 100644 --- a/graphql/resolve/middlewares_test.go +++ b/graphql/resolve/middlewares_test.go @@ -22,7 +22,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" ) func TestQueryMiddlewares_Then_ExecutesMiddlewaresInOrder(t *testing.T) { diff --git a/graphql/resolve/mutation.go b/graphql/resolve/mutation.go index 6fb5693131e..7960299ebca 100644 --- a/graphql/resolve/mutation.go +++ b/graphql/resolve/mutation.go @@ -29,10 +29,10 @@ import ( otrace "go.opencensus.io/trace" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/graphql/dgraph" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) const touchedUidsKey = "_total" diff --git a/graphql/resolve/mutation_rewriter.go b/graphql/resolve/mutation_rewriter.go index dc16066a350..b99a122c43d 100644 --- a/graphql/resolve/mutation_rewriter.go +++ b/graphql/resolve/mutation_rewriter.go @@ -28,9 +28,9 @@ import ( "github.com/pkg/errors" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/resolve/mutation_test.go b/graphql/resolve/mutation_test.go index b30d0d02a83..ebb66b6078a 100644 --- a/graphql/resolve/mutation_test.go +++ b/graphql/resolve/mutation_test.go @@ -28,11 +28,11 @@ import ( "gopkg.in/yaml.v2" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/dgraph" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/graphql/test" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/test" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) // Tests showing that GraphQL mutations -> Dgraph mutations diff --git a/graphql/resolve/query.go b/graphql/resolve/query.go index f7e407a2e94..90e4c9494eb 100644 --- a/graphql/resolve/query.go +++ b/graphql/resolve/query.go @@ -26,10 +26,10 @@ import ( otrace "go.opencensus.io/trace" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/graphql/dgraph" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) var errNotScalar = errors.New("provided value is not a scalar, can't convert it to string") diff --git a/graphql/resolve/query_rewriter.go b/graphql/resolve/query_rewriter.go index 7c3bb5995da..372ce8feef5 100644 --- a/graphql/resolve/query_rewriter.go +++ b/graphql/resolve/query_rewriter.go @@ -27,10 +27,10 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) type queryRewriter struct{} diff --git a/graphql/resolve/query_test.go b/graphql/resolve/query_test.go index d531ebf97f3..55a5ef54815 100644 --- a/graphql/resolve/query_test.go +++ b/graphql/resolve/query_test.go @@ -28,11 +28,11 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - "github.com/dgraph-io/dgraph/v24/graphql/dgraph" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/graphql/test" - "github.com/dgraph-io/dgraph/v24/testutil" _ "github.com/dgraph-io/gqlparser/v2/validator/rules" // make gql validator init() all rules + "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/test" + "github.com/hypermodeinc/dgraph/v24/testutil" ) // Tests showing that the query rewriter produces the expected Dgraph queries diff --git a/graphql/resolve/resolver.go b/graphql/resolve/resolver.go index 988c0ef374a..d04b57c40f4 100644 --- a/graphql/resolve/resolver.go +++ b/graphql/resolve/resolver.go @@ -30,11 +30,11 @@ import ( otrace "go.opencensus.io/trace" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/edgraph" - "github.com/dgraph-io/dgraph/v24/graphql/api" - "github.com/dgraph-io/dgraph/v24/graphql/dgraph" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/edgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/api" + "github.com/hypermodeinc/dgraph/v24/graphql/dgraph" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type resolveCtxKey string diff --git a/graphql/resolve/resolver_error_test.go b/graphql/resolve/resolver_error_test.go index 128995d318b..d1dbdd38914 100644 --- a/graphql/resolve/resolver_error_test.go +++ b/graphql/resolve/resolver_error_test.go @@ -29,9 +29,9 @@ import ( "gopkg.in/yaml.v2" dgoapi "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/graphql/test" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/test" + "github.com/hypermodeinc/dgraph/v24/x" ) // Tests that result completion and GraphQL error propagation are working properly. diff --git a/graphql/resolve/resolver_test.go b/graphql/resolve/resolver_test.go index 73ef4db40c9..814aa38782b 100644 --- a/graphql/resolve/resolver_test.go +++ b/graphql/resolve/resolver_test.go @@ -22,9 +22,9 @@ import ( "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/graphql/test" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/graphql/test" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestErrorOnIncorrectValueType(t *testing.T) { diff --git a/graphql/resolve/webhook.go b/graphql/resolve/webhook.go index 08425e5ee0c..e10ea0dafff 100644 --- a/graphql/resolve/webhook.go +++ b/graphql/resolve/webhook.go @@ -24,9 +24,9 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/authorization" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/authorization" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type webhookPayload struct { diff --git a/graphql/schema/auth.go b/graphql/schema/auth.go index 7dc6727a8f2..09682eb6b61 100644 --- a/graphql/schema/auth.go +++ b/graphql/schema/auth.go @@ -25,11 +25,11 @@ import ( "github.com/spf13/cast" - "github.com/dgraph-io/dgraph/v24/dql" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/gqlerror" "github.com/dgraph-io/gqlparser/v2/parser" "github.com/dgraph-io/gqlparser/v2/validator" + "github.com/hypermodeinc/dgraph/v24/dql" ) const ( diff --git a/graphql/schema/completion.go b/graphql/schema/completion.go index 4b069d6595d..a043fd86348 100644 --- a/graphql/schema/completion.go +++ b/graphql/schema/completion.go @@ -25,8 +25,8 @@ import ( "github.com/golang/glog" - dgTypes "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + dgTypes "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/schema/custom_http.go b/graphql/schema/custom_http.go index a09320e8a9b..7dafcf52c9e 100644 --- a/graphql/schema/custom_http.go +++ b/graphql/schema/custom_http.go @@ -25,9 +25,9 @@ import ( "net/http" "time" - "github.com/dgraph-io/dgraph/v24/graphql/authorization" - "github.com/dgraph-io/dgraph/v24/x" "github.com/golang/glog" + "github.com/hypermodeinc/dgraph/v24/graphql/authorization" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/graphql/schema/errors.go b/graphql/schema/errors.go index b2434b690f1..6d8b3984d28 100644 --- a/graphql/schema/errors.go +++ b/graphql/schema/errors.go @@ -19,9 +19,9 @@ package schema import ( "fmt" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/gqlerror" + "github.com/hypermodeinc/dgraph/v24/x" ) // AsGQLErrors formats an error as a list of GraphQL errors. diff --git a/graphql/schema/errors_test.go b/graphql/schema/errors_test.go index a800abbee39..08b07cb2bc4 100644 --- a/graphql/schema/errors_test.go +++ b/graphql/schema/errors_test.go @@ -24,8 +24,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/gqlerror" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestGQLWrapf_Error(t *testing.T) { diff --git a/graphql/schema/gqlschema.go b/graphql/schema/gqlschema.go index 90232e0a2b6..007da2389c5 100644 --- a/graphql/schema/gqlschema.go +++ b/graphql/schema/gqlschema.go @@ -21,10 +21,10 @@ import ( "sort" "strings" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/gqlerror" "github.com/dgraph-io/gqlparser/v2/parser" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/graphql/schema/introspection.go b/graphql/schema/introspection.go index 72a1d2ed379..a44b145c67a 100644 --- a/graphql/schema/introspection.go +++ b/graphql/schema/introspection.go @@ -6,10 +6,10 @@ import ( "errors" "strconv" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlgen/graphql" "github.com/dgraph-io/gqlgen/graphql/introspection" "github.com/dgraph-io/gqlparser/v2/ast" + "github.com/hypermodeinc/dgraph/v24/x" ) // Introspection works by walking through the selection set which are part of ast.Operation diff --git a/graphql/schema/response.go b/graphql/schema/response.go index 4388ac5514c..9690454d957 100644 --- a/graphql/schema/response.go +++ b/graphql/schema/response.go @@ -28,7 +28,7 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // GraphQL spec on response is here: diff --git a/graphql/schema/response_test.go b/graphql/schema/response_test.go index ac323bb03cb..d88a44de0a0 100644 --- a/graphql/schema/response_test.go +++ b/graphql/schema/response_test.go @@ -24,8 +24,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/gqlerror" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestDataAndErrors(t *testing.T) { diff --git a/graphql/schema/rules.go b/graphql/schema/rules.go index 24139580664..56492e54c02 100644 --- a/graphql/schema/rules.go +++ b/graphql/schema/rules.go @@ -24,11 +24,11 @@ import ( "strconv" "strings" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/gqlerror" "github.com/dgraph-io/gqlparser/v2/parser" "github.com/dgraph-io/gqlparser/v2/validator" + "github.com/hypermodeinc/dgraph/v24/x" "gopkg.in/yaml.v2" ) diff --git a/graphql/schema/schemagen.go b/graphql/schema/schemagen.go index aa53f525ea3..c6d18dbdce3 100644 --- a/graphql/schema/schemagen.go +++ b/graphql/schema/schemagen.go @@ -25,12 +25,12 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/authorization" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/gqlerror" "github.com/dgraph-io/gqlparser/v2/parser" "github.com/dgraph-io/gqlparser/v2/validator" + "github.com/hypermodeinc/dgraph/v24/graphql/authorization" + "github.com/hypermodeinc/dgraph/v24/x" ) // A Handler can produce valid GraphQL and Dgraph schemas given an input of diff --git a/graphql/schema/schemagen_test.go b/graphql/schema/schemagen_test.go index 7a866be4917..28722a04579 100644 --- a/graphql/schema/schemagen_test.go +++ b/graphql/schema/schemagen_test.go @@ -26,11 +26,11 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - dschema "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/gqlerror" _ "github.com/dgraph-io/gqlparser/v2/validator/rules" "github.com/dgraph-io/ristretto/v2/z" + dschema "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type Tests map[string][]TestCase diff --git a/graphql/schema/validation_rules.go b/graphql/schema/validation_rules.go index b021f30365c..c36ddbf9103 100644 --- a/graphql/schema/validation_rules.go +++ b/graphql/schema/validation_rules.go @@ -21,10 +21,10 @@ import ( "fmt" "strconv" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/gqlerror" "github.com/dgraph-io/gqlparser/v2/validator" + "github.com/hypermodeinc/dgraph/v24/x" ) var allowedFilters = []string{"StringHashFilter", "StringExactFilter", "StringFullTextFilter", diff --git a/graphql/schema/wrappers.go b/graphql/schema/wrappers.go index 49ccf4b781f..52553a42c13 100644 --- a/graphql/schema/wrappers.go +++ b/graphql/schema/wrappers.go @@ -30,10 +30,10 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/graphql/authorization" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/parser" + "github.com/hypermodeinc/dgraph/v24/graphql/authorization" + "github.com/hypermodeinc/dgraph/v24/x" ) // Wrap the github.com/dgraph-io/gqlparser/ast defintions so that the bulk of the GraphQL diff --git a/graphql/schema/wrappers_test.go b/graphql/schema/wrappers_test.go index 6074f214690..fbf3e576443 100644 --- a/graphql/schema/wrappers_test.go +++ b/graphql/schema/wrappers_test.go @@ -28,8 +28,8 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestDgraphMapping_WithoutDirectives(t *testing.T) { diff --git a/graphql/subscription/poller.go b/graphql/subscription/poller.go index 2d7a6e85298..4aedb829273 100644 --- a/graphql/subscription/poller.go +++ b/graphql/subscription/poller.go @@ -29,9 +29,9 @@ import ( "github.com/golang-jwt/jwt/v5" "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/graphql/resolve" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/resolve" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) // Poller is used to poll user subscription query. diff --git a/graphql/test/test.go b/graphql/test/test.go index 622a4b9ed74..e67d3eb4c6f 100644 --- a/graphql/test/test.go +++ b/graphql/test/test.go @@ -23,11 +23,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/gqlparser/v2/ast" "github.com/dgraph-io/gqlparser/v2/parser" "github.com/dgraph-io/gqlparser/v2/validator" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) // Various helpers used in GQL testing diff --git a/graphql/testdata/datagen/main.go b/graphql/testdata/datagen/main.go index b5ddabe993e..a9a35b20511 100644 --- a/graphql/testdata/datagen/main.go +++ b/graphql/testdata/datagen/main.go @@ -15,7 +15,7 @@ limitations under the License. */ package main -import "github.com/dgraph-io/dgraph/v24/graphql/testdata/datagen/cmd" +import "github.com/hypermodeinc/dgraph/v24/graphql/testdata/datagen/cmd" func main() { cmd.Execute() diff --git a/lex/lexer.go b/lex/lexer.go index 5f86cb450f7..e28112019af 100644 --- a/lex/lexer.go +++ b/lex/lexer.go @@ -22,7 +22,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // EOF indicates the end of the an input. diff --git a/licenses/DCL.txt b/licenses/DCL.txt index 5a161c4c08b..7bafa536776 100644 --- a/licenses/DCL.txt +++ b/licenses/DCL.txt @@ -252,7 +252,7 @@ Dgraph Community License Agreement Contribution intentionally submitted for inclusion in Dgraph by You to Dgraph Labs shall be under the terms and conditions of - https://cla-assistant.io/dgraph-io/dgraph + https://cla-assistant.io/hypermodeinc/dgraph (which is based off of the Apache License), without any additional terms or conditions, payments of royalties or otherwise to Your benefit. diff --git a/posting/index.go b/posting/index.go index f8a3e4ecdac..798de6eb52a 100644 --- a/posting/index.go +++ b/posting/index.go @@ -39,13 +39,13 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/badger/v4/options" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/tok/hnsw" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/tok/hnsw" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) var emptyCountParams countParams diff --git a/posting/index_test.go b/posting/index_test.go index 484c62352a7..c09762a21ee 100644 --- a/posting/index_test.go +++ b/posting/index_test.go @@ -26,10 +26,10 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) func uids(l *List, readTs uint64) []uint64 { diff --git a/posting/list.go b/posting/list.go index ef820bc5c09..e8c641a2759 100644 --- a/posting/list.go +++ b/posting/list.go @@ -32,15 +32,15 @@ import ( bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/tok/index" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/tok/index" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/posting/list_test.go b/posting/list_test.go index 8f9e6625fac..74a4df13dad 100644 --- a/posting/list_test.go +++ b/posting/list_test.go @@ -33,11 +33,11 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) func setMaxListSize(newMaxListSize int) { diff --git a/posting/lists.go b/posting/lists.go index de9ea20a381..933b547712c 100644 --- a/posting/lists.go +++ b/posting/lists.go @@ -28,11 +28,11 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok/index" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok/index" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/posting/mvcc.go b/posting/mvcc.go index 161dc45d547..5feeb0e511a 100644 --- a/posting/mvcc.go +++ b/posting/mvcc.go @@ -32,9 +32,9 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) type pooledKeys struct { diff --git a/posting/mvcc_test.go b/posting/mvcc_test.go index a1b70191fa2..88c227a9802 100644 --- a/posting/mvcc_test.go +++ b/posting/mvcc_test.go @@ -25,9 +25,9 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestIncrRollupGetsCancelledQuickly(t *testing.T) { diff --git a/posting/oracle.go b/posting/oracle.go index 49b1f946dad..f84ff66d977 100644 --- a/posting/oracle.go +++ b/posting/oracle.go @@ -27,9 +27,9 @@ import ( "github.com/golang/glog" ostats "go.opencensus.io/stats" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok/index" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok/index" + "github.com/hypermodeinc/dgraph/v24/x" ) var o *oracle diff --git a/posting/size.go b/posting/size.go index 0a6963ab036..b6dde7645ee 100644 --- a/posting/size.go +++ b/posting/size.go @@ -22,7 +22,7 @@ import ( "unsafe" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) const sizeOfBucket = 144 diff --git a/posting/size_test.go b/posting/size_test.go index e05b63f26a4..41262023b19 100644 --- a/posting/size_test.go +++ b/posting/size_test.go @@ -37,7 +37,7 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) var manual = flag.Bool("manual", false, "Set when manually running some tests.") diff --git a/protos/protos_test.go b/protos/protos_test.go index 29816818c5b..bf6ad08492c 100644 --- a/protos/protos_test.go +++ b/protos/protos_test.go @@ -23,7 +23,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestProtosRegenerate(t *testing.T) { diff --git a/query/aggregator.go b/query/aggregator.go index 626d572b487..ea8c7b88e8b 100644 --- a/query/aggregator.go +++ b/query/aggregator.go @@ -24,9 +24,9 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) type aggregator struct { diff --git a/query/cloud_test.go b/query/cloud_test.go index 0c034145588..43641dcc705 100644 --- a/query/cloud_test.go +++ b/query/cloud_test.go @@ -23,9 +23,9 @@ import ( "testing" "time" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestMain(m *testing.M) { diff --git a/query/common_test.go b/query/common_test.go index 28d3a340079..3e66a88786b 100644 --- a/query/common_test.go +++ b/query/common_test.go @@ -29,8 +29,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/x" ) func setSchema(schema string) { diff --git a/query/fastjson_test.go b/query/fastjson_test.go index ecf3c5c41cd..bcbb25894de 100644 --- a/query/fastjson_test.go +++ b/query/fastjson_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/task" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/task" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/types" ) func subgraphWithSingleResultAndSingleValue(val *pb.TaskValue) *SubGraph { diff --git a/query/groupby.go b/query/groupby.go index 3b4e15230fc..e7717cea4b5 100644 --- a/query/groupby.go +++ b/query/groupby.go @@ -23,9 +23,9 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" ) type groupPair struct { diff --git a/query/integration_test.go b/query/integration_test.go index ea11cdf0623..313e2a11170 100644 --- a/query/integration_test.go +++ b/query/integration_test.go @@ -22,9 +22,9 @@ import ( "context" "testing" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestMain(m *testing.M) { diff --git a/query/math.go b/query/math.go index 303ca08561e..9460bb55a81 100644 --- a/query/math.go +++ b/query/math.go @@ -20,7 +20,7 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types" ) type mathTree struct { diff --git a/query/math_test.go b/query/math_test.go index d51d08583f6..371c39bc7a4 100644 --- a/query/math_test.go +++ b/query/math_test.go @@ -24,7 +24,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types" ) func TestVector(t *testing.T) { diff --git a/query/mutation.go b/query/mutation.go index 83da7d2fc0d..9979f6e698b 100644 --- a/query/mutation.go +++ b/query/mutation.go @@ -26,11 +26,11 @@ import ( otrace "go.opencensus.io/trace" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) // ApplyMutations performs the required edge expansions and forwards the results to the diff --git a/query/mutation_test.go b/query/mutation_test.go index cca4788afa2..2e5334f7975 100644 --- a/query/mutation_test.go +++ b/query/mutation_test.go @@ -29,7 +29,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) func TestReservedPredicateForMutation(t *testing.T) { diff --git a/query/normalize_feature_flag_test.go b/query/normalize_feature_flag_test.go index 3cfd2f53e4b..0433175639d 100644 --- a/query/normalize_feature_flag_test.go +++ b/query/normalize_feature_flag_test.go @@ -23,7 +23,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) func TestNormalizeDirectiveWithNoListResponse(t *testing.T) { diff --git a/query/outputnode.go b/query/outputnode.go index 30747a844dd..72e19fd2ccc 100644 --- a/query/outputnode.go +++ b/query/outputnode.go @@ -37,14 +37,14 @@ import ( "github.com/twpayne/go-geom/encoding/geojson" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/algo" - gqlSchema "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/task" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/algo" + gqlSchema "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/task" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) // ToJson converts the list of subgraph into a JSON response by calling toFastJSON. diff --git a/query/outputnode_graphql.go b/query/outputnode_graphql.go index 5c53b72052e..b74dfe9bdf4 100644 --- a/query/outputnode_graphql.go +++ b/query/outputnode_graphql.go @@ -26,8 +26,8 @@ import ( "strings" "sync" - gqlSchema "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + gqlSchema "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) // graphQLEncoder is used to encode JSON response for GraphQL queries. diff --git a/query/outputnode_test.go b/query/outputnode_test.go index 1f2e20fc75b..0ebed5b7a8f 100644 --- a/query/outputnode_test.go +++ b/query/outputnode_test.go @@ -28,10 +28,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestEncodeMemory(t *testing.T) { diff --git a/query/outputrdf.go b/query/outputrdf.go index bcef441f143..b10e251fc61 100644 --- a/query/outputrdf.go +++ b/query/outputrdf.go @@ -23,10 +23,10 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) // rdfBuilder is used to generate RDF from subgraph. diff --git a/query/query.go b/query/query.go index 14bb699d6da..a26673f9e57 100644 --- a/query/query.go +++ b/query/query.go @@ -30,14 +30,14 @@ import ( otrace "go.opencensus.io/trace" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) /* diff --git a/query/query0_test.go b/query/query0_test.go index 89acaa4530a..8174813f84f 100644 --- a/query/query0_test.go +++ b/query/query0_test.go @@ -27,9 +27,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dql" ) func TestGetUID(t *testing.T) { diff --git a/query/query3_test.go b/query/query3_test.go index 4463eac5846..2f9fd967de0 100644 --- a/query/query3_test.go +++ b/query/query3_test.go @@ -29,8 +29,8 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestRecurseError(t *testing.T) { diff --git a/query/query4_test.go b/query/query4_test.go index 7a069867a03..088214dbb7f 100644 --- a/query/query4_test.go +++ b/query/query4_test.go @@ -29,8 +29,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestBigMathValue(t *testing.T) { diff --git a/query/recurse.go b/query/recurse.go index e9227490f8e..2e0ba26b22b 100644 --- a/query/recurse.go +++ b/query/recurse.go @@ -23,8 +23,8 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/x" ) func (start *SubGraph) expandRecurse(ctx context.Context, maxDepth uint64) error { diff --git a/query/shortest.go b/query/shortest.go index 6a0affc3762..966b85692ec 100644 --- a/query/shortest.go +++ b/query/shortest.go @@ -24,11 +24,11 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) type pathInfo struct { diff --git a/query/upgrade_test.go b/query/upgrade_test.go index 96fdbf0d6fa..84177a3cf77 100644 --- a/query/upgrade_test.go +++ b/query/upgrade_test.go @@ -25,9 +25,9 @@ import ( "testing" "time" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestMain(m *testing.M) { diff --git a/query/vector/integration_test.go b/query/vector/integration_test.go index 88a00cf1115..378f5ed6f2a 100644 --- a/query/vector/integration_test.go +++ b/query/vector/integration_test.go @@ -22,9 +22,9 @@ import ( "context" "testing" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestMain(m *testing.M) { diff --git a/query/vector/vector_graphql_test.go b/query/vector/vector_graphql_test.go index a9ec885008e..fc2b8e0916c 100644 --- a/query/vector/vector_graphql_test.go +++ b/query/vector/vector_graphql_test.go @@ -24,7 +24,7 @@ import ( "math/rand" "testing" - "github.com/dgraph-io/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" "github.com/stretchr/testify/require" ) diff --git a/query/vector/vector_test.go b/query/vector/vector_test.go index 5455e5774e9..4b512fcc417 100644 --- a/query/vector/vector_test.go +++ b/query/vector/vector_test.go @@ -28,9 +28,9 @@ import ( "time" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/raftwal/log.go b/raftwal/log.go index 62e06aaffc0..4c6ba5784bb 100644 --- a/raftwal/log.go +++ b/raftwal/log.go @@ -35,8 +35,8 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) // WAL is divided up into entryFiles. Each entry file stores maxNumEntries in diff --git a/raftwal/meta.go b/raftwal/meta.go index 2da169a72fb..40075f97528 100644 --- a/raftwal/meta.go +++ b/raftwal/meta.go @@ -27,8 +27,8 @@ import ( "go.etcd.io/etcd/raft/v3" "go.etcd.io/etcd/raft/v3/raftpb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) type MetaInfo int diff --git a/raftwal/storage.go b/raftwal/storage.go index 7a28f66769f..845c6041734 100644 --- a/raftwal/storage.go +++ b/raftwal/storage.go @@ -26,7 +26,7 @@ import ( "go.etcd.io/etcd/raft/v3/raftpb" "golang.org/x/net/trace" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // DiskStorage handles disk access and writing for the RAFT write-ahead log. diff --git a/raftwal/storage_test.go b/raftwal/storage_test.go index 733029a2b2a..8816cfe36cf 100644 --- a/raftwal/storage_test.go +++ b/raftwal/storage_test.go @@ -44,7 +44,7 @@ import ( "go.etcd.io/etcd/raft/v3" "go.etcd.io/etcd/raft/v3/raftpb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestStorageTerm(t *testing.T) { diff --git a/raftwal/wal.go b/raftwal/wal.go index 1ac72758344..297ca0568d4 100644 --- a/raftwal/wal.go +++ b/raftwal/wal.go @@ -26,8 +26,8 @@ import ( "go.etcd.io/etcd/raft/v3/raftpb" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) var errNotFound = errors.New("Unable to find raft entry") diff --git a/schema/parse.go b/schema/parse.go index b17090522ea..983fd2408f9 100644 --- a/schema/parse.go +++ b/schema/parse.go @@ -24,11 +24,11 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/lex" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) // ParseBytes parses the byte array which holds the schema. We will reset diff --git a/schema/parse_test.go b/schema/parse_test.go index e63e4d0c46c..8043efbe178 100644 --- a/schema/parse_test.go +++ b/schema/parse_test.go @@ -24,9 +24,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) type nameType struct { diff --git a/schema/schema.go b/schema/schema.go index a12a646347d..d3ecd4d3c45 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -31,11 +31,11 @@ import ( "github.com/dgraph-io/badger/v4" badgerpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/tok/hnsw" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/tok/hnsw" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/schema/schema_test.go b/schema/schema_test.go index c994eb0c522..983abdb85c9 100644 --- a/schema/schema_test.go +++ b/schema/schema_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) func TestCompareSchemaUpdates(t *testing.T) { diff --git a/schema/state.go b/schema/state.go index 490884e7146..720aa87df90 100644 --- a/schema/state.go +++ b/schema/state.go @@ -17,7 +17,7 @@ package schema import ( - "github.com/dgraph-io/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/lex" ) // Constants representing type of different graphql lexed items. diff --git a/systest/1million/1million_test.go b/systest/1million/1million_test.go index 2023d5cfc70..d5b79cb3a47 100644 --- a/systest/1million/1million_test.go +++ b/systest/1million/1million_test.go @@ -29,8 +29,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/systest/1million/common" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/systest/1million/common" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func Test1Million(t *testing.T) { diff --git a/systest/21million/bulk/run_test.go b/systest/21million/bulk/run_test.go index d8835787415..f6e95173d88 100644 --- a/systest/21million/bulk/run_test.go +++ b/systest/21million/bulk/run_test.go @@ -23,8 +23,8 @@ import ( "path/filepath" "testing" - "github.com/dgraph-io/dgraph/v24/systest/21million/common" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/systest/21million/common" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestQueries(t *testing.T) { diff --git a/systest/21million/common/run_queries.go b/systest/21million/common/run_queries.go index fe5e085dae1..a9d3c8f1e6c 100644 --- a/systest/21million/common/run_queries.go +++ b/systest/21million/common/run_queries.go @@ -26,8 +26,8 @@ import ( "testing" "time" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/testutil" ) // JSON output can be hundreds of lines and diffs can scroll off the terminal before you diff --git a/systest/21million/live/run_test.go b/systest/21million/live/run_test.go index 5e0db272917..d37e28923b8 100644 --- a/systest/21million/live/run_test.go +++ b/systest/21million/live/run_test.go @@ -23,8 +23,8 @@ import ( "path/filepath" "testing" - "github.com/dgraph-io/dgraph/v24/systest/21million/common" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/systest/21million/common" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestQueries(t *testing.T) { diff --git a/systest/acl/restore/acl_restore_test.go b/systest/acl/restore/acl_restore_test.go index c32e44ae886..78a25394b83 100644 --- a/systest/acl/restore/acl_restore_test.go +++ b/systest/acl/restore/acl_restore_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" ) // disableDraining disables draining mode before each test for increased reliability. diff --git a/systest/audit/audit_test.go b/systest/audit/audit_test.go index 216409a6d99..b8e664217fa 100644 --- a/systest/audit/audit_test.go +++ b/systest/audit/audit_test.go @@ -26,8 +26,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/testutil/testaudit" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil/testaudit" ) func TestZeroAudit(t *testing.T) { diff --git a/systest/audit_encrypted/audit_test.go b/systest/audit_encrypted/audit_test.go index f53146663f2..9911022726c 100644 --- a/systest/audit_encrypted/audit_test.go +++ b/systest/audit_encrypted/audit_test.go @@ -26,8 +26,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/testutil/testaudit" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil/testaudit" ) func TestZeroAuditEncrypted(t *testing.T) { diff --git a/systest/backup/advanced-scenarios/127-Namespace/backup_test.go b/systest/backup/advanced-scenarios/127-Namespace/backup_test.go index e376010a74b..0008d7805ac 100755 --- a/systest/backup/advanced-scenarios/127-Namespace/backup_test.go +++ b/systest/backup/advanced-scenarios/127-Namespace/backup_test.go @@ -20,10 +20,10 @@ package main import ( "testing" - e2eCommon "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - utilsCommon "github.com/dgraph-io/dgraph/v24/systest/backup/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + e2eCommon "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + utilsCommon "github.com/hypermodeinc/dgraph/v24/systest/backup/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/systest/backup/advanced-scenarios/acl-nonAcl/backup_test.go b/systest/backup/advanced-scenarios/acl-nonAcl/backup_test.go index 2f2ea0a3195..6616a78481c 100755 --- a/systest/backup/advanced-scenarios/acl-nonAcl/backup_test.go +++ b/systest/backup/advanced-scenarios/acl-nonAcl/backup_test.go @@ -21,10 +21,10 @@ import ( "net/http" "testing" - e2eCommon "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - utilsCommon "github.com/dgraph-io/dgraph/v24/systest/backup/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + e2eCommon "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + utilsCommon "github.com/hypermodeinc/dgraph/v24/systest/backup/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/systest/backup/advanced-scenarios/deleted-namespace/backup_test.go b/systest/backup/advanced-scenarios/deleted-namespace/backup_test.go index 77cd1a74478..66bd6ebb8ba 100755 --- a/systest/backup/advanced-scenarios/deleted-namespace/backup_test.go +++ b/systest/backup/advanced-scenarios/deleted-namespace/backup_test.go @@ -20,10 +20,10 @@ package main import ( "testing" - e2eCommon "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - utilsCommon "github.com/dgraph-io/dgraph/v24/systest/backup/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + e2eCommon "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + utilsCommon "github.com/hypermodeinc/dgraph/v24/systest/backup/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/systest/backup/common/utils.go b/systest/backup/common/utils.go index 571c17b0c34..7e5fd9f320e 100644 --- a/systest/backup/common/utils.go +++ b/systest/backup/common/utils.go @@ -31,9 +31,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/worker" ) var ( diff --git a/systest/backup/encryption/backup_test.go b/systest/backup/encryption/backup_test.go index b4a09b35d47..64f8b412dfe 100644 --- a/systest/backup/encryption/backup_test.go +++ b/systest/backup/encryption/backup_test.go @@ -35,9 +35,9 @@ import ( "github.com/dgraph-io/badger/v4/options" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/systest/backup/filesystem/backup_test.go b/systest/backup/filesystem/backup_test.go index 799f3dd9012..1c46c4327e9 100644 --- a/systest/backup/filesystem/backup_test.go +++ b/systest/backup/filesystem/backup_test.go @@ -36,10 +36,10 @@ import ( "github.com/dgraph-io/badger/v4/options" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/systest/backup/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/systest/backup/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/systest/backup/minio-large/backup_test.go b/systest/backup/minio-large/backup_test.go index 0a35d294e3f..0a368f95922 100644 --- a/systest/backup/minio-large/backup_test.go +++ b/systest/backup/minio-large/backup_test.go @@ -36,9 +36,9 @@ import ( "github.com/dgraph-io/badger/v4/options" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/systest/backup/minio/backup_test.go b/systest/backup/minio/backup_test.go index 3c6c30100f0..d834b2438e5 100644 --- a/systest/backup/minio/backup_test.go +++ b/systest/backup/minio/backup_test.go @@ -37,9 +37,9 @@ import ( "github.com/dgraph-io/badger/v4/options" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/systest/backup/multi-tenancy/backup_test.go b/systest/backup/multi-tenancy/backup_test.go index 454ece2e0b1..4d576bce380 100644 --- a/systest/backup/multi-tenancy/backup_test.go +++ b/systest/backup/multi-tenancy/backup_test.go @@ -28,9 +28,9 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/systest/backup/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/systest/backup/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/systest/backup/nfs-backup/backup_test.go b/systest/backup/nfs-backup/backup_test.go index bc7d4fc3fb1..d4f00461db8 100644 --- a/systest/backup/nfs-backup/backup_test.go +++ b/systest/backup/nfs-backup/backup_test.go @@ -35,10 +35,10 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/systest/backup/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/systest/backup/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/systest/bgindex/count_test.go b/systest/bgindex/count_test.go index f4f14589506..ca7082ddf97 100644 --- a/systest/bgindex/count_test.go +++ b/systest/bgindex/count_test.go @@ -38,8 +38,8 @@ import ( "github.com/dgraph-io/badger/v4/y" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestCountIndex(t *testing.T) { diff --git a/systest/bgindex/parallel_test.go b/systest/bgindex/parallel_test.go index 79a5903e768..3eadd9925c4 100644 --- a/systest/bgindex/parallel_test.go +++ b/systest/bgindex/parallel_test.go @@ -34,8 +34,8 @@ import ( "github.com/dgraph-io/badger/v4/y" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/systest/bgindex/reverse_test.go b/systest/bgindex/reverse_test.go index f39d7499a74..00ca5570046 100644 --- a/systest/bgindex/reverse_test.go +++ b/systest/bgindex/reverse_test.go @@ -36,8 +36,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestReverseIndex(t *testing.T) { diff --git a/systest/bgindex/string_test.go b/systest/bgindex/string_test.go index e786d49029f..ae96805a0f6 100644 --- a/systest/bgindex/string_test.go +++ b/systest/bgindex/string_test.go @@ -37,8 +37,8 @@ import ( "github.com/dgraph-io/badger/v4/y" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestStringIndex(t *testing.T) { diff --git a/systest/bulk_live/bulk/bulk_test.go b/systest/bulk_live/bulk/bulk_test.go index c523d32a2e5..2f57b6f0090 100644 --- a/systest/bulk_live/bulk/bulk_test.go +++ b/systest/bulk_live/bulk/bulk_test.go @@ -21,7 +21,7 @@ package main import ( "testing" - "github.com/dgraph-io/dgraph/v24/systest/bulk_live/common" + "github.com/hypermodeinc/dgraph/v24/systest/bulk_live/common" ) func TestBulkCases(t *testing.T) { diff --git a/systest/bulk_live/common/bulk_live_cases.go b/systest/bulk_live/common/bulk_live_cases.go index ac5bc695e41..187628a86ee 100644 --- a/systest/bulk_live/common/bulk_live_cases.go +++ b/systest/bulk_live/common/bulk_live_cases.go @@ -36,7 +36,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) // TODO: This test was used just to make sure some really basic examples work. @@ -733,8 +733,8 @@ func TestGoldenData(t *testing.T) { } s := newSuiteFromFile(t, - os.ExpandEnv("$GOPATH/src/github.com/dgraph-io/dgraph/v24/systest/data/goldendata.schema"), - os.ExpandEnv("$GOPATH/src/github.com/dgraph-io/dgraph/v24/systest/data/goldendata.rdf.gz"), + os.ExpandEnv("$GOPATH/src/github.com/hypermodeinc/dgraph/v24/systest/data/goldendata.schema"), + os.ExpandEnv("$GOPATH/src/github.com/hypermodeinc/dgraph/v24/systest/data/goldendata.rdf.gz"), "", ) defer s.cleanup(t) diff --git a/systest/bulk_live/common/bulk_live_fixture.go b/systest/bulk_live/common/bulk_live_fixture.go index 6fab4496e47..8699fb2375f 100644 --- a/systest/bulk_live/common/bulk_live_fixture.go +++ b/systest/bulk_live/common/bulk_live_fixture.go @@ -28,7 +28,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) var rootDir = "./data" diff --git a/systest/bulk_live/live/live_test.go b/systest/bulk_live/live/live_test.go index bec2c1e8cef..d72d571b377 100644 --- a/systest/bulk_live/live/live_test.go +++ b/systest/bulk_live/live/live_test.go @@ -21,7 +21,7 @@ package live import ( "testing" - "github.com/dgraph-io/dgraph/v24/systest/bulk_live/common" + "github.com/hypermodeinc/dgraph/v24/systest/bulk_live/common" ) func TestLiveCases(t *testing.T) { diff --git a/systest/cdc/cdc_test.go b/systest/cdc/cdc_test.go index c09d52118a0..cc8565ad8f8 100644 --- a/systest/cdc/cdc_test.go +++ b/systest/cdc/cdc_test.go @@ -30,7 +30,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestCDC(t *testing.T) { diff --git a/systest/cloud/cloud_test.go b/systest/cloud/cloud_test.go index 8f1005a0cff..7b31db8d1be 100644 --- a/systest/cloud/cloud_test.go +++ b/systest/cloud/cloud_test.go @@ -28,9 +28,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/e2e/common" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/e2e/common" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func setup(t *testing.T) { diff --git a/systest/export/export_test.go b/systest/export/export_test.go index f1c6ae16424..4148b159f0f 100644 --- a/systest/export/export_test.go +++ b/systest/export/export_test.go @@ -36,7 +36,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) var ( diff --git a/systest/group-delete/group_delete_test.go b/systest/group-delete/group_delete_test.go index 261f5808af1..3a0a6d6efaf 100644 --- a/systest/group-delete/group_delete_test.go +++ b/systest/group-delete/group_delete_test.go @@ -37,7 +37,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func NodesSetup(t *testing.T, c *dgo.Dgraph) { diff --git a/systest/integration2/acl_test.go b/systest/integration2/acl_test.go index d4026a3c39d..bf7ffa5d3de 100644 --- a/systest/integration2/acl_test.go +++ b/systest/integration2/acl_test.go @@ -24,9 +24,9 @@ import ( "time" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/systest/integration2/bulk_loader_test.go b/systest/integration2/bulk_loader_test.go index ddda1eeb425..ca9f5137761 100644 --- a/systest/integration2/bulk_loader_test.go +++ b/systest/integration2/bulk_loader_test.go @@ -23,10 +23,10 @@ import ( "testing" "time" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/systest/integration2/graphql_schema_auth_test.go b/systest/integration2/graphql_schema_auth_test.go index 493c4224435..e6a40668ed2 100644 --- a/systest/integration2/graphql_schema_auth_test.go +++ b/systest/integration2/graphql_schema_auth_test.go @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/systest/integration2/incremental_restore_test.go b/systest/integration2/incremental_restore_test.go index de4e2d09441..bb322fe5538 100644 --- a/systest/integration2/incremental_restore_test.go +++ b/systest/integration2/incremental_restore_test.go @@ -28,9 +28,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestIncrementalRestore(t *testing.T) { diff --git a/systest/integration2/snapshot_test.go b/systest/integration2/snapshot_test.go index ea768c6d2dc..e694d1321d3 100644 --- a/systest/integration2/snapshot_test.go +++ b/systest/integration2/snapshot_test.go @@ -22,9 +22,9 @@ import ( "testing" "time" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/systest/ldbc/ldbc_test.go b/systest/ldbc/ldbc_test.go index 4a1934e5c83..780b1a0cd5e 100644 --- a/systest/ldbc/ldbc_test.go +++ b/systest/ldbc/ldbc_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) type TestCases struct { diff --git a/systest/license/integration_test.go b/systest/license/integration_test.go index 9d83239ca2e..4a19436cf4b 100644 --- a/systest/license/integration_test.go +++ b/systest/license/integration_test.go @@ -23,8 +23,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) type LicenseTestSuite struct { diff --git a/systest/license/license_test.go b/systest/license/license_test.go index a2ccda99e6d..8a2e48f3a12 100644 --- a/systest/license/license_test.go +++ b/systest/license/license_test.go @@ -23,7 +23,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" ) var expiredKey = []byte(`-----BEGIN PGP MESSAGE----- diff --git a/systest/license/upgrade_test.go b/systest/license/upgrade_test.go index 3f61a7928d6..e82f0a405a9 100644 --- a/systest/license/upgrade_test.go +++ b/systest/license/upgrade_test.go @@ -24,9 +24,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) type LicenseTestSuite struct { diff --git a/systest/live_pw_test.go b/systest/live_pw_test.go index 0f84a6d8f30..ac19b098b7b 100644 --- a/systest/live_pw_test.go +++ b/systest/live_pw_test.go @@ -27,7 +27,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestLivePassword(t *testing.T) { diff --git a/systest/loader/loader_test.go b/systest/loader/loader_test.go index ed14030745e..7aa21fcd866 100644 --- a/systest/loader/loader_test.go +++ b/systest/loader/loader_test.go @@ -28,8 +28,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) // TestLoaderXidmap checks that live loader re-uses xidmap on loading data from two different files diff --git a/systest/multi-tenancy/basic_test.go b/systest/multi-tenancy/basic_test.go index 78d33e330c5..a57684bb6d5 100644 --- a/systest/multi-tenancy/basic_test.go +++ b/systest/multi-tenancy/basic_test.go @@ -27,10 +27,10 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/ee/acl" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/ee/acl" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/systest/multi-tenancy/integration_basic_helper_test.go b/systest/multi-tenancy/integration_basic_helper_test.go index e7c89ddd17c..6d937763bb7 100644 --- a/systest/multi-tenancy/integration_basic_helper_test.go +++ b/systest/multi-tenancy/integration_basic_helper_test.go @@ -27,9 +27,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type liveOpts struct { diff --git a/systest/multi-tenancy/integration_test.go b/systest/multi-tenancy/integration_test.go index 30df69b5e42..770e5ceca9d 100644 --- a/systest/multi-tenancy/integration_test.go +++ b/systest/multi-tenancy/integration_test.go @@ -26,9 +26,9 @@ import ( "github.com/stretchr/testify/suite" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) type MultitenancyTestSuite struct { diff --git a/systest/multi-tenancy/login_test.go b/systest/multi-tenancy/login_test.go index f26ca121c7b..efe5cb92d49 100644 --- a/systest/multi-tenancy/login_test.go +++ b/systest/multi-tenancy/login_test.go @@ -26,8 +26,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/x" ) func addData(t *testing.T, gc *dgraphapi.GrpcClient) { diff --git a/systest/multi-tenancy/upgrade_test.go b/systest/multi-tenancy/upgrade_test.go index e70be596f8f..8fe6870a211 100644 --- a/systest/multi-tenancy/upgrade_test.go +++ b/systest/multi-tenancy/upgrade_test.go @@ -26,9 +26,9 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) type MultitenancyTestSuite struct { diff --git a/systest/mutations-and-queries/integration_test.go b/systest/mutations-and-queries/integration_test.go index 71e6e12e7f4..91b5f126d9e 100644 --- a/systest/mutations-and-queries/integration_test.go +++ b/systest/mutations-and-queries/integration_test.go @@ -24,8 +24,8 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) type SystestTestSuite struct { diff --git a/systest/mutations-and-queries/mutations_test.go b/systest/mutations-and-queries/mutations_test.go index e33cca6b2b8..ce3ce6094f8 100644 --- a/systest/mutations-and-queries/mutations_test.go +++ b/systest/mutations-and-queries/mutations_test.go @@ -36,9 +36,9 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/testutil" ) // TestSystem uses the externally run Dgraph cluster for testing. Most other diff --git a/systest/mutations-and-queries/queries_test.go b/systest/mutations-and-queries/queries_test.go index 81fff7b4a9c..dcd214bd89e 100644 --- a/systest/mutations-and-queries/queries_test.go +++ b/systest/mutations-and-queries/queries_test.go @@ -27,9 +27,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func (ssuite *SystestTestSuite) TestQuery() { diff --git a/systest/mutations-and-queries/upgrade_test.go b/systest/mutations-and-queries/upgrade_test.go index 72f0913825b..4d809924515 100644 --- a/systest/mutations-and-queries/upgrade_test.go +++ b/systest/mutations-and-queries/upgrade_test.go @@ -27,9 +27,9 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) type SystestTestSuite struct { diff --git a/systest/online-restore/namespace-aware/restore_test.go b/systest/online-restore/namespace-aware/restore_test.go index aea3498a33c..3c4f7e8f16b 100644 --- a/systest/online-restore/namespace-aware/restore_test.go +++ b/systest/online-restore/namespace-aware/restore_test.go @@ -25,9 +25,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) // func addData(gc *dgraphapi.GrpcClient, pred string, start, end int) error { diff --git a/systest/online-restore/online_restore_test.go b/systest/online-restore/online_restore_test.go index e3e0005aded..1346976381e 100644 --- a/systest/online-restore/online_restore_test.go +++ b/systest/online-restore/online_restore_test.go @@ -37,9 +37,9 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type restoreReq struct { diff --git a/systest/plugin/integration_test.go b/systest/plugin/integration_test.go index 49e24673217..42636a16c2e 100644 --- a/systest/plugin/integration_test.go +++ b/systest/plugin/integration_test.go @@ -24,8 +24,8 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) type PluginTestSuite struct { diff --git a/systest/plugin/plugin_test.go b/systest/plugin/plugin_test.go index 0f26a068318..dff715802fd 100644 --- a/systest/plugin/plugin_test.go +++ b/systest/plugin/plugin_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" ) type testCase struct { diff --git a/systest/plugin/upgrade_test.go b/systest/plugin/upgrade_test.go index 0f1cb1a3b15..b35c885790c 100644 --- a/systest/plugin/upgrade_test.go +++ b/systest/plugin/upgrade_test.go @@ -26,9 +26,9 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" ) type PluginTestSuite struct { diff --git a/systest/posting-list-benchmark/main.go b/systest/posting-list-benchmark/main.go index f2f1bf35f9e..2860cb9f131 100644 --- a/systest/posting-list-benchmark/main.go +++ b/systest/posting-list-benchmark/main.go @@ -28,8 +28,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) type flagOptions struct { diff --git a/systest/unique_test.go b/systest/unique_test.go index f37c26e769c..be04ac59588 100644 --- a/systest/unique_test.go +++ b/systest/unique_test.go @@ -32,9 +32,9 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraph/cmd/live" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/dgraph/cmd/live" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" ) const emailQuery = `{ diff --git a/systest/vector/backup_test.go b/systest/vector/backup_test.go index e6e5cbb82d8..7b1704d730b 100644 --- a/systest/vector/backup_test.go +++ b/systest/vector/backup_test.go @@ -27,9 +27,9 @@ import ( "time" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/systest/vector/load_test.go b/systest/vector/load_test.go index d628a7361e9..eaedff82128 100644 --- a/systest/vector/load_test.go +++ b/systest/vector/load_test.go @@ -25,9 +25,9 @@ import ( "time" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/systest/vector/vector_test.go b/systest/vector/vector_test.go index 2a7820accea..f3a84ffd168 100644 --- a/systest/vector/vector_test.go +++ b/systest/vector/vector_test.go @@ -26,9 +26,9 @@ import ( "time" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/t/t.go b/t/t.go index 028bd669f67..e3174728cdf 100644 --- a/t/t.go +++ b/t/t.go @@ -47,9 +47,9 @@ import ( "github.com/spf13/pflag" "golang.org/x/tools/go/packages" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( @@ -406,7 +406,7 @@ func runTestsFor(ctx context.Context, pkg, prefix string, xmlFile string) error } func hasTestFiles(pkg string) bool { - dir := strings.Replace(pkg, "github.com/dgraph-io/dgraph/v24/", "", 1) + dir := strings.Replace(pkg, "github.com/hypermodeinc/dgraph/v24/", "", 1) dir = filepath.Join(*baseDir, dir) hasTests := false @@ -632,7 +632,7 @@ func (o *outputCatcher) Print() { if dur.dur < time.Second { continue } - pkg := strings.Replace(dur.pkg, "github.com/dgraph-io/dgraph/v24/", "", 1) + pkg := strings.Replace(dur.pkg, "github.com/hypermodeinc/dgraph/v24/", "", 1) fmt.Printf("[%6s]%s[%d] %s took: %s\n", dur.ts.Sub(baseTs).Round(time.Second), strings.Repeat(" ", int(dur.threadId)), dur.threadId, pkg, dur.dur.Round(time.Second)) @@ -650,14 +650,14 @@ type task struct { // for custom cluster tests (i.e. those not using default docker-compose.yml) func composeFileFor(pkg string) string { - dir := strings.Replace(pkg, "github.com/dgraph-io/dgraph/v24/", "", 1) + dir := strings.Replace(pkg, "github.com/hypermodeinc/dgraph/v24/", "", 1) return filepath.Join(*baseDir, dir, "docker-compose.yml") } func getPackages() []task { has := func(list []string, in string) bool { for _, l := range list { - if len(l) > 0 && strings.Contains(in+"/", "github.com/dgraph-io/dgraph/v24/"+l+"/") { + if len(l) > 0 && strings.Contains(in+"/", "github.com/hypermodeinc/dgraph/v24/"+l+"/") { return true } } @@ -1128,7 +1128,7 @@ func run() error { }() signal.Notify(sdCh, os.Interrupt, syscall.SIGINT, syscall.SIGTERM) - // pkgs, err := packages.Load(nil, "github.com/dgraph-io/dgraph/v24/...") + // pkgs, err := packages.Load(nil, "github.com/hypermodeinc/dgraph/v24/...") go func() { defer close(testCh) valid := getPackages() diff --git a/task/conversion.go b/task/conversion.go index a2d9d13f9cd..d1b3a75b7c3 100644 --- a/task/conversion.go +++ b/task/conversion.go @@ -20,7 +20,7 @@ import ( "encoding/binary" "math" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) var ( diff --git a/telemetry/telemetry.go b/telemetry/telemetry.go index 86afee03435..f195b34c8e1 100644 --- a/telemetry/telemetry.go +++ b/telemetry/telemetry.go @@ -27,9 +27,9 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/worker" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/worker" + "github.com/hypermodeinc/dgraph/v24/x" ) // Telemetry holds information about the state of the zero and alpha server. diff --git a/testutil/backup.go b/testutil/backup.go index 1b7444ee53c..ccf89ac9eaf 100644 --- a/testutil/backup.go +++ b/testutil/backup.go @@ -32,11 +32,11 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) // KeyFile is set to the path of the file containing the key. Used for testing purposes only. diff --git a/testutil/bulk.go b/testutil/bulk.go index fa004aa0e78..dac1f3c1233 100644 --- a/testutil/bulk.go +++ b/testutil/bulk.go @@ -28,7 +28,7 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) type LiveOpts struct { diff --git a/testutil/client.go b/testutil/client.go index f5fd14ca424..92d7a56e259 100644 --- a/testutil/client.go +++ b/testutil/client.go @@ -42,8 +42,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/x" ) // socket addr = IP address and port number diff --git a/testutil/docker.go b/testutil/docker.go index 5d07ee7f985..0fb8f608d86 100644 --- a/testutil/docker.go +++ b/testutil/docker.go @@ -35,7 +35,7 @@ import ( "github.com/pkg/errors" "golang.org/x/net/context" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/testutil/exec.go b/testutil/exec.go index 3ee05137f1d..60a24fcba32 100644 --- a/testutil/exec.go +++ b/testutil/exec.go @@ -25,7 +25,7 @@ import ( "os/exec" "strconv" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) // These are exported so they can also be set directly from outside this package. diff --git a/testutil/graphql.go b/testutil/graphql.go index 02a45ba2098..eafd76de604 100644 --- a/testutil/graphql.go +++ b/testutil/graphql.go @@ -35,7 +35,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) const ExportRequest = `mutation { diff --git a/testutil/multi_tenancy.go b/testutil/multi_tenancy.go index 06b5215fb28..1ce820098af 100644 --- a/testutil/multi_tenancy.go +++ b/testutil/multi_tenancy.go @@ -30,7 +30,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) type Rule struct { diff --git a/testutil/testaudit/audit.go b/testutil/testaudit/audit.go index 1a7f06ff59b..558e4ab3e42 100644 --- a/testutil/testaudit/audit.go +++ b/testutil/testaudit/audit.go @@ -9,7 +9,7 @@ import ( "path/filepath" "testing" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" "github.com/stretchr/testify/require" ) diff --git a/testutil/utils.go b/testutil/utils.go index 4d393d4ef8e..42a27756377 100644 --- a/testutil/utils.go +++ b/testutil/utils.go @@ -29,7 +29,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) func GalaxySchemaKey(attr string) []byte { diff --git a/tlstest/acl/acl_over_tls_test.go b/tlstest/acl/acl_over_tls_test.go index 937c673ddec..2000c9f63f9 100644 --- a/tlstest/acl/acl_over_tls_test.go +++ b/tlstest/acl/acl_over_tls_test.go @@ -11,8 +11,8 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestLoginOverTLS(t *testing.T) { diff --git a/tlstest/certrequest/certrequest_test.go b/tlstest/certrequest/certrequest_test.go index a72fb8daeaf..a612fda8466 100644 --- a/tlstest/certrequest/certrequest_test.go +++ b/tlstest/certrequest/certrequest_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestAccessOverPlaintext(t *testing.T) { diff --git a/tlstest/certrequireandverify/certrequireandverify_test.go b/tlstest/certrequireandverify/certrequireandverify_test.go index d169f07e4c5..204beede4b5 100644 --- a/tlstest/certrequireandverify/certrequireandverify_test.go +++ b/tlstest/certrequireandverify/certrequireandverify_test.go @@ -18,7 +18,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestAccessWithoutClientCert(t *testing.T) { diff --git a/tlstest/certverifyifgiven/certverifyifgiven_test.go b/tlstest/certverifyifgiven/certverifyifgiven_test.go index fb1a38b6b03..351eb015379 100644 --- a/tlstest/certverifyifgiven/certverifyifgiven_test.go +++ b/tlstest/certverifyifgiven/certverifyifgiven_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestAccessWithoutClientCert(t *testing.T) { diff --git a/tlstest/mtls_internal/ha_6_node/ha_test.go b/tlstest/mtls_internal/ha_6_node/ha_test.go index b8db3b8a99a..7e297b5a523 100644 --- a/tlstest/mtls_internal/ha_6_node/ha_test.go +++ b/tlstest/mtls_internal/ha_6_node/ha_test.go @@ -13,8 +13,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func runTests(t *testing.T, client *dgo.Dgraph) { diff --git a/tlstest/mtls_internal/multi_group/multi_group_test.go b/tlstest/mtls_internal/multi_group/multi_group_test.go index e04f2fe40ab..cdd5c4386bb 100644 --- a/tlstest/mtls_internal/multi_group/multi_group_test.go +++ b/tlstest/mtls_internal/multi_group/multi_group_test.go @@ -13,8 +13,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func runTests(t *testing.T, client *dgo.Dgraph) { diff --git a/tlstest/mtls_internal/single_node/single_node_test.go b/tlstest/mtls_internal/single_node/single_node_test.go index 7bc22f35c29..e1d9a32f293 100644 --- a/tlstest/mtls_internal/single_node/single_node_test.go +++ b/tlstest/mtls_internal/single_node/single_node_test.go @@ -13,8 +13,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) func runTests(t *testing.T, client *dgo.Dgraph) { diff --git a/tlstest/zero_https/all_routes_tls/all_routes_tls_test.go b/tlstest/zero_https/all_routes_tls/all_routes_tls_test.go index 8c76b7fffd7..ac60235a575 100644 --- a/tlstest/zero_https/all_routes_tls/all_routes_tls_test.go +++ b/tlstest/zero_https/all_routes_tls/all_routes_tls_test.go @@ -15,7 +15,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) type testCase struct { diff --git a/tlstest/zero_https/no_tls/no_tls_test.go b/tlstest/zero_https/no_tls/no_tls_test.go index 5f5ef62f67d..c4d162d66be 100644 --- a/tlstest/zero_https/no_tls/no_tls_test.go +++ b/tlstest/zero_https/no_tls/no_tls_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) type testCase struct { diff --git a/tok/bleve.go b/tok/bleve.go index f776cb7621e..7e5f1e108ae 100644 --- a/tok/bleve.go +++ b/tok/bleve.go @@ -24,7 +24,7 @@ import ( "github.com/blevesearch/bleve/v2/analysis/tokenizer/unicode" "github.com/blevesearch/bleve/v2/registry" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) const unicodenormName = "unicodenorm_nfkc" diff --git a/tok/hnsw/heap.go b/tok/hnsw/heap.go index aed0f1d16b5..18965b65c94 100644 --- a/tok/hnsw/heap.go +++ b/tok/hnsw/heap.go @@ -21,7 +21,7 @@ package hnsw import ( "container/heap" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" ) const notAUid uint64 = 0 diff --git a/tok/hnsw/helper.go b/tok/hnsw/helper.go index e526072cc91..89f4fbce01b 100644 --- a/tok/hnsw/helper.go +++ b/tok/hnsw/helper.go @@ -31,9 +31,9 @@ import ( "strings" "unsafe" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" - "github.com/dgraph-io/dgraph/v24/tok/index" "github.com/getsentry/sentry-go" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" + "github.com/hypermodeinc/dgraph/v24/tok/index" "github.com/pkg/errors" "github.com/viterin/vek" "github.com/viterin/vek/vek32" diff --git a/tok/hnsw/persistent_factory.go b/tok/hnsw/persistent_factory.go index 93ee0838167..25bbc95ed8c 100644 --- a/tok/hnsw/persistent_factory.go +++ b/tok/hnsw/persistent_factory.go @@ -22,9 +22,9 @@ import ( "fmt" "sync" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" - "github.com/dgraph-io/dgraph/v24/tok/index" - opt "github.com/dgraph-io/dgraph/v24/tok/options" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" + "github.com/hypermodeinc/dgraph/v24/tok/index" + opt "github.com/hypermodeinc/dgraph/v24/tok/options" "github.com/pkg/errors" ) diff --git a/tok/hnsw/persistent_hnsw.go b/tok/hnsw/persistent_hnsw.go index 43aedf33208..2b534b5d6a1 100644 --- a/tok/hnsw/persistent_hnsw.go +++ b/tok/hnsw/persistent_hnsw.go @@ -24,10 +24,10 @@ import ( "strings" "time" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" - "github.com/dgraph-io/dgraph/v24/tok/index" - opt "github.com/dgraph-io/dgraph/v24/tok/options" "github.com/golang/glog" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" + "github.com/hypermodeinc/dgraph/v24/tok/index" + opt "github.com/hypermodeinc/dgraph/v24/tok/options" "github.com/pkg/errors" ) diff --git a/tok/hnsw/persistent_hnsw_test.go b/tok/hnsw/persistent_hnsw_test.go index ef95fb42325..9b4f3bd4b2c 100644 --- a/tok/hnsw/persistent_hnsw_test.go +++ b/tok/hnsw/persistent_hnsw_test.go @@ -24,9 +24,9 @@ import ( "sync" "testing" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" - "github.com/dgraph-io/dgraph/v24/tok/index" - opt "github.com/dgraph-io/dgraph/v24/tok/options" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" + "github.com/hypermodeinc/dgraph/v24/tok/index" + opt "github.com/hypermodeinc/dgraph/v24/tok/options" "golang.org/x/exp/slices" ) diff --git a/tok/hnsw/search_layer.go b/tok/hnsw/search_layer.go index f87ad59fb8d..622c6bae221 100644 --- a/tok/hnsw/search_layer.go +++ b/tok/hnsw/search_layer.go @@ -19,8 +19,8 @@ package hnsw import ( - c "github.com/dgraph-io/dgraph/v24/tok/constraints" - "github.com/dgraph-io/dgraph/v24/tok/index" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" + "github.com/hypermodeinc/dgraph/v24/tok/index" "fmt" ) diff --git a/tok/hnsw/test_helper.go b/tok/hnsw/test_helper.go index ab3b74de54a..78237d6ccaa 100644 --- a/tok/hnsw/test_helper.go +++ b/tok/hnsw/test_helper.go @@ -25,7 +25,7 @@ import ( "strings" "sync" - "github.com/dgraph-io/dgraph/v24/tok/index" + "github.com/hypermodeinc/dgraph/v24/tok/index" "github.com/pkg/errors" ) diff --git a/tok/index/helper.go b/tok/index/helper.go index 3e47421942e..a54ee8186cc 100644 --- a/tok/index/helper.go +++ b/tok/index/helper.go @@ -24,8 +24,8 @@ import ( "reflect" "unsafe" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" "github.com/golang/glog" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" ) // BytesAsFloatArray[T c.Float](encoded) converts encoded into a []T, diff --git a/tok/index/helper_test.go b/tok/index/helper_test.go index ef433a3222f..5ad179754e4 100644 --- a/tok/index/helper_test.go +++ b/tok/index/helper_test.go @@ -28,8 +28,8 @@ import ( "testing" "unsafe" - "github.com/dgraph-io/dgraph/v24/protos/pb" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" "github.com/viterin/vek/vek32" "google.golang.org/protobuf/proto" ) @@ -379,7 +379,7 @@ func littleEndianBytesAsFloatArray[T c.Float](encoded []byte, retVal *[]T, float // Assume LittleEndian for encoding since this is // the assumption elsewhere when reading from client. // See dgraph-io/dgo/protos/api.pb.go - // See also dgraph-io/dgraph/types/conversion.go + // See also hypermodeinc/dgraph/types/conversion.go // This also seems to be the preference from many examples // I have found via Google search. It's unclear why this // should be a preference. diff --git a/tok/index/index.go b/tok/index/index.go index 21d6982b524..03fe425c36b 100644 --- a/tok/index/index.go +++ b/tok/index/index.go @@ -21,8 +21,8 @@ package index import ( "context" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" - opts "github.com/dgraph-io/dgraph/v24/tok/options" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" + opts "github.com/hypermodeinc/dgraph/v24/tok/options" ) // IndexFactory is responsible for being able to create, find, and remove diff --git a/tok/index_factory.go b/tok/index_factory.go index c8ff295bff5..1a94711806d 100644 --- a/tok/index_factory.go +++ b/tok/index_factory.go @@ -19,8 +19,8 @@ package tok import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/tok/index" - opts "github.com/dgraph-io/dgraph/v24/tok/options" + "github.com/hypermodeinc/dgraph/v24/tok/index" + opts "github.com/hypermodeinc/dgraph/v24/tok/options" ) // registerIndexFactory(f) will register f as both a Tokenizer and specifically diff --git a/tok/options/options.go b/tok/options/options.go index 3ee1b63a8a1..6d153041f63 100644 --- a/tok/options/options.go +++ b/tok/options/options.go @@ -19,7 +19,7 @@ package options import ( "fmt" - c "github.com/dgraph-io/dgraph/v24/tok/constraints" + c "github.com/hypermodeinc/dgraph/v24/tok/constraints" ) // An Options instance maps the various named options to their specific values. diff --git a/tok/tok.go b/tok/tok.go index 51689ada8d4..ebb6852e95c 100644 --- a/tok/tok.go +++ b/tok/tok.go @@ -29,11 +29,11 @@ import ( "golang.org/x/crypto/blake2b" "golang.org/x/text/collate" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok/hnsw" - opts "github.com/dgraph-io/dgraph/v24/tok/options" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok/hnsw" + opts "github.com/hypermodeinc/dgraph/v24/tok/options" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) // Tokenizer identifiers are unique and can't be reused. diff --git a/types/compare.go b/types/compare.go index 6eb95b26ed8..e0135db1bea 100644 --- a/types/compare.go +++ b/types/compare.go @@ -16,7 +16,7 @@ package types -import "github.com/dgraph-io/dgraph/v24/x" +import "github.com/hypermodeinc/dgraph/v24/x" // CompareVals compares two values using the given comparison type. // Should be used only in filtering arg1 by comparing with arg2. diff --git a/types/facets/utils.go b/types/facets/utils.go index 166ea7e6abf..11544cddc76 100644 --- a/types/facets/utils.go +++ b/types/facets/utils.go @@ -25,9 +25,9 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" ) // SortAndValidate sorts And validates the facets. diff --git a/types/geofilter.go b/types/geofilter.go index b049585a54c..3cbcd6b3772 100644 --- a/types/geofilter.go +++ b/types/geofilter.go @@ -26,8 +26,8 @@ import ( geom "github.com/twpayne/go-geom" "github.com/twpayne/go-geom/xy" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) // QueryType indicates the type of geo query. diff --git a/types/s2.go b/types/s2.go index ad8c0b474f8..a3a895182ef 100644 --- a/types/s2.go +++ b/types/s2.go @@ -24,7 +24,7 @@ import ( geom "github.com/twpayne/go-geom" "github.com/twpayne/go-geom/encoding/geojson" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) func edgesCrossPoints(l *s2.Loop, pts []s2.Point) bool { diff --git a/types/s2index.go b/types/s2index.go index fa9ef3863de..ce8abf0abac 100644 --- a/types/s2index.go +++ b/types/s2index.go @@ -23,7 +23,7 @@ import ( "github.com/pkg/errors" geom "github.com/twpayne/go-geom" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) func parentCoverTokens(parents s2.CellUnion, cover s2.CellUnion) []string { diff --git a/types/scalar_types.go b/types/scalar_types.go index 384d25c4a40..77db053b5ba 100644 --- a/types/scalar_types.go +++ b/types/scalar_types.go @@ -23,7 +23,7 @@ import ( "github.com/twpayne/go-geom" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) const ( diff --git a/types/sort.go b/types/sort.go index cacd92da529..88a6e32a006 100644 --- a/types/sort.go +++ b/types/sort.go @@ -25,8 +25,8 @@ import ( "golang.org/x/text/collate" "golang.org/x/text/language" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) type sortBase struct { diff --git a/types/sort_test.go b/types/sort_test.go index d49faaa939f..151bcca826f 100644 --- a/types/sort_test.go +++ b/types/sort_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) func toString(t *testing.T, values [][]Val, vID TypeID) []string { diff --git a/upgrade/change_v20.03.0.go b/upgrade/change_v20.03.0.go index e7d97b19704..1282c5d8deb 100644 --- a/upgrade/change_v20.03.0.go +++ b/upgrade/change_v20.03.0.go @@ -21,7 +21,7 @@ import ( "fmt" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/upgrade/change_v20.07.0.go b/upgrade/change_v20.07.0.go index 44ab3b58429..0842a87ba85 100644 --- a/upgrade/change_v20.07.0.go +++ b/upgrade/change_v20.07.0.go @@ -21,8 +21,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/upgrade/change_v21.03.0.go b/upgrade/change_v21.03.0.go index 22425d62488..6ffce7fa702 100644 --- a/upgrade/change_v21.03.0.go +++ b/upgrade/change_v21.03.0.go @@ -29,10 +29,10 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/upgrade/upgrade.go b/upgrade/upgrade.go index 32f60f070cb..59dab7a2103 100644 --- a/upgrade/upgrade.go +++ b/upgrade/upgrade.go @@ -26,7 +26,7 @@ import ( "github.com/spf13/cobra" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/upgrade/utils.go b/upgrade/utils.go index 6704eb57539..3c9f92d9bd9 100644 --- a/upgrade/utils.go +++ b/upgrade/utils.go @@ -31,8 +31,8 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/graphql/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/graphql/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) func hasAclCreds() bool { diff --git a/worker/acl_cache.go b/worker/acl_cache.go index 503f44b3fce..0ff43b0b2cb 100644 --- a/worker/acl_cache.go +++ b/worker/acl_cache.go @@ -18,8 +18,8 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/ee/acl" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/ee/acl" + "github.com/hypermodeinc/dgraph/v24/x" ) // AclCache is the cache mapping group names to the corresponding group acls diff --git a/worker/acl_cache_test.go b/worker/acl_cache_test.go index 1f76056c66b..079458ccdfd 100644 --- a/worker/acl_cache_test.go +++ b/worker/acl_cache_test.go @@ -18,8 +18,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/ee/acl" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/ee/acl" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestAclCache(t *testing.T) { diff --git a/worker/aggregator.go b/worker/aggregator.go index dddf478f884..df7ceb819cd 100644 --- a/worker/aggregator.go +++ b/worker/aggregator.go @@ -17,7 +17,7 @@ package worker import ( - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types" ) func couldApplyAggregatorOn(agrtr string, typ types.TypeID) bool { diff --git a/worker/backup.go b/worker/backup.go index 1b6b75afc5c..fb77a36150c 100644 --- a/worker/backup.go +++ b/worker/backup.go @@ -24,8 +24,8 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) // predicateSet is a map whose keys are predicates. It is meant to be used as a set. diff --git a/worker/backup_ee.go b/worker/backup_ee.go index 4fe82b9a6af..2c7992792f0 100644 --- a/worker/backup_ee.go +++ b/worker/backup_ee.go @@ -34,12 +34,12 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok/hnsw" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok/hnsw" + "github.com/hypermodeinc/dgraph/v24/x" ) // Backup handles a request coming from another node. diff --git a/worker/backup_handler.go b/worker/backup_handler.go index 9d1e9c31a17..3a767968203 100644 --- a/worker/backup_handler.go +++ b/worker/backup_handler.go @@ -27,8 +27,8 @@ import ( "github.com/minio/minio-go/v6/pkg/credentials" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/backup_manifest.go b/worker/backup_manifest.go index 9865745e223..9566f4683a6 100644 --- a/worker/backup_manifest.go +++ b/worker/backup_manifest.go @@ -24,8 +24,8 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) func verifyManifests(manifests []*Manifest) error { diff --git a/worker/backup_oss.go b/worker/backup_oss.go index 88f527d5a05..a7116e712fd 100644 --- a/worker/backup_oss.go +++ b/worker/backup_oss.go @@ -24,8 +24,8 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) // Backup implements the Worker interface. diff --git a/worker/cdc.go b/worker/cdc.go index 800d37404a5..0a182bc4ee2 100644 --- a/worker/cdc.go +++ b/worker/cdc.go @@ -22,7 +22,7 @@ package worker import ( "math" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) type CDC struct { diff --git a/worker/cdc_ee.go b/worker/cdc_ee.go index af436ea0a3f..6b60d82fbab 100644 --- a/worker/cdc_ee.go +++ b/worker/cdc_ee.go @@ -29,11 +29,11 @@ import ( "go.etcd.io/etcd/raft/v3/raftpb" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/config.go b/worker/config.go index 4d12e9fb134..030bcaf2220 100644 --- a/worker/config.go +++ b/worker/config.go @@ -22,7 +22,7 @@ import ( "github.com/golang-jwt/jwt/v5" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/draft.go b/worker/draft.go index f26f3c2052a..d2bd6facc36 100644 --- a/worker/draft.go +++ b/worker/draft.go @@ -42,14 +42,14 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) type operation struct { diff --git a/worker/draft_test.go b/worker/draft_test.go index 95756883b2c..b3a1b97b1d5 100644 --- a/worker/draft_test.go +++ b/worker/draft_test.go @@ -23,10 +23,10 @@ import ( "go.etcd.io/etcd/raft/v3/raftpb" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/x" ) func getEntryForMutation(index, startTs uint64) raftpb.Entry { diff --git a/worker/embedded.go b/worker/embedded.go index 483ec984ec3..e666f85a326 100644 --- a/worker/embedded.go +++ b/worker/embedded.go @@ -6,9 +6,9 @@ import ( "github.com/golang/glog" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" ) func InitForLite(ps *badger.DB) { diff --git a/worker/export.go b/worker/export.go index e585ae4ac94..42d7a5c17eb 100644 --- a/worker/export.go +++ b/worker/export.go @@ -39,13 +39,13 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) // DefaultExportFormat stores the name of the default format for exports. diff --git a/worker/export_test.go b/worker/export_test.go index 9ed9c100bca..b4a49bbe269 100644 --- a/worker/export_test.go +++ b/worker/export_test.go @@ -38,16 +38,16 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/chunker" - "github.com/dgraph-io/dgraph/v24/dql" - "github.com/dgraph-io/dgraph/v24/lex" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/chunker" + "github.com/hypermodeinc/dgraph/v24/dql" + "github.com/hypermodeinc/dgraph/v24/lex" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/graphql_schema.go b/worker/graphql_schema.go index a2f26190f07..aa80a6a1f5a 100644 --- a/worker/graphql_schema.go +++ b/worker/graphql_schema.go @@ -26,10 +26,10 @@ import ( "github.com/pkg/errors" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/groups.go b/worker/groups.go index fe5ba2a4f64..7a01a517918 100644 --- a/worker/groups.go +++ b/worker/groups.go @@ -31,13 +31,13 @@ import ( badgerpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) type groupi struct { diff --git a/worker/match.go b/worker/match.go index 1b255d45c1f..cbb26bdea10 100644 --- a/worker/match.go +++ b/worker/match.go @@ -17,11 +17,11 @@ package worker import ( - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/x" ) // LevenshteinDistance measures the difference between two strings. diff --git a/worker/multi_tenancy.go b/worker/multi_tenancy.go index 5657ad537fd..04677401ad1 100644 --- a/worker/multi_tenancy.go +++ b/worker/multi_tenancy.go @@ -22,8 +22,8 @@ package worker import ( "context" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) func (w *grpcWorker) DeleteNamespace(ctx context.Context, diff --git a/worker/multi_tenancy_ee.go b/worker/multi_tenancy_ee.go index aab2e9540d9..561eb9654c1 100644 --- a/worker/multi_tenancy_ee.go +++ b/worker/multi_tenancy_ee.go @@ -21,9 +21,9 @@ import ( "github.com/pkg/errors" "golang.org/x/sync/errgroup" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) func (w *grpcWorker) DeleteNamespace(ctx context.Context, req *pb.DeleteNsRequest) (*pb.Status, error) { diff --git a/worker/mutation.go b/worker/mutation.go index 303d6d2492a..79b3584185b 100644 --- a/worker/mutation.go +++ b/worker/mutation.go @@ -35,13 +35,13 @@ import ( "github.com/dgraph-io/badger/v4/y" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/worker/mutation_integration_test.go b/worker/mutation_integration_test.go index c8ef22a515b..cb8c118db28 100644 --- a/worker/mutation_integration_test.go +++ b/worker/mutation_integration_test.go @@ -23,10 +23,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestPopulateMutationMap(t *testing.T) { diff --git a/worker/mutation_unit_test.go b/worker/mutation_unit_test.go index c54429b2ff4..388d82bddf4 100644 --- a/worker/mutation_unit_test.go +++ b/worker/mutation_unit_test.go @@ -25,11 +25,11 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) func TestReverseEdge(t *testing.T) { diff --git a/worker/online_restore.go b/worker/online_restore.go index 7b3dc0f2df1..051dc8d3edf 100644 --- a/worker/online_restore.go +++ b/worker/online_restore.go @@ -31,12 +31,12 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/online_restore_oss.go b/worker/online_restore_oss.go index 3d1ba364838..9410b6e0db8 100644 --- a/worker/online_restore_oss.go +++ b/worker/online_restore_oss.go @@ -25,8 +25,8 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) func ProcessRestoreRequest(ctx context.Context, req *pb.RestoreRequest, wg *sync.WaitGroup) error { diff --git a/worker/predicate_move.go b/worker/predicate_move.go index b102b2cac2a..34acdffb3d5 100644 --- a/worker/predicate_move.go +++ b/worker/predicate_move.go @@ -33,12 +33,12 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/tok/hnsw" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/tok/hnsw" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/worker/predicate_test.go b/worker/predicate_test.go index 7030d334115..cdeb9de1364 100644 --- a/worker/predicate_test.go +++ b/worker/predicate_test.go @@ -32,9 +32,9 @@ package worker // "github.com/stretchr/testify/require" // "google.golang.org/grpc" -// "github.com/dgraph-io/dgraph/v24/posting" -// "github.com/dgraph-io/dgraph/v24/protos/pb" -// "github.com/dgraph-io/dgraph/v24/x" +// "github.com/hypermodeinc/dgraph/v24/posting" +// "github.com/hypermodeinc/dgraph/v24/protos/pb" +// "github.com/hypermodeinc/dgraph/v24/x" // ) // func checkShard(ps *badger.DB) (int, []byte) { diff --git a/worker/proposal.go b/worker/proposal.go index 78036f4698e..7ddeeb0bf77 100644 --- a/worker/proposal.go +++ b/worker/proposal.go @@ -30,10 +30,10 @@ import ( otrace "go.opencensus.io/trace" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) const baseTimeout time.Duration = 4 * time.Second diff --git a/worker/queue.go b/worker/queue.go index 07791c4143a..3a3f810e8d6 100644 --- a/worker/queue.go +++ b/worker/queue.go @@ -29,11 +29,11 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/x" ) // TaskStatusOverNetwork fetches the status of a task over the network. Alphas only know about the diff --git a/worker/restore_map.go b/worker/restore_map.go index c62d1541447..be8321769c5 100644 --- a/worker/restore_map.go +++ b/worker/restore_map.go @@ -41,15 +41,15 @@ import ( bpb "github.com/dgraph-io/badger/v4/pb" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/codec" - "github.com/dgraph-io/dgraph/v24/ee" - "github.com/dgraph-io/dgraph/v24/ee/enc" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/tok/hnsw" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/codec" + "github.com/hypermodeinc/dgraph/v24/ee" + "github.com/hypermodeinc/dgraph/v24/ee/enc" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/tok/hnsw" + "github.com/hypermodeinc/dgraph/v24/x" ) type backupReader struct { diff --git a/worker/restore_reduce.go b/worker/restore_reduce.go index 47e0f6f7f94..6e8393b13b7 100644 --- a/worker/restore_reduce.go +++ b/worker/restore_reduce.go @@ -32,9 +32,9 @@ import ( "google.golang.org/protobuf/proto" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/schema.go b/worker/schema.go index 5ca5cfd71ca..4bbdeeafec7 100644 --- a/worker/schema.go +++ b/worker/schema.go @@ -23,10 +23,10 @@ import ( otrace "go.opencensus.io/trace" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/types" ) var ( diff --git a/worker/server_state.go b/worker/server_state.go index 953e269ae4f..a093a95b184 100644 --- a/worker/server_state.go +++ b/worker/server_state.go @@ -25,10 +25,10 @@ import ( "github.com/golang/glog" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/raftwal" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/raftwal" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/sink_handler.go b/worker/sink_handler.go index d42c2b2f192..9d57a809fb0 100644 --- a/worker/sink_handler.go +++ b/worker/sink_handler.go @@ -31,8 +31,8 @@ import ( "github.com/pkg/errors" "github.com/xdg/scram" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/x" ) type SinkMessage struct { diff --git a/worker/snapshot.go b/worker/snapshot.go index 45833171300..618236da64f 100644 --- a/worker/snapshot.go +++ b/worker/snapshot.go @@ -27,12 +27,12 @@ import ( "go.etcd.io/etcd/raft/v3" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" ) const ( diff --git a/worker/snapshot_test.go b/worker/snapshot_test.go index bb0eb176e8b..1ff778c63f8 100644 --- a/worker/snapshot_test.go +++ b/worker/snapshot_test.go @@ -33,7 +33,7 @@ import ( "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/testutil" ) func TestSnapshot(t *testing.T) { diff --git a/worker/sort.go b/worker/sort.go index 22add5d4195..1d819da5fe4 100644 --- a/worker/sort.go +++ b/worker/sort.go @@ -28,13 +28,13 @@ import ( otrace "go.opencensus.io/trace" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) var emptySortResult pb.SortResult diff --git a/worker/sort_test.go b/worker/sort_test.go index 5d92fe5f4f1..70e0d9fa9b9 100644 --- a/worker/sort_test.go +++ b/worker/sort_test.go @@ -24,10 +24,10 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/worker/stringfilter.go b/worker/stringfilter.go index bd5878cda2c..f5b860360c2 100644 --- a/worker/stringfilter.go +++ b/worker/stringfilter.go @@ -21,10 +21,10 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) type matchFunc func(types.Val, *stringFilter) bool diff --git a/worker/task.go b/worker/task.go index d7caa7b8aaa..e6d6d427314 100644 --- a/worker/task.go +++ b/worker/task.go @@ -35,18 +35,18 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - ctask "github.com/dgraph-io/dgraph/v24/task" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/tok/hnsw" - "github.com/dgraph-io/dgraph/v24/tok/index" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/types/facets" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + ctask "github.com/hypermodeinc/dgraph/v24/task" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/tok/hnsw" + "github.com/hypermodeinc/dgraph/v24/tok/index" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/types/facets" + "github.com/hypermodeinc/dgraph/v24/x" ) func invokeNetworkRequest(ctx context.Context, addr string, diff --git a/worker/tokens.go b/worker/tokens.go index 7ecbde1849d..1c3e41eb5a6 100644 --- a/worker/tokens.go +++ b/worker/tokens.go @@ -23,10 +23,10 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/types" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/types" + "github.com/hypermodeinc/dgraph/v24/x" ) func verifyStringIndex(ctx context.Context, attr string, funcType FuncType) (string, bool) { diff --git a/worker/trigram.go b/worker/trigram.go index 7c638b5ad33..8b4107e2e0f 100644 --- a/worker/trigram.go +++ b/worker/trigram.go @@ -22,11 +22,11 @@ import ( cindex "github.com/google/codesearch/index" "google.golang.org/protobuf/proto" - "github.com/dgraph-io/dgraph/v24/algo" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/tok" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/algo" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/tok" + "github.com/hypermodeinc/dgraph/v24/x" ) var errRegexTooWide = errors.New( diff --git a/worker/upgrade_test.go b/worker/upgrade_test.go index a81f101708f..660c10dcf6c 100644 --- a/worker/upgrade_test.go +++ b/worker/upgrade_test.go @@ -25,10 +25,10 @@ import ( "time" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/dgraphapi" - "github.com/dgraph-io/dgraph/v24/dgraphtest" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/dgraphapi" + "github.com/hypermodeinc/dgraph/v24/dgraphtest" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" "github.com/stretchr/testify/require" ) diff --git a/worker/worker.go b/worker/worker.go index ea2a488ec57..e614e76ef35 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -34,10 +34,10 @@ import ( "github.com/dgraph-io/badger/v4" badgerpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) var ( diff --git a/worker/worker_test.go b/worker/worker_test.go index c70be75c2d9..90ae194cacb 100644 --- a/worker/worker_test.go +++ b/worker/worker_test.go @@ -33,11 +33,11 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240" "github.com/dgraph-io/dgo/v240/protos/api" - "github.com/dgraph-io/dgraph/v24/posting" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/schema" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/posting" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/schema" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) var ts uint64 diff --git a/worker/zero.go b/worker/zero.go index 44f0f8a1324..25a4377709e 100644 --- a/worker/zero.go +++ b/worker/zero.go @@ -19,8 +19,8 @@ package worker import ( "context" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) // RemoveNodeOverNetwork sends a request to remove the given node from given group to a zero server. diff --git a/worker/zero_proxy.go b/worker/zero_proxy.go index c94e75ad0e5..5681f11a5df 100644 --- a/worker/zero_proxy.go +++ b/worker/zero_proxy.go @@ -6,9 +6,9 @@ import ( "github.com/pkg/errors" "google.golang.org/grpc" - "github.com/dgraph-io/dgraph/v24/conn" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" + "github.com/hypermodeinc/dgraph/v24/conn" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) func forwardAssignUidsToZero(ctx context.Context, in *pb.Num) (*pb.AssignedIds, error) { diff --git a/x/debug.go b/x/debug.go index 1c3b459f665..40386923073 100644 --- a/x/debug.go +++ b/x/debug.go @@ -29,7 +29,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) func PrintRollup(plist *pb.PostingList, parts map[uint64]*pb.PostingList, baseKey []byte, ts uint64) { diff --git a/x/keys.go b/x/keys.go index ce5a4c5440f..906416173b2 100644 --- a/x/keys.go +++ b/x/keys.go @@ -26,7 +26,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) const ( diff --git a/x/minioclient.go b/x/minioclient.go index c787a64555f..db585ae0b07 100644 --- a/x/minioclient.go +++ b/x/minioclient.go @@ -12,7 +12,7 @@ import ( "github.com/minio/minio-go/v6/pkg/credentials" "github.com/pkg/errors" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) const ( diff --git a/x/nodebug.go b/x/nodebug.go index 4cb90504147..1d27f212742 100644 --- a/x/nodebug.go +++ b/x/nodebug.go @@ -22,7 +22,7 @@ package x import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/protos/pb" ) // PrintRollup prints information about any rollup that happen diff --git a/xidmap/xidmap.go b/xidmap/xidmap.go index 4766a4e8c9b..5e3f9a57360 100644 --- a/xidmap/xidmap.go +++ b/xidmap/xidmap.go @@ -34,9 +34,9 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/dgo/v240" - "github.com/dgraph-io/dgraph/v24/protos/pb" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/protos/pb" + "github.com/hypermodeinc/dgraph/v24/x" ) var maxLeaseRegex = regexp.MustCompile(`currMax:([0-9]+)`) diff --git a/xidmap/xidmap_test.go b/xidmap/xidmap_test.go index eada982a0ba..ae5c7f152b9 100644 --- a/xidmap/xidmap_test.go +++ b/xidmap/xidmap_test.go @@ -16,9 +16,9 @@ import ( "google.golang.org/grpc" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgraph/v24/testutil" - "github.com/dgraph-io/dgraph/v24/x" "github.com/dgraph-io/ristretto/v2/z" + "github.com/hypermodeinc/dgraph/v24/testutil" + "github.com/hypermodeinc/dgraph/v24/x" ) // Opens a badger db and runs a a test on it.