Skip to content

Commit

Permalink
Merge pull request #2448 from 6r1d/main
Browse files Browse the repository at this point in the history
[documentation] #2446: improve issue templates
  • Loading branch information
6r1d committed Jul 8, 2022
2 parents 23662e2 + 67677ea commit 1ad7362
Show file tree
Hide file tree
Showing 6 changed files with 315 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Telegram
url: https://t.me/hyperledgeriroha
about: Hyperledger Iroha Community channel is a good place to ask questions about Iroha.
- name: Discord
url: https://discord.com/channels/905194001349627914/905205848547155968
about: There's also an Iroha channel on the Hyperledger Discord server.
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "\U0001F4D6 Documentation"
description: Submit a doc request or report outdated, incorrect, or insufficient documentation
title: "[documentation] "
labels: [ "Documentation", "iroha2" ]
body:
- type: textarea
id: doc-urls
attributes:
label: Documentation URL(s)
description: |
Tell us which page(s) should be updated or fixed
placeholder: https://github.com/hyperledger/iroha/blob/main/README.md
- type: textarea
id: improvement-section
attributes:
label: Description
description: Tell us what exactly needs to be improved, updated, or fixed in Iroha documentation
placeholder: |
The documentation for feature X is outdated.
validations:
required: true
- type: textarea
id: suggestion-text
attributes:
label: Your suggestions
description: Share your ideas on how to address the issue
placeholder: |
Feature X currently works in a different way: …
validations:
required: false
- type: input
id: who-can-help
attributes:
label: Who can help?
description: |
If you figure out the right person to tag, your issue might be resolved faster.
You can use `git blame` or tag the documentation owners:
* Ekaterina Mekhnetsova (`@outoftardis`)
* Victor Gridnevsky (`@6r1d`)
placeholder: "@Username ..."
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "\U0001F680 Feature / enhancement request"
description: Suggest a feature or an enhancement you'd like to see in Iroha
title: "[suggestion] "
labels: [ "Enhancement", "iroha2" ]
body:
- type: textarea
id: feature-request
attributes:
label: Feature request
description: |
Please describe a feature or an enhancement you'd like to see in Iroha. To better explain your idea, provide examples and as many relevant details as you can.
placeholder: |
I'd like Iroha 2 to …
validations:
required: true
- type: textarea
id: motivation
attributes:
label: Motivation
description: |
Outline the motivation for adding a new feature.
If your request is related to other issues, adding a link to those issues would be helpful.
placeholder: |
Iroha will be even more useful if …
validations:
required: true
- type: input
id: who-can-help
attributes:
label: Who can help?
description: |
If you figure out the right person to tag, your request might be addressed faster.
You can **tag** people from the following list based on the issue topic:
- WASM: Marin Veršić (`@mversic`)
- Triggers: Daniil Polyakov (`@Arjentix`)
- Theoretical questions: Shunkichi Sato (`@s8sato`)
- Other topics: Aleksandr Petrosyan (`@appetrosyan`)
placeholder: "@Username ..."
113 changes: 113 additions & 0 deletions .github/ISSUE_TEMPLATE/lts-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
name: "\U0001F41C Bug report: LTS version (iroha2-lts)"
description: Submit a bug you found in the LTS version of Iroha
title: "[BUG] "
labels: [ "Bug", "iroha2", "LTS" ]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this form! You may refer to the [contributing guide](https://github.com/hyperledger/iroha/blob/iroha2-dev/CONTRIBUTING.md#reporting-bugs) for further details on filling the bug reports.
Please be aware that SDK issues belong to other repositories:
- JavaScript library for Iroha, [`iroha-javascript`](https://github.com/hyperledger/iroha-javascript)
- Java 8 client library for Iroha, [`iroha-java`](https://github.com/hyperledger/iroha-java)
- type: input
id: commit-hash
attributes:
label: GIT commit hash
description: |
What is the commit hash of your Iroha version?
You can use the `git rev-parse --short HEAD` command to retrieve it.
Note that older versions may have more bugs.
placeholder: abc123
validations:
required: true
- type: textarea
id: mwe
attributes:
label: Minimum working example
description: |
Please share a minimal working code that allows us to reproduce the issue.
Make sure you enable [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting).
placeholder: |
```rust
fn main() {
}
```
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behaviour
description: What is the result or behaviour you expected to get?
placeholder: I expected Iroha to run normally on bare-metal after building the LTS version.
validations:
required: true
- type: textarea
id: actual-behaviour
attributes:
label: Actual behaviour
description: What is the result or behaviour you got?
placeholder: |
I get an error message when running Iroha:
Example error #123
validations:
required: true
- type: input
id: os-type
attributes:
label: Operating system
description: |
Which operating system did you use when you encountered the issue?
placeholder: Arch Linux
validations:
required: true
- type: input
id: libc-type-and-version
attributes:
label: LibC type and version
description: |
Please specify the type of LibC you're using (`GNU libc` or `musl libc`) and its version.
Use the `ldd --version ldd` command to determine it.
placeholder: musl libc v1.2.3
- type: dropdown
id: env
attributes:
label: Current environment
description: |
Did you build Iroha from the source code or pulled it from [Docker Hub](https://hub.docker.com/) or [Nix](https://search.nixos.org/packages) packages?
options:
- Source code build
- Docker Hub
- Nix
validations:
required: true
- type: textarea
id: json-logs
attributes:
label: Logs in JSON format
description: |
Please provide an output log in JSON format.
To configure a file path and level for logs, check the [reference documentation](https://github.com/hyperledger/iroha/blob/iroha2-dev/docs/source/references/config.md#logger) or [peer configuration](https://hyperledger.github.io/iroha-2-docs/guide/configure/peer-configuration.html#logger).
Note: it is helpful to have JSON [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) enabled.
placeholder: |
```json
```
validations:
required: true
- type: input
id: who-can-help
attributes:
label: Who can help?
description: |
If you figure out the right person to tag, your issue might be resolved faster.
You can use `git blame` or check the following list of people **you can tag** based on what the issue is connected to:
- Documentation issues: Ekaterina Mekhnetsova (`@outoftardis`), Victor Gridnevsky (`@6r1d`)
- WASM: Marin Veršić (`@mversic`)
- Triggers: Daniil Polyakov (`@Arjentix`)
- Theoretical questions: Shunkichi Sato (`@s8sato`)
- Other topics: Aleksandr Petrosyan (`@appetrosyan`)
placeholder: "@Username ..."
113 changes: 113 additions & 0 deletions .github/ISSUE_TEMPLATE/stable-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
name: "\U0001F41E Bug report: Stable version (iroha2)"
description: Submit a bug you found in the stable version of Iroha
title: "[BUG] "
labels: [ "Bug", "iroha2" ]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this form! You may refer to the [contributing guide](https://github.com/hyperledger/iroha/blob/iroha2-dev/CONTRIBUTING.md#reporting-bugs) for further details on filling the bug reports.
Please be aware that SDK issues belong to other repositories:
- JavaScript library for Iroha, [`iroha-javascript`](https://github.com/hyperledger/iroha-javascript)
- Java 8 client library for Iroha, [`iroha-java`](https://github.com/hyperledger/iroha-java)
- type: input
id: commit-hash
attributes:
label: GIT commit hash
description: |
What is the commit hash of your Iroha version?
You can use the `git rev-parse --short HEAD` command to retrieve it.
Note that older versions may have more bugs.
placeholder: abc123
validations:
required: true
- type: textarea
id: mwe
attributes:
label: Minimum working example
description: |
Please share a minimal working code that allows us to reproduce the issue.
Make sure you enable [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting).
placeholder: |
```rust
fn main() {
}
```
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behaviour
description: What is the result or behaviour you expected to get?
placeholder: I expected Iroha to run normally on bare-metal after building a stable version.
validations:
required: true
- type: textarea
id: actual-behaviour
attributes:
label: Actual behaviour
description: What is the result or behaviour you got?
placeholder: |
I get an error message when running Iroha:
Example error #123
validations:
required: true
- type: input
id: os-type
attributes:
label: Operating system
description: |
Which operating system did you use when you encountered the issue?
placeholder: Arch Linux
validations:
required: true
- type: input
id: libc-type-and-version
attributes:
label: LibC type and version
description: |
Please specify the type of LibC you're using (`GNU libc` or `musl libc`) and its version.
Use the `ldd --version ldd` command to determine it.
placeholder: musl libc v1.2.3
- type: dropdown
id: env
attributes:
label: Current environment
description: |
Did you build Iroha from the source code or pulled it from [Docker Hub](https://hub.docker.com/) or [Nix](https://search.nixos.org/packages) packages?
options:
- Source code build
- Docker Hub
- Nix
validations:
required: true
- type: textarea
id: json-logs
attributes:
label: Logs in JSON format
description: |
Please provide an output log in JSON format.
To configure a file path and level for logs, check the [reference documentation](https://github.com/hyperledger/iroha/blob/iroha2-dev/docs/source/references/config.md#logger) or [peer configuration](https://hyperledger.github.io/iroha-2-docs/guide/configure/peer-configuration.html#logger).
Note: it is helpful to have JSON [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) enabled.
placeholder: |
```json
```
validations:
required: true
- type: input
id: who-can-help
attributes:
label: Who can help?
description: |
If you figure out the right person to tag, your issue might be resolved faster.
You can use `git blame` or check the following list of people **you can tag** based on what the issue is connected to:
- Documentation issues: Ekaterina Mekhnetsova (`@outoftardis`), Victor Gridnevsky (`@6r1d`)
- WASM: Marin Veršić (`@mversic`)
- Triggers: Daniil Polyakov (`@Arjentix`)
- Theoretical questions: Shunkichi Sato (`@s8sato`)
- Other topics: Aleksandr Petrosyan (`@appetrosyan`)
placeholder: "@Username ..."
5 changes: 0 additions & 5 deletions .github/issue_template.md

This file was deleted.

0 comments on commit 1ad7362

Please sign in to comment.