Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Please explain the changes you made here.
- [ ] For all _code_ changes, an entry added to the `CHANGELOG.md` file describing and linking to
this PR
- [ ] Tests added for new functionality, or regression tests for bug fixes added as applicable
- [ ] For public APIs, new features, etc., PR on
[docs repo](https://github.com/hypermodeinc/docs) staged and linked here
- [ ] For public APIs, new features, etc., PR on [docs repo](https://github.com/dgraph-io/docs)
staged and linked here

**Instructions**

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-core-tests
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-core-upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-core-upgrade-tests
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-integration2-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-integration2-tests
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-ldbc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-ldbc-tests
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-load-tests
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-system-upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-system-upgrade-tests
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-systest-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-system-tests
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-tests-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-tests-arm64
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-dgraph-vector-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ci-dgraph-vector-tests
on:
pull_request:
paths:
- "!**/*.md"
- "**/*.go"
- "**/go.mod"
- "**/*.yml"
Expand Down
15 changes: 5 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,13 @@

### Setup Dgraph from source repo

It's best to put the Dgraph repo somewhere in `$GOPATH`.

```bash
mkdir -p "$(go env GOPATH)/src/github.com/hypermodeinc"
cd "$(go env GOPATH)/src/github.com/hypermodeinc"
git clone https://github.com/hypermodeinc/dgraph.git
git clone https://github.com/dgraph-io/dgraph.git
cd ./dgraph
make install
```

This will put the source code in a Git repo under `$GOPATH/src/github.com/hypermodeinc/dgraph` and
This will put the source code in a Git repo under `$GOPATH/src/github.com/dgraph-io/dgraph` and
compile the binaries to `$GOPATH/bin`.

### Setup Badger from source repo
Expand Down Expand Up @@ -90,8 +86,8 @@ This should generate the required `.pb.go` file.

### Build Dgraph

You can build Dgraph using `make dgraph` or `make install` which add the version information to the
binary.
You can build Dgraph using `make dgraph` or `make install` which will add the version information to
the binary.

- `make dgraph`: Creates a `dgraph` binary at `./dgraph/dgraph`
- `make install`: Creates a `dgraph` binary at `$GOPATH/bin/dgraph`. You should add `$GOPATH/bin` to
Expand All @@ -116,7 +112,6 @@ jemalloc enabled : true

For Dgraph official documentation, visit https://dgraph.io/docs.
For discussions about Dgraph , visit https://discuss.dgraph.io.
For fully-managed Dgraph Cloud , visit https://dgraph.io/cloud.

Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
© Hypermode Inc.
Expand Down Expand Up @@ -150,7 +145,7 @@ delivery process.

Non-integration unit tests exist for many core packages that can be exercised without invoking the
testing framework. For instance, to unit test the core DQL parsing package:
`go test github.com/hypermodeinc/dgraph/v25/dql`.
`go test github.com/dgraph-io/dgraph/v25/dql`.

## Contributing

Expand Down
54 changes: 25 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
</picture>

[![chat](https://img.shields.io/discord/1267579648657850441)](https://discord.hypermode.com)
[![GitHub Repo stars](https://img.shields.io/github/stars/hypermodeinc/dgraph)](https://github.com/hypermodeinc/dgraph/stargazers)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/hypermodeinc/dgraph)](https://github.com/hypermodeinc/dgraph/commits/main/)
[![GitHub Repo stars](https://img.shields.io/github/stars/dgraph-io/dgraph)](https://github.com/dgraph-io/dgraph/stargazers)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/dgraph-io/dgraph)](https://github.com/dgraph-io/dgraph/commits/main/)
[![Go Report Card](https://goreportcard.com/badge/github.com/dgraph-io/dgraph)](https://goreportcard.com/report/github.com/dgraph-io/dgraph)

Dgraph is a horizontally scalable and distributed GraphQL database with a graph backend. It provides
Expand All @@ -29,22 +29,21 @@ over [GRPC](http://www.grpc.io/) and HTTP. Dgraph is written using the Go Progra

## Status

Dgraph is at [version v24.1.3][rel] and is production-ready. Apart from the vast open source
community, it is being used in production at multiple Fortune 500 companies, and by
Dgraph is at [version v25][rel] and is production-ready. Apart from the vast open source community,
it is being used in 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).
[VMware Purser](https://github.com/vmware/purser).

[rel]: https://github.com/hypermodeinc/dgraph/releases/tag/v24.1.3
[rel]: https://github.com/dgraph-io/dgraph/releases/tag/v25.0.0

## Supported Platforms

Dgraph officially supports the Linux/amd64 architecture. Support for Linux/arm64 is in development.
In order to take advantage of memory performance gains and other architecture-specific advancements
in Linux, we dropped official support Mac and Windows in 2021, see
[this blog post](https://discuss.hypermode.com/t/dropping-support-for-windows-and-mac/12913) for more
information. You can still build and use Dgraph on other platforms (for live or bulk loading for
instance), but support for platforms other than Linux/amd64 is not available.
[this blog post](https://discuss.hypermode.com/t/dropping-support-for-windows-and-mac/12913) for
more information. You can still build and use Dgraph on other platforms (for live or bulk loading
for instance), but support for platforms other than Linux/amd64 is not available.

Running Dgraph in a Docker environment is the recommended testing and deployment method.

Expand All @@ -68,7 +67,7 @@ docker run -it -p 8080:8080 -p 9080:9080 -v ~/dgraph:/dgraph dgraph/standalone:l

## Install from Source

If you want to install from source, install Go 1.19+ or later and the following dependencies:
If you want to install from source, install Go 1.24+ or later and the following dependencies:

### Ubuntu

Expand All @@ -84,7 +83,7 @@ directory named by the GOBIN environment variable, which defaults to $GOPATH/bin
the GOPATH environment variable is not set.

```bash
git clone https://github.com/hypermodeinc/dgraph.git
git clone https://github.com/dgraph-io/dgraph.git
cd dgraph
make install
```
Expand Down Expand Up @@ -126,33 +125,30 @@ operations, which makes it easy to build applications with it.

## Users

- **Dgraph official documentation is present at [docs.hypermode.com/dgraph](https://docs.hypermode.com/dgraph).**
- For feature requests or questions, visit [https://discuss.hypermode.com](https://discuss.hypermode.com).
- Please see [releases tab](https://github.com/hypermodeinc/dgraph/releases) to find the latest
release and corresponding release notes.
- Read about the latest updates from the Dgraph team [on our blog](https://hypermode.com/blog).
- Watch tech talks on our
[YouTube channel](https://www.youtube.com/channel/UCghE41LR8nkKFlR3IFTRO4w/featured).
- **Dgraph official documentation is present at
[docs.hypermode.com/dgraph](https://docs.hypermode.com/dgraph).**
- For feature requests or questions, visit
[https://discuss.hypermode.com](https://discuss.hypermode.com).
- Please see [releases tab](https://github.com/dgraph-io/dgraph/releases) to find the latest release
and corresponding release notes.

## Developers

Please see
[Contributing to Dgraph](https://github.com/hypermodeinc/dgraph/blob/main/CONTRIBUTING.md) for
guidelines on contributions.
Please see [Contributing to Dgraph](https://github.com/dgraph-io/dgraph/blob/main/CONTRIBUTING.md)
for guidelines on contributions.

## Client Libraries

The Dgraph team maintains several
[officially supported client libraries](https://docs.hypermode.com/dgraph/sdks/overview). There are also libraries
contributed by the community
[officially supported client libraries](https://docs.hypermode.com/dgraph/sdks/overview). There are
also libraries contributed by the community
[unofficial client libraries](https://docs.hypermode.com/dgraph/sdks/unofficial-clients#unofficial-dgraph-clients).

##

## Contact

- Please use [discuss.hypermode.com](https://discuss.hypermode.com) for documentation, questions, feature
requests and discussions.
- Please use [GitHub Issues](https://github.com/hypermodeinc/dgraph/issues) for filing bugs or
feature requests.
- Follow us on Twitter [@dgraphlabs](https://twitter.com/dgraphlabs).
- Please use [discuss.hypermode.com](https://discuss.hypermode.com) for documentation, questions,
feature requests and discussions.
- Please use [GitHub Issues](https://github.com/dgraph-io/dgraph/issues) for filing bugs or feature
requests.
8 changes: 4 additions & 4 deletions dgraphtest/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ import (
)

var datafiles = map[string]string{
"1million.schema": "https://github.com/hypermodeinc/dgraph-benchmarks/blob/main/data/1million.schema?raw=true",
"1million.rdf.gz": "https://github.com/hypermodeinc/dgraph-benchmarks/blob/main/data/1million.rdf.gz?raw=true",
"21million.schema": "https://github.com/hypermodeinc/dgraph-benchmarks/blob/main/data/21million.schema?raw=true",
"21million.rdf.gz": "https://github.com/hypermodeinc/dgraph-benchmarks/blob/main/data/21million.rdf.gz?raw=true",
"1million.schema": "https://github.com/dgraph-io/dgraph-benchmarks/blob/main/data/1million.schema?raw=true",
"1million.rdf.gz": "https://github.com/dgraph-io/dgraph-benchmarks/blob/main/data/1million.rdf.gz?raw=true",
"21million.schema": "https://github.com/dgraph-io/dgraph-benchmarks/blob/main/data/21million.schema?raw=true",
"21million.rdf.gz": "https://github.com/dgraph-io/dgraph-benchmarks/blob/main/data/21million.rdf.gz?raw=true",
}

type DatasetType int
Expand Down
2 changes: 1 addition & 1 deletion systest/1million/test-reindex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function DockerCompose {
}

Info "cloning benchmarks repo"
BENCHMARKS_URL=https://github.com/hypermodeinc/dgraph-benchmarks/blob/main/data
BENCHMARKS_URL=https://github.com/dgraph-io/dgraph-benchmarks/blob/main/data
rm -rf "${BENCHMARKS_REPO}"
mkdir -p "${BENCHMARKS_REPO}"/data
wget -O "${NO_INDEX_SCHEMA_FILE}" "${BENCHMARKS_URL}"/1million-noindex.schema?raw=true
Expand Down
2 changes: 1 addition & 1 deletion systest/21million/test-21million.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
readonly ME=${0##*/}
readonly SRCDIR=$(dirname "$0")

BENCHMARKS_REPO="${BENCHMARKS_REPO:-$(go env GOPATH)/src/github.com/hypermodeinc/dgraph-benchmarks}"
BENCHMARKS_REPO="${BENCHMARKS_REPO:-$(go env GOPATH)/src/github.com/dgraph-io/dgraph-benchmarks}"
SCHEMA_FILE="${BENCHMARKS_REPO}/data/21million.schema"
DATA_FILE="${BENCHMARKS_REPO}/data/21million.rdf.gz"

Expand Down
2 changes: 1 addition & 1 deletion systest/loader-benchmark/loader-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
readonly ME=${0##*/}
readonly SRCDIR=$(dirname "$0")

BENCHMARKS_REPO="https://github.com/hypermodeinc/dgraph-benchmarks"
BENCHMARKS_REPO="https://github.com/dgraph-io/dgraph-benchmarks"
BENCHMARK_SIZE=${BENCHMARK_SIZE:=big}
SCHEMA_URL="${BENCHMARKS_REPO}/blob/main/data/21million.schema?raw=true"
DGRAPH_LOADER=${DGRAPH_LOADER:=bulk}
Expand Down
14 changes: 7 additions & 7 deletions t/t.go
Original file line number Diff line number Diff line change
Expand Up @@ -912,14 +912,14 @@ func isVectorPackage(pkg string) bool {
}

var datafiles = map[string]string{
"1million-noindex.schema": "https://raw.githubusercontent.com/hypermodeinc/dgraph-benchmarks/refs/heads/main/data/1million-noindex.schema",
"1million.schema": "https://raw.githubusercontent.com/hypermodeinc/dgraph-benchmarks/refs/heads/main/data/1million.schema",
"1million.rdf.gz": "https://media.githubusercontent.com/media/hypermodeinc/dgraph-benchmarks/refs/heads/main/data/1million.rdf.gz",
"21million.schema": "https://raw.githubusercontent.com/hypermodeinc/dgraph-benchmarks/refs/heads/main/data/21million.schema",
"21million.rdf.gz": "https://media.githubusercontent.com/media/hypermodeinc/dgraph-benchmarks/refs/heads/main/data/21million.rdf.gz",
"1million-noindex.schema": "https://raw.githubusercontent.com/dgraph-io/dgraph-benchmarks/refs/heads/main/data/1million-noindex.schema",
"1million.schema": "https://raw.githubusercontent.com/dgraph-io/dgraph-benchmarks/refs/heads/main/data/1million.schema",
"1million.rdf.gz": "https://media.githubusercontent.com/media/dgraph-io/dgraph-benchmarks/refs/heads/main/data/1million.rdf.gz",
"21million.schema": "https://raw.githubusercontent.com/dgraph-io/dgraph-benchmarks/refs/heads/main/data/21million.schema",
"21million.rdf.gz": "https://media.githubusercontent.com/media/dgraph-io/dgraph-benchmarks/refs/heads/main/data/21million.rdf.gz",
}

var baseUrl = "https://media.githubusercontent.com/media/hypermodeinc/dgraph-benchmarks/refs/heads/main/ldbc/sf0.3/ldbc_rdf_0.3/"
var baseUrl = "https://media.githubusercontent.com/media/dgraph-io/dgraph-benchmarks/refs/heads/main/ldbc/sf0.3/ldbc_rdf_0.3/"
var suffix = "?raw=true"

var rdfFileNames = [...]string{
Expand Down Expand Up @@ -949,7 +949,7 @@ var rdfFileNames = [...]string{
"workAt_0.rdf"}

var ldbcDataFiles = map[string]string{
"ldbcTypes.schema": "https://github.com/hypermodeinc/dgraph-benchmarks/blob/main/ldbc/sf0.3/ldbcTypes.schema?raw=true",
"ldbcTypes.schema": "https://github.com/dgraph-io/dgraph-benchmarks/blob/main/ldbc/sf0.3/ldbcTypes.schema?raw=true",
}

func downloadDataFiles() {
Expand Down
Loading