Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes
@ 2023-10-17 13:26 lukas.funke-oss
  2023-10-17 13:26 ` [OE-Core][PATCH v2 1/4] classes: go-vendor: Add go-vendor class lukas.funke-oss
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: lukas.funke-oss @ 2023-10-17 13:26 UTC (permalink / raw)
  To: openembedded-core
  Cc: Bruce Ashfield, Vyacheslav Yurkov, Martin Jansa, Lukas Funke

From: Lukas Funke <lukas.funke@weidmueller.com>

This patch series adds a recipetool handler in order to create 'go' recipes.
Each recipe contains a list of dependencies in their SRC_URI
variable which 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.

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

 meta/classes/go-vendor.bbclass             | 135 ++++
 meta/lib/oeqa/selftest/cases/recipetool.py | 163 +++++
 scripts/lib/recipetool/create.py           |   2 +-
 scripts/lib/recipetool/create_go.py        | 730 +++++++++++++++++++++
 4 files changed, 1029 insertions(+), 1 deletion(-)
 create mode 100644 meta/classes/go-vendor.bbclass
 create mode 100644 scripts/lib/recipetool/create_go.py

-- 
2.30.2



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-10-27 21:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-17 13:26 [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes lukas.funke-oss
2023-10-17 13:26 ` [OE-Core][PATCH v2 1/4] classes: go-vendor: Add go-vendor class lukas.funke-oss
2023-10-18  6:36   ` Ulrich Ölmann
2023-10-17 13:26 ` [OE-Core][PATCH v2 2/4] selftest: recipetool: Add test for go recipe handler lukas.funke-oss
2023-10-17 13:26 ` [OE-Core][PATCH v2 3/4] recipetool: Ignore *.go files while scanning for licenses lukas.funke-oss
2023-10-17 13:26 ` [OE-Core][PATCH v2 4/4] recipetool: Add handler to create go recipes lukas.funke-oss
2023-10-17 13:53   ` Richard Purdie
2023-10-17 14:00     ` Lukas Funke
2023-10-17 22:23       ` Richard Purdie
2023-10-22 18:34 ` [OE-Core][PATCH v2 0/4] " Vyacheslav Yurkov
2023-10-23 12:18   ` Lukas Funke
2023-10-23 17:05     ` Vyacheslav Yurkov
2023-10-24  6:19       ` Lukas Funke
2023-10-24  7:32         ` Vyacheslav Yurkov
2023-10-23 18:06     ` Vyacheslav Yurkov
2023-10-24  6:33       ` Lukas Funke
2023-10-24  7:12         ` Vyacheslav Yurkov
2023-10-24  8:27           ` Lukas Funke
2023-10-27 21:32 ` Peter Kjellerstedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox