Skip to content

Commit c31fdb1

Browse files
committed
Rewrite in Antora
1 parent a116289 commit c31fdb1

File tree

358 files changed

+32465
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+32465
-0
lines changed

.bazelrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
build --incompatible_strict_action_env --java_language_version=11 --javacopt='--release 11'
3+
run --incompatible_strict_action_env
4+
test --incompatible_strict_action_env --test_env=PATH
5+

.bazelversion

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.1.1

.factory/automation.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
config:
2+
version-candidate: VERSION
3+
dependencies:
4+
dependencies: [build]
5+
6+
build:
7+
correctness:
8+
deploy-development:
9+
filter:
10+
owner: vaticle
11+
branch: development
12+
image: vaticle-ubuntu-21.04
13+
type: foreground
14+
command: |
15+
export RELEASE_DOCS_USERNAME=$REPO_GITHUB_USERNAME
16+
export RELEASE_DOCS_EMAIL=$REPO_GITHUB_EMAIL
17+
export RELEASE_DOCS_TOKEN=$REPO_GITHUB_TOKEN
18+
bazel run @vaticle_dependencies//tool/release:docs -- $FACTORY_OWNER typedb-web-docs development $FACTORY_REPO content $FACTORY_COMMIT
19+
deploy-production:
20+
filter:
21+
owner: vaticle
22+
branch: master
23+
image: vaticle-ubuntu-21.04
24+
type: foreground
25+
command: |
26+
export RELEASE_DOCS_USERNAME=$REPO_GITHUB_USERNAME
27+
export RELEASE_DOCS_EMAIL=$REPO_GITHUB_EMAIL
28+
export RELEASE_DOCS_TOKEN=$REPO_GITHUB_TOKEN
29+
bazel run @vaticle_dependencies//tool/release:docs -- $FACTORY_OWNER typedb-web-docs master $FACTORY_REPO content $FACTORY_COMMIT
30+
execution:
31+
- deploy-development
32+
- deploy-production

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @alexjpwalker

