Skip to content
Open
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
20 changes: 20 additions & 0 deletions .serena/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,23 @@ default_modes:
# fixed set of tools to use as the base tool set (if non-empty), replacing Serena's default set of tools.
# This cannot be combined with non-empty excluded_tools or included_optional_tools.
fixed_tools: []

# override of the corresponding setting in serena_config.yml, see the documentation there.
# If null or missing, the value from the global config is used.
symbol_info_budget:

# The language backend to use for this project.
# If not set, the global setting from serena_config.yml is used.
# Valid values: LSP, JetBrains
# Note: the backend is fixed at startup. If a project with a different backend
# is activated post-init, an error will be returned.
language_backend:

# list of regex patterns which, when matched, mark a memory entry as read‑only.
# Extends the list from the global configuration, merging the two lists.
read_only_memory_patterns: []

# line ending convention to use when writing source files.
# Possible values: unset (use global setting), "lf", "crlf", or "native" (platform default)
# This does not affect Serena's own files (e.g. memories and configuration files), which always use native line endings.
line_ending:
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ Before submitting the code, we need to do some preparation:

1. Sign up or login to GitHub: [https://github.com](https://github.com)

2. Fork HugeGraph repo from GitHub: [https://github.com/apache/incubator-hugegraph/fork](https://github.com/apache/incubator-hugegraph/fork)
2. Fork HugeGraph repo from GitHub: [https://github.com/apache/hugegraph/fork](https://github.com/apache/hugegraph/fork)

3. Clone code from fork repo to local: [https://github.com/${GITHUB_USER_NAME}/incubator-hugegraph](https://github.com/${GITHUB_USER_NAME}/incubator-hugegraph)
3. Clone code from fork repo to local: [https://github.com/${GITHUB_USER_NAME}/hugegraph](https://github.com/${GITHUB_USER_NAME}/hugegraph)

```shell
# clone code from remote to local repo
git clone https://github.com/${GITHUB_USER_NAME}/incubator-hugegraph.git hugegraph
git clone https://github.com/${GITHUB_USER_NAME}/hugegraph.git hugegraph
```

4. Configure local HugeGraph repo
Expand All @@ -34,7 +34,7 @@ Before submitting the code, we need to do some preparation:
cd hugegraph

# add upstream to synchronize the latest code
git remote add hugegraph https://github.com/apache/incubator-hugegraph
git remote add hugegraph https://github.com/apache/hugegraph

# set name and email to push code to github
git config user.name "{full-name}" # like "Jermy Li"
Expand All @@ -43,7 +43,7 @@ Before submitting the code, we need to do some preparation:

## 2. Create an Issue on GitHub

If you encounter bugs or have any questions, please go to [GitHub Issues](https://github.com/apache/incubator-hugegraph/issues) to report them and feel free to [create an issue](https://github.com/apache/incubator-hugegraph/issues/new).
If you encounter bugs or have any questions, please go to [GitHub Issues](https://github.com/apache/hugegraph/issues) to report them and feel free to [create an issue](https://github.com/apache/hugegraph/issues/new).

## 3. Make changes of code locally

Expand Down Expand Up @@ -75,10 +75,10 @@ Note: Code style is defined by the `.editorconfig` file at the repository root.

##### 3.2.1 Check licenses
If we want to add new third-party dependencies to the `HugeGraph` project, we need to do the following things:
1. Find the third-party dependent repository, put the dependent `license` file into [./hugegraph-dist/release-docs/licenses/](https://github.com/apache/incubator-hugegraph/tree/master/hugegraph-dist/release-docs/licenses) path.
2. Declare the dependency in [./install-dist/release-docs/LICENSE](https://github.com/apache/incubator-hugegraph/blob/master/install-dist/release-docs/LICENSE) `LICENSE` information.
3. Find the NOTICE file in the repository and append it to [./install-dist/release-docs/NOTICE](https://github.com/apache/incubator-hugegraph/blob/master/install-dist/release-docs/NOTICE) file (skip this step if there is no NOTICE file).
4. Execute locally [./install-dist/scripts/dependency/regenerate_known_dependencies.sh](https://github.com/apache/incubator-hugegraph/blob/master/install-dist/scripts/dependency/regenerate_known_dependencies.sh) to update the dependency list [known-dependencies.txt](https://github.com/apache/incubator-hugegraph/blob/master/install-dist/scripts/dependency/known-dependencies.txt) (or manually update).
1. Find the third-party dependent repository, put the dependent `license` file into [./hugegraph-dist/release-docs/licenses/](https://github.com/apache/hugegraph/tree/master/hugegraph-dist/release-docs/licenses) path.
2. Declare the dependency in [./install-dist/release-docs/LICENSE](https://github.com/apache/hugegraph/blob/master/install-dist/release-docs/LICENSE) `LICENSE` information.
3. Find the NOTICE file in the repository and append it to [./install-dist/release-docs/NOTICE](https://github.com/apache/hugegraph/blob/master/install-dist/release-docs/NOTICE) file (skip this step if there is no NOTICE file).
4. Execute locally [./install-dist/scripts/dependency/regenerate_known_dependencies.sh](https://github.com/apache/hugegraph/blob/master/install-dist/scripts/dependency/regenerate_known_dependencies.sh) to update the dependency list [known-dependencies.txt](https://github.com/apache/hugegraph/blob/master/install-dist/scripts/dependency/known-dependencies.txt) (or manually update).

**Example**: A new third-party dependency is introduced into the project -> `ant-1.9.1.jar`
- The project source code is located at: https://github.com/apache/ant/tree/rel/1.9.1
Expand Down
7 changes: 0 additions & 7 deletions DISCLAIMER

This file was deleted.

4 changes: 2 additions & 2 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache HugeGraph(incubating)
Copyright 2022-2025 The Apache Software Foundation
Apache HugeGraph
Copyright 2022-2026 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<div align="center">

[![License](https://img.shields.io/badge/license-Apache%202-0E78BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![HugeGraph-CI](https://github.com/apache/incubator-hugegraph/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/incubator-hugegraph/actions/workflows/ci.yml)
[![License checker](https://github.com/apache/incubator-hugegraph/actions/workflows/licence-checker.yml/badge.svg)](https://github.com/apache/incubator-hugegraph/actions/workflows/licence-checker.yml)
[![HugeGraph-CI](https://github.com/apache/hugegraph/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/hugegraph/actions/workflows/ci.yml)
[![License checker](https://github.com/apache/hugegraph/actions/workflows/licence-checker.yml/badge.svg)](https://github.com/apache/hugegraph/actions/workflows/licence-checker.yml)
[![GitHub Releases Downloads](https://img.shields.io/github/downloads/apache/hugegraph/total.svg)](https://github.com/apache/hugegraph/releases)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/apache/hugegraph)

Expand Down Expand Up @@ -48,7 +48,7 @@ Complete **HugeGraph** ecosystem components:

2. **[hugegraph-computer](https://github.com/apache/hugegraph-computer)** - Integrated **graph computing** system

3. **[hugegraph-ai](https://github.com/apache/incubator-hugegraph-ai)** - **Graph AI/LLM/Knowledge Graph** integration
3. **[hugegraph-ai](https://github.com/apache/hugegraph-ai)** - **Graph AI/LLM/Knowledge Graph** integration

4. **[hugegraph-website](https://github.com/apache/hugegraph-doc)** - **Documentation & website** repository

Expand Down Expand Up @@ -223,9 +223,9 @@ Download pre-built packages from the [Download Page](https://hugegraph.apache.or

```bash
# Download and extract
wget https://downloads.apache.org/incubator/hugegraph/{version}/apache-hugegraph-incubating-{version}.tar.gz
tar -xzf apache-hugegraph-incubating-{version}.tar.gz
cd apache-hugegraph-incubating-{version}
wget https://downloads.apache.org/hugegraph/{version}/apache-hugegraph-{version}.tar.gz
tar -xzf apache-hugegraph-{version}.tar.gz
cd apache-hugegraph-{version}

# Initialize backend storage
bin/init-store.sh
Expand Down Expand Up @@ -363,7 +363,7 @@ Welcome to contribute to HugeGraph!

Thank you to all the contributors who have helped make HugeGraph better!

[![contributors graph](https://contrib.rocks/image?repo=apache/hugegraph)](https://github.com/apache/incubator-hugegraph/graphs/contributors)
[![contributors graph](https://contrib.rocks/image?repo=apache/hugegraph)](https://github.com/apache/hugegraph/graphs/contributors)

## License

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ public class ClusterConstant {
public static final String PLUGINS_DIR = "plugins";
public static final String BIN_DIR = "bin";
public static final String CONF_DIR = "conf";
public static final String PD_PACKAGE_PREFIX = "apache-hugegraph-pd-incubating";
public static final String PD_PACKAGE_PREFIX = "apache-hugegraph-pd";
public static final String PD_JAR_PREFIX = "hg-pd-service";
public static final String STORE_PACKAGE_PREFIX = "apache-hugegraph-store-incubating";
public static final String STORE_PACKAGE_PREFIX = "apache-hugegraph-store";
public static final String STORE_JAR_PREFIX = "hg-store-node";
public static final String SERVER_PACKAGE_PREFIX = "apache-hugegraph-server-incubating";
public static final String CT_PACKAGE_PREFIX = "apache-hugegraph-ct-incubating";
public static final String SERVER_PACKAGE_PREFIX = "apache-hugegraph-server";
public static final String CT_PACKAGE_PREFIX = "apache-hugegraph-ct";
public static final String APPLICATION_FILE = "application.yml";
public static final String SERVER_PROPERTIES = "rest-server.properties";
public static final String HUGEGRAPH_PROPERTIES = "graphs/hugegraph.properties";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* MultiNode Test generate the cluster env with 3 pd node + 3 store node + 3 server node.
* Or you can set different num of nodes by using env = new MultiNodeEnv(pdNum, storeNum, serverNum)
* All nodes are deployed in ports generated randomly, the application of nodes are stored
* in /apache-hugegraph-ct-incubating-1.7.0, you can visit each node with rest api.
* in /apache-hugegraph-ct-1.7.0, you can visit each node with rest api.
*/
public class BaseMultiClusterTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
/**
* Simple Test generate the cluster env with 1 pd node + 1 store node + 1 server node.
* All nodes are deployed in ports generated randomly; The application of nodes is stored
* in /apache-hugegraph-ct-incubating-1.7.0, you can visit each node with rest api.
* in /apache-hugegraph-ct-1.7.0, you can visit each node with rest api.
*/
public class BaseSimpleTest {

Expand Down
2 changes: 1 addition & 1 deletion hugegraph-cluster-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<final.name>apache-${release.name}-ct-incubating-${project.version}</final.name>
<final.name>apache-${release.name}-ct-${project.version}</final.name>
</properties>

<dependencies>
Expand Down
10 changes: 5 additions & 5 deletions hugegraph-commons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[![License](https://img.shields.io/badge/license-Apache%202-0E78BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![codecov](https://codecov.io/gh/hugegraph/hugegraph-common/branch/master/graph/badge.svg)](https://codecov.io/gh/hugegraph/hugegraph-common)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.hugegraph/hugegraph-common/badge.svg)](https://mvnrepository.com/artifact/org.apache.hugegraph/hugegraph-common)
[![CodeQL](https://github.com/apache/incubator-hugegraph-commons/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/incubator-hugegraph-commons/actions/workflows/codeql-analysis.yml)
[![hugegraph-commons ci](https://github.com/apache/incubator-hugegraph-commons/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/incubator-hugegraph-commons/actions/workflows/ci.yml)
[![CodeQL](https://github.com/apache/hugegraph-commons/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/hugegraph-commons/actions/workflows/codeql-analysis.yml)
[![hugegraph-commons ci](https://github.com/apache/hugegraph-commons/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/hugegraph-commons/actions/workflows/ci.yml)


hugegraph-commons is a common module for [HugeGraph](https://github.com/apache/hugegraph) and its peripheral components.
Expand Down Expand Up @@ -49,7 +49,7 @@ And here are links of other repositories:
- Note: It's recommended to use [GitHub Desktop](https://desktop.github.com/) to greatly simplify the PR and commit process.
- Thank you to all the people who already contributed to HugeGraph!

[![contributors graph](https://contrib.rocks/image?repo=apache/hugegraph-commons)](https://github.com/apache/incubator-hugegraph-commons/graphs/contributors)
[![contributors graph](https://contrib.rocks/image?repo=apache/hugegraph-commons)](https://github.com/apache/hugegraph-commons/graphs/contributors)

## Licence

Expand All @@ -59,8 +59,8 @@ Same as HugeGraph, hugegraph-commons are also licensed under [Apache 2.0](./LICE

---

- [GitHub Issues](https://github.com/apache/incubator-hugegraph-commons/issues): Feedback on usage issues and functional requirements (quick response)
- [GitHub Issues](https://github.com/apache/hugegraph-commons/issues): Feedback on usage issues and functional requirements (quick response)
- Feedback Email: [dev@hugegraph.apache.org](mailto:dev@hugegraph.apache.org) ([subscriber](https://hugegraph.apache.org/docs/contribution-guidelines/subscribe/) only)
- WeChat public account: Apache HugeGraph, welcome to scan this QR code to follow us.

<img src="https://raw.githubusercontent.com/apache/incubator-hugegraph-doc/master/assets/images/wechat.png" alt="QR png" width="350"/>
<img src="https://raw.githubusercontent.com/apache/hugegraph-doc/master/assets/images/wechat.png" alt="QR png" width="350"/>
2 changes: 1 addition & 1 deletion hugegraph-commons/hugegraph-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<artifactId>hugegraph-common</artifactId>
<name>${project.artifactId}</name>
<url>https://github.com/apache/incubator-hugegraph-commons/tree/master/hugegraph-common</url>
<url>https://github.com/apache/hugegraph-commons/tree/master/hugegraph-common</url>
<description>
hugegraph-common is a common module for HugeGraph and its peripheral components.
hugegraph-common encapsulates locks, configurations, events, iterators, rest and some
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void testPostWithTokenAndAllParams() {

@Test
public void testPostHttpsWithAllParams() {
String url = "https://github.com/apache/incubator-hugegraph-doc/" +
String url = "https://github.com/apache/hugegraph-doc/" +
"raw/master/dist/commons/cacerts.jks";
String trustStoreFile = "src/test/resources/cacerts.jks";
BaseUnitTest.downloadFileByUrl(url, trustStoreFile);
Expand All @@ -129,7 +129,7 @@ public void testPostHttpsWithAllParams() {

@Test
public void testPostHttpsWithTokenAndAllParams() {
String url = "https://github.com/apache/incubator-hugegraph-doc/" +
String url = "https://github.com/apache/hugegraph-doc/" +
"raw/master/dist/commons/cacerts.jks";
String trustStoreFile = "src/test/resources/cacerts.jks";
BaseUnitTest.downloadFileByUrl(url, trustStoreFile);
Expand Down
4 changes: 2 additions & 2 deletions hugegraph-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

<developers>
<developer>
<id>Apache Hugegraph(Incubating)</id>
<id>Apache HugeGraph</id>
<email>dev-subscribe@hugegraph.apache.org</email>
<url>https://hugegraph.apache.org/</url>
</developer>
Expand All @@ -61,7 +61,7 @@
<name>Developer List</name>
<subscribe>dev-subscribe@hugegraph.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@hugegraph.apache.org</unsubscribe>
<post>dev@hugegraph.incubator.apache.org</post>
<post>dev@hugegraph.apache.org</post>
</mailingList>
<mailingList>
<name>Commits List</name>
Expand Down
6 changes: 3 additions & 3 deletions hugegraph-pd/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ mvn clean install

# Build distribution package only
mvn clean package -pl hg-pd-dist -am -DskipTests
# Output: hg-pd-dist/target/apache-hugegraph-pd-incubating-<version>.tar.gz
# Output: hg-pd-dist/target/apache-hugegraph-pd-<version>.tar.gz
```

### Running Tests
Expand Down Expand Up @@ -165,7 +165,7 @@ mvn clean

After building, extract the tarball:
```
apache-hugegraph-pd-incubating-<version>/
apache-hugegraph-pd-<version>/
├── bin/
│ ├── start-hugegraph-pd.sh # Start PD server
│ ├── stop-hugegraph-pd.sh # Stop PD server
Expand All @@ -183,7 +183,7 @@ apache-hugegraph-pd-incubating-<version>/
### Starting PD

```bash
cd apache-hugegraph-pd-incubating-<version>/
cd apache-hugegraph-pd-<version>/
bin/start-hugegraph-pd.sh

# With custom GC options
Expand Down
2 changes: 1 addition & 1 deletion hugegraph-pd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN mvn package $MAVEN_ARGS -e -B -ntp -Dmaven.test.skip=true -Dmaven.javadoc.sk
# Note: ZGC (The Z Garbage Collector) is only supported on ARM-Mac with java > 13
FROM eclipse-temurin:11-jre-jammy

COPY --from=build /pkg/hugegraph-pd/apache-hugegraph-pd-incubating-*/ /hugegraph-pd/
COPY --from=build /pkg/hugegraph-pd/apache-hugegraph-pd-*/ /hugegraph-pd/
LABEL maintainer="HugeGraph Docker Maintainers <dev@hugegraph.apache.org>"

# TODO: use g1gc or zgc as default
Expand Down
2 changes: 1 addition & 1 deletion hugegraph-pd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<properties>
<log4j2.version>2.17.0</log4j2.version>
<final.name>apache-${release.name}-pd-incubating-${project.version}</final.name>
<final.name>apache-${release.name}-pd-${project.version}</final.name>
<commons-lang3.version>3.12.0</commons-lang3.version>
<junit.version>4.13.2</junit.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion hugegraph-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN mvn package $MAVEN_ARGS -e -B -ntp -Dmaven.test.skip=true -Dmaven.javadoc.sk
# Note: ZGC (The Z Garbage Collector) is only supported on ARM-Mac with java > 13
FROM eclipse-temurin:11-jre-jammy

COPY --from=build /pkg/hugegraph-server/apache-hugegraph-server-incubating-*/ /hugegraph-server/
COPY --from=build /pkg/hugegraph-server/apache-hugegraph-server-*/ /hugegraph-server/
LABEL maintainer="HugeGraph Docker Maintainers <dev@hugegraph.apache.org>"

# TODO: use g1gc or zgc as default
Expand Down
2 changes: 1 addition & 1 deletion hugegraph-server/Dockerfile-hstore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN mvn package $MAVEN_ARGS -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true &&
# Note: ZGC (The Z Garbage Collector) is only supported on ARM-Mac with java > 13
FROM eclipse-temurin:11-jre-jammy

COPY --from=build /pkg/hugegraph-server/apache-hugegraph-server-incubating-*/ /hugegraph-server/
COPY --from=build /pkg/hugegraph-server/apache-hugegraph-server-*/ /hugegraph-server/
# remove hugegraph.properties and rename hstore.properties.template for default hstore backend
RUN cd /hugegraph-server/conf/graphs \
&& rm hugegraph.properties && mv hstore.properties.template hugegraph.properties
Expand Down
2 changes: 1 addition & 1 deletion hugegraph-server/hugegraph-dist/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ If you want to customize the preloaded data, please mount the groovy scripts (no

2. Using docker compose

We can also use `docker-compose up -d` to quickly start. The `docker-compose.yaml` is below. [example.groovy](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy) is a pre-defined script. If needed, we can mount a new `example.groovy` to preload different data:
We can also use `docker-compose up -d` to quickly start. The `docker-compose.yaml` is below. [example.groovy](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy) is a pre-defined script. If needed, we can mount a new `example.groovy` to preload different data:

```yaml
version: '3'
Expand Down
Loading
Loading