From 25a953bbce9a6b7929a16d6641d1359b08ad0721 Mon Sep 17 00:00:00 2001 From: nur Date: Sat, 5 Sep 2020 11:01:12 +0800 Subject: [PATCH 1/8] Add update frontend gh action --- .github/workflows/update_frontend.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/update_frontend.yml diff --git a/.github/workflows/update_frontend.yml b/.github/workflows/update_frontend.yml new file mode 100644 index 000000000..f5969c5b4 --- /dev/null +++ b/.github/workflows/update_frontend.yml @@ -0,0 +1,22 @@ +name: Update zigbee-frontend +on: + repository_dispatch: + types: update_frontend + +jobs: + update_zh: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + ref: dev + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + - uses: actions/setup-node@v2-beta + with: + node-version: 12 + - run: npm install zigbee-frontend@${{ github.event.client_payload.version }} --save-exact + - uses: peter-evans/create-pull-request@v2 + with: + commit-message: Update zigbee-frontend to ${{ github.event.client_payload.version }} + branch: "update_frontend" + title: Update zigbee-frontend to ${{ github.event.client_payload.version }} From a10e5b011c387b8e45e984f5704916bfac90c8da Mon Sep 17 00:00:00 2001 From: John Doe Date: Sun, 6 Sep 2020 19:27:51 +0800 Subject: [PATCH 2/8] Update update_frontend.yml (#4281) FIx job name --- .github/workflows/update_frontend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_frontend.yml b/.github/workflows/update_frontend.yml index f5969c5b4..42ad6c525 100644 --- a/.github/workflows/update_frontend.yml +++ b/.github/workflows/update_frontend.yml @@ -4,7 +4,7 @@ on: types: update_frontend jobs: - update_zh: + update_frontend: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 From 02ac4b17bad4f623c2c06e89cb02902eae5e931a Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sun, 6 Sep 2020 13:32:07 +0200 Subject: [PATCH 3/8] Don't auto update zigbee2mqtt-frontend --- .github/workflows/update_deps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_deps.yml b/.github/workflows/update_deps.yml index 2860af38b..cf4086730 100644 --- a/.github/workflows/update_deps.yml +++ b/.github/workflows/update_deps.yml @@ -16,7 +16,7 @@ jobs: with: node-version: 12 - run: npm install - - run: npm ls --depth 0 --prod --parseable | tail -n +2 | grep -v "zigbee-herdsman" | xargs -I '{}' basename "{}" | xargs -I '{}' npm install '{}'@latest + - run: npm ls --depth 0 --prod --parseable | tail -n +2 | grep -v "zigbee" | xargs -I '{}' basename "{}" | xargs -I '{}' npm install '{}'@latest - run: rm -rf node_modules npm-shrinkwrap.json && npm install && npm shrinkwrap --dev - uses: peter-evans/create-pull-request@v2 with: From 037d54a604ce2a59c08a944bf631713821df3049 Mon Sep 17 00:00:00 2001 From: John Doe Date: Sun, 6 Sep 2020 19:35:53 +0800 Subject: [PATCH 4/8] Update update_frontend.yml (#4286) --- .github/workflows/update_frontend.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_frontend.yml b/.github/workflows/update_frontend.yml index 42ad6c525..958b7a0be 100644 --- a/.github/workflows/update_frontend.yml +++ b/.github/workflows/update_frontend.yml @@ -14,9 +14,9 @@ jobs: - uses: actions/setup-node@v2-beta with: node-version: 12 - - run: npm install zigbee-frontend@${{ github.event.client_payload.version }} --save-exact + - run: npm install zigbee2mqtt-frontend@${{ github.event.client_payload.version }} --save-exact - uses: peter-evans/create-pull-request@v2 with: - commit-message: Update zigbee-frontend to ${{ github.event.client_payload.version }} + commit-message: Update zigbee2mqtt-frontend to ${{ github.event.client_payload.version }} branch: "update_frontend" title: Update zigbee-frontend to ${{ github.event.client_payload.version }} From 5d6a5cb19f361276dc163852ed7d8528bca0fa3b Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Wed, 9 Sep 2020 19:19:17 +0200 Subject: [PATCH 5/8] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..62b35ec6a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,55 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + + + + + +# Bug Report +## What happened + +## What did you expect to happen + +## How to reproduce it (minimal and precise) + +## Debug Info +Zigbee2MQTT version: +Adapter hardware: CC2531, CC2530, CC26X2R1, CC1352P-2, Conbee II +Adapter firmware version: From 9ca8c31448cceb4562ac8e01e6347afc98f6d2bc Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Wed, 9 Sep 2020 19:27:05 +0200 Subject: [PATCH 6/8] Add issue templates. https://github.com/Koenkk/zigbee2mqtt/issues/4306 --- .github/ISSUE_TEMPLATE/bug_report.md | 3 +-- .github/ISSUE_TEMPLATE/config.yml | 11 +++++++++++ .github/ISSUE_TEMPLATE/device_support.md | 14 ++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++++++++++ 4 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/device_support.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 62b35ec6a..a0dd49654 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -42,14 +42,13 @@ Bug report? -# Bug Report ## What happened ## What did you expect to happen ## How to reproduce it (minimal and precise) -## Debug Info +## Debug info Zigbee2MQTT version: Adapter hardware: CC2531, CC2530, CC26X2R1, CC1352P-2, Conbee II Adapter firmware version: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..f0ed8b766 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: Home Assistant addon issues + url: https://github.com/danielwelch/hassio-zigbee2mqtt/issues + about: Issues related to the Home Assistant addon. + - name: FAQ + url: https://www.zigbee2mqtt.io/information/FAQ.html + about: Frequently asked questions. + - name: Support Chat + url: https://discord.gg/NyseBeK + about: Chat for feedback, questions and troubleshooting. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/device_support.md b/.github/ISSUE_TEMPLATE/device_support.md new file mode 100644 index 000000000..91b4595ef --- /dev/null +++ b/.github/ISSUE_TEMPLATE/device_support.md @@ -0,0 +1,14 @@ +--- +name: Device support request +about: Request support for a new device +title: '' +labels: device support +assignees: '' + +--- + +## Information about the device + link +.. + +## data/database.db entry of the device +.. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..f142943f9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +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. From 812909363b611b6eb5581f23dbae68e0cc5d8a3e Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Wed, 9 Sep 2020 19:32:28 +0200 Subject: [PATCH 7/8] Update issue templates --- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .../{device_support.md => new_device_support.md} | 4 ++-- .github/ISSUE_TEMPLATE/{bug_report.md => problem_report.md} | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename .github/ISSUE_TEMPLATE/{device_support.md => new_device_support.md} (72%) rename .github/ISSUE_TEMPLATE/{bug_report.md => problem_report.md} (98%) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index f142943f9..9238752a2 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,7 @@ name: Feature request about: Suggest an idea for this project title: '' -labels: enhancement +labels: feature request assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/device_support.md b/.github/ISSUE_TEMPLATE/new_device_support.md similarity index 72% rename from .github/ISSUE_TEMPLATE/device_support.md rename to .github/ISSUE_TEMPLATE/new_device_support.md index 91b4595ef..6f701536f 100644 --- a/.github/ISSUE_TEMPLATE/device_support.md +++ b/.github/ISSUE_TEMPLATE/new_device_support.md @@ -1,8 +1,8 @@ --- -name: Device support request +name: New device support request about: Request support for a new device title: '' -labels: device support +labels: new device support assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/problem_report.md similarity index 98% rename from .github/ISSUE_TEMPLATE/bug_report.md rename to .github/ISSUE_TEMPLATE/problem_report.md index a0dd49654..538b9db03 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/problem_report.md @@ -1,8 +1,8 @@ --- -name: Bug report +name: Problem report about: Create a report to help us improve title: '' -labels: bug +labels: problem assignees: '' --- From 166f1a8b87d14311aa1581ac0a113ce45e557bb2 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Fri, 11 Sep 2020 17:02:47 +0200 Subject: [PATCH 8/8] Update new_device_support.md --- .github/ISSUE_TEMPLATE/new_device_support.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/new_device_support.md b/.github/ISSUE_TEMPLATE/new_device_support.md index 6f701536f..2acfa5682 100644 --- a/.github/ISSUE_TEMPLATE/new_device_support.md +++ b/.github/ISSUE_TEMPLATE/new_device_support.md @@ -7,6 +7,10 @@ assignees: '' --- + + ## Information about the device + link ..