[OpenWrt-Devel] [RFC] commit message in YAML format for new devices

Thomas Endt tmo26 at gmx.de
Mon Jan 13 08:03:09 EST 2020

> -----Ursprüngliche Nachricht-----
> Von: openwrt-devel <openwrt-devel-bounces at lists.openwrt.org> Im
> Auftrag von Paul Spooren
> Gesendet: Sonntag, 12. Januar 2020 22:47
> An: 'OpenWrt Development List' <openwrt-devel at lists.openwrt.org>
> Betreff: [OpenWrt-Devel] [RFC] commit message in YAML format for new
> devices
> An illustrative commit therefore:
> soc: Qualcomm IPQ4029
> ram_mb: 512
> flash:

If there is manual user input, you need to validate and normalize the input data.


- soc: Qualcomm IPQ4029
- soc: IPQ4029
- soc: qUaLcOmMm IPQ4029

We want uniform naming and spelling.

If all this is created via script, ok, no problem, the script can handle that.
If you want users to deliver acceptable yaml files, you should create a "yaml-generator" where you can easily chose in dropdown lists which SoC, what RAM chip, .....
The current dataentries do already have dropdowns for several features, however, SoC + Wireless hardware are freetext, no dropdowns. Having that automated would be a gain.



openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list