* [Buildroot] [git commit branch/2021.08.x] support/scripts/pkg-stats: prefers stable version from release-monitoring.org
@ 2021-10-25 18:51 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2021-10-25 18:51 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=53bab991863104b77afeb6d0991d7540a74d4af7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.08.x
For example with libpng: 1.6.37 instead of 1.7.0beta89
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[yann.morin.1998@free.fr: coalesce into a single line]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit f7b0e086053644b29ec29fa775b7f0ffa0ba408a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
support/scripts/pkg-stats | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index cc91d13167..d5bd130de3 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -484,7 +484,7 @@ async def check_package_get_latest_version_by_distro(session, pkg, retry=True):
return False
data = await resp.json()
- version = data['version'] if 'version' in data else None
+ version = data['stable_versions'][0] if 'stable_versions' in data else data['version'] if 'version' in data else None
check_package_latest_version_set_status(pkg,
RM_API_STATUS_FOUND_BY_DISTRO,
version,
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-25 19:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 18:51 [Buildroot] [git commit branch/2021.08.x] support/scripts/pkg-stats: prefers stable version from release-monitoring.org Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.