[Buildroot] [PATCH] core/web-legal-info: Generate html page with minimal legal info

Yann E. MORIN yann.morin.1998 at free.fr
Fri Nov 1 15:21:35 UTC 2019


Thomas, All,

On 2019-10-31 22:38 +0100, Thomas Petazzoni spake thusly:
> On Tue, 29 Oct 2019 23:40:07 +0100
> Arnout Vandecappelle <arnout at mind.be> wrote:
> >  It is looking pretty good. I just have one major comment: it has to be flake8
> > compliant.
> 
> During the Buildroot Developers meeting, Nicolas Carrier worked on an
> alternate proposal that consists in generating an XML, and then use an
> XSLT stylesheet to have the browser render an HTML output:
> 
>   http://patchwork.ozlabs.org/patch/1185080/
> 
> I am personally not a big fan of XML/XSLT technologies, and we already
> have stuff in Buildroot that generates just pure HTML, so I would tend
> to prefer an approach such as the one proposed by Mickaël in this
> patch. Should we formally reject the proposal from Nicolas ?

In fact, I still prefer that we expose unformatted, un-rendered data,and
leave to the user the responsibility to inject that in whatever web
framework they are using. So far, the legal-info/ directory contained
only that: raw data. Arguably, the xml format is still kinda raw. The
rendered web-page, not so much, and will mostly never fir into the
user's web framework (and in my olpinion, does not bring much more than
a directory listing would provide).

So, my preference would be for Nicolas' patch (if it can be made to
work).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list