support/scripts/pkg-stats-new: add -n and -p options
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 23 Mar 2018 20:54:52 +0000 (21:54 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 4 Apr 2018 20:04:44 +0000 (22:04 +0200)
commitdf8a39468b1f89ab82aad47b95524abe75339458
treeaf1c098e22f5a3d16edcc86d7c5504080a35de2d
parentef63a330b4f156e7e05f7ebe41f33a882cc69d01
support/scripts/pkg-stats-new: add -n and -p options

This commit adds the following options to the pkg-stats-new script:

 -n, to specify a number of packages to parse instead of all packages

 -p, to specify a list of packages (comma-separated) to parse instead
     of all packages

These options are basically only useful when debugging/developing
this script, but they are very useful, because the script is rather
slow to run completely with all 2000+ packages, especially once
upstream versions will be fetched from release-monitoring.org.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/scripts/pkg-stats-new