infra: add solution to dump metadata from packages (branch yem/misc)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 of 10 patches 0 repliesNew
2 of 10 patches are in this archive. The cover letter announces 10.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | infra/pkg-download: return just a list of URIs | +0 | 1 reply | |
| 6/10 | infra/pkg-generic: introduce foo-show-info | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 00/10] infra: add solution to dump metadata from packages (branch yem/misc)
Hello,
Quoted 4 lines · On Sun, 7 Apr 2019 13:51:06 +0200 "Yann E. MORIN" <[email protected]>…
This series is a proposal to allow extracting metadata about packages, in a way that makes it reusable for tooling outside of Buildroot, that is both reliable and extendable, without causing too much burden on Buildroot own infrastructure.
Overall, I am quite happy with the general idea (as we have already discussed). It allows to extract a lot of information about the packages, in a format that is easily parseable.
My small annoyance is that we start to have some overlap between the following mechanisms:
- The "make printvars" mechanism, which essentially already allows to dump the metadata of all packages. Admittedly, in a format that is a lot less nice. I think this overlap is OK, since "make printvars" is mainly intended as a debugging mechanism, not so much as a real tool whose output can be parsed. The new JSON stuff could presumably be used as a replacement to "printvars" for people who need to currently parse the "printvars" output.
- The "make legal-info" mechanism, which also outputs some metadata about the packages.
I'm not at all saying that we shouldn't merge this JSON output, I just wanted to point out the different ways that already exist to extract some package metadata out of Buildroot.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com