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. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#190184): https://lists.openembedded.org/g/openembedded-core/message/190184 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]] -=-=-=-=-=-=-=-=-=-=-=-
