From 24c65c0e5a837a340c955ad8a98882ef3269fea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Thu, 10 Oct 2024 03:38:29 +0200 Subject: [PATCH 1/5] Add OS labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tin Švagelj --- .github/labeler.yml | 49 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index b849434c9..7202cf3ae 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -164,12 +164,53 @@ lua: - src/lua-config.cc - src/lua-config.hh -macos: +'os: linux': - changed-files: - any-glob-to-any-file: - - src/darwin_sip.h - - src/darwin.h - - src/darwin.mm + - src/linux.cc + - src/linux.h + +'os: linux': + - changed-files: + - any-glob-to-any-file: + - src/linux.cc + - src/linux.h + +'os: dragonfly': + - changed-files: + - any-glob-to-any-file: + - src/dragonfly.cc + - src/dragonfly.h + +'os: freebsd': + - changed-files: + - any-glob-to-any-file: + - src/freebsd.cc + - src/freebsd.h + +'os: netbsd': + - changed-files: + - any-glob-to-any-file: + - src/netbsd.cc + - src/netbsd.h + +'os: openbsd': + - changed-files: + - any-glob-to-any-file: + - src/openbsd.cc + - src/openbsd.h + +'os: solaris': + - changed-files: + - any-glob-to-any-file: + - src/solaris.cc + - src/solaris.h + +'os: haiku': + - changed-files: + - any-glob-to-any-file: + - src/haiku.cc + - src/haiku.h 'mouse events': - changed-files: From 0ac604920f79e501b771f03f0e0641bfb86f1a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Thu, 10 Oct 2024 03:53:37 +0200 Subject: [PATCH 2/5] Change labeler action provider MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new one has a lot more functionality. Signed-off-by: Tin Švagelj --- .github/labeler.yml | 505 +++++++++++++++++----------------- .github/workflows/labeler.yml | 8 +- 2 files changed, 252 insertions(+), 261 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 7202cf3ae..446bdaa8c 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,257 +1,248 @@ -documentation: - - changed-files: - - any-glob-to-any-file: - - doc/* - - doc/**/* - - data/conky*.conf - -extras: - - changed-files: - - any-glob-to-any-file: - - extras/* - - extras/**/* - -sources: - - changed-files: - - any-glob-to-any-file: - - src/* - - src/**/* - -tests: - - changed-files: - - any-glob-to-any-file: - - tests/**/* - - tests/* - -web: - - changed-files: - - any-glob-to-any-file: - - web/* - - web/**/* - -appimage: - - changed-files: - - any-glob-to-any-file: - - appimage/* - - appimage/**/* - -3rdparty: - - changed-files: - - any-glob-to-any-file: - - 3rdparty/* - - 3rdparty/**/* - -gh-actions: - - changed-files: - - any-glob-to-any-file: - - .github/workflows/* - - .github/workflows/**/* - - .github/labeler.yml - - .github/pull_request_template.md - -dependencies: - - changed-files: - - any-glob-to-any-file: - - web/package-lock.json - - cmake/ConkyPlatformChecks.cmake - -audio: - - changed-files: - - any-glob-to-any-file: - - src/audacious.cc - - src/audacious.h - - src/cmus.cc - - src/cmus.h - - src/libmpdclient.cc - - src/libmpdclient.h - - src/mpd.cc - - src/mpd.h - - src/moc.cc - - src/moc.h - - src/mixer.cc - - src/mixer.h - - src/xmms2.cc - - src/xmms2.h - - src/pulseaudio.cc - - src/pulseaudio.h - -power: - - changed-files: - - any-glob-to-any-file: - - src/apcupsd.cc - - src/apcupsd.h - - src/bsdapm.cc - - src/bsdapm.h - - src/smapi.cc - - src/smapi.h - -'display: console': - - changed-files: - - any-glob-to-any-file: - - src/display-console.cc - - src/display-console.hh -'display: file': - - changed-files: - - any-glob-to-any-file: - - src/display-file.cc - - src/display-file.hh -'display: http': - - changed-files: - - any-glob-to-any-file: - - src/display-http.cc - - src/display-http.hh -'display: ncurses': - - changed-files: - - any-glob-to-any-file: - - src/nc.cc - - src/nc.h - - src/display-ncurses.cc - - src/display-ncurses.hh -'display: wayland': - - changed-files: - - any-glob-to-any-file: - - src/wl.cc - - src/wl.h - - src/wlr-layer-shell-unstable-v1.xml - - src/display-wayland.cc - - src/display-wayland.hh -'display: x11': - - changed-files: - - any-glob-to-any-file: - - src/x11-color.cc - - src/x11-color.h - - src/x11.cc - - src/x11.h - - src/display-x11.cc - - src/display-x11.hh - -'build system': - - changed-files: - - any-glob-to-any-file: - - '**/CMakeLists.txt' - - '*.cmake' - -cairo: - - changed-files: - - any-glob-to-any-file: - - 'lua/*cairo*' - -'disk io': - - changed-files: - - any-glob-to-any-file: - - src/diskio.cc - - src/diskio.h - -cpu: - - changed-files: - - any-glob-to-any-file: - - src/cpu.cc - - src/cpu.h - - src/proc.cc - - src/proc.h - - src/top.cc - - src/top.h - -lua: - - changed-files: - - any-glob-to-any-file: - - lua/* - - lua/**/* - - src/llua.cc - - src/llua.h - - src/luamm.cc - - src/luamm.h - - src/lua-config.cc - - src/lua-config.hh - -'os: linux': - - changed-files: - - any-glob-to-any-file: - - src/linux.cc - - src/linux.h - -'os: linux': - - changed-files: - - any-glob-to-any-file: - - src/linux.cc - - src/linux.h - -'os: dragonfly': - - changed-files: - - any-glob-to-any-file: - - src/dragonfly.cc - - src/dragonfly.h - -'os: freebsd': - - changed-files: - - any-glob-to-any-file: - - src/freebsd.cc - - src/freebsd.h - -'os: netbsd': - - changed-files: - - any-glob-to-any-file: - - src/netbsd.cc - - src/netbsd.h - -'os: openbsd': - - changed-files: - - any-glob-to-any-file: - - src/openbsd.cc - - src/openbsd.h - -'os: solaris': - - changed-files: - - any-glob-to-any-file: - - src/solaris.cc - - src/solaris.h - -'os: haiku': - - changed-files: - - any-glob-to-any-file: - - src/haiku.cc - - src/haiku.h - -'mouse events': - - changed-files: - - any-glob-to-any-file: - - src/scroll.cc - - src/scroll.h - - src/mouse-events.cc - - src/mouse-events.h - -networking: - - changed-files: - - any-glob-to-any-file: - - src/net_stat.cc - - src/net_stat.h - - src/tcp-portmon.cc - - src/tcp-portmon.h - - src/read_tcpip.cc - - src/read_tcpip.h - -nvidia: - - changed-files: - - any-glob-to-any-file: - - src/nvidia.cc - - src/nvidia.h - -rendering: - - changed-files: - - any-glob-to-any-file: - - src/text_object.cc - - src/text_object.h - - src/specials.cc - - src/specials.h - -text: - - changed-files: - - any-glob-to-any-file: - - src/text_object.cc - - src/text_object.h - - src/template.cc - - src/template.h - - src/tailhead.cc - - src/tailhead.h - - src/specials.cc - - src/specials.h +version: 1 + +labels: + - label: 'documentation' + type: 'pull_request' + files: + - doc/* + - doc/**/* + - data/conky*.conf + + - label: 'extras' + type: 'pull_request' + files: + - extras/* + - extras/**/* + + - label: 'sources' + type: 'pull_request' + files: + - src/* + - src/**/* + + - label: 'tests' + type: 'pull_request' + files: + - tests/**/* + - tests/* + + - label: 'web' + type: 'pull_request' + files: + - web/* + - web/**/* + + - label: 'appimage' + type: 'pull_request' + files: + - appimage/* + - appimage/**/* + + - label: '3rdparty' + type: 'pull_request' + files: + - 3rdparty/* + - 3rdparty/**/* + + - label: 'gh-actions' + type: 'pull_request' + files: + - .github/workflows/* + - .github/workflows/**/* + - .github/labeler.yml + - .github/pull_request_template.md + + - label: 'dependencies' + type: 'pull_request' + files: + - web/package-lock.json + - cmake/ConkyPlatformChecks.cmake + + - label: 'audio' + type: 'pull_request' + files: + - src/audacious.cc + - src/audacious.h + - src/cmus.cc + - src/cmus.h + - src/libmpdclient.cc + - src/libmpdclient.h + - src/mpd.cc + - src/mpd.h + - src/moc.cc + - src/moc.h + - src/mixer.cc + - src/mixer.h + - src/xmms2.cc + - src/xmms2.h + - src/pulseaudio.cc + - src/pulseaudio.h + + - label: 'power' + type: 'pull_request' + files: + - src/apcupsd.cc + - src/apcupsd.h + - src/bsdapm.cc + - src/bsdapm.h + - src/smapi.cc + - src/smapi.h + + - label: 'display: console' + type: 'pull_request' + files: + - src/display-console.cc + - src/display-console.hh + - label: 'display: file' + type: 'pull_request' + files: + - src/display-file.cc + - src/display-file.hh + - label: 'display: http' + type: 'pull_request' + files: + - src/display-http.cc + - src/display-http.hh + - label: 'display: ncurses' + type: 'pull_request' + files: + - src/nc.cc + - src/nc.h + - src/display-ncurses.cc + - src/display-ncurses.hh + - label: 'display: wayland' + type: 'pull_request' + files: + - src/wl.cc + - src/wl.h + - src/wlr-layer-shell-unstable-v1.xml + - src/display-wayland.cc + - src/display-wayland.hh + - label: 'display: x11' + type: 'pull_request' + files: + - src/x11-color.cc + - src/x11-color.h + - src/x11.cc + - src/x11.h + - src/display-x11.cc + - src/display-x11.hh + + - label: 'build system' + type: 'pull_request' + files: + - '**/CMakeLists.txt' + - '*.cmake' + + - label: 'cairo' + type: 'pull_request' + files: + - 'lua/*cairo*' + + - label: 'disk io' + type: 'pull_request' + files: + - src/diskio.cc + - src/diskio.h + + - label: 'cpu' + type: 'pull_request' + files: + - src/cpu.cc + - src/cpu.h + - src/proc.cc + - src/proc.h + - src/top.cc + - src/top.h + + - label: 'lua' + type: 'pull_request' + files: + - lua/* + - lua/**/* + - src/llua.cc + - src/llua.h + - src/luamm.cc + - src/luamm.h + - src/lua-config.cc + - src/lua-config.hh + + - label: 'os: linux' + type: 'pull_request' + files: + - src/linux.cc + - src/linux.h + - label: 'os: dragonfly' + type: 'pull_request' + files: + - src/dragonfly.cc + - src/dragonfly.h + - label: 'os: freebsd' + type: 'pull_request' + files: + - src/freebsd.cc + - src/freebsd.h + - label: 'os: netbsd' + type: 'pull_request' + files: + - src/netbsd.cc + - src/netbsd.h + - label: 'os: openbsd' + type: 'pull_request' + files: + - src/openbsd.cc + - src/openbsd.h + - label: 'os: solaris' + type: 'pull_request' + files: + - src/solaris.cc + - src/solaris.h + - label: 'os: haiku' + type: 'pull_request' + files: + - src/haiku.cc + - src/haiku.h + + - label: 'mouse events' + type: 'pull_request' + files: + - src/scroll.cc + - src/scroll.h + - src/mouse-events.cc + - src/mouse-events.h + + - label: 'networking' + type: 'pull_request' + files: + - src/net_stat.cc + - src/net_stat.h + - src/tcp-portmon.cc + - src/tcp-portmon.h + - src/read_tcpip.cc + - src/read_tcpip.h + + - label: 'nvidia' + type: 'pull_request' + files: + - src/nvidia.cc + - src/nvidia.h + + - label: 'rendering' + type: 'pull_request' + files: + - src/text_object.cc + - src/text_object.h + - src/specials.cc + - src/specials.h + + - label: 'text' + type: 'pull_request' + files: + - src/text_object.cc + - src/text_object.h + - src/template.cc + - src/template.h + - src/tailhead.cc + - src/tailhead.h + - src/specials.cc + - src/specials.h diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 5ce726bbc..888d1b918 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,7 @@ name: 'Pull Request Labeler' on: - pull_request_target + - issues jobs: triage: @@ -12,7 +13,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Run labeler - uses: actions/labeler@v5 - with: - sync-labels: true - repo-token: '${{ secrets.GITHUB_TOKEN }}' + uses: srvaroa/labeler@v1 + env: + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' From 8002cc748706588ba5ddff54ba0ef943b4ce6fe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Thu, 10 Oct 2024 04:44:41 +0200 Subject: [PATCH 3/5] Add labels for issue content matches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tin Švagelj --- .github/labeler.yml | 62 +++++++++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 3 -- 2 files changed, 62 insertions(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 446bdaa8c..a6e5c2623 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,4 +1,6 @@ version: 1 +issues: True +appendOnly: true labels: - label: 'documentation' @@ -7,6 +9,9 @@ labels: - doc/* - doc/**/* - data/conky*.conf + - label: 'documentation' + type: 'issue' + title: "[Dd]ocument(ation)?" - label: 'extras' type: 'pull_request' @@ -38,6 +43,10 @@ labels: - appimage/* - appimage/**/* + - label: 'appimage' + type: 'issue' + body: "(appimage|AppImage|Appimage)" + - label: '3rdparty' type: 'pull_request' files: @@ -78,6 +87,10 @@ labels: - src/pulseaudio.cc - src/pulseaudio.h + - label: 'audio' + type: 'issue' + body: "([Aa]udacious|CMUS|cmus|MPD|mpd|[Mm]ixer|xmms2|XMMS2|[Pp]ulse[Aa]udio)" + - label: 'power' type: 'pull_request' files: @@ -118,6 +131,10 @@ labels: - src/wlr-layer-shell-unstable-v1.xml - src/display-wayland.cc - src/display-wayland.hh + - label: 'display: wayland' + type: 'issue' + title: "[Ww]ayland" + - label: 'display: x11' type: 'pull_request' files: @@ -127,6 +144,9 @@ labels: - src/x11.h - src/display-x11.cc - src/display-x11.hh + - label: 'display: x11' + type: 'issue' + title: "[Xx]11" - label: 'build system' type: 'pull_request' @@ -138,6 +158,9 @@ labels: type: 'pull_request' files: - 'lua/*cairo*' + - label: 'cairo' + type: 'issue' + title: "([Cc]airo)" # can be in config - label: 'disk io' type: 'pull_request' @@ -154,6 +177,9 @@ labels: - src/proc.h - src/top.cc - src/top.h + - label: 'cpu' + type: 'issue' + title: "(CPU|cpu)" - label: 'lua' type: 'pull_request' @@ -166,42 +192,66 @@ labels: - src/luamm.h - src/lua-config.cc - src/lua-config.hh + - label: 'lua' + type: 'issue' + title: "[Ll](ua|UA)" - label: 'os: linux' type: 'pull_request' files: - src/linux.cc - src/linux.h + - label: 'os: linux' + type: 'issue' + title: "[Ll]inux" - label: 'os: dragonfly' type: 'pull_request' files: - src/dragonfly.cc - src/dragonfly.h + - label: 'os: dragonfly' + type: 'issue' + body: "[Dd]ragon[Ff]ly" - label: 'os: freebsd' type: 'pull_request' files: - src/freebsd.cc - src/freebsd.h + - label: 'os: dragonfly' + type: 'issue' + body: "[Ff]ree\\s?(BSD|bsd)" - label: 'os: netbsd' type: 'pull_request' files: - src/netbsd.cc - src/netbsd.h + - label: 'os: netbsd' + type: 'issue' + body: "[Nn]et\\s?(BSD|bsd)" - label: 'os: openbsd' type: 'pull_request' files: - src/openbsd.cc - src/openbsd.h + - label: 'os: openbsd' + type: 'issue' + body: "[Oo]pen\\s?(BSD|bsd)" - label: 'os: solaris' type: 'pull_request' files: - src/solaris.cc - src/solaris.h + - label: 'os: solaris' + type: 'issue' + body: "[Ss](olaris|OLARIS)" - label: 'os: haiku' type: 'pull_request' files: - src/haiku.cc - src/haiku.h + - label: 'os: haiku' + type: 'issue' + body: "[Hh](aiku|AIKU)" - label: 'mouse events' type: 'pull_request' @@ -210,6 +260,9 @@ labels: - src/scroll.h - src/mouse-events.cc - src/mouse-events.h + - label: 'mouse events' + type: 'issue' + body: "(mouse|cursor|pointer) (events?|enters?|leaves?|clicks?|press(es)?))" - label: 'networking' type: 'pull_request' @@ -220,12 +273,18 @@ labels: - src/tcp-portmon.h - src/read_tcpip.cc - src/read_tcpip.h + - label: 'networking' + type: 'issue' + body: "(network|IP address|download|upload)" - label: 'nvidia' type: 'pull_request' files: - src/nvidia.cc - src/nvidia.h + - label: 'nvidia' + type: 'issue' + body: "[Nn](vidia|VIDIA)" - label: 'rendering' type: 'pull_request' @@ -246,3 +305,6 @@ labels: - src/tailhead.h - src/specials.cc - src/specials.h + - label: 'text' + type: 'issue' + body: "\\$\\w+ variable" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 888d1b918..cc3d22b1f 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -5,9 +5,6 @@ on: jobs: triage: - permissions: - contents: read - pull-requests: write runs-on: ubuntu-latest steps: - name: Checkout From fcddf536c916b041ef6fbd86ae308c546a13efe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Thu, 10 Oct 2024 05:24:30 +0200 Subject: [PATCH 4/5] Tweak settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tin Švagelj --- .github/labeler.yml | 3 +-- .github/workflows/labeler.yml | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index a6e5c2623..3d4fb9eab 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,5 +1,4 @@ version: 1 -issues: True appendOnly: true labels: @@ -262,7 +261,7 @@ labels: - src/mouse-events.h - label: 'mouse events' type: 'issue' - body: "(mouse|cursor|pointer) (events?|enters?|leaves?|clicks?|press(es)?))" + body: "(mouse|cursor|pointer) (buttons?|events?|enters?|leaves?|clicks?|press(es)?))" - label: 'networking' type: 'pull_request' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index cc3d22b1f..8d64f0bd2 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -7,8 +7,6 @@ jobs: triage: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - name: Run labeler uses: srvaroa/labeler@v1 env: From 2ce654b2b78eea2d9f313cbda8a218ab87339719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Thu, 10 Oct 2024 07:03:18 +0200 Subject: [PATCH 5/5] Detect more labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tin Švagelj --- .github/labeler.yml | 290 +++++++++++++++++++++++++++----------------- 1 file changed, 178 insertions(+), 112 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 3d4fb9eab..774076f0c 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -2,6 +2,130 @@ version: 1 appendOnly: true labels: + - label: 'enhancement' + type: 'issue' + body: "([Ee]nhance(d|ment)|[Ii]mprove(ment|d))" + - label: 'enhancement' + type: 'issue' + title: "([Ee]nhance(d|ment)|[Ii]mprove(ment|d))" + - label: 'feature' + type: 'issue' + title: "([Ff]eature|[Ss]uggestion)" + - label: 'packaging' + type: 'issue' + body: "([Pp]ackage|AUR)" + - label: 'question' + type: 'issue' + body: "([Ww](ondering|ant(ed)? to ask|ould like to (know|understand)))" + + - label: 'priority: low' + type: 'issue' + body: "low priority" + + - label: 'display: console' + type: 'pull_request' + files: + - src/display-console.cc + - src/display-console.hh + - label: 'display: file' + type: 'pull_request' + files: + - src/display-file.cc + - src/display-file.hh + - label: 'display: http' + type: 'pull_request' + files: + - src/display-http.cc + - src/display-http.hh + - label: 'display: ncurses' + type: 'pull_request' + files: + - src/nc.cc + - src/nc.h + - src/display-ncurses.cc + - src/display-ncurses.hh + - label: 'display: wayland' + type: 'pull_request' + files: + - src/wl.cc + - src/wl.h + - src/wlr-layer-shell-unstable-v1.xml + - src/display-wayland.cc + - src/display-wayland.hh + - label: 'display: wayland' + type: 'issue' + title: "[Ww]ayland" + + - label: 'display: x11' + type: 'pull_request' + files: + - src/x11-color.cc + - src/x11-color.h + - src/x11.cc + - src/x11.h + - src/display-x11.cc + - src/display-x11.hh + - label: 'display: x11' + type: 'issue' + title: "[Xx]11" + + - label: 'os: linux' + type: 'pull_request' + files: + - src/linux.cc + - src/linux.h + - label: 'os: linux' + type: 'issue' + title: "[Ll]inux" + - label: 'os: dragonfly' + type: 'pull_request' + files: + - src/dragonfly.cc + - src/dragonfly.h + - label: 'os: dragonfly' + type: 'issue' + body: "[Dd]ragon[Ff]ly" + - label: 'os: freebsd' + type: 'pull_request' + files: + - src/freebsd.cc + - src/freebsd.h + - label: 'os: dragonfly' + type: 'issue' + body: "[Ff]ree\\s?(BSD|bsd)" + - label: 'os: netbsd' + type: 'pull_request' + files: + - src/netbsd.cc + - src/netbsd.h + - label: 'os: netbsd' + type: 'issue' + body: "[Nn]et\\s?(BSD|bsd)" + - label: 'os: openbsd' + type: 'pull_request' + files: + - src/openbsd.cc + - src/openbsd.h + - label: 'os: openbsd' + type: 'issue' + body: "[Oo]pen\\s?(BSD|bsd)" + - label: 'os: solaris' + type: 'pull_request' + files: + - src/solaris.cc + - src/solaris.h + - label: 'os: solaris' + type: 'issue' + body: "[Ss](olaris|OLARIS)" + - label: 'os: haiku' + type: 'pull_request' + files: + - src/haiku.cc + - src/haiku.h + - label: 'os: haiku' + type: 'issue' + body: "[Hh](aiku|AIKU)" + - label: 'documentation' type: 'pull_request' files: @@ -10,7 +134,7 @@ labels: - data/conky*.conf - label: 'documentation' type: 'issue' - title: "[Dd]ocument(ation)?" + title: "[Dd]ocument(ation)?" # can be mentioned but unrelated - label: 'extras' type: 'pull_request' @@ -36,12 +160,6 @@ labels: - web/* - web/**/* - - label: 'appimage' - type: 'pull_request' - files: - - appimage/* - - appimage/**/* - - label: 'appimage' type: 'issue' body: "(appimage|AppImage|Appimage)" @@ -66,6 +184,12 @@ labels: - web/package-lock.json - cmake/ConkyPlatformChecks.cmake + - label: 'appimage' + type: 'pull_request' + files: + - appimage/* + - appimage/**/* + - label: 'audio' type: 'pull_request' files: @@ -85,10 +209,9 @@ labels: - src/xmms2.h - src/pulseaudio.cc - src/pulseaudio.h - - label: 'audio' type: 'issue' - body: "([Aa]udacious|CMUS|cmus|MPD|mpd|[Mm]ixer|xmms2|XMMS2|[Pp]ulse[Aa]udio)" + title: "([Aa]udio|[Aa]udacious|CMUS|cmus|MPD|libmpd|[Mm]ixer|xmms2|XMMS2|[Pp]ulse[Aa]udio|[Mm]usic|[Ss]ong)" # can be in config - label: 'power' type: 'pull_request' @@ -99,53 +222,9 @@ labels: - src/bsdapm.h - src/smapi.cc - src/smapi.h - - - label: 'display: console' - type: 'pull_request' - files: - - src/display-console.cc - - src/display-console.hh - - label: 'display: file' - type: 'pull_request' - files: - - src/display-file.cc - - src/display-file.hh - - label: 'display: http' - type: 'pull_request' - files: - - src/display-http.cc - - src/display-http.hh - - label: 'display: ncurses' - type: 'pull_request' - files: - - src/nc.cc - - src/nc.h - - src/display-ncurses.cc - - src/display-ncurses.hh - - label: 'display: wayland' - type: 'pull_request' - files: - - src/wl.cc - - src/wl.h - - src/wlr-layer-shell-unstable-v1.xml - - src/display-wayland.cc - - src/display-wayland.hh - - label: 'display: wayland' - type: 'issue' - title: "[Ww]ayland" - - - label: 'display: x11' - type: 'pull_request' - files: - - src/x11-color.cc - - src/x11-color.h - - src/x11.cc - - src/x11.h - - src/display-x11.cc - - src/display-x11.hh - - label: 'display: x11' + - label: 'power' type: 'issue' - title: "[Xx]11" + title: "([Bb]attery|[Cc]harged)" # can be in config - label: 'build system' type: 'pull_request' @@ -161,11 +240,23 @@ labels: type: 'issue' title: "([Cc]airo)" # can be in config + - label: 'sensors' + type: 'pull_request' + files: + - src/hddtemp.cc + - src/hddtemp.h + - label: 'disk io' + type: 'issue' + title: "(temperature|temp)" # can be in config + - label: 'disk io' type: 'pull_request' files: - src/diskio.cc - src/diskio.h + - label: 'disk io' + type: 'issue' + title: "(HDD|hdd|SSD|ssd|[Dd](isk|rive) space|filesystem)" # can be in config - label: 'cpu' type: 'pull_request' @@ -178,7 +269,7 @@ labels: - src/top.h - label: 'cpu' type: 'issue' - title: "(CPU|cpu)" + title: "(CPU|cpu)" # can be in config - label: 'lua' type: 'pull_request' @@ -193,64 +284,18 @@ labels: - src/lua-config.hh - label: 'lua' type: 'issue' - title: "[Ll](ua|UA)" + title: "[Ll](ua|UA)" # can be in config - - label: 'os: linux' - type: 'pull_request' - files: - - src/linux.cc - - src/linux.h - - label: 'os: linux' - type: 'issue' - title: "[Ll]inux" - - label: 'os: dragonfly' - type: 'pull_request' - files: - - src/dragonfly.cc - - src/dragonfly.h - - label: 'os: dragonfly' - type: 'issue' - body: "[Dd]ragon[Ff]ly" - - label: 'os: freebsd' + - label: 'mail' type: 'pull_request' files: - - src/freebsd.cc - - src/freebsd.h - - label: 'os: dragonfly' - type: 'issue' - body: "[Ff]ree\\s?(BSD|bsd)" - - label: 'os: netbsd' - type: 'pull_request' - files: - - src/netbsd.cc - - src/netbsd.h - - label: 'os: netbsd' - type: 'issue' - body: "[Nn]et\\s?(BSD|bsd)" - - label: 'os: openbsd' - type: 'pull_request' - files: - - src/openbsd.cc - - src/openbsd.h - - label: 'os: openbsd' + - src/mail.cc + - src/mail.h + - src/mboxscan.cc + - src/mboxscan.h + - label: 'mail' type: 'issue' - body: "[Oo]pen\\s?(BSD|bsd)" - - label: 'os: solaris' - type: 'pull_request' - files: - - src/solaris.cc - - src/solaris.h - - label: 'os: solaris' - type: 'issue' - body: "[Ss](olaris|OLARIS)" - - label: 'os: haiku' - type: 'pull_request' - files: - - src/haiku.cc - - src/haiku.h - - label: 'os: haiku' - type: 'issue' - body: "[Hh](aiku|AIKU)" + title: "(e?mail|[Mm][Bb](ox|OX))" # can be in config - label: 'mouse events' type: 'pull_request' @@ -274,7 +319,7 @@ labels: - src/read_tcpip.h - label: 'networking' type: 'issue' - body: "(network|IP address|download|upload)" + title: "(network( (interface|id|ID))|(IP|machine|gateway)('?s)? address|download|upload|gateway)" # can be in config - label: 'nvidia' type: 'pull_request' @@ -283,7 +328,7 @@ labels: - src/nvidia.h - label: 'nvidia' type: 'issue' - body: "[Nn](vidia|VIDIA)" + title: "[Nn](vidia|VIDIA)" # can be in config - label: 'rendering' type: 'pull_request' @@ -292,10 +337,21 @@ labels: - src/text_object.h - src/specials.cc - src/specials.h + - label: 'rendering' + type: 'issue' + title: "([Xx](ft|FT))" + - label: 'rendering' + type: 'issue' + body: "(incorrect|bad|wrong)(ly)? (size|align|position)(ed|ment)" + - label: 'rendering' + type: 'issue' + body: "(flicker(ing)?|font icons?|[Xx](ft|FT))" - label: 'text' type: 'pull_request' files: + - src/core.cc + - src/core.h - src/text_object.cc - src/text_object.h - src/template.cc @@ -304,6 +360,16 @@ labels: - src/tailhead.h - src/specials.cc - src/specials.h + - label: 'text' + type: 'issue' + body: "exec(i(bar))" - label: 'text' type: 'issue' body: "\\$\\w+ variable" + + - label: 'build system' + type: 'issue' + title: "([Cc]?[Cc][Mm]ake|([Mm]ake|[Bb]uild) error|compil(e|ation))" + - label: 'build system' + type: 'issue' + body: "([Cc]?[Cc][Mm]ake|([Mm]ake|[Bb]uild) error|compil(e|ation))"