[Buildroot] [PATCH 04/11] support/scripts/pkg-stats: do not exclued pkg name in json output

Heiko Thiery heiko.thiery at gmail.com
Fri Jan 3 16:29:02 UTC 2020


Am Fr., 3. Jan. 2020 um 16:24 Uhr schrieb Thomas Petazzoni
<thomas.petazzoni at bootlin.com>:
>
> On Fri,  3 Jan 2020 16:18:41 +0100
> Heiko Thiery <heiko.thiery at gmail.com> wrote:
>
> > Signed-off-by: Heiko Thiery <heiko.thiery at gmail.com>
>
> But isn't the package name already present in
> http://autobuild.buildroot.net/stats/index.json ? All the subnodes of
> /packages/ are nodes named after the packages.

When handling a package node I dont have the knowledge of the name. Or
I have to passing the name also to the render function:
https://github.com/hthiery/buildroot-stats/blob/master/app/routes.py#L67

This is also possible. But I thought it is a good idea to do so.

> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com



More information about the buildroot mailing list