Message ID | 20230812192842.135682-1-dalang@gmx.at |
---|---|
State | Accepted |
Headers | show |
Series | [v3,1/8] support/scripts/pkg-stats: fix typos | expand |
On 12/08/2023 21:28, Daniel Lang wrote: > Signed-off-by: Daniel Lang <dalang@gmx.at> Applied to master, thanks. (Note: I'm applying this series to master instead of next, because we will need the new NVD API on all stable branches.) Regards, Arnout > --- > support/scripts/pkg-stats | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats > index 3248e3678d..eea900124c 100755 > --- a/support/scripts/pkg-stats > +++ b/support/scripts/pkg-stats > @@ -84,7 +84,7 @@ class Package: > all_ignored_cves = dict() > all_cpeids = dict() > # This is the list of all possible checks. Add new checks to this list so > - # a tool that post-processeds the json output knows the checks before > + # a tool that post-processes the json output knows the checks before > # iterating over the packages. > status_checks = ['cve', 'developers', 'hash', 'license', > 'license-files', 'patches', 'pkg-check', 'url', 'version'] > @@ -259,7 +259,7 @@ class Package: > if var in self.all_cpeids: > self.cpeid = self.all_cpeids[var] > # Set a preliminary status, it might be overridden by check_package_cpes() > - self.status['cpe'] = ("warning", "not checked against CPE dictionnary") > + self.status['cpe'] = ("warning", "not checked against CPE dictionary") > else: > self.status['cpe'] = ("error", "no verified CPE identifier") > > @@ -499,7 +499,7 @@ def check_package_latest_version_set_status(pkg, status, version, identifier): > > > async def check_package_get_latest_version_by_distro(session, pkg, retry=True): > - url = "https://release-monitoring.org//api/project/Buildroot/%s" % pkg.name > + url = "https://release-monitoring.org/api/project/Buildroot/%s" % pkg.name > try: > async with session.get(url) as resp: > if resp.status != 200:
>>>>> "Daniel" == Daniel Lang <dalang@gmx.at> writes: > Signed-off-by: Daniel Lang <dalang@gmx.at> Committed to 2023.02.x and 2023.05.x, thanks.
>>>>> "Arnout" == Arnout Vandecappelle via buildroot <buildroot@buildroot.org> writes: > On 12/08/2023 21:28, Daniel Lang wrote: >> Signed-off-by: Daniel Lang <dalang@gmx.at> > Applied to master, thanks. > (Note: I'm applying this series to master instead of next, because we > will need the new NVD API on all stable branches.) Notice: The EOL has recently been moved to December: https://nvd.nist.gov/General/News/change-timeline Making it quite close to 2024.02, so perhaps we don't need to worry about backporting this after all?
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 3248e3678d..eea900124c 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -84,7 +84,7 @@ class Package: all_ignored_cves = dict() all_cpeids = dict() # This is the list of all possible checks. Add new checks to this list so - # a tool that post-processeds the json output knows the checks before + # a tool that post-processes the json output knows the checks before # iterating over the packages. status_checks = ['cve', 'developers', 'hash', 'license', 'license-files', 'patches', 'pkg-check', 'url', 'version'] @@ -259,7 +259,7 @@ class Package: if var in self.all_cpeids: self.cpeid = self.all_cpeids[var] # Set a preliminary status, it might be overridden by check_package_cpes() - self.status['cpe'] = ("warning", "not checked against CPE dictionnary") + self.status['cpe'] = ("warning", "not checked against CPE dictionary") else: self.status['cpe'] = ("error", "no verified CPE identifier") @@ -499,7 +499,7 @@ def check_package_latest_version_set_status(pkg, status, version, identifier): async def check_package_get_latest_version_by_distro(session, pkg, retry=True): - url = "https://release-monitoring.org//api/project/Buildroot/%s" % pkg.name + url = "https://release-monitoring.org/api/project/Buildroot/%s" % pkg.name try: async with session.get(url) as resp: if resp.status != 200:
Signed-off-by: Daniel Lang <dalang@gmx.at> --- support/scripts/pkg-stats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)