github: change bug reports to recommend `ubus call system board`
authorPaul Donald <newtwen+github@gmail.com>
Thu, 2 Jan 2025 16:38:28 +0000 (16:38 +0000)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 2 Jan 2025 16:38:28 +0000 (16:38 +0000)
This reveals also the device model and cuts down on seemingly repeated
information.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
.github/ISSUE_TEMPLATE/01-bug.yml

index 174d1922922fe12ff04c01b6d4af5fd9373382ad..9c42d43188dc214383403d469396f3c6159c1962 100644 (file)
@@ -72,7 +72,7 @@ body:
       description: |
         What version of openwrt/luci are you running? <br/>
         ```
-        cat /etc/os-release
+        ubus call system board
         ```
         <br/>
         or copy/paste the luci and/or module version from the main status page
@@ -81,25 +81,21 @@ body:
       placeholder: |
         e.g.
 
-        NAME="OpenWrt"
-        VERSION="23.05.5"
-        ID="openwrt"
-        ID_LIKE="lede openwrt"
-        PRETTY_NAME="OpenWrt 23.05.5"
-        VERSION_ID="23.05.5"
-        HOME_URL="https://openwrt.org/"
-        BUG_URL="https://bugs.openwrt.org/"
-        SUPPORT_URL="https://forum.openwrt.org/"
-        BUILD_ID="r24106-10cc5fcd00"
-        OPENWRT_BOARD="mediatek/filogic"
-        OPENWRT_ARCH="aarch64_cortex-a53"
-        OPENWRT_TAINTS=""
-        OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
-        OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
-        OPENWRT_DEVICE_PRODUCT="Generic"
-        OPENWRT_DEVICE_REVISION="v0"
-        OPENWRT_RELEASE="OpenWrt 23.05.5 r24106-10cc5fcd00"
-
+        {
+          "kernel": "5.15.167",
+          "hostname": "openwrt",
+          "system": "ARMv8 Processor rev 4",
+          "model": "GL.iNet GL-MT6000",
+          "board_name": "glinet,gl-mt6000",
+          "rootfs_type": "squashfs",
+          "release": {
+            "distribution": "OpenWrt",
+            "version": "23.05.5",
+            "revision": "r24106-10cc5fcd00",
+            "target": "mediatek/filogic",
+            "description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
+          }
+        }
     validations:
       required: true
   - type: dropdown