Re: [AUH][PATCH v2 2/9] upgrade-helper.py: Handle fetch errors gracefully during version scan

Alexander Kanavin <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <CANNYZj-CXDd1uA7d2e7tvfPzNo4-D6u4dRzAwFEShn_mX_mrFw@mail.gmail.com>
On Fri, 24 Apr 2026 at 13:46, <[email protected]> wrote:
> Materialise the iterator from get_recipe_upgrade_status into a list,
> catching any exception that terminates the iterator early. A single
> unreachable upstream (e.g. git.savannah.gnu.org down) no longer
> aborts the entire scan — the recipes collected so far are still
> processed.

I'd like to see the particular error that results in this happening
and fix it at the source. The get_recipe_upgrade_status() function is
not supposed to abort like this, and for any upstream network issues
it should be returning UNKNOWN_BROKEN status for that particular
recipe.

Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.