-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate latest docs on CI, from commit 2fe611d.
- Loading branch information
github-actions
committed
Mar 29, 2024
0 parents
commit 7492432
Showing
748 changed files
with
289,003 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you 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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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''', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
header: | ||
license: | ||
spdx-id: Apache-2.0 | ||
copyright-owner: Apache Software Foundation | ||
|
||
paths-ignore: | ||
- 'dist' | ||
- 'licenses' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
- 'DISCLAIMER' | ||
- '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' | ||
- 'cpp/thirdparty' | ||
- 'cpp/include/gar/external/result.hpp' | ||
- 'cpp/misc/cpplint.py' | ||
- 'spark/datasources-32/src/main/scala/org/apache/graphar/datasources' | ||
- 'spark/datasources-33/src/main/scala/org/apache/graphar/datasources' | ||
- 'java/src/main/java/org/apache/graphar/stdcxx/StdString.java' | ||
- 'java/src/main/java/org/apache/graphar/stdcxx/StdVector.java' | ||
- 'java/src/main/java/org/apache/graphar/stdcxx/StdSharedPtr.java' | ||
- 'java/src/main/java/org/apache/graphar/stdcxx/StdMap.java' | ||
- 'java/src/main/java/org/apache/graphar/stdcxx/StdUnorderedMap.java' | ||
- 'java/build.xml' | ||
- '*.md' | ||
- '**/*.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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you 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' | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.