Skip to content

Commit 539e316

Browse files
committed
chore: align repo conventions
1 parent 9b20f55 commit 539e316

20 files changed

+202
-119
lines changed

Diff for: .github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# CODEOWNERS info: https://help.github.com/en/articles/about-code-owners
22
# Owners are automatically requested for review for PRs that changes code
33
# that they own.
4-
* @dgraph-io/committers
4+
* @hypermodeinc/database

Diff for: .github/ISSUE_TEMPLATE/bug_report.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
## Describe the bug
10+
11+
A clear and concise description of what the bug is.
12+
13+
## To Reproduce
14+
15+
Steps to reproduce the behavior:
16+
17+
1. Go to '...'
18+
2. Click on '....'
19+
3. Scroll down to '....'
20+
4. See error
21+
22+
## Expected behavior
23+
24+
A clear and concise description of what you expected to happen.
25+
26+
## Screenshots
27+
28+
If applicable, add screenshots to help explain your problem.
29+
30+
## Environment
31+
32+
- OS: [e.g. macOS, Windows, Ubuntu]
33+
- Language [e.g. AssemblyScript, Go]
34+
- Version [e.g. v0.xx]
35+
36+
## Additional context
37+
38+
Add any other context about the problem here.

Diff for: .github/ISSUE_TEMPLATE/bug_report.yml

-56
This file was deleted.

Diff for: .github/ISSUE_TEMPLATE/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Dgraph Community Support
4-
url: https://discuss.dgraph.io
5-
about: Please ask and answer questions here.
4+
url: https://discord.hypermode.com
5+
about: Please ask and answer questions here

Diff for: .github/ISSUE_TEMPLATE/feature_request.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
## Is your feature request related to a problem? Please describe
10+
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
## Describe the solution you'd like
14+
15+
A clear and concise description of what you want to happen.
16+
17+
## Describe alternatives you've considered
18+
19+
A clear and concise description of any alternative solutions or features you've considered.
20+
21+
## Additional context
22+
23+
Add any other context or screenshots about the feature request here.

Diff for: .github/ISSUE_TEMPLATE/feature_request.yml

-42
This file was deleted.

Diff for: .github/PULL_REQUEST_TEMPLATE.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
**Description**
2+
3+
Please explain the changes you made here.
4+
5+
**Checklist**
6+
7+
- [ ] Code compiles correctly and linting passes locally
8+
- [ ] For all _code_ changes, an entry added to the `CHANGELOG.md` file describing and linking to
9+
this PR
10+
- [ ] Tests added for new functionality, or regression tests for bug fixes added as applicable
11+
- [ ] For public APIs, new features, etc., PR on
12+
[docs repo](https://github.com/dgraph-io/dgraph-docs) staged and linked here
13+
14+
**Instructions**
15+
16+
- The PR title should follow the [Conventional Commits](https://www.conventionalcommits.org/)
17+
syntax, leading with `fix:`, `feat:`, `chore:`, `ci:`, etc.
18+
- The description should briefly explain what the PR is about. In the case of a bugfix, describe or
19+
link to the bug.
20+
- In the checklist section, check the boxes in that are applicable, using `[x]` syntax.
21+
- If not applicable, remove the entire line. Only leave the box unchecked if you intend to come
22+
back and check the box later.
23+
- Delete the `Instructions` line and everything below it, to indicate you have read and are
24+
following these instructions. 🙂
25+
26+
Thank you for your contribution to Dgraph!

Diff for: .github/renovate.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["local>hypermodeinc/renovate-config"]
4+
}

Diff for: .github/workflows/stale.yml

-18
This file was deleted.

Diff for: .trunk/.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*out
2+
*logs
3+
*actions
4+
*notifications
5+
*tools
6+
plugins
7+
user_trunk.yaml
8+
user.yaml
9+
tmp

Diff for: .trunk/configs/.checkov.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
skip-check:
2+
- CKV_GHA_7

Diff for: .trunk/configs/.hadolint.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Following source doesn't work in most setups
2+
ignored:
3+
- SC1090
4+
- SC1091

Diff for: .trunk/configs/.markdownlint.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"line-length": { "line_length": 150, "tables": false },
3+
"no-inline-html": false,
4+
"no-bare-urls": false,
5+
"no-space-in-emphasis": false,
6+
"no-emphasis-as-heading": false,
7+
"first-line-heading": false
8+
}

Diff for: .trunk/configs/.prettierrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": false,
3+
"proseWrap": "always",
4+
"printWidth": 100
5+
}

Diff for: .trunk/configs/.shellcheckrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
enable=all
2+
source-path=SCRIPTDIR
3+
disable=SC2154
4+
5+
# If you're having issues with shellcheck following source, disable the errors via:
6+
# disable=SC1090
7+
# disable=SC1091

Diff for: .trunk/configs/.yamllint.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
rules:
2+
quoted-strings:
3+
required: only-when-needed
4+
extra-allowed: ["{|}"]
5+
key-duplicates: {}
6+
octal-values:
7+
forbid-implicit-octal: true

Diff for: .trunk/configs/svgo.config.mjs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export default {
2+
plugins: [
3+
{
4+
name: "preset-default",
5+
params: {
6+
overrides: {
7+
removeViewBox: false, // https://github.com/svg/svgo/issues/1128
8+
sortAttrs: true,
9+
removeOffCanvasPaths: true,
10+
},
11+
},
12+
},
13+
],
14+
}

Diff for: .trunk/trunk.yaml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
2+
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
3+
version: 0.1
4+
cli:
5+
version: 1.22.10
6+
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
7+
plugins:
8+
sources:
9+
- id: trunk
10+
ref: v1.6.7
11+
uri: https://github.com/trunk-io/plugins
12+
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
13+
runtimes:
14+
enabled:
15+
16+
17+
18+
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
19+
lint:
20+
enabled:
21+
22+
23+
24+
25+
- git-diff-check
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
actions:
39+
enabled:
40+
- trunk-announce
41+
- trunk-check-pre-push
42+
- trunk-fmt-pre-commit
43+
- trunk-upgrade-available

Diff for: .vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["trunk.io"]
3+
}

Diff for: .vscode/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.defaultFormatter": "trunk.io",
4+
"editor.trimAutoWhitespace": true,
5+
"trunk.autoInit": false
6+
}

0 commit comments

Comments
 (0)