Skip to contentSkip to conversation

Revert "docs: conf.py: fix cve extlinks caption for sphinx <4.0"

PATCH New [email protected] 1 participant 4 messages May 24, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 Revert "docs: conf.py: fix cve extlinks caption for sphinx <4.0"

From: Michael Opdenacker <[email protected]>

From: Quentin Schulz <[email protected]>

This reverts commit c9922076f5c1285d9cfd6aff8ce5b6635d88222f.

Since the minimum version required to build the docs has been bumped in the previous commit to 4.0, this commit is not required. Moreover, since Sphinx 5.0 triggers a warning when extlinks captions are not using %s substitution and Sphinx 6.0 will fail to build without the substitution characters, this revert is now required to be able to build the docs.

---
 documentation/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/conf.py +1 -1
index 203b85dc7e..097115276f 100644
@@ -90,7 +90,7 @@ rst_prolog = """
 
 # external links and substitutions
 extlinks = {
-    'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-'),
+    'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
     'yocto_home': ('https://www.yoctoproject.org%s', None),
     'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
     'yocto_dl': ('https://downloads.yoctoproject.org%s', None),
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/4 conf.py: add macro for Mitre CVE links

From: Michael Opdenacker <[email protected]>

New cve_mitre macro for CVEs that are not found (yet) on https://nvd.nist.gov/

---
 documentation/conf.py | 1 +
 1 file changed, 1 insertion(+)
documentation/conf.py +1 -0
index 097115276f..5ff5ec8655 100644
@@ -91,6 +91,7 @@ rst_prolog = """
 # external links and substitutions
 extlinks = {
     'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
+    'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
     'yocto_home': ('https://www.yoctoproject.org%s', None),
     'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
     'yocto_dl': ('https://downloads.yoctoproject.org%s', None),
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/4 migration-guides: use new cve_mitre macro

In reply to [email protected]

From: Michael Opdenacker <[email protected]>

---
 documentation/migration-guides/release-notes-4.0.7.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/migration-guides/release-notes-4.0.7.rst +2 -2
index 9e8ad51a0c..95f5b6a3af 100644
@@ -7,7 +7,7 @@ Security Fixes in Yocto-4.0.7
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 -  binutils: Fix :cve:`2022-4285`
--  curl: Fix :cve:`2022-43551` and `CVE-2022-43552 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-43552>`__
+-  curl: Fix :cve:`2022-43551` and :cve_mitre:`2022-43552`
 -  ffmpeg: Fix :cve:`2022-3109` and :cve:`2022-3341`
 -  go: Fix :cve:`2022-41715` and :cve:`2022-41717`
 -  libX11: Fix :cve:`2022-3554` and :cve:`2022-3555`
@@ -24,7 +24,7 @@ Security Fixes in Yocto-4.0.7
 -  sqlite: Fix :cve:`2022-46908`
 -  systemd: Fix :cve:`2022-45873`
 -  vim: Fix :cve:`2023-0049`, :cve:`2023-0051`, :cve:`2023-0054` and :cve:`2023-0088`
--  webkitgtk: Fix :cve:`2022-32886`, `CVE-2022-32891 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32891>`__ and :cve:`2022-32912`
+-  webkitgtk: Fix :cve:`2022-32886`, :cve_mitre:`2022-32891`
 
 
 Fixes in Yocto-4.0.7
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/4 migration-guides: add release notes for 4.0.10

In reply to [email protected]

From: Michael Opdenacker <[email protected]>

From: Lee Chee Yang <[email protected]>

---
 .../migration-guides/release-4.0.rst          |   1 +
 .../migration-guides/release-notes-4.0.10.rst | 180 ++++++++++++++++++
 2 files changed, 181 insertions(+)
 create mode 100644 documentation/migration-guides/release-notes-4.0.10.rst
documentation/migration-guides/release-4.0.rst +1 -0
index 1fc74a0f6d..05c2705e8e 100644
@@ -16,3 +16,4 @@ Release 4.0 (kirkstone)
    release-notes-4.0.7
    release-notes-4.0.8
    release-notes-4.0.9
+   release-notes-4.0.10
documentation/migration-guides/release-notes-4.0.10.rst new file +180 -0

180 lines not on this page · raw message

Signature · 1 line
2.34.1