diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e6c87dd2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# https://editorconfig.org +# Mirrors the line-ending normalization from .gitattributes. +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 4 + +[*.{yml,yaml}] +indent_size = 2 + +# Markdown uses trailing spaces for hard line breaks. +[*.md] +trim_trailing_whitespace = false + +# Make requires real tabs. +[Makefile] +indent_style = tab diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..450cfae2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,50 @@ +name: Bug report +description: Report a problem with MoonProto +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to file a report. Please fill in the details below. + - type: input + id: version + attributes: + label: Version + description: "The `moonproto` crate version, or the git commit SHA." + placeholder: "commit sha" + validations: + required: true + - type: dropdown + id: os + attributes: + label: Operating system + options: + - Windows + - macOS + - Linux + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: textarea + id: behavior + attributes: + label: Expected vs. actual behavior + validations: + required: true + - type: textarea + id: logs + attributes: + label: Logs + description: Relevant log output, error messages, or backtraces. + render: text + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..77823acf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Moonbot + url: https://moonbot.pro + about: Product information and the Moonbot kernel. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..d35c3456 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,23 @@ +name: Feature request +description: Suggest an idea or improvement for MoonProto +labels: ["enhancement"] +body: + - type: textarea + id: problem + attributes: + label: Problem or motivation + description: What are you trying to do, and what gets in the way? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed solution + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + validations: + required: false diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..88e0bf27 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +version: 2 +updates: + # Keep Cargo dependencies up to date. + - package-ecosystem: "cargo" + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "deps"