All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sachin Sant <sachinp@linux.ibm.com>
To: Petr Vorel <pvorel@suse.cz>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] doc/cve_catalog: Link CVE to www.cve.org
Date: Mon, 11 May 2026 14:11:19 +0530	[thread overview]
Message-ID: <dbf74dbf-b326-4c70-b12c-371a51cec232@linux.ibm.com> (raw)
In-Reply-To: <20260511070852.90379-1-pvorel@suse.cz>



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

  parent reply	other threads:[~2026-05-11  8:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2026-05-11 11:38   ` [LTP] [PATCH 1/1] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dbf74dbf-b326-4c70-b12c-371a51cec232@linux.ibm.com \
    --to=sachinp@linux.ibm.com \
    --cc=ltp@lists.linux.it \
    --cc=pvorel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.