Skip to content

Commit

Permalink
Generate latest docs on CI, from commit 3b59a47.
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Mar 11, 2024
0 parents commit e77256e
Show file tree
Hide file tree
Showing 744 changed files with 287,958 additions and 0 deletions.
88 changes: 88 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
/*
* Copyright 2022-2023 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/


// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "GraphAr",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "registry.cn-hongkong.aliyuncs.com/graphscope/graphar-dev:latest",
// "image": "ubuntu:22.04",

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/common-utils:2":{
"installZsh": "true",
"configureZshAsDefaultShell": "true",
"installOhMyZsh": true,
"upgradePackages": "false"
}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {},
"extensions": [
"streetsidesoftware.code-spell-checker",
"eamodio.gitlens",
"github.copilot",
"github.copilot-labs"
]
}
},

// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "graphar",

// Use 'postCreateCommand' to run commands before the container is created.
"initializeCommand": "sudo docker pull registry.cn-hongkong.aliyuncs.com/graphscope/graphar-dev:latest",

// Uncomment this to enable C++ and Rust debugging in containers
// "capAdd": ["SYS_PTRACE"],
// "securityOpt": ["seccomp=unconfined"],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [3000],

// Use 'portsAttributes' to set default properties for specific forwarded ports.
// More info: https://containers.dev/implementors/json_reference/#port-attributes
// "portsAttributes": {
// "9000": {
// "label": "Hello Remote World",
// "onAutoForward": "notify"
// }
// },

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install"

// Improve performance

// Uncomment these to mount a folder to a volume
// https://code.visualstudio.com/remote/advancedcontainers/improve-performance#_use-a-targeted-named-volume
// "mounts": [
// "source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume"
// ],


// Uncomment these to use a named volume for your entire source tree
// https://code.visualstudio.com/remote/advancedcontainers/improve-performance#_use-a-named-volume-for-your-entire-source-tree
// "workspaceMount": "source=gs,target=/workspaces,type=volume",
// "workspaceFolder": "/workspaces"
"postCreateCommand": "sudo chown -R graphar /workspaces && bash pre-commit/install-hook.sh && bash pre-commit/prepare-commit-msg"
}
83 changes: 83 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
title = "Gitleaks for Vineyard"

[extend]
useDefault = true

[[rules]]
description = "Alibaba AccessKey ID"
id = "alibaba-access-key-id"
regex = '''(?i)((LTAI)[a-z0-9]+)'''
keywords = [
"ltai",
]

[[rules]]
description = "Alibaba AccessKey ID"
id = "alibaba-access-id-in-config"
regex = '''(?i)((access).?id\s*=\s*.+)'''
keywords = [
"access",
]

[[rules]]
description = "Alibaba AccessKey ID"
id = "alibaba-access-key-in-config"
regex = '''(?i)((access).?key\s*=\s*.+)'''
keywords = [
"access",
]

[[rules]]
description = "Alibaba AccessKey ID"
id = "alibaba-access-secret-in-config"
regex = '''(?i)((access).?secret\s*=\s*.+)'''
keywords = [
"access",
"secret",
]

[[rules]]
description = "Alibaba AccessKey ID"
id = "alibaba-access-key-id-in-config"
regex = '''(?i)((access).?key.?id\s*=\s*.+)'''
keywords = [
"access",
]

[rules.allowlist]
paths = [
'''modules/io/python/drivers/io/tests/test_open.py''',
'''modules/io/python/drivers/io/tests/test_serialize.py''',
]

[[rules]]
description = "Alibaba AccessKey ID"
id = "alibaba-access-key-secret-in-config"
regex = '''(?i)((access).?key.?secret\s*=\s*.+)'''
keywords = [
"access",
"secret",
]

[rules.allowlist]
paths = [
'''modules/io/python/drivers/io/tests/test_open.py''',
'''modules/io/python/drivers/io/tests/test_serialize.py''',
]

[[rules]]
description = "Alibaba AccessKey ID"
id = "alibaba-secret-access-key-in-config"
regex = '''(?i)((secret).?access.?key\s*=\s*.+)'''
keywords = [
"access",
"secret",
]

[allowlist]
paths = [
'''build''',
'''docs/_build''',
'''docs/_templates/footer.html''',
'''thirdparty''',
]
52 changes: 52 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
header:
license:
spdx-id: Apache-2.0
copyright-owner: Apache Software Foundation
content: |
Copyright 2022-2023 Alibaba Group Holding Limited.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
paths-ignore:
- 'dist'
- 'licenses'
- '**/*.md'
- 'LICENSE'
- 'NOTICE'
- 'testing'
- 'spark/graphar/src/test/resources'
- 'java/src/test/resources'
- '.licenserc.yaml'
- '.gitignore'
- '.gitleaks.toml'
- '.gitmodules'
- 'pre-commit-config.yaml'
- 'docs'
- '**/.gitignore'
- '**/.scalafix.conf'
- '**/.scalafmt.conf'
- 'cpp/apidoc'
- 'spark/datasources-32/src/main/scala/com/alibaba/graphar/datasources'
- 'spark/datasources-33/src/main/scala/com/alibaba/graphar/datasources'
- '*.md'
- '*.rst'
- '**/*.json'
- 'pyspark/poetry.lock' # This file is generated automatically by Poetry-tool; there is no way to add license header

comment: on-failure

# If you don't want to check dependencies' license compatibility, remove the following part
dependency:
files:
- spark/pom.xml # If this is a maven project.
- java/pom.xml # If this is a maven project.
Empty file added .nojekyll
Empty file.
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2022-2023 Alibaba Group Holding Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

repos:
- repo: https://github.com/zricethezav/gitleaks
rev: v8.15.0
hooks:
- id: gitleaks
args:
- '--verbose'

Binary file added _images/edge_logical_table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/edge_physical_table1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/edge_physical_table2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/property_graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/vertex_logical_table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/vertex_physical_table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e77256e

Please sign in to comment.