I sat down today and tried to find a better pattern for keeping up with "new devices", but I just got crushed by reality. Here the adventure:
My first attempt was to filter for "hardware specifications:" in the commit message body, which soon became "specifications:", because not everybody bothers with hardware, which soon became "specifications", because not everybody bothers with the :
, which soon became "specification", because not everybody bothers with the s
.
Unfortunately, i found another commit that was not a new device, but with the word "specification" in the body. So i thought, why not add an additional condition to it? - Also filter for the word "RAM". Surely if its a new device, hardware details will be added to the commit message and every device will have a RAM, right? The end of that story was following javascript regex:
, which was pretty neat and yielded 25 non ax capable devices since January 2023. Could this have been the end of the story? Of course not! Noooo. Obviously there are those that refrain from posting the word "specification" at all in the commit message.
Rockchip for examle only mentions "hardware" in the body and has following subject header: "add Firefly ROC-RK3328-CC support": https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=a7d6cf0bb3504cb0e81b2a4c484fed4dc3a5b4c5. So i was thinking of creating another complicated complex filter or filter with RegEx, maybe something along
but while on that path, i found other commits that are so hard to get my head around, i find it impossible to derive a working keyword filter without ending up marking completely arbitrary commits as well, mainly because the refrain from adding any hardware details.
Examples would be:
Currently, e-mail filters are a mess.
I think one of the following has to be the way forward:
- Enforce proper syntax in commit messages for "add new device" or "add support for device"
- (Somehow) create link between table of hardware (toh) and forum (i would not know how).
- newly added devices could be labeled / marked / added to a "new device" or "last added" database based on the particular files and specific content that was changed, similar to what labeler does, the github actions bot.
Be aware though, not even the "new devices" label on github captures all new devices. See here: mediatek: filogic: add Qihoo 360T7 support. Edit: That is because the "new devices" label has to be added manually and it is not triggered by a bot.
So, not only e-mail filters are a mess 