From d0ef480556b074a3bf756d751bfa1084fe59e51f Mon Sep 17 00:00:00 2001 From: Aman Mangal Date: Tue, 7 Jan 2025 20:34:56 +0530 Subject: [PATCH] rename dgraph-io/dgraph to hypermodeinc/dgraph --- .../ci-dgraph-core-upgrade-tests.yml | 6 ++-- .../ci-dgraph-system-upgrade-tests.yml | 8 ++--- README.md | 24 +++++++-------- algo/heap.go | 2 +- algo/packed.go | 4 +-- algo/packed_test.go | 4 +-- algo/uidlist.go | 4 +-- algo/uidlist_test.go | 4 +-- check_upgrade/check_upgrade.go | 4 +-- check_upgrade/check_upgrade_test.go | 6 ++-- chunker/chunk.go | 6 ++-- chunker/json_parser.go | 8 ++--- chunker/json_parser_test.go | 6 ++-- chunker/rdf_parser.go | 10 +++---- chunker/rdf_parser_test.go | 6 ++-- chunker/rdf_state.go | 2 +- codec/benchmark/benchmark.go | 6 ++-- codec/codec.go | 4 +-- codec/codec_test.go | 4 +-- compose/compose.go | 4 +-- conn/node.go | 6 ++-- conn/node_test.go | 4 +-- conn/pool.go | 4 +-- conn/raft_server.go | 4 +-- .../templates/setup-systemd-service.sh.tmpl | 2 +- .../aws/standalone/templates/setup.tmpl | 2 +- .../gcp/standalone/templates/setup.tmpl | 2 +- contrib/integration/acctupsert/main.go | 4 +-- contrib/integration/bank/main.go | 2 +- contrib/integration/bigdata/main.go | 2 +- contrib/integration/mutates/main.go | 2 +- contrib/integration/swap/main.go | 4 +-- contrib/integration/testtxn/main_test.go | 4 +-- contrib/jepsen/main.go | 2 +- contrib/tlstest/Makefile | 2 +- dgraph/Makefile | 10 +++---- dgraph/cmd/alpha/admin.go | 8 ++--- dgraph/cmd/alpha/dashboard.go | 2 +- dgraph/cmd/alpha/http.go | 12 ++++---- dgraph/cmd/alpha/http_test.go | 8 ++--- dgraph/cmd/alpha/login_ee.go | 6 ++-- .../mutations_mode/mutations_mode_test.go | 2 +- dgraph/cmd/alpha/run.go | 22 +++++++------- dgraph/cmd/alpha/run_test.go | 12 ++++---- dgraph/cmd/alpha/upsert_test.go | 4 +-- dgraph/cmd/bulk/count_index.go | 8 ++--- dgraph/cmd/bulk/loader.go | 16 +++++----- dgraph/cmd/bulk/mapper.go | 18 +++++------ dgraph/cmd/bulk/merge_shards.go | 2 +- dgraph/cmd/bulk/progress.go | 2 +- dgraph/cmd/bulk/reduce.go | 8 ++--- dgraph/cmd/bulk/run.go | 12 ++++---- dgraph/cmd/bulk/schema.go | 10 +++---- dgraph/cmd/bulk/shard_map.go | 2 +- dgraph/cmd/bulk/speed_tests/run.sh | 2 +- dgraph/cmd/bulk/systest/run.sh | 6 ++-- dgraph/cmd/bulk/systest/test-bulk-schema.sh | 2 +- dgraph/cmd/cert/info.go | 2 +- dgraph/cmd/cert/run.go | 2 +- dgraph/cmd/conv/conv.go | 2 +- dgraph/cmd/conv/run.go | 2 +- dgraph/cmd/debug/run.go | 14 ++++----- dgraph/cmd/debug/wal.go | 6 ++-- dgraph/cmd/debuginfo/run.go | 2 +- dgraph/cmd/decrypt/decrypt.go | 6 ++-- dgraph/cmd/increment/increment.go | 2 +- dgraph/cmd/increment/increment_test.go | 2 +- dgraph/cmd/live/batch.go | 12 ++++---- dgraph/cmd/live/load-json/load_test.go | 4 +-- dgraph/cmd/live/load-uids/load_test.go | 6 ++-- dgraph/cmd/live/run.go | 16 +++++----- dgraph/cmd/migrate/run.go | 2 +- dgraph/cmd/migrate/table_info.go | 2 +- dgraph/cmd/migrate/utils.go | 2 +- dgraph/cmd/root.go | 30 +++++++++---------- dgraph/cmd/root_ee.go | 8 ++--- dgraph/cmd/version/run.go | 2 +- dgraph/cmd/version/version_test.go | 2 +- dgraph/cmd/zero/assign.go | 4 +-- dgraph/cmd/zero/http.go | 4 +-- dgraph/cmd/zero/license.go | 2 +- dgraph/cmd/zero/license_ee.go | 8 ++--- dgraph/cmd/zero/oracle.go | 6 ++-- dgraph/cmd/zero/raft.go | 8 ++--- dgraph/cmd/zero/run.go | 14 ++++----- dgraph/cmd/zero/tablet.go | 4 +-- dgraph/cmd/zero/zero.go | 8 ++--- dgraph/cmd/zero/zero_test.go | 6 ++-- dgraph/main.go | 2 +- dgraphapi/cluster.go | 4 +-- dgraphtest/compose_cluster.go | 4 +-- dgraphtest/dcloud_cluster.go | 2 +- dgraphtest/load.go | 6 ++-- dgraphtest/local_cluster.go | 4 +-- dgraphtest/paths.go | 2 +- dql/bench_test.go | 2 +- dql/math.go | 6 ++-- dql/mutation.go | 6 ++-- dql/parser.go | 8 ++--- dql/parser_mutation.go | 2 +- dql/parser_test.go | 6 ++-- dql/state.go | 2 +- dql/state_test.go | 2 +- edgraph/access.go | 6 ++-- edgraph/access_ee.go | 16 +++++----- edgraph/access_ee_test.go | 8 ++--- edgraph/config_mem.go | 2 +- edgraph/graphql.go | 4 +-- edgraph/multi_tenancy_ee.go | 12 ++++---- edgraph/server.go | 28 ++++++++--------- edgraph/server_test.go | 8 ++--- ee/README.md | 2 +- ee/acl/acl.go | 4 +-- ee/acl/acl_curl_test.go | 8 ++--- ee/acl/acl_integration_test.go | 4 +-- ee/acl/acl_test.go | 8 ++--- ee/acl/integration_test.go | 6 ++-- ee/acl/jwt_algo_test.go | 6 ++-- ee/acl/run.go | 2 +- ee/acl/run_ee.go | 4 +-- ee/acl/upgrade_test.go | 8 ++--- ee/acl/utils.go | 4 +-- ee/audit/audit.go | 2 +- ee/audit/audit_ee.go | 6 ++-- ee/audit/interceptor.go | 2 +- ee/audit/interceptor_ee.go | 6 ++-- ee/audit/run.go | 2 +- ee/audit/run_ee.go | 4 +-- ee/audit/run_ee_test.go | 2 +- ee/backup/run.go | 12 ++++---- ee/enc/util_ee.go | 4 +-- ee/flags.go | 2 +- ee/keys_ee.go | 4 +-- ee/vault/vault.go | 2 +- ee/vault_ee.go | 4 +-- filestore/filestore.go | 2 +- filestore/local_files.go | 4 +-- filestore/remote_files.go | 4 +-- go.mod | 2 +- graphql/admin/add_group.go | 8 ++--- graphql/admin/admin.go | 14 ++++----- graphql/admin/assign.go | 8 ++--- graphql/admin/backup.go | 8 ++--- graphql/admin/config.go | 6 ++-- graphql/admin/current_user.go | 8 ++--- graphql/admin/draining.go | 6 ++-- graphql/admin/endpoints_ee.go | 2 +- graphql/admin/enterpriseLicense.go | 8 ++--- graphql/admin/export.go | 10 +++---- graphql/admin/health.go | 8 ++--- graphql/admin/http.go | 14 ++++----- graphql/admin/list_backups.go | 10 +++---- graphql/admin/login.go | 6 ++-- graphql/admin/moveTablet.go | 10 +++---- graphql/admin/namespace.go | 8 ++--- graphql/admin/removeNode.go | 8 ++--- graphql/admin/reset_password.go | 6 ++-- graphql/admin/restore.go | 10 +++---- graphql/admin/schema.go | 12 ++++---- graphql/admin/shutdown.go | 6 ++-- graphql/admin/state.go | 10 +++---- graphql/admin/task.go | 8 ++--- graphql/admin/update_group.go | 8 ++--- graphql/bench/auth_test.go | 10 +++---- graphql/dgraph/execute.go | 6 ++-- graphql/dgraph/graphquery.go | 4 +-- .../poorman_auth/admin_auth_test.go | 4 +-- .../poorman_auth_with_acl/admin_auth_test.go | 4 +-- graphql/e2e/auth/add_mutation_test.go | 2 +- graphql/e2e/auth/auth_test.go | 8 ++--- graphql/e2e/auth/debug_off/debugoff_test.go | 8 ++--- graphql/e2e/auth/delete_mutation_test.go | 2 +- graphql/e2e/auth/update_mutation_test.go | 2 +- .../auth_closed_by_default_test.go | 6 ++-- graphql/e2e/common/admin.go | 6 ++-- graphql/e2e/common/common.go | 6 ++-- graphql/e2e/common/error.go | 10 +++---- graphql/e2e/common/fragment.go | 2 +- graphql/e2e/common/lambda.go | 2 +- graphql/e2e/common/mutation.go | 6 ++-- graphql/e2e/common/query.go | 6 ++-- graphql/e2e/common/schema.go | 2 +- graphql/e2e/common/subscription.go | 2 +- graphql/e2e/custom_logic/cmd/go.mod | 2 +- graphql/e2e/custom_logic/custom_logic_test.go | 8 ++--- .../e2e/directives/dgraph_directives_test.go | 4 +-- graphql/e2e/directives/schema.graphql | 2 +- .../e2e/multi_tenancy/multi_tenancy_test.go | 6 ++-- graphql/e2e/normal/normal_test.go | 4 +-- graphql/e2e/normal/schema.graphql | 2 +- graphql/e2e/schema/schema_test.go | 8 ++--- graphql/e2e/subscription/subscription_test.go | 8 ++--- graphql/resolve/auth_test.go | 14 ++++----- graphql/resolve/extensions_test.go | 2 +- graphql/resolve/middlewares.go | 6 ++-- graphql/resolve/middlewares_test.go | 2 +- graphql/resolve/mutation.go | 8 ++--- graphql/resolve/mutation_rewriter.go | 6 ++-- graphql/resolve/mutation_test.go | 10 +++---- graphql/resolve/query.go | 8 ++--- graphql/resolve/query_rewriter.go | 8 ++--- graphql/resolve/query_test.go | 8 ++--- graphql/resolve/resolver.go | 10 +++---- graphql/resolve/resolver_error_test.go | 6 ++-- graphql/resolve/resolver_test.go | 6 ++-- graphql/resolve/webhook.go | 6 ++-- graphql/schema/auth.go | 2 +- graphql/schema/completion.go | 4 +-- graphql/schema/custom_http.go | 4 +-- graphql/schema/errors.go | 2 +- graphql/schema/errors_test.go | 2 +- graphql/schema/gqlschema.go | 2 +- graphql/schema/introspection.go | 2 +- graphql/schema/response.go | 2 +- graphql/schema/response_test.go | 2 +- graphql/schema/rules.go | 2 +- graphql/schema/schemagen.go | 4 +-- graphql/schema/schemagen_test.go | 4 +-- graphql/schema/validation_rules.go | 2 +- graphql/schema/wrappers.go | 4 +-- graphql/schema/wrappers_test.go | 2 +- graphql/subscription/poller.go | 6 ++-- graphql/test/test.go | 4 +-- graphql/testdata/datagen/main.go | 2 +- lex/lexer.go | 2 +- licenses/DCL.txt | 4 +-- posting/index.go | 12 ++++---- posting/index_test.go | 8 ++--- posting/list.go | 16 +++++----- posting/list_test.go | 8 ++--- posting/lists.go | 6 ++-- posting/mvcc.go | 4 +-- posting/mvcc_test.go | 4 +-- posting/oracle.go | 6 ++-- posting/size.go | 2 +- posting/size_test.go | 2 +- protos/protos_test.go | 2 +- query/aggregator.go | 6 ++-- query/cloud_test.go | 6 ++-- query/common_test.go | 4 +-- query/fastjson_test.go | 8 ++--- query/groupby.go | 6 ++-- query/integration_test.go | 6 ++-- query/math.go | 2 +- query/math_test.go | 2 +- query/mutation.go | 10 +++---- query/mutation_test.go | 2 +- query/normalize_feature_flag_test.go | 2 +- query/outputnode.go | 14 ++++----- query/outputnode_graphql.go | 4 +-- query/outputnode_test.go | 6 ++-- query/outputrdf.go | 8 ++--- query/query.go | 16 +++++----- query/query0_test.go | 8 ++--- query/query3_test.go | 8 ++--- query/query4_test.go | 6 ++-- query/recurse.go | 4 +-- query/shortest.go | 10 +++---- query/upgrade_test.go | 6 ++-- query/vector/integration_test.go | 6 ++-- query/vector/vector_graphql_test.go | 2 +- query/vector/vector_test.go | 6 ++-- raftwal/log.go | 2 +- raftwal/meta.go | 2 +- raftwal/storage.go | 2 +- raftwal/storage_test.go | 2 +- raftwal/wal.go | 2 +- schema/parse.go | 10 +++---- schema/parse_test.go | 6 ++-- schema/schema.go | 10 +++---- schema/schema_test.go | 2 +- schema/state.go | 2 +- systest/1million/1million_test.go | 4 +-- systest/21million/bulk/run_test.go | 4 +-- systest/21million/common/run_queries.go | 4 +-- systest/21million/live/run_test.go | 4 +-- systest/acl/restore/acl_restore_test.go | 6 ++-- systest/audit/audit_test.go | 4 +-- systest/audit_encrypted/audit_test.go | 4 +-- .../127-Namespace/backup_test.go | 8 ++--- .../acl-nonAcl/backup_test.go | 8 ++--- .../deleted-namespace/backup_test.go | 8 ++--- systest/backup/common/utils.go | 6 ++-- systest/backup/encryption/backup_test.go | 6 ++-- systest/backup/filesystem/backup_test.go | 8 ++--- systest/backup/minio-large/backup_test.go | 6 ++-- systest/backup/minio/backup_test.go | 6 ++-- systest/backup/multi-tenancy/backup_test.go | 6 ++-- systest/backup/nfs-backup/backup_test.go | 8 ++--- systest/bgindex/count_test.go | 4 +-- systest/bgindex/parallel_test.go | 4 +-- systest/bgindex/reverse_test.go | 4 +-- systest/bgindex/string_test.go | 4 +-- systest/bulk_live/bulk/bulk_test.go | 2 +- systest/bulk_live/common/bulk_live_cases.go | 6 ++-- systest/bulk_live/common/bulk_live_fixture.go | 2 +- systest/bulk_live/live/live_test.go | 2 +- systest/cdc/cdc_test.go | 2 +- systest/cloud/cloud_test.go | 6 ++-- systest/export/export_test.go | 2 +- systest/group-delete/group_delete_test.go | 2 +- systest/integration2/acl_test.go | 6 ++-- systest/integration2/bulk_loader_test.go | 6 ++-- .../integration2/graphql_schema_auth_test.go | 6 ++-- .../integration2/incremental_restore_test.go | 6 ++-- systest/integration2/snapshot_test.go | 6 ++-- systest/ldbc/ldbc_test.go | 2 +- systest/license/integration_test.go | 4 +-- systest/license/license_test.go | 2 +- systest/license/upgrade_test.go | 6 ++-- systest/live_pw_test.go | 2 +- systest/loader/loader_test.go | 4 +-- systest/multi-tenancy/basic_test.go | 8 ++--- .../integration_basic_helper_test.go | 6 ++-- systest/multi-tenancy/integration_test.go | 6 ++-- systest/multi-tenancy/login_test.go | 4 +-- systest/multi-tenancy/upgrade_test.go | 6 ++-- .../mutations-and-queries/integration_test.go | 4 +-- .../mutations-and-queries/mutations_test.go | 8 ++--- systest/mutations-and-queries/queries_test.go | 6 ++-- systest/mutations-and-queries/upgrade_test.go | 6 ++-- .../namespace-aware/restore_test.go | 6 ++-- systest/online-restore/online_restore_test.go | 6 ++-- systest/plugin/integration_test.go | 4 +-- systest/plugin/plugin_test.go | 2 +- systest/plugin/upgrade_test.go | 6 ++-- systest/posting-list-benchmark/main.go | 4 +-- systest/unique_test.go | 6 ++-- systest/vector/backup_test.go | 6 ++-- systest/vector/load_test.go | 6 ++-- systest/vector/vector_test.go | 6 ++-- t/t.go | 14 ++++----- task/conversion.go | 2 +- telemetry/telemetry.go | 6 ++-- testutil/backup.go | 10 +++---- testutil/bulk.go | 2 +- testutil/client.go | 4 +-- testutil/docker.go | 2 +- testutil/exec.go | 2 +- testutil/graphql.go | 2 +- testutil/multi_tenancy.go | 2 +- testutil/testaudit/audit.go | 2 +- testutil/utils.go | 2 +- tlstest/acl/acl_over_tls_test.go | 4 +-- tlstest/certrequest/certrequest_test.go | 2 +- .../certrequireandverify_test.go | 2 +- .../certverifyifgiven_test.go | 2 +- tlstest/mtls_internal/ha_6_node/ha_test.go | 4 +-- .../multi_group/multi_group_test.go | 4 +-- .../single_node/single_node_test.go | 4 +-- .../all_routes_tls/all_routes_tls_test.go | 2 +- tlstest/zero_https/no_tls/no_tls_test.go | 2 +- tok/bleve.go | 2 +- tok/hnsw/heap.go | 2 +- tok/hnsw/helper.go | 4 +-- tok/hnsw/persistent_factory.go | 6 ++-- tok/hnsw/persistent_hnsw.go | 6 ++-- tok/hnsw/persistent_hnsw_test.go | 6 ++-- tok/hnsw/search_layer.go | 4 +-- tok/hnsw/test_helper.go | 2 +- tok/index/helper.go | 2 +- tok/index/helper_test.go | 6 ++-- tok/index/index.go | 4 +-- tok/index_factory.go | 4 +-- tok/options/options.go | 2 +- tok/tok.go | 10 +++---- types/compare.go | 2 +- types/facets/utils.go | 6 ++-- types/geofilter.go | 4 +-- types/s2.go | 2 +- types/s2index.go | 2 +- types/scalar_types.go | 2 +- types/sort.go | 4 +-- types/sort_test.go | 2 +- upgrade/change_list.go | 6 ++-- upgrade/change_v20.03.0.go | 2 +- upgrade/change_v20.07.0.go | 4 +-- upgrade/change_v21.03.0.go | 8 ++--- upgrade/upgrade.go | 2 +- upgrade/utils.go | 4 +-- worker/acl_cache.go | 6 ++-- worker/acl_cache_test.go | 6 ++-- worker/aggregator.go | 2 +- worker/backup.go | 4 +-- worker/backup_ee.go | 12 ++++---- worker/backup_handler.go | 6 ++-- worker/backup_manifest.go | 8 ++--- worker/backup_oss.go | 4 +-- worker/cdc.go | 2 +- worker/cdc_ee.go | 10 +++---- worker/config.go | 2 +- worker/draft.go | 14 ++++----- worker/draft_test.go | 8 ++--- worker/embedded.go | 6 ++-- worker/export.go | 12 ++++---- worker/export_test.go | 20 ++++++------- worker/graphql_schema.go | 8 ++--- worker/groups.go | 16 +++++----- worker/match.go | 10 +++---- worker/multi_tenancy.go | 4 +-- worker/multi_tenancy_ee.go | 8 ++--- worker/mutation.go | 12 ++++---- worker/mutation_integration_test.go | 8 ++--- worker/mutation_unit_test.go | 10 +++---- worker/online_restore.go | 14 ++++----- worker/online_restore_oss.go | 4 +-- worker/predicate_move.go | 10 +++---- worker/predicate_test.go | 6 ++-- worker/proposal.go | 8 ++--- worker/queue.go | 8 ++--- worker/restore_map.go | 18 +++++------ worker/restore_reduce.go | 6 ++-- worker/schema.go | 8 ++--- worker/server_state.go | 6 ++-- worker/sink_handler.go | 2 +- worker/snapshot.go | 10 +++---- worker/snapshot_test.go | 2 +- worker/sort.go | 14 ++++----- worker/sort_test.go | 8 ++--- worker/stringfilter.go | 8 ++--- worker/task.go | 24 +++++++-------- worker/tokens.go | 8 ++--- worker/trigram.go | 10 +++---- worker/upgrade_test.go | 8 ++--- worker/worker.go | 8 ++--- worker/worker_test.go | 10 +++---- worker/zero.go | 4 +-- worker/zero_proxy.go | 6 ++-- x/debug.go | 2 +- x/keys.go | 2 +- x/log_writer.go | 2 +- x/minioclient.go | 2 +- x/nodebug.go | 2 +- xidmap/xidmap.go | 4 +-- xidmap/xidmap_test.go | 4 +-- 435 files changed, 1236 insertions(+), 1236 deletions(-) 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 c8612a61dcb..feb8e5affbd 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,13 @@ **The Only Native GraphQL Database With A Graph Backend.** [![Wiki](https://img.shields.io/badge/res-wiki-blue.svg)](https://dgraph.io/docs/) -[![ci-dgraph-tests](https://github.com/dgraph-io/dgraph/actions/workflows/ci-dgraph-tests.yml/badge.svg)](https://github.com/dgraph-io/dgraph/actions/workflows/ci-dgraph-tests.yml) -[![ci-dgraph-load-tests](https://github.com/dgraph-io/dgraph/actions/workflows/ci-dgraph-load-tests.yml/badge.svg)](https://github.com/dgraph-io/dgraph/actions/workflows/ci-dgraph-load-tests.yml) -[![ci-golang-lint](https://github.com/dgraph-io/dgraph/actions/workflows/ci-golang-lint.yml/badge.svg)](https://github.com/dgraph-io/dgraph/actions/workflows/ci-golang-lint.yml) -[![ci-aqua-security-trivy-tests](https://github.com/dgraph-io/dgraph/actions/workflows/ci-aqua-security-trivy-tests.yml/badge.svg)](https://github.com/dgraph-io/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) +[![ci-dgraph-tests](https://github.com/hypermodeinc/dgraph/actions/workflows/ci-dgraph-tests.yml/badge.svg)](https://github.com/hypermodeinc/dgraph/actions/workflows/ci-dgraph-tests.yml) +[![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/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 @@ -37,7 +37,7 @@ Dgraph is at [version v24.0.5][rel] and is production-ready. Apart from the vast production at multiple Fortune 500 companies, and by [Intuit Katlas](https://github.com/intuit/katlas) and [VMware Purser](https://github.com/vmware/purser). A hosted version of Dgraph is available at [https://cloud.dgraph.io](https://cloud.dgraph.io). -[rel]: https://github.com/dgraph-io/dgraph/releases/tag/v24.0.5 +[rel]: https://github.com/hypermodeinc/dgraph/releases/tag/v24.0.5 ## Supported Platforms @@ -77,7 +77,7 @@ sudo apt-get install build-essential Then clone the Dgraph repository and use `make install` to install the Dgraph binary in the directory named by the GOBIN environment variable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH environment variable is not set. ```bash -git clone https://github.com/dgraph-io/dgraph.git +git clone https://github.com/hypermodeinc/dgraph.git cd dgraph make install ``` @@ -125,7 +125,7 @@ makes it easy to build applications with it. [https://discuss.dgraph.io](https://discuss.dgraph.io). - Check out [the demo at dgraph.io](http://dgraph.io) and [the visualization at play.dgraph.io](http://play.dgraph.io/). -- Please see [releases tab](https://github.com/dgraph-io/dgraph/releases) to +- Please see [releases tab](https://github.com/hypermodeinc/dgraph/releases) to find the latest release and corresponding release notes. - [See the Roadmap](https://discuss.dgraph.io/t/product-roadmap-2020/8479) for a list of working and planned features. @@ -135,8 +135,8 @@ makes it easy to build applications with it. channel](https://www.youtube.com/channel/UCghE41LR8nkKFlR3IFTRO4w/featured). ## Developers -- See a list of issues [that we need help with](https://github.com/dgraph-io/dgraph/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). -- Please see [Contributing to Dgraph](https://github.com/dgraph-io/dgraph/blob/main/CONTRIBUTING.md) for guidelines on contributions. +- See a list of issues [that we need help with](https://github.com/hypermodeinc/dgraph/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). +- Please see [Contributing to Dgraph](https://github.com/hypermodeinc/dgraph/blob/main/CONTRIBUTING.md) for guidelines on contributions. ## Client Libraries The Dgraph team maintains several [officially supported client libraries](https://dgraph.io/docs/clients/). There are also libraries contributed by the community [unofficial client libraries](https://dgraph.io/docs/clients#unofficial-dgraph-clients). diff --git a/algo/heap.go b/algo/heap.go index d020bef5a66..eb9b4b8f313 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 a67ea36be8a..cfcadf17a83 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 45df458499e..b8a37396730 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 32277a9c752..47fcf127afc 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 f6033669aab..d415318fa4b 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 f975d8c1beb..a0737cdbc37 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 a1efcf654e8..03a61695787 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 99f4a475bd6..8c3372a7fe0 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 038d919feb3..b52011f00f0 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 6752b8c150a..496d660cf72 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 11b1ddd243a..fceb493b6e2 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 9cf1073d413..d6dc51475c3 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 5a2fdfe7d6a..f4f790bb187 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 03d72f21e8e..b498a8244bb 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 2b6a9c95137..0f5319e05c0 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 54610f5536b..e5bf140a4cd 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 54920dfbbe7..d0ba259da72 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 8d96f0a99ae..deee030c2d0 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 e7d3b9592cd..6025c1555a2 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 1cf29a954e0..3b4d58db501 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/config/terraform/aws/ha/templates/setup-systemd-service.sh.tmpl b/contrib/config/terraform/aws/ha/templates/setup-systemd-service.sh.tmpl index 4478aac36c9..a94c2b7efc1 100644 --- a/contrib/config/terraform/aws/ha/templates/setup-systemd-service.sh.tmpl +++ b/contrib/config/terraform/aws/ha/templates/setup-systemd-service.sh.tmpl @@ -4,7 +4,7 @@ set -euxo pipefail # Currently we are downloading dgraph binary manually, later we can create an AMI with dgraph pre-installed # and maintain that on AWS. -wget https://github.com/dgraph-io/dgraph/releases/download/v${dgraph_version}/dgraph-linux-amd64.tar.gz +wget https://github.com/hypermodeinc/dgraph/releases/download/v${dgraph_version}/dgraph-linux-amd64.tar.gz tar -C /usr/local/bin -xzf dgraph-linux-amd64.tar.gz groupadd --system dgraph diff --git a/contrib/config/terraform/aws/standalone/templates/setup.tmpl b/contrib/config/terraform/aws/standalone/templates/setup.tmpl index 8b07edb4640..f170582007d 100644 --- a/contrib/config/terraform/aws/standalone/templates/setup.tmpl +++ b/contrib/config/terraform/aws/standalone/templates/setup.tmpl @@ -2,7 +2,7 @@ set -euxo pipefail -wget https://github.com/dgraph-io/dgraph/releases/download/v${dgraph_version}/dgraph-linux-amd64.tar.gz +wget https://github.com/hypermodeinc/dgraph/releases/download/v${dgraph_version}/dgraph-linux-amd64.tar.gz tar -C /usr/local/bin -xzf dgraph-linux-amd64.tar.gz groupadd --system dgraph diff --git a/contrib/config/terraform/gcp/standalone/templates/setup.tmpl b/contrib/config/terraform/gcp/standalone/templates/setup.tmpl index 8b07edb4640..f170582007d 100644 --- a/contrib/config/terraform/gcp/standalone/templates/setup.tmpl +++ b/contrib/config/terraform/gcp/standalone/templates/setup.tmpl @@ -2,7 +2,7 @@ set -euxo pipefail -wget https://github.com/dgraph-io/dgraph/releases/download/v${dgraph_version}/dgraph-linux-amd64.tar.gz +wget https://github.com/hypermodeinc/dgraph/releases/download/v${dgraph_version}/dgraph-linux-amd64.tar.gz tar -C /usr/local/bin -xzf dgraph-linux-amd64.tar.gz groupadd --system dgraph diff --git a/contrib/integration/acctupsert/main.go b/contrib/integration/acctupsert/main.go index c280dc26485..0895cfae531 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 0a45783d160..0d14208bb3c 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 3eaa9bac396..8ae3fe807e2 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 8d67447e732..1bf7be7c752 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 10483153150..3ed93c87e41 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 4f6cfba29da..13ab17dbe5c 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 2f7e132e179..643461363e1 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 fd145b42f95..2974c51dcf7 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 9c18af6ca91..e9af70a7040 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 3c42622f653..fcc2dd66e4a 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 db26957def7..c08dd2fdbb3 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 e038be125bc..54c183eeb1f 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 3173eea4374..1e55928fa85 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 160907ff99a..faba909c46e 100644 --- a/dgraph/cmd/alpha/login_ee.go +++ b/dgraph/cmd/alpha/login_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package alpha @@ -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 4fa1eff95a6..211d04902a6 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 e2a6e0f95ce..6448cb9776f 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 ( @@ -269,7 +269,7 @@ they form a Raft group and provide synchronous replication. Head("Feature flags to enable various experimental features"). Flag("normalize-compatibility-mode", "configure @normalize response formatting."+ " 'v20': returns values with repeated key for fields with same alias (same as v20.11)."+ - " For more details, see https://github.com/dgraph-io/dgraph/pull/7639"). + " For more details, see https://github.com/hypermodeinc/dgraph/pull/7639"). String()) } diff --git a/dgraph/cmd/alpha/run_test.go b/dgraph/cmd/alpha/run_test.go index 87188b62842..2a16154a56e 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 5f596ef4a23..02c1fb353ff 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 4dfb2e10c23..69ea0e69245 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 bd96c765b40..b6fc2554474 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 bd587ba63d5..06f79ee02f2 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 8d30cffc29a..4c0f87a4556 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 5a87fabcd93..60f0e194e06 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 54d4c3031ca..04669b94470 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 f9eacdeaa00..37d67e32e73 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 2bbec7930e7..45d2c54e4da 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 24d3538a53d..339c363ef9b 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/bulk/systest/test-bulk-schema.sh b/dgraph/cmd/bulk/systest/test-bulk-schema.sh index 5521d57903b..7dcb8d47fcf 100755 --- a/dgraph/cmd/bulk/systest/test-bulk-schema.sh +++ b/dgraph/cmd/bulk/systest/test-bulk-schema.sh @@ -1,5 +1,5 @@ #!/bin/bash -# verify fix of https://github.com/dgraph-io/dgraph/issues/2616 +# verify fix of https://github.com/hypermodeinc/dgraph/issues/2616 readonly ME=${0##*/} readonly SRCROOT=$(git rev-parse --show-toplevel) diff --git a/dgraph/cmd/cert/info.go b/dgraph/cmd/cert/info.go index 4a168b7048e..af4c167dc3f 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 d0080956789..4bbaf08ffd9 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 21496bd7fad..a8a5e5129d8 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 b59018ff8b4..d178c8cde0c 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 630c0b634ee..add74f49d74 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 b3aa42b367d..4ccf713e6e0 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 363c02fd496..46dc30563ac 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 cce1c6cc1d9..1d0ff55a4d1 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 6040c7b48d0..2982be063c2 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 1f9e744d52e..f4ba0341eaa 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 d4b9b94cdba..e44569feea2 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 5648e3f8d27..44dca9bc780 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 bee0e4dec1a..0b6957c7602 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 2e08e6ea7eb..a45ff423bc7 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 8afdc81de02..7cf808ed5ed 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 02a0b51a9c0..167731d3cb9 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 d5044e3fd3f..9acb226b06e 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 71aa4e2af8f..9bcf1e335a0 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 22f12fbc57c..b8a7f462393 100644 --- a/dgraph/cmd/root_ee.go +++ b/dgraph/cmd/root_ee.go @@ -8,15 +8,15 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ 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 0d9cd139301..481152793f1 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 608b265c394..9a3032399c1 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 6b6f5a69fba..3432e0abac2 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 a25af4ee053..9f9146e6308 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 b02b4d0147f..ce105f48d46 100644 --- a/dgraph/cmd/zero/license_ee.go +++ b/dgraph/cmd/zero/license_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/v24/blob/master/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/v24/blob/master/licenses/DCL.txt */ package zero @@ -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 6de46b4314b..e82822a5aea 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 428d5d94d51..2eebe12d31a 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 cb5768c7e76..4b738ce6386 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 db5b8cde008..28ea567018d 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 99585a1de5c..5138a957db0 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 5babca5d045..555ef86979b 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 50a50084056..0c8f693f781 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 7422756a6e2..239181df8b3 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 baea45c60c5..e124886d17b 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 9b0462a7393..4ac500d7b23 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 2607f15eda6..7b489c4b334 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 d12ddad3346..946ca5c7f62 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/dgraphtest/paths.go b/dgraphtest/paths.go index d3b5db032fb..ea8ccb5de92 100644 --- a/dgraphtest/paths.go +++ b/dgraphtest/paths.go @@ -32,7 +32,7 @@ var ( ) const ( - dgraphRepoUrl = "https://github.com/dgraph-io/dgraph.git" + dgraphRepoUrl = "https://github.com/hypermodeinc/dgraph.git" cloneTimeout = 10 * time.Minute ) diff --git a/dql/bench_test.go b/dql/bench_test.go index b5da55ab8c8..ef92512ebfa 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 8cc7089c482..4706a81445b 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 7ad1c8c0ae2..946fc8d7727 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 df9d0d02bfd..65c227bb6fe 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 514c805cfd9..df2ffc7348f 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 49654abf478..55fa6e492d6 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 4fa0b6e6897..d47975c7e3b 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 5814e750dce..0696fe5f2a0 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 efb9de01c87..5162caeb3cb 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 97be2ef0de5..e40702cdc71 100644 --- a/edgraph/access_ee.go +++ b/edgraph/access_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package edgraph @@ -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 370520deeee..72352d8e4a1 100644 --- a/edgraph/access_ee_test.go +++ b/edgraph/access_ee_test.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package edgraph @@ -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 dc865d531ad..063e40d1e69 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 9a63d2470a9..863067e914a 100644 --- a/edgraph/multi_tenancy_ee.go +++ b/edgraph/multi_tenancy_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package edgraph @@ -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 63a9a543932..17bdb6d1b2f 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 0e7772cda59..5e4808868d0 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/README.md b/ee/README.md index c5621f0d5ea..8282dffb902 100644 --- a/ee/README.md +++ b/ee/README.md @@ -1,4 +1,4 @@ # Dgraph Enterprise Edition (EE) -The files stored here correspond to the Dgraph Enterprise Edition features, which are under the [Dgraph Community License](https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt) (_not_ the Apache 2 License). +The files stored here correspond to the Dgraph Enterprise Edition features, which are under the [Dgraph Community License](https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt) (_not_ the Apache 2 License). diff --git a/ee/acl/acl.go b/ee/acl/acl.go index b39a75c74a6..576e0cdea41 100644 --- a/ee/acl/acl.go +++ b/ee/acl/acl.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package acl @@ -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 175556f4ae8..b97528bcecd 100644 --- a/ee/acl/acl_curl_test.go +++ b/ee/acl/acl_curl_test.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package acl @@ -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 42999795203..7d7f6027c57 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 1b0c28c3399..9b3cd573786 100644 --- a/ee/acl/acl_test.go +++ b/ee/acl/acl_test.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package acl @@ -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 8ab0ab8f42d..f348715992a 100644 --- a/ee/acl/integration_test.go +++ b/ee/acl/integration_test.go @@ -7,7 +7,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package acl @@ -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 01683ba38fb..b1d44703386 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 8590accf54c..68d5d686e55 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 6b24f8ee508..eba824e7927 100644 --- a/ee/acl/run_ee.go +++ b/ee/acl/run_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package acl @@ -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 b19e3b3cd84..1ada8ae98f8 100644 --- a/ee/acl/upgrade_test.go +++ b/ee/acl/upgrade_test.go @@ -7,7 +7,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package acl @@ -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 b67ff270689..8910a0f1c7c 100644 --- a/ee/acl/utils.go +++ b/ee/acl/utils.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package acl @@ -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 a86281fa611..e1536a47b6c 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 899f30f25cc..86c3f9ece52 100644 --- a/ee/audit/audit_ee.go +++ b/ee/audit/audit_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package audit @@ -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 3228ef0a778..2588fa1fc0e 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 22a17ac1252..6e5f21c04d5 100644 --- a/ee/audit/interceptor_ee.go +++ b/ee/audit/interceptor_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package audit @@ -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 41020e62251..3aa41ca2632 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 4846228be30..1fa2999893f 100644 --- a/ee/audit/run_ee.go +++ b/ee/audit/run_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package audit @@ -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 c9511f834fb..983ca98d2fa 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 1da022c00ff..5d8a79d15a9 100644 --- a/ee/backup/run.go +++ b/ee/backup/run.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package backup @@ -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 77fdb9aa6bc..93ddfd7bfbb 100644 --- a/ee/enc/util_ee.go +++ b/ee/enc/util_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package enc @@ -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 7f66d1c1daf..3e8bc87cb27 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 7cf74a0e8ce..ceeaacf4a04 100644 --- a/ee/keys_ee.go +++ b/ee/keys_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package ee @@ -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 d03ec5d81fc..b50cb1cf542 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 57a6f7b0751..20a4ea38e0b 100644 --- a/ee/vault_ee.go +++ b/ee/vault_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package ee @@ -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 ceb99cdcd71..71acc637513 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 962bc08e7d2..0a3ed598391 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 9f5104fcac9..c24e5384cd2 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 71937299150..800688bac58 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 6eec6b08b00..566ef38f95f 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 7c6d95891f0..f3777056181 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 88d0350ebba..fad6eb6c243 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 733e628d55e..442e8bd0dab 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 bfa49cc7ead..8ee51835c9b 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/endpoints_ee.go b/graphql/admin/endpoints_ee.go index 057831b1793..ed5cda82c8f 100644 --- a/graphql/admin/endpoints_ee.go +++ b/graphql/admin/endpoints_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package admin diff --git a/graphql/admin/enterpriseLicense.go b/graphql/admin/enterpriseLicense.go index 5862f9ffb0b..bae8da6f5cb 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 9d632f6a91a..62fba38ceef 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 a45815a93d1..6a8d81c3e84 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 f0739d5fbd9..d85ce0e72a8 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 76fb9f7c325..21d6d51fcb1 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 ed73d4bddfa..039580cd089 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 d044f63ac87..cce9ef01a60 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 7822bf239bd..be0891b1198 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 72de2cf8337..5947189df52 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 6250e8d3f6e..cc243d9cf82 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 b20add7dde1..734c35bd7d5 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 0388202295e..c4dbaee1de7 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 7ccf5424ff1..836fb86152e 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 e30a08a8aa6..094543d59e5 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 cd9afbe28b4..616b930f5bb 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 da6fe80900c..c0334580ba1 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 5e965e9c23a..f2896c9f5a0 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 576fcad777d..7da9ee9259c 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 a68481d706f..cf3be1715d0 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 57cf4fe3260..81153842248 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 8a1b4976ebf..e163f1333c7 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 389632163be..29826350174 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 1daddfbc7ed..a14517cc6b4 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 5483a99dc56..5743ae56934 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 7ae8f5d2736..2830a39641b 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 b96894f7727..e9fd1c56b85 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 f8d2dce3912..b01344f1e98 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 d735bc10950..c02e29890a9 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 ac52d351b78..928dfe61359 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 fc75588fb54..9e9f84d6416 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 @@ -355,7 +355,7 @@ func deepMutationsTest(t *testing.T, executeRequest requestExecutor) { }, }, // Country: anotherCountry, - // FIXME: Won't work till https://github.com/dgraph-io/dgraph/pull/4411 is merged + // FIXME: Won't work till https://github.com/hypermodeinc/dgraph/pull/4411 is merged } patchRemove := &author{ diff --git a/graphql/e2e/common/query.go b/graphql/e2e/common/query.go index 3e494fb100f..58f934d78af 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 e380bce0e1b..a8855404b94 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 766deeb2118..ff3f800ce7b 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 6509ffc7938..11d031f5ba5 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 df9acccde0f..08d36b02460 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/directives/schema.graphql b/graphql/e2e/directives/schema.graphql index 84b9e5eee32..b8aa5205d87 100644 --- a/graphql/e2e/directives/schema.graphql +++ b/graphql/e2e/directives/schema.graphql @@ -1,5 +1,5 @@ # **Don't delete** Comments at top of schemas should work -# See: https://github.com/dgraph-io/dgraph/issues/4227 +# See: https://github.com/hypermodeinc/dgraph/issues/4227 type Hotel { id: ID! diff --git a/graphql/e2e/multi_tenancy/multi_tenancy_test.go b/graphql/e2e/multi_tenancy/multi_tenancy_test.go index 2f2c6a21623..a8ce9400bda 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 8c86e2e5764..227ce78644d 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/normal/schema.graphql b/graphql/e2e/normal/schema.graphql index 1f8a2d2956e..e2f64747ae0 100644 --- a/graphql/e2e/normal/schema.graphql +++ b/graphql/e2e/normal/schema.graphql @@ -1,5 +1,5 @@ # **Don't delete** Comments at top of schemas should work -# See: https://github.com/dgraph-io/dgraph/issues/4227 +# See: https://github.com/hypermodeinc/dgraph/issues/4227 type Hotel { id: ID! diff --git a/graphql/e2e/schema/schema_test.go b/graphql/e2e/schema/schema_test.go index 9b07edec38b..9c3ff8170db 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 f32a9e1cc4e..a84f05a3bdb 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 6595243ae85..2c8b5e96199 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 ca81ef3a272..ea18ecac1bc 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 4b66ca5694e..a98f0d51b16 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 9b6ace3fedf..865da6f56c5 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 de6d96caf7c..0b23f1356dc 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 d78ad8bf433..8dfde9d20f5 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 b420a86180b..d53b4449020 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 f657663c30c..3ea01408b44 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 975ae69f47c..938d8d16697 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 9cba41a6d3f..28d2b325f1a 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 b6afbc330a1..939f7726b87 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 c544be60c27..ef030011136 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 2b33811fbcc..a936d72ff9f 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 f90430cada8..13b9398e902 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 513ff7ccd80..6dc6ef0d0bd 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 ca1cbed5e2c..ee4901c4c1a 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 1e2be914d5e..3fc60379270 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 2ca14d19341..7b96e826121 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 979ccdaee68..23f38074359 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 d6d32ed5c81..c599948d48f 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 d39ac614511..41d58776af1 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 bd06000e469..fe13b4dda01 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 48f11720226..f6b672a63bc 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 b7c48073b6d..6b2691ccbac 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 0d64c9810f6..aab6cb4d50c 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 148a7870358..310dbe63306 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 4a632edd49c..95891568e92 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 2927050f4f0..101462adbff 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 73631f58e74..e67c35e19e4 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 63f0444c3fc..5b84f7bc295 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 7ebd00ed6fd..ae304ddc1e1 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 f168e9846c2..fa4fa9ae134 100644 --- a/licenses/DCL.txt +++ b/licenses/DCL.txt @@ -22,7 +22,7 @@ Dgraph Community License Agreement (b) "Dgraph Core" shall mean the open source version of Dgraph, available free of charge at - https://github.com/dgraph-io/dgraph + https://github.com/hypermodeinc/dgraph (c) "Dgraph Enterprise Edition" shall mean the additional features made available by Dgraph Labs, the use of which is subject to additional @@ -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 369b8ec1583..368a9e41f9b 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 ac723930eeb..2cb0a882490 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 6a425b35e78..ca74cb40d16 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 aeb6443db1c..603f5817792 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 c174b7628f4..30019ed7bd8 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 016f746cafc..4d5408df947 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 5cfaedb8c4b..461f6ae81ef 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 bc03dc9a861..b64a4bb4dca 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 b131b2263f5..40e42c177d8 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 d02c911b1b9..23a61b8e583 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 e44ea6ef11d..286a2699045 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 795bb70f71b..ee44faad7af 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 a122a0009f6..138be62ef0f 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 cdb8b7e668b..f42da00effb 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 e8be9c08145..30783153928 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 dd142e008fc..c5f399d8eb9 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 9c029944b84..a6dd0d6515c 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 035312cf4b0..a6800ceefc5 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 04f371054ef..b358f0e9958 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 374f37665fa..03191fd6bc0 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 727fa13762b..29901833c17 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 510b2261658..c68ea8d46bc 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 8690a9c03cb..f687662302d 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 debe82e1f9b..219c398332b 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 13722f336ee..16e39fad10a 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 ca8d1a44893..d0e7dda7c57 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 c28b5be5f08..08b9c7fd890 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) { @@ -595,7 +595,7 @@ func TestCascadeWithSort(t *testing.T) { require.JSONEq(t, `{"data":{"me":[{"name": "Daryl Dixon","alive": false},{"name": "Rick Grimes","alive": true}]}}`, js) } -// Regression test for issue described in https://github.com/dgraph-io/dgraph/pull/8441 +// Regression test for issue described in https://github.com/hypermodeinc/dgraph/pull/8441 func TestNegativeOffset(t *testing.T) { query := ` { diff --git a/query/query3_test.go b/query/query3_test.go index bf4d50a4e60..35a9bd08118 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) { @@ -957,7 +957,7 @@ func TestShortestPathRev(t *testing.T) { js) } -// Regression test for https://github.com/dgraph-io/dgraph/issues/3657. +// Regression test for https://github.com/hypermodeinc/dgraph/issues/3657. func TestShortestPathPassword(t *testing.T) { query := ` { @@ -3232,7 +3232,7 @@ func TestMultiRegexInFilter2(t *testing.T) { ` // run 20 times ensure that there is no data race - // https://github.com/dgraph-io/dgraph/issues/4030 + // https://github.com/hypermodeinc/dgraph/issues/4030 for i := 0; i < 20; i++ { res := processQueryNoErr(t, query) require.JSONEq(t, `{"data": {"q": [{"firstName": "Han", "lastName":"Solo"}]}}`, res) diff --git a/query/query4_test.go b/query/query4_test.go index 80f5f7cedbe..562023b4052 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) { @@ -803,7 +803,7 @@ func TestHasFirst(t *testing.T) { } // This test is not working currently, but start working after -// PR https://github.com/dgraph-io/dgraph/pull/4316 is merged. +// PR https://github.com/hypermodeinc/dgraph/pull/4316 is merged. // func TestHasFirstLangPredicate(t *testing.T) { // query := `{ // q(func:has(name@lang), orderasc: name, first:5) { diff --git a/query/recurse.go b/query/recurse.go index 6a308d5c07d..9d07cb5f40d 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 80751a3473a..ced3559d682 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 64423d72828..624baa612c2 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 82790f7ae86..91faaf49a47 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 4f496ea1db1..ac946151b11 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 ea08549d444..2d9e351aac3 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 897c2671f98..2ee75d51a93 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 88507adce56..a9072688e54 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 58ee55e5bb4..b9d8035febd 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 0f147c5fe8b..c3691433917 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 424bffd2f63..bc19e1822c0 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 f87649a1c6a..097386ca4c1 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 6137fb366bc..d063e42be12 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 00c1291346c..fe0e7ad193d 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 6d1b66b47e8..27d674bd7e2 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 0d5c57b56b9..d621ece7352 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 a8f58c82952..943d9b258ae 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 425aa3a7a74..8ff41ade122 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 1153c81dd81..7a0b9d21296 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 2119300456a..3d0bc13fc3b 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 5bb36157bb7..6795c0c9971 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 9c009e92fbb..8a430d9ff24 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 d6045fbacbd..bbb2ee1cd8d 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 681e4c7bc73..edd7d8919cd 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 6c010108d03..ad3b047d945 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 1144d203f16..2cc1c48ee22 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 a1e3006782a..0f1a8269207 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 5a5d615325c..a23e3f67c6a 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 5cecf149a6f..c5f35afe288 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 06ebed75798..5cabf5245c9 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 a6b025cf94d..ba7bd49ad68 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 9a711a3c6ed..806f4f71716 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 0197dba37e2..fafafa9ddba 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 a0bf0ea6ee1..fefeaec92c8 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 7a6a2f947f5..879475408d4 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 d5e5a24d149..b7657869836 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 42fde68efa0..885a25a433c 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 12fe89ef5b7..f7749819f7f 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 91a7f5b6fb1..79b7f3fad9b 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 ea33b557336..ecdd5f8a83d 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 59c401dfbd9..28e54fd5ae2 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 a80a54b3146..f85e1ba867c 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 0c98fce9dab..81dbdbdaaa2 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 a348068bc7e..26bf651028a 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 e59c7bfd88d..5ab1f562ef7 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 b2ff1b43754..7f1e873bd71 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 0490d81534f..3bda80015e2 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 cc34ca2cd82..c20832aa209 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 e66da686658..120d29d7989 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 9ff3300a4cb..527b1359855 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 ec7e59e701f..0efd02b2c9b 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 f092e21332b..821f35db237 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 74ee6c557ab..c7b4a2529c0 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 6ff5736a891..f98c3a7cc51 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 08f9595ecc6..86e35b552de 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 81767ecb5e0..e3d83c9e4a6 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 37bac87f689..e355d1021e4 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 3c7e4cc3ad9..02ef7563b96 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 c668c62273f..f36950b12db 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 54bc01bf05e..b4d29aaf51a 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 3b47bf58407..08036846de0 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 @@ -2414,7 +2414,7 @@ func (ssuite *SystestTestSuite) ReverseCountIndex() { require.NoError(t, err) ctx := context.Background() // This test checks that we consider reverse count index keys while doing conflict detection - // for transactions. See https://github.com/dgraph-io/dgraph/issues/3893 for more details. + // for transactions. See https://github.com/hypermodeinc/dgraph/issues/3893 for more details. op := &api.Operation{} op.Schema = `friend: [uid] @count @reverse .` require.NoError(t, gcli.Alter(ctx, op)) diff --git a/systest/mutations-and-queries/queries_test.go b/systest/mutations-and-queries/queries_test.go index 0316f9c81f4..da9017e2a9e 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 b670c30adae..9a6bb0a4efe 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 7cfefee1ec5..4581bc4c116 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 ae82cec3074..bc61df51b6e 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 60fd17fb22e..936597fe33c 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 3b809df8c7c..c1cc8721003 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 74d8f626521..876de42d770 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 7c1f01e081f..b1ae9bbfc57 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 7ffd2209eed..82c5310dda4 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 2ba3caccc1a..ce3a74b0497 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 b6e31673eeb..5175325d86c 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 562953d064d..9bbab10c43c 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 6e3e1ce47cb..8d3852019d7 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 dcbd73cb221..20c2b7d0aa8 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 dc50aef26b5..8163397a334 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 47bfc5d4a88..2b794f9e707 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 51a02960354..45f5e63b6a6 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 07c0c9e04fc..bded5ba42bb 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 e2b5be0463f..1d483faaeae 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 75670a942b3..a1a0bf7d81d 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 3d43f81a1fb..92df6a517f0 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 059cf160bcc..8256be7ecb8 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 50ca8829a95..5d8bc7f15ad 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 d4bb1ec9670..2f354c4198c 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 78b61d9fd58..8a6809027da 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 008e64f3945..d3d1fbf2f1f 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 e5a7419776d..4bd9b801b80 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 f9026673bbc..b1462494bc5 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 75048c2dde5..b0e6f138825 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 448afa32c28..a7d85339036 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 e47adfd35ff..bb1cc04fe97 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 c09672254b3..b7f44bff639 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 0369aba8e02..7b92eeb8a4d 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 9c8144782ee..78742f34e83 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 fcaeb0a5110..30bdc085082 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 69a02b65fbe..b1716ebf19e 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 63586dc50c3..f82edf98c70 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 973acf5c96c..f301e4ee8f8 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 4a67c2cdc3e..770c6ee200a 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 9eedf29c18c..e9140f8b433 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 8be8ce3c754..96399caa432 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 d7e7162d16d..1770d33465a 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 f134841a77a..5887c82f346 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 5bc62c17faf..2e687b2c925 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 86ce665a516..60cd0736bf9 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_list.go b/upgrade/change_list.go index 5848e1d711a..ac042381629 100644 --- a/upgrade/change_list.go +++ b/upgrade/change_list.go @@ -37,7 +37,7 @@ func init() { " types User, Group and Rule. They are now dgraph.type.User, " + "dgraph.type.Group, and dgraph.type.Rule. This change was introduced in " + "v20.07.0, and is applied while upgrading from v20.03.0+ to v20.07.0+. " + - "For more info, see: https://github.com/dgraph-io/dgraph/pull/5185", + "For more info, see: https://github.com/hypermodeinc/dgraph/pull/5185", minFromVersion: &version{major: 20, minor: 3, patch: 0}, applyFunc: upgradeAclTypeNames, }, @@ -60,7 +60,7 @@ func init() { description: "This updates the persisted query from old format to new format." + "Persistent query had 2 predicates which have been merged into a single " + "predicate dgraph.graphql.p_query. " + - "For more info, see: https://github.com/dgraph-io/dgraph/pull/7451", + "For more info, see: https://github.com/hypermodeinc/dgraph/pull/7451", minFromVersion: &version{major: 20, minor: 11, patch: 0}, applyFunc: upgradePersitentQuery, }, @@ -69,7 +69,7 @@ func init() { description: "This updates GraphQL schema to contain the CORS information. " + "Some of the dgraph internal predicates are removed in v21.03.0. " + "dgraph.cors that used to store CORS information is one of them. " + - "For more info, see: https://github.com/dgraph-io/dgraph/pull/7431", + "For more info, see: https://github.com/hypermodeinc/dgraph/pull/7431", minFromVersion: &version{major: 20, minor: 11, patch: 0}, applyFunc: upgradeCORS, }, diff --git a/upgrade/change_v20.03.0.go b/upgrade/change_v20.03.0.go index 5702feeda31..721e938352a 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 9b91b060ad3..9451f24e0d2 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 ee4c3f0ea74..e48a659263e 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 f09df27971a..cd9ea99a3bf 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 73d1413ebd0..d6a6b3f65ef 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 8e0f7703aa5..b6e51a1591d 100644 --- a/worker/acl_cache.go +++ b/worker/acl_cache.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 0a57bb7fb6b..229911cac93 100644 --- a/worker/acl_cache_test.go +++ b/worker/acl_cache_test.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 788038e6229..49829efa634 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 6aabb13f0c4..bec5efab117 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 ac7d6c18174..93feba73387 100644 --- a/worker/backup_ee.go +++ b/worker/backup_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 7d0c5c937a1..ddc41143aef 100644 --- a/worker/backup_handler.go +++ b/worker/backup_handler.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 b85c3d73779..b31cc550f11 100644 --- a/worker/backup_manifest.go +++ b/worker/backup_manifest.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 { @@ -165,7 +165,7 @@ func getConsolidatedManifest(h UriHandler, uri *url.URL) (*MasterManifest, error // the drop data/attr operation. // If the manifest version is 2103, convert the format of predicate from | to // -. This is because of a bug for namespace greater than 127. -// See https://github.com/dgraph-io/dgraph/pull/7810 +// See https://github.com/hypermodeinc/dgraph/pull/7810 // NOTE: Do not use the upgraded manifest to overwrite the non-upgraded manifest. func upgradeManifest(m *Manifest) error { switch m.Version { diff --git a/worker/backup_oss.go b/worker/backup_oss.go index d06be88c4e7..42c7211af87 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 b4fa056651a..d004d172700 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 5054b515f60..b7576dda668 100644 --- a/worker/cdc_ee.go +++ b/worker/cdc_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 96d04c19b23..04239bb23b7 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 00e3f64820a..e8c8b59d998 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 8215bc406c5..6afddd05baf 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 7de67df991a..1adb3cf37b6 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 16e939108d1..f323f040330 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 ac312596a78..3a3b42a41fa 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 528bf6ae4f9..8101683b51b 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 { @@ -118,7 +118,7 @@ func StartRaftNodes(walStore *raftwal.DiskStorage, bindall bool) { var connState *pb.ConnectionState var err error - for { // Keep on retrying. See: https://github.com/dgraph-io/dgraph/issues/2289 + for { // Keep on retrying. See: https://github.com/hypermodeinc/dgraph/issues/2289 pl := gr.connToZeroLeader() if pl == nil { continue @@ -723,7 +723,7 @@ func (g *groupi) connToZeroLeader() *conn.Pool { // No leader found. Let's get the latest membership state from Zero. delay := connBaseDelay maxHalfDelay := time.Second - for i := 0; ; i++ { // Keep on retrying. See: https://github.com/dgraph-io/dgraph/issues/2289 + for i := 0; ; i++ { // Keep on retrying. See: https://github.com/hypermodeinc/dgraph/issues/2289 if g.IsClosed() { return nil } diff --git a/worker/match.go b/worker/match.go index 34e68594ce1..1ad6b9a7db8 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 6d2847db290..f43602446aa 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 d71d1c130a3..be4524d6aeb 100644 --- a/worker/multi_tenancy_ee.go +++ b/worker/multi_tenancy_ee.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 40091319f21..78ab16f794a 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 249505a2d6f..e26c0692b1c 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 6eb47fe832b..30881ba32fd 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 7e74284f9b0..c25cbc00d9b 100644 --- a/worker/online_restore.go +++ b/worker/online_restore.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 cca2673c619..d6d3c981c11 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 4bc96535c65..62b31a64d76 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 7e6bd547c2c..27191591b45 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 65dd7dca078..59792c4a6a0 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 a6cbdd8e212..ef2db1bd9cc 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 527e6fdf7fa..65eab4e749e 100644 --- a/worker/restore_map.go +++ b/worker/restore_map.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 748290edd38..98c9f291050 100644 --- a/worker/restore_reduce.go +++ b/worker/restore_reduce.go @@ -8,7 +8,7 @@ * may not use this file except in compliance with the License. You * may obtain a copy of the License at * - * https://github.com/dgraph-io/dgraph/blob/main/licenses/DCL.txt + * https://github.com/hypermodeinc/dgraph/blob/main/licenses/DCL.txt */ package worker @@ -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 17362119f49..218c5224701 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 71f8e7b09d2..a7493b175b2 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 5a347a891b6..053af9d1f00 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 639071033f2..965415cfb41 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 f8fa559c696..80552463300 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 a861bc96d27..243cf165aa8 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 ec29da7d2c8..4eaf1240ca3 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 5ea4a54f05d..93bf26f89e4 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 3384595df14..1f889a97f96 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 3d54f79db58..6b8215e5434 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 7206aa9104d..6530024c8a4 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 973d04fd685..374286763e0 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 7f45dbb32da..e6569b1fe8b 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 047e0ae6861..89ae4391547 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 2af29194671..6bb5141f811 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 9fb480d585d..9f1cb375e06 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 4a3570aa297..793f41c9be7 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/log_writer.go b/x/log_writer.go index 0a54b4e29ec..fbee0523bd6 100644 --- a/x/log_writer.go +++ b/x/log_writer.go @@ -39,7 +39,7 @@ const ( backupTimeFormat = "2006-01-02T15-04-05.000" bufferSize = 256 * 1024 flushInterval = 10 * time.Second - // old logs before https://github.com/dgraph-io/dgraph/pull/8323 contain deprecated verification text in header + // old logs before https://github.com/hypermodeinc/dgraph/pull/8323 contain deprecated verification text in header VerificationTextDeprecated = "Hello World" VerificationText = "dlroW olloH" ) 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 65424e7779d..fea61baceea 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 131d6a406cf..f2ae1afc57a 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.