From c766e997430a302a3b29b2a7c59592fa9f662d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 27 Apr 2020 12:35:35 +0200 Subject: [PATCH 1/7] =?UTF-8?q?=F0=9F=91=B7=20First=20throw=20at=20project?= =?UTF-8?q?=20automation=20through=20labels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...utomation_for_ticket_triage_via_labels.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/project_automation_for_ticket_triage_via_labels.yml diff --git a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml new file mode 100644 index 000000000..8719790c2 --- /dev/null +++ b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml @@ -0,0 +1,36 @@ +name: Project automation for Ticket Triage via labels +on: + issues: + types: [labeled] +jobs: + github-actions-automate-projects: + runs-on: ubuntu-latest + steps: + - name: add-potential-bugs-to-to-analyse-column + uses: docker://takanabe/github-actions-automate-projects:v0.0.1 + if: label == "type:potential bug" || label == "type:confirmed bug" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 + GITHUB_PROJECT_COLUMN: To Analyse + - name: add-unreproduced-to-unreproduced-column + uses: docker://takanabe/github-actions-automate-projects:v0.0.1 + if: label == "status:unreproduced" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 + GITHUB_PROJECT_COLUMN: Unreproduced + - name: add-awaiting-information-to-insufficien-information-column + uses: docker://takanabe/github-actions-automate-projects:v0.0.1 + if: label == "status:awaiting information" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 + GITHUB_PROJECT_COLUMN: Insufficient information + - name: add-solved-to-solved-column + uses: docker://takanabe/github-actions-automate-projects:v0.0.1 + if: label == "status:solved" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 + GITHUB_PROJECT_COLUMN: Solved From fa2153f3e331683656773f280b53ffb2b4967f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 27 Apr 2020 15:19:54 +0200 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=91=B7=20Fix=20variable=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project_automation_for_ticket_triage_via_labels.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml index 8719790c2..78a728948 100644 --- a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml +++ b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml @@ -8,28 +8,28 @@ jobs: steps: - name: add-potential-bugs-to-to-analyse-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: label == "type:potential bug" || label == "type:confirmed bug" + if: github.event.label == "type:potential bug" || github.event.label == "type:confirmed bug" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: To Analyse - name: add-unreproduced-to-unreproduced-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: label == "status:unreproduced" + if: github.event.label == "status:unreproduced" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: Unreproduced - name: add-awaiting-information-to-insufficien-information-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: label == "status:awaiting information" + if: github.event.label == "status:awaiting information" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: Insufficient information - name: add-solved-to-solved-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: label == "status:solved" + if: github.event.label == "status:solved" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 From 7bd781e7d28d62d6f5a997f43dc178190b905b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 27 Apr 2020 15:22:36 +0200 Subject: [PATCH 3/7] =?UTF-8?q?=F0=9F=91=B7=20Fix=20string=20formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project_automation_for_ticket_triage_via_labels.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml index 78a728948..e4341f490 100644 --- a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml +++ b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml @@ -8,28 +8,28 @@ jobs: steps: - name: add-potential-bugs-to-to-analyse-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label == "type:potential bug" || github.event.label == "type:confirmed bug" + if: github.event.label == 'type:potential bug' || github.event.label == 'type:confirmed bug' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: To Analyse - name: add-unreproduced-to-unreproduced-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label == "status:unreproduced" + if: github.event.label == 'status:unreproduced' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: Unreproduced - name: add-awaiting-information-to-insufficien-information-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label == "status:awaiting information" + if: github.event.label == 'status:awaiting information' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: Insufficient information - name: add-solved-to-solved-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label == "status:solved" + if: github.event.label == 'status:solved' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 From 87b20ddfe97589ee69dea5feae5af5d5941baaa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 27 Apr 2020 15:26:52 +0200 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=91=B7=20Access=20name=20attribute=20?= =?UTF-8?q?on=20label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project_automation_for_ticket_triage_via_labels.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml index e4341f490..379e6cdbf 100644 --- a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml +++ b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml @@ -8,28 +8,28 @@ jobs: steps: - name: add-potential-bugs-to-to-analyse-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label == 'type:potential bug' || github.event.label == 'type:confirmed bug' + if: github.event.label.name == 'type:potential bug' || github.event.label.name == 'type:confirmed bug' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: To Analyse - name: add-unreproduced-to-unreproduced-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label == 'status:unreproduced' + if: github.event.label.name == 'status:unreproduced' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: Unreproduced - name: add-awaiting-information-to-insufficien-information-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label == 'status:awaiting information' + if: github.event.label.name == 'status:awaiting information' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: Insufficient information - name: add-solved-to-solved-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label == 'status:solved' + if: github.event.label.name == 'status:solved' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 From ef3c8bb6c24f2f94b6c2f486e96c7fe098f06dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 27 Apr 2020 15:40:32 +0200 Subject: [PATCH 5/7] =?UTF-8?q?=F0=9F=91=B7=20Remove=20workflows=20again,?= =?UTF-8?q?=20don't=20work=20like=20that?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Needs more testing on a testing repo... --- ...utomation_for_ticket_triage_via_labels.yml | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/project_automation_for_ticket_triage_via_labels.yml diff --git a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml deleted file mode 100644 index 379e6cdbf..000000000 --- a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Project automation for Ticket Triage via labels -on: - issues: - types: [labeled] -jobs: - github-actions-automate-projects: - runs-on: ubuntu-latest - steps: - - name: add-potential-bugs-to-to-analyse-column - uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label.name == 'type:potential bug' || github.event.label.name == 'type:confirmed bug' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 - GITHUB_PROJECT_COLUMN: To Analyse - - name: add-unreproduced-to-unreproduced-column - uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label.name == 'status:unreproduced' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 - GITHUB_PROJECT_COLUMN: Unreproduced - - name: add-awaiting-information-to-insufficien-information-column - uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label.name == 'status:awaiting information' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 - GITHUB_PROJECT_COLUMN: Insufficient information - - name: add-solved-to-solved-column - uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: github.event.label.name == 'status:solved' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 - GITHUB_PROJECT_COLUMN: Solved From 4ddaf350b4dd03c0bfa2bb6bc39ef49ac99e6d34 Mon Sep 17 00:00:00 2001 From: lachyc Date: Wed, 6 May 2020 12:54:32 +1000 Subject: [PATCH 6/7] Update setup.py Markupsafe 2.0 install currently fails, Jinja require >= 1.1 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 6724f3ff4..9f62ec824 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ INSTALL_REQUIRES = [ # changes that might affect plugins, or due to other observed problems "flask>=0.12,<0.13", # newer versions require newer Jinja versions + "markupsafe>=1.1,<2.0", # Jinja dependecy. Markupsafe 2.0 install currently fails. "Jinja2>=2.8.1,<2.9", # Jinja 2.9 has breaking changes WRT template scope - we can't # guarantee backwards compatibility for plugins and such with that # version, hence we need to pin to a lower version for now. See #1697 From e62d50eb21d41b5477ab8a38ee49088568c5ae94 Mon Sep 17 00:00:00 2001 From: lachyc Date: Wed, 6 May 2020 12:57:00 +1000 Subject: [PATCH 7/7] Update AUTHORS.md --- AUTHORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.md b/AUTHORS.md index 8398e0cb5..ec713b948 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -115,6 +115,7 @@ date of first contribution): * [Ludovico de Nittis](https://github.com/RyuzakiKK) * [Dominik Paľo](https://github.com/DominikPalo) * [Kelly Anderson](https://github.com/cbxbiker61) + * [Lachlan Cresswell](https://github.com/lachyc) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and