Skip to content

Commit

Permalink
chore: repo alignment (#260)
Browse files Browse the repository at this point in the history
align repo to Hypermode:

- issue templates
- PR templates
- code of conduct
- Renovate for dependency management
- Trunk (with fixes)
  • Loading branch information
ryanfoxtyler authored Jan 22, 2025
1 parent 09b3b9e commit 1ddf473
Show file tree
Hide file tree
Showing 74 changed files with 27,753 additions and 27,140 deletions.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# CODEOWNERS info: https://help.github.com/en/articles/about-code-owners
# Owners are automatically requested for review for PRs that changes code
# that they own.
* @dgraph-io/committers

* @hypermodeinc/database
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: bug
assignees: ""
---

## Describe the bug

A clear and concise description of what the bug is.

## To Reproduce

Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## Expected behavior

A clear and concise description of what you expected to happen.

## Screenshots

If applicable, add screenshots to help explain your problem.

## Environment

- OS: [e.g. macOS, Windows, Ubuntu]
- Language [e.g. AssemblyScript, Go]
- Version [e.g. v0.xx]

## Additional context

Add any other context about the problem here.
62 changes: 0 additions & 62 deletions .github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Dgraph Community Support
url: https://discord.hypermode.com
about: Please ask and answer questions here
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/documentation_request.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: ""
assignees: ""
---

## Is your feature request related to a problem? Please describe

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

## Describe the solution you'd like

A clear and concise description of what you want to happen.

## Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

## Additional context

Add any other context or screenshots about the feature request here.
49 changes: 0 additions & 49 deletions .github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/question.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
**Description**

Please explain the changes you made here.

**Checklist**

- [ ] Code compiles correctly and linting passes locally
- [ ] For all _code_ changes, an entry added to the `CHANGELOG.md` file describing and linking to
this PR
- [ ] Tests added for new functionality, or regression tests for bug fixes added as applicable
- [ ] For public APIs, new features, etc., PR on
[docs repo](https://github.com/dgraph-io/dgraph-docs) staged and linked here

**Instructions**

- The PR title should follow the [Conventional Commits](https://www.conventionalcommits.org/)
syntax, leading with `fix:`, `feat:`, `chore:`, `ci:`, etc.
- The description should briefly explain what the PR is about. In the case of a bugfix, describe or
link to the bug.
- In the checklist section, check the boxes in that are applicable, using `[x]` syntax.
- If not applicable, remove the entire line. Only leave the box unchecked if you intend to come
back and check the box later.
- Delete the `Instructions` line and everything below it, to indicate you have read and are
following these instructions. 🙂

Thank you for your contribution to Dgraph!
4 changes: 4 additions & 0 deletions .github/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
self-hosted-runner:
# Labels of self-hosted runner in array of string
labels:
- warp-ubuntu-latest-x64-4x
28 changes: 0 additions & 28 deletions .github/dependabot.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>hypermodeinc/renovate-config"]
}
22 changes: 12 additions & 10 deletions .github/workflows/cd-pydgraph.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: cd-pydgraph

on:
workflow_dispatch:
inputs:
releasetag:
description: 'releasetag'
description: releasetag
required: true
type: string

permissions:
contents: read

jobs:
pydgraph-build:
runs-on: ubuntu-20.04
runs-on: warp-ubuntu-latest-x64-16x
steps:
- uses: actions/checkout@v4
with:
ref: '${{ github.event.inputs.releasetag }}'
- name: Get Python Version
run: |
#!/bin/bash
PYTHON_VERSION=$({ [ -f .python-version ] && cat .python-version; })
echo "PYTHON_VERSION=$PYTHON_VERSION" >> $GITHUB_ENV
ref: "${{ github.event.inputs.releasetag }}"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version-file: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -38,4 +38,6 @@ jobs:
# build binary wheel and a source tarball
python -m build
- name: Upload to PyPi
run: twine upload --username ${{ secrets.DGRAPH_PYPI_USERNAME }} --password ${{ secrets.DGRAPH_PYPI_PASSWORD }} dist/*
run:
twine upload --username ${{ secrets.DGRAPH_PYPI_USERNAME }} --password ${{
secrets.DGRAPH_PYPI_PASSWORD }} dist/*
37 changes: 0 additions & 37 deletions .github/workflows/ci-aqua-security-trivy-tests.yml

This file was deleted.

Loading

0 comments on commit 1ddf473

Please sign in to comment.