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: