On Sun, 2023-11-05 at 08:30 +0000, Richard Purdie via lists.openembedded.org wrote: > On Thu, 2023-11-02 at 16:53 +0100, Lukas Funke wrote: > > From: Lukas Funke <[email protected]> > > > > This patch series adds a recipetool handler in order to create 'go' recipes. > > Each recipe contains a list of dependencies in their SRC_URI. > > Dependencies are derived from the projects `go.mod` file. For each > > dependency the corresponding license file uri/hash is added. > > > > The recipe may not work ad-hoc, but is a good starting point to create > > a working recipe and have a working offline-build. > > > > In addition to the main recipe three additional files will be generated: > > - $pn-modules.inc > > - $pn-license.inc > > - modules.txt > > > > Changes from v2: > > - Generate separate *.inc for go dependencies and licenses > > - Adapted oe-selftest according to change above > > - Incorparate community suggestions > > > > Lukas Funke (4): > > classes: go-vendor: Add go-vendor class > > selftest: recipetool: Add test for go recipe handler > > recipetool: Ignore *.go files while scanning for licenses > > recipetool: Add handler to create go recipes > > This looks to be getting there but the code failed in testing: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2371/steps/14/logs/stdio > > since removeprefix is python 3.9 syntax and 3.8 is our minimum version > at present.
Since these were through testing, there was no other negative review feedback, the patches appeared to do what I thought we'd all agreed was needed and I had the minor tweak needed for the python version issue I did merge them. I squashed the tweak in with a comment in the commit message. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#190240): https://lists.openembedded.org/g/openembedded-core/message/190240 Mute This Topic: https://lists.openembedded.org/mt/102345308/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
