[OpenWrt-Devel] [RFC] commit message in YAML format for new devices
mail at aparcar.org
Mon Jan 13 03:13:42 EST 2020
On 1/12/20 1:05 PM, Martin Blumenstingl wrote:
> Hi Paul,
> On Sun, Jan 12, 2020 at 10:47 PM Paul Spooren <mail at aparcar.org> wrote:
>> Hi all,
>> some time ago I created a (now outdated) device overview based on
>> YAML meta data. This approach could simplify maintaining an device
>> overview and device specific pages.
>> All commits adding new devices already include most relevant information
>> for creating the overview. However it would be convenient if developers
>> would format their commit messages in a generic format, therefore I'd
>> propose the following:
>> Every commit message for newly added devices must contain a number of
>> hardware information and steps for an initial installation.
>> The hardware information should contain at least the following
>> information, maybe more:
>> SoC, flash, ram, wifi, LEDs, buttons, USB, serial, vendor, model, device
>> tree ID, Ethernet ports
> can we automate this somehow?
> the device tree files already contain most of that information.
If you have a tool to extract such data or ideas on how to create such,
that'd be great.
As an alternative I could also create a shell script that extracts data
on a running machine, but that might miss some details.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel