* [LTP] [PATCH v1] doc: update filesystems info according to new metadata
@ 2025-07-11 13:29 Andrea Cervesato
2025-07-11 13:48 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Andrea Cervesato @ 2025-07-11 13:29 UTC (permalink / raw)
To: ltp
From: Andrea Cervesato <andrea.cervesato@suse.com>
New metadata is now using a dictionary definition for
tst_test.filesystems. This patch will correctly show the filesystems
setup information inside the html page.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Follow up patch for
https://patchwork.ozlabs.org/project/ltp/list/?series=464762
doc/conf.py | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/doc/conf.py b/doc/conf.py
index da768232b..cadfeb2b3 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -406,13 +406,12 @@ def _generate_setup_table(keys):
else:
values.append(f'{value[0]}, {value[1]}')
elif key == 'filesystems':
- for v in value:
- for item in v:
- if isinstance(item, list):
- continue
-
- if item.startswith('.type'):
- values.append(item.replace('.type=', ''))
+ for params in value:
+ for pkey, pval in params.items():
+ if pkey == "type":
+ values.append(f"- {pval}")
+ else:
+ values.append(f" {pkey}: {pval}")
elif key == "save_restore":
for item in value:
values.append(item[0])
--
2.50.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH v1] doc: update filesystems info according to new metadata
2025-07-11 13:29 [LTP] [PATCH v1] doc: update filesystems info according to new metadata Andrea Cervesato
@ 2025-07-11 13:48 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2025-07-11 13:48 UTC (permalink / raw)
To: Andrea Cervesato; +Cc: ltp
Hi!
I've pushed my two patches for metadata followed by this patch, thanks!
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-11 13:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-11 13:29 [LTP] [PATCH v1] doc: update filesystems info according to new metadata Andrea Cervesato
2025-07-11 13:48 ` Cyril Hrubis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.