Skip to content

Commit

Permalink
rename dgraph-io/dgraph to hypermodeinc/dgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
mangalaman93 committed Jan 7, 2025
1 parent 81b7cc8 commit d0ef480
Show file tree
Hide file tree
Showing 435 changed files with 1,236 additions and 1,236 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-dgraph-core-upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-dgraph-system-upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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
```
Expand Down Expand Up @@ -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.
Expand All @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion algo/heap.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package algo

import (
"github.com/dgraph-io/dgraph/v24/codec"
"github.com/hypermodeinc/dgraph/v24/codec"
)

type elem struct {
Expand Down
4 changes: 2 additions & 2 deletions algo/packed.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions algo/packed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions algo/uidlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions algo/uidlist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions check_upgrade/check_upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
6 changes: 3 additions & 3 deletions check_upgrade/check_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions chunker/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions chunker/json_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions chunker/json_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions chunker/rdf_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
6 changes: 3 additions & 3 deletions chunker/rdf_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion chunker/rdf_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions codec/benchmark/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions codec/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions codec/codec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions compose/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
},
Expand Down
6 changes: 3 additions & 3 deletions conn/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions conn/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions conn/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions conn/raft_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions contrib/integration/acctupsert/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion contrib/integration/bank/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Loading

0 comments on commit d0ef480

Please sign in to comment.