Metadata parser fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | metadata: metaparse: Parse operators *, +, and | properlymetadata/ | +3 | 3 replies | |
| 2/9 | metadata: metaparse: Implement recursive includemetadata/ | +40 | 1 reply | |
| 3/9 | metadata: metaparse: Apply macros in arrays.metadata/ | +22 | 1 reply | |
| 4/9 | metadata: data_storage: Add JSON null typemetadata/ | +24 | 1 reply | |
| 5/9 | metadata: data_storage: Add two array functionsmetadata/ | +28 | 2 replies | |
| 6/9 | metadata: metaparse: Better array parsing.metadata/ | +51 | 1 reply | |
| 7/9 | metadata: metaparse: Ignore ', ' in array inside parenthesismetadata/ | +8 | 1 reply | |
| 8/9 | metadata: metaparse: Add a few pre-defined macrosmetadata/ | +47 | 3 replies | |
| 9/9 | metadata: parse.sh: Add -Itestcases/kernel/includemetadata/ | +1 | 1 reply |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Petr Vorel |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH 0/9] Metadata parser fixes
This fixes a few metadata parser bugs, mostly array and structure initializers. After this patchset the .save_restore entries should be well formatted and we can make the shell version 1:1 with the C parsed metadata.
The TODO is the filesystem parsing which uses named initializers (e.g. .fs_type = "ext3") and the structure field names end up in the result verbatim. Rather than that the parser should make it a JSON object instead. I will fix that later on.
Cyril Hrubis (9):
metadata: metaparse: Parse operators *, +, and | properly
metadata: metaparse: Implement recursive include
metadata: metaparse: Apply macros in arrays.
metadata: data_storage: Add JSON null type
metadata: data_storage: Add two array functions
metadata: metaparse: Better array parsing.
metadata: metaparse: Ignore ',' in array inside parenthesis
metadata: metaparse: Add a few pre-defined macros
metadata: parse.sh: Add -Itestcases/kernel/include
metadata/data_storage.h | 53 ++++++++++- metadata/metaparse.c | 195 ++++++++++++++++++++++++++++++++++------ metadata/parse.sh | 2 +- 3 files changed, 221 insertions(+), 29 deletions(-)
Signature · 5 lines
2.45.2 -- Mailing list info: https://lists.linux.it/listinfo/ltp