From 5e78b3b492b67ece91eec7efb61d40ea905d7ddc Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Sat, 4 Jul 2026 04:54:16 +0200 Subject: [PATCH 1/5] init(new branch): New branch -- 2.47.3 From 5b5f38a48d258246f1b7dd17f99450ce7ebaa2cb Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Fri, 10 Jul 2026 00:39:48 +0200 Subject: [PATCH 2/5] feat(templates): Added template yaml files --- .gitea/ISSUE_TEMPLATE/bug.yaml | 100 +++++++++++++++++++++++++++++ .gitea/ISSUE_TEMPLATE/feature.yaml | 51 +++++++++++++++ .gitea/PULL_REQUEST_TEMPLATE.yaml | 59 +++++++++++++++++ 3 files changed, 210 insertions(+) create mode 100644 .gitea/ISSUE_TEMPLATE/bug.yaml create mode 100644 .gitea/ISSUE_TEMPLATE/feature.yaml create mode 100644 .gitea/PULL_REQUEST_TEMPLATE.yaml diff --git a/.gitea/ISSUE_TEMPLATE/bug.yaml b/.gitea/ISSUE_TEMPLATE/bug.yaml new file mode 100644 index 0000000..4a6416b --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/bug.yaml @@ -0,0 +1,100 @@ +name: Bug Report +about: Something broke +title: "bug: " +labels: + - bug + +body: + - type: textarea + id: description + attributes: + label: What happened + placeholder: Describe the bug + validations: + required: true + + - type: textarea + id: expected + attributes: + label: What should happen + placeholder: Expected behavior + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. + 2. + 3. + render: shell + validations: + required: true + + - type: dropdown + id: os + attributes: + label: OS + options: + - NixOS + - Arch + - Debian / Ubuntu + - Fedora + - Alpine + - Artix + - Gentoo + - Other + validations: + required: false + + - type: input + id: other-os + attributes: + label: Other OS (if "Other" above) + placeholder: e.g. Void, Gentoo, FreeBSD + validations: + required: false + + - type: dropdown + id: init + attributes: + label: Init system + description: Relevant for UWSM configuration + options: + - systemd + - non-systemd (openrc / runit / s6 / ...) + validations: + required: false + + - type: input + id: qt-version + attributes: + label: Qt version + placeholder: 6.7 + validations: + required: false + + - type: input + id: commit + attributes: + label: Branch / commit + placeholder: main / abc1234 + validations: + required: false + + - type: textarea + id: logs + attributes: + label: Logs / backtrace / screenshots + render: shell + validations: + required: false + + - type: textarea + id: workaround + attributes: + label: Found a workaround? + validations: + required: false diff --git a/.gitea/ISSUE_TEMPLATE/feature.yaml b/.gitea/ISSUE_TEMPLATE/feature.yaml new file mode 100644 index 0000000..1d8fba6 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/feature.yaml @@ -0,0 +1,51 @@ +name: Feature Request +about: Idea or improvement +title: "feat: " +labels: + - enhancement + +body: + - type: textarea + id: problem + attributes: + label: What's missing / annoying + placeholder: The use case or pain point + validations: + required: true + + - type: textarea + id: solution + attributes: + label: How should it work + placeholder: Describe the desired behavior + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Other approaches considered + validations: + required: false + + - type: dropdown + id: scope + attributes: + label: Area + options: + - Core / Daemon + - UI / Components + - Plugin system + - CMake / Build + - CI / Tooling + - Documentation + - Other + validations: + required: false + + - type: textarea + id: context + attributes: + label: Mockups / references / notes + validations: + required: false diff --git a/.gitea/PULL_REQUEST_TEMPLATE.yaml b/.gitea/PULL_REQUEST_TEMPLATE.yaml new file mode 100644 index 0000000..b490a01 --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.yaml @@ -0,0 +1,59 @@ +name: Pull Request +about: Submit changes +title: "" +labels: [] + +body: + - type: textarea + id: description + attributes: + label: What & why + placeholder: Describe the change and motivation + validations: + required: true + + - type: input + id: issue + attributes: + label: Related issue + placeholder: "#123" + validations: + required: false + + - type: dropdown + id: type + attributes: + label: Type + options: + - Bug fix + - New feature + - Refactor / style + - CI / build / tooling + - Documentation + validations: + required: true + + - type: checkboxes + id: tested + attributes: + label: Tested + options: + - label: Build succeeds + - label: Existing tests pass + - label: Manually verified + + - type: textarea + id: breaking + attributes: + label: Breaking changes? + placeholder: API/ABI breakage? Migration path? + + - type: checkboxes + id: checklist + attributes: + label: Checklist + options: + - label: clang-format + - label: Clean commits + - label: No new warnings + - label: Docs updated if needed -- 2.47.3 From 246ee67fb37862291a98e8b8de78c45725975263 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Fri, 10 Jul 2026 00:39:48 +0200 Subject: [PATCH 3/5] update(typecheck): added typecheck in workflow and pyproject --- .gitea/workflows/python.yml | 23 +++++++++++++++++++++++ pyproject.toml | 4 ++++ 2 files changed, 27 insertions(+) diff --git a/.gitea/workflows/python.yml b/.gitea/workflows/python.yml index 270c3b4..2baf3ed 100644 --- a/.gitea/workflows/python.yml +++ b/.gitea/workflows/python.yml @@ -81,6 +81,29 @@ jobs: cd cli python -m pytest tests/ -v + typecheck: + runs-on: alpine + container: node:26-alpine + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install tools + run: | + apk add --no-cache \ + git \ + python3 \ + py3-pip + python3 -m venv .venv + . .venv/bin/activate + pip install --no-cache-dir basedpyright + + - name: Type check + run: | + . .venv/bin/activate + basedpyright + buildcheck: runs-on: alpine container: node:26-alpine diff --git a/pyproject.toml b/pyproject.toml index d1aa9c9..2c53644 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,10 @@ select = [ "RUF", ] +[tool.basedpyright] +typeCheckingMode = "basic" +include = ["cli/src"] + [tool.pytest.ini_options] testpaths = ["cli/tests"] pythonpath = ["cli/src"] -- 2.47.3 From f75fef3f55fc3aeeae574aa6c58e9cd40c9c9d5e Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Fri, 10 Jul 2026 01:15:59 +0200 Subject: [PATCH 4/5] chore(template): checklist adjustment --- .gitea/PULL_REQUEST_TEMPLATE.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/PULL_REQUEST_TEMPLATE.yaml b/.gitea/PULL_REQUEST_TEMPLATE.yaml index b490a01..cd94046 100644 --- a/.gitea/PULL_REQUEST_TEMPLATE.yaml +++ b/.gitea/PULL_REQUEST_TEMPLATE.yaml @@ -53,7 +53,7 @@ body: attributes: label: Checklist options: - - label: clang-format + - label: CI passes (format, lint, typecheck) - label: Clean commits - label: No new warnings - label: Docs updated if needed -- 2.47.3 From 4cb30647a97cd346db0b20512d34c514195bbb38 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Fri, 10 Jul 2026 12:06:12 +0200 Subject: [PATCH 5/5] hotfix(bugreport): adding optional input field; which init system? --- .gitea/ISSUE_TEMPLATE/bug.yaml | 178 +++++++++++++++++---------------- 1 file changed, 93 insertions(+), 85 deletions(-) diff --git a/.gitea/ISSUE_TEMPLATE/bug.yaml b/.gitea/ISSUE_TEMPLATE/bug.yaml index 4a6416b..ac0449e 100644 --- a/.gitea/ISSUE_TEMPLATE/bug.yaml +++ b/.gitea/ISSUE_TEMPLATE/bug.yaml @@ -2,99 +2,107 @@ name: Bug Report about: Something broke title: "bug: " labels: - - bug + - bug body: - - type: textarea - id: description - attributes: - label: What happened - placeholder: Describe the bug - validations: - required: true + - type: textarea + id: description + attributes: + label: What happened + placeholder: Describe the bug + validations: + required: true - - type: textarea - id: expected - attributes: - label: What should happen - placeholder: Expected behavior - validations: - required: true + - type: textarea + id: expected + attributes: + label: What should happen + placeholder: Expected behavior + validations: + required: true - - type: textarea - id: steps - attributes: - label: Steps to reproduce - placeholder: | - 1. - 2. - 3. - render: shell - validations: - required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. + 2. + 3. + render: shell + validations: + required: true - - type: dropdown - id: os - attributes: - label: OS - options: - - NixOS - - Arch - - Debian / Ubuntu - - Fedora - - Alpine - - Artix - - Gentoo - - Other - validations: - required: false + - type: dropdown + id: os + attributes: + label: OS + options: + - NixOS + - Arch + - Debian / Ubuntu + - Fedora + - Alpine + - Artix + - Gentoo + - Other + validations: + required: false - - type: input - id: other-os - attributes: - label: Other OS (if "Other" above) - placeholder: e.g. Void, Gentoo, FreeBSD - validations: - required: false + - type: input + id: other-os + attributes: + label: Other OS (if "Other" above) + placeholder: e.g. Void, Gentoo, FreeBSD + validations: + required: false - - type: dropdown - id: init - attributes: - label: Init system - description: Relevant for UWSM configuration - options: - - systemd - - non-systemd (openrc / runit / s6 / ...) - validations: - required: false + - type: dropdown + id: init + attributes: + label: Init system + description: Relevant for UWSM configuration + options: + - systemd + - non-systemd (openrc / runit / s6 / ...) + validations: + required: false - - type: input - id: qt-version - attributes: - label: Qt version - placeholder: 6.7 - validations: - required: false + - type: input + id: other-init + attributes: + label: Other init system (if "non-systemd" above) + placeholder: e.g. openrc, runit, s6, dinit + validations: + required: false - - type: input - id: commit - attributes: - label: Branch / commit - placeholder: main / abc1234 - validations: - required: false + - type: input + id: qt-version + attributes: + label: Qt version + placeholder: 6.11.1 + validations: + required: false - - type: textarea - id: logs - attributes: - label: Logs / backtrace / screenshots - render: shell - validations: - required: false + - type: input + id: commit + attributes: + label: Branch / commit + placeholder: main / abc1234 + validations: + required: false - - type: textarea - id: workaround - attributes: - label: Found a workaround? - validations: - required: false + - type: textarea + id: logs + attributes: + label: Logs / backtrace / screenshots + render: shell + validations: + required: false + + - type: textarea + id: workaround + attributes: + label: Found a workaround? + validations: + required: false -- 2.47.3