[Freedesktop-sdk] license-checking script for BuildStream projects

Thomas Preston thomas.preston at codethink.co.uk
Fri Aug 14 12:47:48 UTC 2020


On 14/08/2020 11:42, Valentin David wrote:
> On Fri, Aug 14, 2020 at 09:27, Douglas Winship 
> <douglas.winship at codethink.co.uk> wrote:
>> C) What sort of format would be good for the machine-readable summary? 
>> json? YAML?
> 
> json is so much easier and faster to parse. So for machine-readable, json.
> 

Wouldn't you just parse it with python-yaml? So it's the same difficulty imo

>> D) What sort of format would be good for the human-readable summary? 
>> markdown? html?
> 
> markdown would be nice. But if it has limitation for formatting, you can 
> go for html.
> 

YAML is sort of human readable. I'd output YAML and have a second stage 
which parses the YAML into a Markdown report.


More information about the Freedesktop-sdk mailing list