[Buildroot] [PATCH 1/2] pkg-stats: query release-monitoring.org with upstream name

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Feb 5 17:17:02 UTC 2020


Hello,

On Wed, 28 Aug 2019 09:02:50 +0200
Francois Perrad <fperrad at gmail.com> wrote:

> By default, this upstream name is our BR name.
> But with perl-package infrastructure, the variables *_DISTNAME
> give the CPAN name which is known by release-monitoring.org
> 
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>

Since we have this information already in Buildroot, it makes sense to
use it. However, the search on release-monitoring.org is done in two
steps:

 - Using the Buildroot distribution in release-monitoring and its
   mapping concept. In this case, we really want to use the Buildroot
   package name unchanged (which is not what your patch does)

 - Then, if no result is found through the Buildroot distribution
   above, we search in the entire namespace. Here, we should search
   with _DISTNAME when available. We could also improve the logic to
   strip python- and lua- in the front of packages, to help the guess
   to work.

Would you be willing to work on this ? It's not too far from the patch
you have already implemented here.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list