kumquat-buildroot/support/scripts
Thomas Petazzoni f1e3b2bb01 support/scripts/pkg-stats: add better checking in check_package_get_latest_version_by_guess()
The 'rtl8723ds' name, when queried from release-monitoring.org at
https://release-monitoring.org/api/projects/?pattern=rtl8723ds returns
one project, with one "stable_versions" array, which is empty. This
was not expected by the pkg-stats code, causing an exception:

Task exception was never retrieved
future: <Task finished name='Task-764' coro=<check_package_latest_version_get() done, defined at /home/thomas/projets/buildroot/./support/scripts/pkg-stats:558> exception=IndexError('list index out of range')>
Traceback (most recent call last):
  File "/home/thomas/projets/buildroot/./support/scripts/pkg-stats", line 566, in check_package_latest_version_get
    if await check_package_get_latest_version_by_guess(session, pkg):
  File "/home/thomas/projets/buildroot/./support/scripts/pkg-stats", line 544, in check_package_get_latest_version_by_guess
    projects[0]['stable_versions'][0],
IndexError: list index out of range

This commit therefore improves the checks done on the results received
from release-monitoring.org to avoid this issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-07-27 23:12:41 +02:00
..
apply-patches.sh
boot-qemu-image.py support/scripts/boot-qemu-image.py: increase the timeout by 10 2022-07-27 15:56:57 +02:00
br2-external support/scripts/br2-external: add kernel extensions 2022-06-22 22:22:30 +02:00
brpkgutil.py
check-bin-arch
check-dotconfig.py
check-host-rpath support/scripts/check-host-rpath: send readelf error output to oblivion 2022-07-27 18:36:18 +02:00
check-kernel-headers.sh
check-merged-usr.sh
cpedb.py
cve.py
eclipse-register-toolchain
expunge-gconv-modules
fix-configure-powerpc64.sh
fix-rpath
gen-bootlin-toolchains toolchain: invert glibc <-> !static dependency 2022-07-27 11:11:19 +02:00
gen-missing-cpe
generate-gitlab-ci-yml utils/checkpackagelib: run unit tests on GitLab CI 2022-02-06 15:35:19 +01:00
genimage.sh
graph-build-time support/scripts/graph-build-time: add support for timeline graphing 2022-03-20 23:52:24 +01:00
graph-depends
hardlink-or-copy
mkmakefile
mkusers
pkg-stats support/scripts/pkg-stats: add better checking in check_package_get_latest_version_by_guess() 2022-07-27 23:12:41 +02:00
pyinstaller.py package/python-flit-core: new package/infrastructure 2022-02-16 22:16:43 +01:00
setlocalversion
size-stats