This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git
The following commit(s) were added to refs/heads/master by this push:
new a99ddd67 chore: update a string of ci configs & gitignore & README
(#189)
a99ddd67 is described below
commit a99ddd6736efa3270e337dca33f4f1de88e39bba
Author: imbajin <[email protected]>
AuthorDate: Tue Nov 1 17:01:43 2022 +0800
chore: update a string of ci configs & gitignore & README (#189)
---
.github/ISSUE_TEMPLATE/bug_report.yml | 2 +-
.github/ISSUE_TEMPLATE/config.yml | 4 +-
.github/ISSUE_TEMPLATE/question_ask.yml | 2 +-
.travis.yml => .github/outdated/.travis.yml | 0
.github/{workflows => outdated}/cla.yml | 0
.github/workflows/ci.yml | 18 ++----
.github/workflows/codeql-analysis.yml | 12 ++--
.github/workflows/publish_images.yml | 1 +
.github/workflows/release.yml | 6 +-
.github/workflows/stale.yml | 6 +-
.gitignore | 86 +++++++++++++++++++++++++----
README.md | 26 ++++++---
12 files changed, 118 insertions(+), 45 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml
b/.github/ISSUE_TEMPLATE/bug_report.yml
index 6093e335..d24751ba 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -29,7 +29,7 @@ body:
- exception / error (运行异常)
- data inconsistency (计算结果不合预期)
- logic (逻辑设计问题)
- - performence (性能下降)
+ - performance (性能下降)
- others (please edit later)
- type: checkboxes
diff --git a/.github/ISSUE_TEMPLATE/config.yml
b/.github/ISSUE_TEMPLATE/config.yml
index 25ae399c..e02999b6 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -4,8 +4,8 @@ blank_issues_enabled: false
contact_links:
- name: HugeGraph Computer Doc
# TODO: fill it after release
- url: https://hugegraph.github.io/hugegraph-doc/
+ url: https://hugegraph.apache.org/docs/
about: Please search question here before opening a new issue
- name: HugeGraph API Doc
- url: https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html
+ url: https://hugegraph.apache.org/docs/clients/
about: Please search usage here before opening a new issue
diff --git a/.github/ISSUE_TEMPLATE/question_ask.yml
b/.github/ISSUE_TEMPLATE/question_ask.yml
index a06595bf..27d891ea 100644
--- a/.github/ISSUE_TEMPLATE/question_ask.yml
+++ b/.github/ISSUE_TEMPLATE/question_ask.yml
@@ -28,7 +28,7 @@ body:
- algorithm (算法相关问题)
- configs (配置项 / 文档相关)
- data inconsistency (计算结果不合预期)
- - performence / logic (性能 / 逻辑优化)
+ - performance / logic (性能 / 逻辑优化)
- others (please edit later)
- type: checkboxes
diff --git a/.travis.yml b/.github/outdated/.travis.yml
similarity index 100%
rename from .travis.yml
rename to .github/outdated/.travis.yml
diff --git a/.github/workflows/cla.yml b/.github/outdated/cla.yml
similarity index 100%
rename from .github/workflows/cla.yml
rename to .github/outdated/cla.yml
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 43ac3d55..a8c4e94d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,14 +5,8 @@ on:
branches:
- master
- /^release-.*$/
- - /^test-.*$/
- /^v[0-9]\..*$/
pull_request:
- branches:
- - master
- - /^release-.*$/
- - /^test-.*$/
- - /^v[0-9]\..*$/
jobs:
computer-ci:
@@ -24,18 +18,18 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Install JDK 8
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
- name: Setup Python3
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Setup HDFS
@@ -50,7 +44,7 @@ jobs:
curl localhost:9000
kubectl get nodes
- name: Cache Maven packages
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -62,7 +56,7 @@ jobs:
$TRAVIS_DIR/install-hugegraph-from-source.sh
$HUGEGRAPH_SERVER_COMMIT_ID | grep -v "Downloading\|Downloaded"
$TRAVIS_DIR/load-data-into-hugegraph.sh
- name: Install JDK 11
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'zulu'
@@ -77,6 +71,6 @@ jobs:
run: mvn test -P unit-test
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v1
+ uses: codecov/[email protected]
with:
file: target/site/jacoco/jacoco.xml
diff --git a/.github/workflows/codeql-analysis.yml
b/.github/workflows/codeql-analysis.yml
index d2bb3b8d..52c1307a 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -6,8 +6,8 @@ on:
push:
branches: [ master, release-*, v0.* ]
pull_request:
- # The branches below must be a subset of the branches above
- branches: [ master ]
+ # The branches below must be a subset of the branches above, now enable it
in all PR
+ # branches: [ master ]
schedule:
- cron: '45 7 * * 1'
@@ -27,11 +27,11 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v1
+ uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a
config file.
@@ -42,7 +42,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually
(see below)
- name: Autobuild
- uses: github/codeql-action/autobuild@v1
+ uses: github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -56,4 +56,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/publish_images.yml
b/.github/workflows/publish_images.yml
index d36977dd..608c9a74 100644
--- a/.github/workflows/publish_images.yml
+++ b/.github/workflows/publish_images.yml
@@ -1,5 +1,6 @@
name: publish hugegraph-computer images
+# TODO: could we use this action now? (if not, what shall we do?)
on:
push:
branches:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f06408b3..95c2ff9d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,20 +9,20 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Install JDK 11
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Cache Maven packages
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 2
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 1813bd3c..73f46247 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -20,14 +20,16 @@ jobs:
stale-pr-message: 'Due to the lack of activity, the current pr is
marked as stale and will be closed after 180 days, any update will remove the
stale label'
stale-issue-label: 'inactive'
stale-pr-label: 'inactive'
- exempt-issue-labels: 'feature,bug,enhancement,improvement,wontfix,todo'
+ exempt-issue-labels:
'feature,bug,enhancement,improvement,wontfix,todo,help wanted,security'
+ exempt-pr-labels:
'feature,bug,enhancement,improvement,wontfix,todo,help wanted,security'
+ exempt-all-milestones: true
days-before-issue-stale: 15
days-before-issue-close: 20
days-before-pr-stale: 30
days-before-pr-close: 180
operations-per-run: 10
- start-date: '2018-12-01T00:00:00Z'
+ start-date: '2018-10-01T00:00:00Z'
exempt-all-assignees: true
remove-stale-when-updated: true
diff --git a/.gitignore b/.gitignore
index e625f6ed..722dfcf5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,53 @@
-.DS_Store
-*.iml
+target/
+**.db
+logs/
+ui
+node_modules
+upload-files/
+demo*
+gen-java
+build
+*.class
+**/dependency-reduced-pom.xml
+
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+.svn
+
+### IntelliJ IDEA ###
+.idea
+.idea/
*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+
+### VS Code ###
+.vscode/
+
+# misc
+.DS_Store
+*/.DS_Store
+**/*.DS_Store
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
+
*.orig
*.rej
**/.keep
@@ -10,12 +57,29 @@
*.swp
*.log
*.pyc
-.idea
-.svn
-.classpath
-.project
-.settings
-target
-gen-java
-build
-**/dependency-reduced-pom.xml
+
+# maven ignore
+output/
+*.war
+*.zip
+*.tar
+*.tar.gz
+tree.txt
+*.versionsBackup
+
+# eclipse ignore
+.settings/
+
+# temp ignore
+*.cache
+*.diff
+*.patch
+*.tmp
+
+# system ignore
+Thumbs.db
+hs_err_pid*
+# mobile Tools for Java (J2ME)
+.mtj.tmp/
+# blueJ files
+*.ctxt
diff --git a/README.md b/README.md
index efd9252b..769b5b9c 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,35 @@
# hugegraph-computer
[](https://www.apache.org/licenses/LICENSE-2.0.html)
-[](https://github.com/hugegraph/hugegraph-computer/actions/workflows/ci.yml)
-[](https://codecov.io/gh/hugegraph/hugegraph-computer)
+[](https://github.com/apache/hugegraph-computer/actions/workflows/ci.yml)
+[](https://codecov.io/gh/apache/hugegraph-computer)
[](https://hub.docker.com/repository/docker/hugegraph/hugegraph-builtin-algorithms)
-hugegraph-computer is a distributed graph processing system for hugegraph. It
is an implementaion of
[Pregel](https://kowshik.github.io/JPregel/pregel_paper.pdf). It runs on
Kubernetes or YARN framework.
+hugegraph-computer is a distributed graph processing system for hugegraph. It
is an implementation of
[Pregel](https://kowshik.github.io/JPregel/pregel_paper.pdf). It runs on
Kubernetes or YARN framework.
## Features
- Based on BSP(Bulk Synchronous Parallel) model, every iteration is a
superstep.
-- Auto memory management. The framework will spilt some data to disk, the
framework will never OOM(Out of Memory).
-- The the part of edges or the messages of super node can be in memory, so you
will never loss it.
+- Auto memory management. The framework will split some data to disk, the
framework will never OOM(Out of Memory).
+- The part of edges or the messages of super node can be in memory, so you
will never lose it.
- You can output the result to HDFS or HugeGraph, or any other system.
-- Easy to develop a new algotirhm. You need to focus on a vertex only, not to
worry about messages transfering and memory.
+- Easy to develop a new algorithm. You need to focus on a vertex only, not to
worry about messages transferring and memory.
## Learn More
-The [project homepage](https://hugegraph.github.io/hugegraph-doc/) contains
more information about hugegraph-computer.
+The [project homepage](https://hugegraph.apache.org/docs/) contains more
information about hugegraph-computer.
+
+And here are links of other repositories:
+1. [hugegraph-server](https://github.com/apache/hugegraph) (graph's core
component - OLTP server)
+2. [hugegraph-toolchain](https://github.com/apache/hugegraph-toolchain)
(include loader/dashboard/tool/client)
+3. [hugegraph-commons](https://github.com/apache/hugegraph-commons) (include
common & rpc module)
+4. [hugegraph-website](https://github.com/apache/hugegraph-doc) (include doc &
website code)
+
+## Contributing
+
+Welcome to contribute, please see [`How to
Contribute`](https://github.com/apache/hugegraph/blob/master/CONTRIBUTING.md)
for more information
+
+Note: It's recommended to use [GitHub Desktop](https://desktop.github.com/) to
**greatly simplify** the PR and commit process.
## License