All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] support/scripts/pkg-stats: prefers stable version from release-monitoring.org
@ 2021-09-01 14:10 Francois Perrad
  2021-10-19  6:09 ` François Perrad
  2021-10-19 20:06 ` Yann E. MORIN
  0 siblings, 2 replies; 4+ messages in thread
From: Francois Perrad @ 2021-09-01 14:10 UTC (permalink / raw)
  To: buildroot

for example with libpng: 1.6.37 instead of 1.7.0beta89

Signed-off-by: Francois Perrad <francois.perrad@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

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-25 12:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-01 14:10 [Buildroot] [PATCH v2] support/scripts/pkg-stats: prefers stable version from release-monitoring.org Francois Perrad
2021-10-19  6:09 ` François Perrad
2021-10-19 20:06 ` Yann E. MORIN
2021-10-25 12:29   ` 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.