support/scripts/pkg-stats: use aiohttp for upstream URL checking
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 8 Aug 2020 18:08:24 +0000 (20:08 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 11 Aug 2020 20:30:43 +0000 (22:30 +0200)
commitc8ba6aa13380b894c1dab2599e8d5e5474ba39c6
treef0ea7c4d3f09d7b7903f5af83b3f08008889b1f9
parentd28b2bc481dcb60382af194b9b868d3bccf46bd6
support/scripts/pkg-stats: use aiohttp for upstream URL checking

This commit reworks the code that checks if the upstream URL of each
package (specified by its Config.in file) using the aiohttp
module. This makes the implementation much more elegant, and avoids
the problematic multiprocessing Pool which is causing issues in some
situations.

Suggested-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/scripts/pkg-stats