Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bug report templates #13

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_eng.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Bug report (eng)
description: Create a report to help us improve (for English speaking users)
body:
- type: textarea
id: issue
validations:
required: true
attributes:
label: The problem
description: >-
Describe the issue you are experiencing here, to communicate to the
maintainers. Tell us what you were trying to do and what happened.

Provide a clear and concise description of what the problem is.

- type: markdown
attributes:
value: |
## Environment

- type: input
id: ha_version
validations:
required: true
attributes:
label: What version of Home Assistant are you using?
placeholder: Core
description: >
Can be found here: [Settings -> About](https://my.home-assistant.io/redirect/info/)

- type: checkboxes
id: key_validation
attributes:
label: Check API key
description: Please check the boxes if the statements below are true
options:
- label: in a [customers page](https://yandex.ru/pogoda/b2b/console/smarthome) key status is "Активно"
required: true
- label: in a [customers page](https://yandex.ru/pogoda/b2b/console/smarthome) key tariff "Бесплатный"
required: true
- label: in a [customers page](https://yandex.ru/pogoda/b2b/console/smarthome) request counter for key is not zero
required: true

- type: markdown
attributes:
value: |
# Details

- type: textarea
id: log
attributes:
label: Please attach the log if there is an error message, trace or anything useful in the log
description: >
[Manual: "hot to enable debug logging"](https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging)
render: txt

- type: textarea
id: additional_info
attributes:
label: Additional information
description: Please if you have additional information write it down here
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_rus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Сообщить о проблеме
description: Если вы столкнулись с проблемой, расскажите нам, мы постараемся помочь
body:
- type: textarea
id: issue
validations:
required: true
attributes:
label: В чем проблема?
description: >-
Опишите проблему, с которой вы столкнулись. Расскажите что делаете, что происходит, какое поведенеи вы ожидаете.

Постарайтесь описать проблему четко и лаконично.

- type: markdown
attributes:
value: |
## Информация об установке

- type: input
id: ha_version
validations:
required: true
attributes:
label: Какая версия Home Assistant используется?
placeholder: Core
description: >
Можно посмотреть тут: Настройки -> О программе

Либо по ссылке: [Настройки -> О программе](https://my.home-assistant.io/redirect/info/)

- type: checkboxes
id: key_validation
attributes:
label: Проверка ключа
description: проставьте галочки если утверждения ниже верны
options:
- label: в [личном кабинете](https://yandex.ru/pogoda/b2b/console/smarthome) статус ключа "Активно"
required: true
- label: в [личном кабинете](https://yandex.ru/pogoda/b2b/console/smarthome) тариф ключа "Бесплатный"
required: true
- label: в [личном кабинете](https://yandex.ru/pogoda/b2b/console/smarthome) счетчик запросов ключа не равен нулю
required: true

- type: markdown
attributes:
value: |
# Детали

- type: textarea
id: log
attributes:
label: Приложите лог, если в логе есть сообщение об ошибке, trace либо что-нибудь полезное
description: >
[Инструкция: "как получить лог"](https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging)
render: txt

- type: textarea
id: additional_info
attributes:
label: Дополнительная информация
description: Если нужно что-то добавить, напишите здесь
61 changes: 61 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
ignore: |
azure-*.yml
rules:
braces:
level: error
min-spaces-inside: 0
max-spaces-inside: 1
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
brackets:
level: error
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
colons:
level: error
max-spaces-before: 0
max-spaces-after: 1
commas:
level: error
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1
comments:
level: error
require-starting-space: true
min-spaces-from-content: 2
comments-indentation:
level: error
document-end:
level: error
present: false
document-start:
level: error
present: false
empty-lines:
level: error
max: 1
max-start: 0
max-end: 1
hyphens:
level: error
max-spaces-after: 1
indentation:
level: error
spaces: 2
indent-sequences: true
check-multi-line-strings: false
key-duplicates:
level: error
line-length: disable
new-line-at-end-of-file:
level: error
new-lines:
level: error
type: unix
trailing-spaces:
level: error
truthy:
level: error
Loading