diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 143e60d458b..d9aec177cd1 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -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** diff --git a/.github/workflows/ci-dgraph-core-tests.yml b/.github/workflows/ci-dgraph-core-tests.yml index 0e1d8823798..7fedfc46ba5 100644 --- a/.github/workflows/ci-dgraph-core-tests.yml +++ b/.github/workflows/ci-dgraph-core-tests.yml @@ -3,6 +3,7 @@ name: ci-dgraph-core-tests on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/.github/workflows/ci-dgraph-core-upgrade-tests.yml b/.github/workflows/ci-dgraph-core-upgrade-tests.yml index b2629d3e4b2..9446016f12d 100644 --- a/.github/workflows/ci-dgraph-core-upgrade-tests.yml +++ b/.github/workflows/ci-dgraph-core-upgrade-tests.yml @@ -3,6 +3,7 @@ name: ci-dgraph-core-upgrade-tests on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/.github/workflows/ci-dgraph-integration2-tests.yml b/.github/workflows/ci-dgraph-integration2-tests.yml index 53f1190242a..cb94826215d 100644 --- a/.github/workflows/ci-dgraph-integration2-tests.yml +++ b/.github/workflows/ci-dgraph-integration2-tests.yml @@ -3,6 +3,7 @@ name: ci-dgraph-integration2-tests on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/.github/workflows/ci-dgraph-ldbc-tests.yml b/.github/workflows/ci-dgraph-ldbc-tests.yml index ffa8903b157..5e193f7eb95 100644 --- a/.github/workflows/ci-dgraph-ldbc-tests.yml +++ b/.github/workflows/ci-dgraph-ldbc-tests.yml @@ -3,6 +3,7 @@ name: ci-dgraph-ldbc-tests on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/.github/workflows/ci-dgraph-load-tests.yml b/.github/workflows/ci-dgraph-load-tests.yml index 00d2753b7d7..688fdb6770b 100644 --- a/.github/workflows/ci-dgraph-load-tests.yml +++ b/.github/workflows/ci-dgraph-load-tests.yml @@ -3,6 +3,7 @@ name: ci-dgraph-load-tests on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/.github/workflows/ci-dgraph-system-upgrade-tests.yml b/.github/workflows/ci-dgraph-system-upgrade-tests.yml index 2f4e23a8b3a..bd6a64a3985 100644 --- a/.github/workflows/ci-dgraph-system-upgrade-tests.yml +++ b/.github/workflows/ci-dgraph-system-upgrade-tests.yml @@ -3,6 +3,7 @@ name: ci-dgraph-system-upgrade-tests on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/.github/workflows/ci-dgraph-systest-tests.yml b/.github/workflows/ci-dgraph-systest-tests.yml index 6e34444d27e..a199880f46d 100644 --- a/.github/workflows/ci-dgraph-systest-tests.yml +++ b/.github/workflows/ci-dgraph-systest-tests.yml @@ -3,6 +3,7 @@ name: ci-dgraph-system-tests on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/.github/workflows/ci-dgraph-tests-arm64.yml b/.github/workflows/ci-dgraph-tests-arm64.yml index 7f74e85a032..910e66bd9f0 100644 --- a/.github/workflows/ci-dgraph-tests-arm64.yml +++ b/.github/workflows/ci-dgraph-tests-arm64.yml @@ -3,6 +3,7 @@ name: ci-dgraph-tests-arm64 on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/.github/workflows/ci-dgraph-vector-tests.yml b/.github/workflows/ci-dgraph-vector-tests.yml index 083fe1527f1..a4682c7007c 100644 --- a/.github/workflows/ci-dgraph-vector-tests.yml +++ b/.github/workflows/ci-dgraph-vector-tests.yml @@ -3,6 +3,7 @@ name: ci-dgraph-vector-tests on: pull_request: paths: + - "!**/*.md" - "**/*.go" - "**/go.mod" - "**/*.yml" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e172fd1c65e..6e93f6b69d2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 @@ -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 @@ -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. @@ -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 diff --git a/README.md b/README.md index 63b4b8c2663..4ad15c490ed 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ [![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 @@ -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. @@ -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 @@ -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 ``` @@ -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. diff --git a/dgraphtest/load.go b/dgraphtest/load.go index c8d5e1fb0c1..a7700727fc1 100644 --- a/dgraphtest/load.go +++ b/dgraphtest/load.go @@ -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 diff --git a/systest/1million/test-reindex.sh b/systest/1million/test-reindex.sh index dfd68e09e06..3a5d1c9df12 100755 --- a/systest/1million/test-reindex.sh +++ b/systest/1million/test-reindex.sh @@ -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 diff --git a/systest/21million/test-21million.sh b/systest/21million/test-21million.sh index 142e5809b80..98fbc9847bd 100755 --- a/systest/21million/test-21million.sh +++ b/systest/21million/test-21million.sh @@ -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" diff --git a/systest/loader-benchmark/loader-benchmark.sh b/systest/loader-benchmark/loader-benchmark.sh index 6e3500a8e8d..87f9101be66 100755 --- a/systest/loader-benchmark/loader-benchmark.sh +++ b/systest/loader-benchmark/loader-benchmark.sh @@ -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} diff --git a/t/t.go b/t/t.go index 47bc7e427fd..5b2d0265089 100644 --- a/t/t.go +++ b/t/t.go @@ -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{ @@ -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() {