]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes/go-mod-update-modules: add class to generate module list
authorRoss Burton <ross.burton@arm.com>
Fri, 27 Jun 2025 13:48:47 +0000 (14:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Jul 2025 07:47:23 +0000 (08:47 +0100)
commit34bb889ffaae15f89c5627610826b498697c51f2
tree9d40bc2690494091843f9ebfcda6cef50374ffcd
parent9d57b53169bc60b281510c49e54123941a17a8f5
classes/go-mod-update-modules: add class to generate module list

Almost entirely based on the create_go.py module for recipetool by
Christian Lindeberg <christian.lindeberg@axis.com>, this instead has the
logic inside a class that can be used to update the list of Go modules
that are used, both SRC_URI and LICENSE.

Integration with devtool upgrade will come shortly, but it needs a bit
more work.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/go-mod-update-modules.bbclass [new file with mode: 0644]