* [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org
@ 2026-05-11 7:08 Petr Vorel
2026-05-11 7:42 ` [LTP] " linuxtestproject.agent
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Petr Vorel @ 2026-05-11 7:08 UTC (permalink / raw)
To: ltp
Although test_catalog page links to www.cve.org, it's more convenient for
readers to have that link also on page dedicated to CVEs.
While at it, change warning to note (it's really an info, nothing to
warn about).
Follow-up: 79396c7b71 ("doc: Add CVE catalog to documentation")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi Sachin, Andrea,
thanks a lot for implementing the CVE list page. Very simple change to
it but I prefer not to modify the page without your ack.
Kind regards,
Petr
doc/conf.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/doc/conf.py b/doc/conf.py
index 668cb4d980..591c1534df 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -19,6 +19,7 @@ author = 'Linux Test Project'
release = '1.0'
ltp_repo = 'https://github.com/linux-test-project/ltp'
ltp_repo_base_url = f"{ltp_repo}/tree/master"
+cve_url = "https://www.cve.org/CVERecord?id="
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -293,7 +294,7 @@ def _generate_tags_table(tags):
"linux-stable-git": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=",
"glibc-git": "https://sourceware.org/git/?p=glibc.git;a=commit;h=",
"musl-git": "https://git.musl-libc.org/cgit/musl/commit/src/linux/clone.c?id=",
- "CVE": "https://www.cve.org/CVERecord?id=CVE-",
+ "CVE": cve_url + 'CVE-',
}
table = [
@@ -586,7 +587,7 @@ def generate_cve_catalog(_):
# Generate single CVE catalog file
total_cves = len(cve_data)
text = [
- '.. warning::',
+ '.. note::',
' The following CVE catalog has been generated from test',
' metadata and includes all CVE reproducers in LTP.',
'',
@@ -614,8 +615,10 @@ def generate_cve_catalog(_):
# Join multiple tests with commas
tests_str = ', '.join(test_links)
+ cve_link = f'`{cve_id} <{cve_url}{cve_id}>`_'
+
text.extend([
- f' * - {cve_id}',
+ f' * - {cve_link}',
f' - {tests_str}',
])
--
2.53.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [LTP] doc/cve_catalog: Link CVE to www.cve.org
2026-05-11 7:08 [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org Petr Vorel
@ 2026-05-11 7:42 ` linuxtestproject.agent
2026-05-11 8:41 ` [LTP] [PATCH 1/1] " Sachin Sant
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: linuxtestproject.agent @ 2026-05-11 7:42 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp, LTP AI Reviewer
Hi Petr,
On Mon, 11 May 2026 09:08:52 +0200, Petr Vorel wrote:
> doc/cve_catalog: Link CVE to www.cve.org
> +cve_url = "https://www.cve.org/CVERecord?id="
> [...]
> - "CVE": "https://www.cve.org/CVERecord?id=CVE-",
> + "CVE": cve_url + 'CVE-',
> [...]
> + cve_link = f'`{cve_id} <{cve_url}{cve_id}>`_'
> +
> text.extend([
> - f' * - {cve_id}',
> + f' * - {cve_link}',
Looks good.
Reviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>
---
Note:
Our agent completed the review of the patch. The full review can be
found at: https://github.com/linux-test-project/ltp-agent/actions/runs/25656919931
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org
2026-05-11 7:08 [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org Petr Vorel
2026-05-11 7:42 ` [LTP] " linuxtestproject.agent
@ 2026-05-11 8:41 ` Sachin Sant
2026-05-11 11:38 ` Petr Vorel
2026-05-11 11:54 ` Andrea Cervesato via ltp
2026-05-11 12:44 ` Sachin Sant
3 siblings, 1 reply; 7+ messages in thread
From: Sachin Sant @ 2026-05-11 8:41 UTC (permalink / raw)
To: Petr Vorel, ltp
On 11/05/26 12:38 pm, Petr Vorel wrote:
> Although test_catalog page links to www.cve.org, it's more convenient for
> readers to have that link also on page dedicated to CVEs.
>
> While at it, change warning to note (it's really an info, nothing to
> warn about).
>
> Follow-up: 79396c7b71 ("doc: Add CVE catalog to documentation")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Hi Sachin, Andrea,
>
> thanks a lot for implementing the CVE list page. Very simple change to
> it but I prefer not to modify the page without your ack.
I am okay with this change. In-fact I had this change included in one of the
intermediate versions of the CVE catalog patch.
Based on review comments (The CVE link is present in corresponding test
catalog
page) it was later removed
> Kind regards,
> Petr
>
> doc/conf.py | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/doc/conf.py b/doc/conf.py
> index 668cb4d980..591c1534df 100644
> --- a/doc/conf.py
> +++ b/doc/conf.py
> @@ -19,6 +19,7 @@ author = 'Linux Test Project'
> release = '1.0'
> ltp_repo = 'https://github.com/linux-test-project/ltp'
> ltp_repo_base_url = f"{ltp_repo}/tree/master"
> +cve_url = "https://www.cve.org/CVERecord?id="
>
> # -- General configuration ---------------------------------------------------
> # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
> @@ -293,7 +294,7 @@ def _generate_tags_table(tags):
> "linux-stable-git": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=",
> "glibc-git": "https://sourceware.org/git/?p=glibc.git;a=commit;h=",
> "musl-git": "https://git.musl-libc.org/cgit/musl/commit/src/linux/clone.c?id=",
> - "CVE": "https://www.cve.org/CVERecord?id=CVE-",
> + "CVE": cve_url + 'CVE-',
> }
>
> table = [
> @@ -586,7 +587,7 @@ def generate_cve_catalog(_):
> # Generate single CVE catalog file
> total_cves = len(cve_data)
> text = [
> - '.. warning::',
> + '.. note::',
> ' The following CVE catalog has been generated from test',
> ' metadata and includes all CVE reproducers in LTP.',
> '',
> @@ -614,8 +615,10 @@ def generate_cve_catalog(_):
> # Join multiple tests with commas
> tests_str = ', '.join(test_links)
>
> + cve_link = f'`{cve_id} <{cve_url}{cve_id}>`_'
> +
> text.extend([
> - f' * - {cve_id}',
> + f' * - {cve_link}',
> f' - {tests_str}',
> ])
>
--
Thanks
- Sachin
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org
2026-05-11 8:41 ` [LTP] [PATCH 1/1] " Sachin Sant
@ 2026-05-11 11:38 ` Petr Vorel
0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2026-05-11 11:38 UTC (permalink / raw)
To: Sachin Sant; +Cc: ltp
> > Hi Sachin, Andrea,
> > thanks a lot for implementing the CVE list page. Very simple change to
> > it but I prefer not to modify the page without your ack.
> I am okay with this change. In-fact I had this change included in one of the
> intermediate versions of the CVE catalog patch.
Thanks! Feel free to add your Acked-by: or Reviewed-by: tag.
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org
2026-05-11 7:08 [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org Petr Vorel
2026-05-11 7:42 ` [LTP] " linuxtestproject.agent
2026-05-11 8:41 ` [LTP] [PATCH 1/1] " Sachin Sant
@ 2026-05-11 11:54 ` Andrea Cervesato via ltp
2026-05-11 12:44 ` Sachin Sant
3 siblings, 0 replies; 7+ messages in thread
From: Andrea Cervesato via ltp @ 2026-05-11 11:54 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp
Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org
2026-05-11 7:08 [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org Petr Vorel
` (2 preceding siblings ...)
2026-05-11 11:54 ` Andrea Cervesato via ltp
@ 2026-05-11 12:44 ` Sachin Sant
2026-05-12 16:21 ` Petr Vorel
3 siblings, 1 reply; 7+ messages in thread
From: Sachin Sant @ 2026-05-11 12:44 UTC (permalink / raw)
To: Petr Vorel, ltp
On 11/05/26 12:38 pm, Petr Vorel wrote:
> Although test_catalog page links to www.cve.org, it's more convenient for
> readers to have that link also on page dedicated to CVEs.
>
> While at it, change warning to note (it's really an info, nothing to
> warn about).
>
> Follow-up: 79396c7b71 ("doc: Add CVE catalog to documentation")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Sachin Sant <sachinp@linux.ibm.com>
--
Thanks
- Sachin
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org
2026-05-11 12:44 ` Sachin Sant
@ 2026-05-12 16:21 ` Petr Vorel
0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2026-05-12 16:21 UTC (permalink / raw)
To: Sachin Sant; +Cc: ltp
Hi all,
thanks for your review, merged.
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-05-12 16:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 7:08 [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org Petr Vorel
2026-05-11 7:42 ` [LTP] " linuxtestproject.agent
2026-05-11 8:41 ` [LTP] [PATCH 1/1] " Sachin Sant
2026-05-11 11:38 ` Petr Vorel
2026-05-11 11:54 ` Andrea Cervesato via ltp
2026-05-11 12:44 ` Sachin Sant
2026-05-12 16:21 ` Petr Vorel
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.