Re: [OE-core] [PATCH 2/2] recipetool: Handle several go-import tags in go resolver

2024-04-18 Thread Sven via lists.openembedded.org
Hi, On 4/11/24 2:17 PM, Richard Purdie wrote: Should we be extending "oe-selftest -r recipetool" with tests for something? Good question, I would have to look into the self-testing framework. I don't have experience with that yet. Would you consider adding a test a requirement to get this

[OE-core] [PATCH 2/2] recipetool: Handle several go-import tags in go resolver

2024-04-11 Thread Sven via lists.openembedded.org
From: Sven Schwermer When dynamically resolving go modules, the HTML page may contain several go-import meta tags. We must handle all and pick the correct one based on the module name. An example for such a behaviour is gonum.org/v1/gonum: https://github.com/gonum/exp";> https://github.com/gonum

[OE-core] [PATCH 1/2] recipetool: Handle unclean response in go resolver

2024-04-11 Thread Sven via lists.openembedded.org
From: Sven Schwermer It appears that some go modules repond with a 404 error when trying to resolve them dynamically. The response body may still contain the go-import meta tag. An example for such behaviour is gonum.org/v1/gonum. Signed-off-by: Sven Schwermer --- scripts/lib/recipetool/create

[OE-core] [dunfell] [PATCH] externalsrc: git submodule--helper list unsupported

2022-10-06 Thread Sven via lists.openembedded.org
From: John Edward Broadbent Git has removed support for "git submodule--helper list". https://github.com/git/git/commit/31955475d1c283120d5d84247eb3fd55d9f5fdd9 This change provides an alternate method for gathering the submodules information. Tested: Build recipes with and without submodules