.github/ISSUE_TEMPLATE/BUG_REPORT.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug here, or visit discuss.vaticle.com for troubleshooting discussions
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
Please replace every line in curly brackets { like this } with appropriate answers, and remove this line.
11+
12+
## Description
13+
14+
{ Please provide a clear and concise description of the bug. }
15+
16+
## Location of Content
17+
18+
{ Please provide the link to the specific part of the page in question. }
19+
20+
## Expected Content
21+
22+
{ Please describe what you expected to happen. }
23+
24+
## Actual Content
25+
26+
{ Please describe what actually happened. }
27+
28+
## Additional information
29+
30+
{ Any additional information, including logs or screenshots if you have any. }
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Feature Request
3+
about: Request a feature here, or visit discuss.vaticle.com for ideas and questions
4+
title: ''
5+
labels: feature
6+
assignees: ''
7+
8+
---
9+
10+
Please replace every line in curly brackets { like this } with appropriate answers, and remove this line.
11+
12+
## Problem to Solve
13+
14+
{ Please describe the problem you would like to solve. }
15+
16+
## Current Workaround
17+
18+
{ Please describe how you currently solve or work around this problem, given TypeDB's limitation. }
19+
20+
## Proposed Solution
21+
22+
{ Please describe the solution you would like TypeDB to provide, to solve the problem above. }
23+
24+
## Additional Information
25+
26+
{ Any additional information, including logs or screenshots if you have any. }

.github/ISSUE_TEMPLATE/REFACTOR.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Refactor
3+
about: Propose an architecture refactor here
4+
title: ''
5+
labels: refactor
6+
assignees: ''
7+
8+
---
9+
10+
Please replace every line in curly brackets { like this } with appropriate answers, and remove this line.
11+
12+
## Problem to Solve
13+
14+
{ Please describe the problem with the current architecture that you would like to solve. }
15+
16+
## Proposed Solution
17+
18+
{ Please describe how you would like to change the architecture, to solve the problem above. }

.github/pull_request_template.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
**For the title of this PR:** please follow the grammatical rules of a usual publication title, without capitalisation (except for the first letter). Thus, the title should NOT CONTAIN CODE: no dots, no parentheses, no backticks, no brackets, etc. It needs to be distinctive (not detailed) and succinct (not lengthy). Details of this PR will go in the description. **For the description of this PR:** please replace every line in curly brackets ( { like this } ) with an appropriate description following the guidance. Finally, **please remove this paragraph**.
2+
3+
## What is the goal of this PR?
4+
5+
{ In the form of a paragraph (only use bullet points if strictly necessary), please describe the goal of this PR, why they are valuable to achieve, and reference the related GitHub issues. This section will be automatically compiled into the release notes, so please:
6+
- describe the impact of the change in this PR to the _user_ of this repository (e.g. end user, contributor, developer).
7+
- describe the new product behaviour in _present tense_, and the old behaviour and how it's been changed in _past tense_.
8+
- Use the _Royal We_: _"We"_ made changes, not _"I"_ made changes. }
9+
10+
## What are the changes implemented in this PR?
11+
12+
{ Please explain what you implemented, why your changes are the best way to achieve the goal(s) above. Please describe every method, class and package, by explaining:
13+
- its responsibility,
14+
- how it's expected to behave, and
15+
- how it relates to the adjacent methods/classes/packages it interacts with.
16+
17+
This would allow the reviewer to understand your intentions in the code much better. If you're adding new classes, make sure these explanations are also included in the class header comments. Last but not least, please reference the GitHub issues to be automatically closed, such like 'closes #number'. }

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## misc
2+
.DS_Store
3+
dist/
4+
5+
## bazel directories
6+
bazel-bin
7+
bazel-docs
8+
bazel-out
9+
bazel-testlogs
10+
bazel-*
11+
.ijwb
12+
.idea

BUILD

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
## this filegroup exposes all .md files that are placed under the sub-directories of the root directory (where this BUILD file is located at)
2+
## given the directory structure below, test-1.md and test-2.md are INCLUDED. test-0.md is EXCLUDED.
3+
## root_directory:
4+
## test-0.md
5+
## sub-directory:
6+
## test-1.md
7+
## sub-sub-dir:
8+
## test-2.md
9+
10+
load("@vaticle_typedb_common//test:rules.bzl", "native_typedb_artifact")
11+
load("@vaticle_bazel_distribution//artifact:rules.bzl", "artifact_extractor")
12+
13+
filegroup(
14+
name = "content",
15+
srcs = glob(
16+
["*/**/*.md"],
17+
exclude=[
18+
"bazel-*/**/*.md",
19+
".runfiles/**/*.md"
20+
]
21+
),
22+
visibility = ["//visibility:public"]
23+
)
24+
25+
filegroup(
26+
name = "template",
27+
srcs = glob(
28+
["*/**/*.yml"],
29+
exclude=[
30+
"bazel-bin/**/*.yml",
31+
"bazel-out/**/*.yml",
32+
"bazel-docs/**/*.yml",
33+
".runfiles/**/*.yml"
34+
]
35+
),
36+
visibility = ["//visibility:public"]
37+
)
38+
39+
filegroup(
40+
name = "autolink-keywords",
41+
srcs = ["views/autolink-keywords.js"],
42+
visibility = ["//visibility:public"]
43+
)
44+
45+
native_typedb_artifact(
46+
name = "native-typedb-artifact",
47+
mac_artifact = "@vaticle_typedb_artifact_mac//file",
48+
linux_artifact = "@vaticle_typedb_artifact_linux//file",
49+
windows_artifact = "@vaticle_typedb_artifact_windows//file",
50+
output = "typedb-server-native.tar.gz",
51+
visibility = ["//test:__subpackages__"],
52+
)
53+
54+
artifact_extractor(
55+
name = "typedb-extractor",
56+
artifact = ":native-typedb-artifact",
57+
)
58+
59+
# CI targets that are not declared in any BUILD file, but are called externally
60+
filegroup(
61+
name = "ci",
62+
data = [
63+
"@vaticle_dependencies//tool/bazelrun:rbe",
64+
"@vaticle_dependencies//tool/unuseddeps:unused-deps",
65+
"@vaticle_dependencies//tool/release:docs",
66+
],
67+
)

0 commit comments

Comments
 (0)