From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching
Date: Sat, 2 Apr 2022 16:42:34 +0200 [thread overview]
Message-ID: <20220402144234.GA1811301@scaer> (raw)
In-Reply-To: <20220402141531.1320584-1-thomas.petazzoni@bootlin.com>
Thomas, All,
On 2022-04-02 16:15 +0200, Thomas Petazzoni via buildroot spake thusly:
> This is useful when debugging/developing the pkg-stats script.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Patches 1-3 applied to master, thanks.
I'll resume looking at the 4th patch later.
Regards,
Yann E. MORIN.
> ---
> support/scripts/pkg-stats | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
> index 8cc64a54d1..ef9482ed95 100755
> --- a/support/scripts/pkg-stats
> +++ b/support/scripts/pkg-stats
> @@ -1125,7 +1125,7 @@ def parse_args():
> parser.add_argument('--nvd-path', dest='nvd_path',
> help='Path to the local NVD database', type=resolvepath)
> parser.add_argument('--disable', type=list_str,
> - help='Features to disable, comma-separated (cve, upstream, url)',
> + help='Features to disable, comma-separated (cve, upstream, url, cpe)',
> default=[])
> args = parser.parse_args()
> if not args.html and not args.json:
> @@ -1184,6 +1184,8 @@ def __main__():
> if "cve" not in args.disable and args.nvd_path:
> print("Checking packages CVEs")
> check_package_cves(args.nvd_path, packages)
> + if "cpe" not in args.disable and args.nvd_path:
> + print("Checking packages CPEs")
> check_package_cpes(args.nvd_path, packages)
> print("Calculate stats")
> stats = calculate_stats(packages)
> --
> 2.35.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-04-02 14:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-02 14:15 [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching Thomas Petazzoni via buildroot
2022-04-02 14:15 ` [Buildroot] [PATCH 2/4] support/scripts/pkg-stats: allow disabling package warnings retrieval Thomas Petazzoni via buildroot
2022-04-04 12:40 ` Peter Korsgaard
2022-04-02 14:15 ` [Buildroot] [PATCH 3/4] support/scripts/pkg-stats: add a timeout on HTTP requests for upstream URLs Thomas Petazzoni via buildroot
2022-04-04 12:40 ` Peter Korsgaard
2022-04-02 14:15 ` [Buildroot] [PATCH 4/4] support/scripts/pkg-stats: reimplement CPE parsing in pkg-stats Thomas Petazzoni via buildroot
2022-04-02 14:17 ` Thomas Petazzoni via buildroot
2022-04-02 17:20 ` Yann E. MORIN
2022-04-03 8:05 ` Thomas Petazzoni via buildroot
2022-04-04 12:40 ` Peter Korsgaard
2022-04-02 14:42 ` Yann E. MORIN [this message]
2022-04-04 12:40 ` [Buildroot] [PATCH 1/4] support/script/pkg-stats: allow disabling CPE matching Peter Korsgaard
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=20220402144234.GA1811301@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
/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.