Skip to content

Commit

Permalink
Update to latest version of collect go sources, add parsing of go bin…
Browse files Browse the repository at this point in the history
…aries

Signed-off-by: Avi Deitcher <avi@deitcher.net>
  • Loading branch information
deitch authored and eriknordmark committed May 2, 2023
1 parent 2a68feb commit 516a175
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ FORCE_BUILD=

# for the go build sources
GOSOURCES=$(BUILDTOOLS_BIN)/go-sources-and-licenses
GOSOURCES_VERSION=91c965e0392ece0362bb9ac017ed052b679fc6f9
GOSOURCES_VERSION=c73009667f4871c084c1f2164063321c81d053a2
GOSOURCES_SOURCE=github.com/deitch/go-sources-and-licenses


Expand Down
3 changes: 2 additions & 1 deletion tools/collect-sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ tar -xf "$rootfs" -C "$tmproot" --exclude "dev/*"
{
"${eve}/tools/get-alpine-pkg-source.sh" -s "${tmpout}" -e "${tmproot}" -p alpine
"${eve}/tools/get-kernel-source.sh" -s "${tmpout}" -p kernel
"${eve}/build-tools/bin/go-sources-and-licenses" sources -d "${eve}/pkg" --find --recursive --out "${tmpout}" --prefix golang --template 'golang,{{.Module}}@{{.Version}},{{.Version}},{{.Path}}'
"${eve}/build-tools/bin/go-sources-and-licenses" sources -s "${eve}/pkg" --find --recursive --out "${tmpout}" --prefix golang --template 'golang,{{.Module}}@{{.Version}},{{.Version}},{{.Path}}'
"${eve}/build-tools/bin/go-sources-and-licenses" sources -b "${tmproot}" --find --recursive --out "${tmpout}" --prefix golang --template 'golang,{{.Module}}@{{.Version}},{{.Version}},{{.Path}}'
} > "${manifest}"

tar -zcf "${outfile}" -C "${tmpout}" .
Expand Down

0 comments on commit 516a175

Please sign in to comment.