Project Version
0.16.0
Python Version
3.12, 3.13, 3.14
Operating System
Linux, macOS
Steps to Reproduce
- Run
docbuild --env-config=env.devel.toml metadata 'sles/12-SP5/*'
- Compare the output with
json-portal-dsc/sles/12-SP5.json
Expected Behavior
All keys are correct:
Actual Behavior
[Abbreviations: (M) = manually crafted by hand, (G) = generated]
-
productname: β
-
acronym: π΄ In (G) it's SLES but (M) shows sles => (M) is correct, (G) is wrong.
-
version: β
-
lifecycle: β
-
descriptions: π΄
- π΄ (G) contains more text in the description key.
- β
The amount of languages
-
categories: π΄
- β For other languages than English,
default: false is missing in (M). Maybe we can remove that in (G), maybe it's not really needed.
- π΄ The
title is different for ja-jp and zh-cn.
- β
The
rank key is correct.
- β The
categoryId: "smart-docs" is there in (G) but not in (M)
-
documents π΄ (the really important things):
For the English "Live Kernel Patching Using kGraft" document:
- π΄ The
language in (G) docs.[].lang: "en" is wrong. It should be en-us.
- β In (G), the
docs.[].default key is missing.
- π΄ In (G) for
format.html, the path is /sles/12-SP5/html/SLES-kgraft/ whereas in (M) it's /sles/12-SP5/html/SLES-kgraft/art-kgraft.html.
- π΄ In (G) for
format.pdf, the path is /sles/12-SP5/pdf/SLES-kgraft_en.pdf whereas in (M) it's /sles/12-SP5/pdf/art-kgraft_en.pdf.
- π΄ In (G), the
dateModified is empty
- β
tasks
- β
products
- β In (G), missing
"category": "administration"
- β
docTypes
- β
isGate
- β
rank
Additional Information
To simplify comparison, use Sushant's tool:
upython tools/audit_suite.py parity MANUALLY_JSON GENERATED-JSON
Project Version
0.16.0
Python Version
3.12, 3.13, 3.14
Operating System
Linux, macOS
Steps to Reproduce
docbuild --env-config=env.devel.toml metadata 'sles/12-SP5/*'json-portal-dsc/sles/12-SP5.jsonExpected Behavior
All keys are correct:
langshows LL-CC formatacronymis solved (either in G or M)descriptionsshows the correct entriescategoriescontains the correct amount and the correct entriesformatentries contains the correct pathdateModifiedcontains a date, not an empty stringActual Behavior
[Abbreviations: (M) = manually crafted by hand, (G) = generated]
productname: βacronym: π΄ In (G) it's SLES but (M) shows sles => (M) is correct, (G) is wrong.version: βlifecycle: βdescriptions: π΄categories: π΄default: falseis missing in (M). Maybe we can remove that in (G), maybe it's not really needed.titleis different forja-jpandzh-cn.rankkey is correct.categoryId: "smart-docs"is there in (G) but not in (M)documentsπ΄ (the really important things):For the English "Live Kernel Patching Using kGraft" document:
languagein (G)docs.[].lang: "en"is wrong. It should been-us.docs.[].defaultkey is missing.format.html, the path is/sles/12-SP5/html/SLES-kgraft/whereas in (M) it's/sles/12-SP5/html/SLES-kgraft/art-kgraft.html.format.pdf, the path is/sles/12-SP5/pdf/SLES-kgraft_en.pdfwhereas in (M) it's/sles/12-SP5/pdf/art-kgraft_en.pdf.dateModifiedis emptytasksproducts"category": "administration"docTypesisGaterankAdditional Information
To simplify comparison, use Sushant's tool: