All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] distro_check: fix the Ubuntu and openSUSE package lists, drop Clear
@ 2026-11-16 16:50 Tim Orling
  2026-11-16 16:50 ` [PATCH v2 1/3] lib/oe/distro_check: find the latest Ubuntu release from meta-release Tim Orling
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tim Orling @ 2026-11-16 16:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tim Orling

With the fixes for bug 16503, create_distro_packages_list() still got the
wrong Ubuntu release and no openSUSE or Clear lists:

  NOTE: Distro: Ubuntu, Latest Release: xenial, # src packages: 3456
  WARNING: Cannot fetch packages for openSUSE: HTTP Error 404: Not Found
  WARNING: Cannot fetch packages for Clear: <urlopen error [Errno -3] Temporary failure in name resolution>

1: Bug 16509: the Ubuntu archive ignores the "newest first" sort that
   find_latest_ubuntu_release() relied on, so it always took xenial.
   Use the release list that do-release-upgrade reads instead.
2: Bug 16510: download.opensuse.org's listings now link to "./15.6/",
   still include Leap 42.x, and keep the source RPMs under repo/oss/src/;
   Leap 16 has no update repository.
3: Bug 16511: Clear Linux has been discontinued.

With these, all four lists are fetched:

  NOTE: Distro: Debian, Latest Release: 13.7, # src packages: 37593
  NOTE: Distro: Ubuntu, Latest Release: resolute, # src packages: 3053
  NOTE: Distro: Fedora, Latest Release: 45, # src packages: 23237
  NOTE: Distro: openSUSE, Latest Release: 16.1, # src packages: 10638

The new cases are covered by oe-selftest's oelib.distro_check, run with
plain unittest (not oe-selftest).

This applies on top of "Fix distro_check when a distro list cannot be
fetched" (bug 16503):
https://lore.kernel.org/all/20261114200810.31078-1-tim.orling@konsulko.com/

Changes in v2:
- 2/3: use str.removeprefix() for the "./" links (Richard Purdie)

Tim Orling (3):
  lib/oe/distro_check: find the latest Ubuntu release from meta-release
  lib/oe/distro_check: fix the openSUSE Leap package lists
  lib/oe/distro_check: drop Clear Linux

 meta/lib/oe/distro_check.py                   | 59 ++++++++++++-------
 .../oeqa/selftest/cases/oelib/distro_check.py | 49 ++++++++++++++-
 2 files changed, 84 insertions(+), 24 deletions(-)

-- 
2.56.1


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

end of thread, other threads:[~2026-11-20 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16 16:50 [PATCH v2 0/3] distro_check: fix the Ubuntu and openSUSE package lists, drop Clear Tim Orling
2026-11-16 16:50 ` [PATCH v2 1/3] lib/oe/distro_check: find the latest Ubuntu release from meta-release Tim Orling
2026-11-16 16:50 ` [PATCH v2 2/3] lib/oe/distro_check: fix the openSUSE Leap package lists Tim Orling
2026-11-20 13:48   ` Paul Barker
2026-11-16 16:50 ` [PATCH v2 3/3] lib/oe/distro_check: drop Clear Linux Tim Orling

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.