f1e3b2bb01
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> |
||
---|---|---|
.. | ||
apply-patches.sh | ||
boot-qemu-image.py | ||
br2-external | ||
brpkgutil.py | ||
check-bin-arch | ||
check-dotconfig.py | ||
check-host-rpath | ||
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 | ||
gen-missing-cpe | ||
generate-gitlab-ci-yml | ||
genimage.sh | ||
graph-build-time | ||
graph-depends | ||
hardlink-or-copy | ||
mkmakefile | ||
mkusers | ||
pkg-stats | ||
pyinstaller.py | ||
setlocalversion | ||
size-stats |