From 3516eb22327c8c66703f233e0947a47a6bb2bdea Mon Sep 17 00:00:00 2001
From: Andrey Khrolenok
Date: Wed, 1 Jan 2020 18:47:06 +0300
Subject: [PATCH] Remaster github settings
---
.../{issue.md => bug_report.md} | 37 +++++++++++++++----
.github/ISSUE_TEMPLATE/config.yml | 8 ++++
.github/ISSUE_TEMPLATE/feature_request.md | 9 ++++-
.github/no-response.yml | 13 +++++++
.github/settings.yml | 26 +++++++------
.github/stale.yml | 4 +-
CONTRIBUTING.md | 4 +-
README.md | 4 +-
custom_components/car_wash/binary_sensor.py | 2 +-
info.md | 4 +-
tracker.json | 2 +-
11 files changed, 83 insertions(+), 30 deletions(-)
rename .github/ISSUE_TEMPLATE/{issue.md => bug_report.md} (59%)
create mode 100644 .github/ISSUE_TEMPLATE/config.yml
create mode 100644 .github/no-response.yml
diff --git a/.github/ISSUE_TEMPLATE/issue.md b/.github/ISSUE_TEMPLATE/bug_report.md
similarity index 59%
rename from .github/ISSUE_TEMPLATE/issue.md
rename to .github/ISSUE_TEMPLATE/bug_report.md
index 82373be..7664119 100644
--- a/.github/ISSUE_TEMPLATE/issue.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -1,6 +1,9 @@
---
-name: Issue
+name: Bug report
about: Create a report to help us improve
+title: ''
+labels: 'bug'
+assignees: ''
---
@@ -14,29 +17,47 @@ Issues not containing the minimum requirements will be closed:
-->
-## Version of the custom_component
+**Version of the custom_component**
-## Configuration
-
+**Configuration**
```yaml
Add your configs here.
```
-## Describe the bug
+**Describe the bug**
+
A clear and concise description of what the bug is.
+**To Reproduce**
-## Debug log
+If applicable, describe the 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.
+
+**Debug log**
+
```text
Add your logs here.
-```
\ No newline at end of file
+```
+
+**Additional context**
+
+Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..41a2793
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
+blank_issues_enabled: false
+#contact_links:
+# - name: GitHub Community Forum
+# url: https://github.community/
+# about: Please ask and answer questions here.
+# - name: GitHub Security Bug Bounty
+# url: https://bounty.github.com/
+# about: Please report security vulnerabilities here.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index 6bcce42..ba225c6 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -1,17 +1,24 @@
---
name: Feature request
about: Suggest an idea for this project
+title: ''
+labels: 'enhancement'
+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.
\ No newline at end of file
+
+Add any other context or screenshots about the feature request here.
diff --git a/.github/no-response.yml b/.github/no-response.yml
new file mode 100644
index 0000000..7193eaa
--- /dev/null
+++ b/.github/no-response.yml
@@ -0,0 +1,13 @@
+# Configuration for probot-no-response - https://github.com/probot/no-response
+
+# Number of days of inactivity before an Issue is closed for lack of response
+daysUntilClose: 14
+# Label requiring a response
+responseRequiredLabel: more-information-needed
+# Comment to post when closing an Issue for lack of response. Set to `false` to disable
+closeComment: >
+ This issue has been automatically closed because there has been no response
+ to our request for more information from the original author. With only the
+ information that is currently in the issue, we don't have enough information
+ to take action. Please reach out if you have or find the answers we need so
+ that we can investigate further.
diff --git a/.github/settings.yml b/.github/settings.yml
index 6b75ccc..11cc9b4 100644
--- a/.github/settings.yml
+++ b/.github/settings.yml
@@ -9,15 +9,19 @@ repository:
allow_merge_commit: false
allow_rebase_merge: false
labels:
- - name: "Feature Request"
- color: "fbca04"
- - name: "Bug"
- color: "b60205"
- - name: "Wont Fix"
+ - name: "enhancement"
+ color: "a2eeef"
+ - name: "bug"
+ color: "d73a4a"
+ - name: "wontfix"
color: "ffffff"
- - name: "Enhancement"
- color: a2eeef
- - name: "Documentation"
- color: "008672"
- - name: "Stale"
- color: "930191"
\ No newline at end of file
+ - name: "documentation"
+ color: "0075ca"
+ - name: "stale"
+ color: "930191"
+ - name: "duplicate"
+ color: "cfd3d7"
+ - name: "invalid"
+ color: "e4e669"
+ - name: "more-information-needed"
+ color: "dd9c2c"
diff --git a/.github/stale.yml b/.github/stale.yml
index 4fc2998..75960bd 100644
--- a/.github/stale.yml
+++ b/.github/stale.yml
@@ -1,13 +1,13 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 14
# Number of days of inactivity before a stale issue is closed
-daysUntilClose: 7
+#daysUntilClose: 7
# Issues with these labels will never be considered stale
#exemptLabels:
# - pinned
# - security
# Label to use when marking an issue as stale
-staleLabel: Stale
+staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >-
This issue has been automatically marked as stale because it has not had
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e91c221..922686d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -24,8 +24,8 @@ In short, when you submit code changes, your submissions are understood to be un
## Report bugs using Github's [issues](../../issues)
-GitHub issues are used to track public bugs.
-Report a bug by [opening a new issue](../../issues/new/choose); it's that easy!
+GitHub issues are used to track public bugs.
+Report a bug by [opening a new issue](../../issues/new?template=bug_report.md); it's that easy!
## Write bug reports with detail, background, and sample code
diff --git a/README.md b/README.md
index b4b1ecc..8a84526 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ I put a lot of work into making this repo and component available and updated to
or support via Bitcoin or Etherium:
-
+
16yfCfz9dZ8y8yuSwBFVfiAa3CNYdMh7Ts
@@ -68,7 +68,7 @@ I put a lot of work into making this repo and component available and updated to
_(string) (Optional)_\
Name to use in the frontend.\
_Default value: 'Car Wash'_
-
+
**days:**\
_(integer) (Optional)_\
The number of days how far forward the sensor looks for the weather forecast.\
diff --git a/custom_components/car_wash/binary_sensor.py b/custom_components/car_wash/binary_sensor.py
index 180cf4d..0c05c6a 100644
--- a/custom_components/car_wash/binary_sensor.py
+++ b/custom_components/car_wash/binary_sensor.py
@@ -30,7 +30,7 @@
_LOGGER = logging.getLogger(__name__)
# Base component constants
-VERSION = '1.2.8'
+VERSION = '1.2.9'
ISSUE_URL = "https://github.com/Limych/ha-car_wash/issues"
CONF_WEATHER = 'weather'
diff --git a/info.md b/info.md
index ceccdba..566eb4b 100644
--- a/info.md
+++ b/info.md
@@ -12,7 +12,7 @@ This component checks the weather forecast for several days in advance and concl
- [Documentation](https://github.com/Limych/ha-car_wash)
- [Configuration](https://github.com/Limych/ha-car_wash#configuration-variables)
-- [Report a Bug](https://github.com/Limych/ha-car_wash/issues/new?template=issue.md)
+- [Report a Bug](https://github.com/Limych/ha-car_wash/issues/new?template=bug_report.md)
- [Suggest an idea](https://github.com/Limych/ha-car_wash/issues/new?template=feature_request.md)
* * *
@@ -21,6 +21,6 @@ I put a lot of work into making this repo and component available and updated to
or support via Bitcoin or Etherium:
-
+
16yfCfz9dZ8y8yuSwBFVfiAa3CNYdMh7Ts
diff --git a/tracker.json b/tracker.json
index 42e5e7f..bb9ec52 100644
--- a/tracker.json
+++ b/tracker.json
@@ -1,6 +1,6 @@
{
"car_wash": {
- "version": "1.2.8",
+ "version": "1.2.9",
"local_location": "/custom_components/car_wash/__init__.py",
"remote_location": "https://raw.githubusercontent.com/Limych/ha-car_wash/master/custom_components/car_wash/__init__.py",
"visit_repo": "https://github.com/Limych/ha-car_wash",