[Buildroot] [PATCH v2] support/scripts/pkg-stats: prefers stable version from release-monitoring.org

François Perrad francois.perrad at gadz.org
Tue Oct 19 06:09:18 UTC 2021


ping

Le mer. 1 sept. 2021 à 16:10, Francois Perrad <fperrad at gmail.com> a écrit :

> for example with libpng: 1.6.37 instead of 1.7.0beta89
>
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---
>  support/scripts/pkg-stats | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
> index cc91d1316..249cc6afe 100755
> --- a/support/scripts/pkg-stats
> +++ b/support/scripts/pkg-stats
> @@ -485,6 +485,7 @@ async def
> check_package_get_latest_version_by_distro(session, pkg, retry=True):
>
>              data = await resp.json()
>              version = data['version'] if 'version' in data else None
> +            version = data['stable_versions'][0] if 'stable_versions' in
> data else version
>              check_package_latest_version_set_status(pkg,
>
>  RM_API_STATUS_FOUND_BY_DISTRO,
>                                                      version,
> --
> 2.30.2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20211019/1b7309d6/attachment.html>


More information about the buildroot mailing list