[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: go.sum (was: Re: Seeking guidance: syft & grype packaging — vendoring approach, go:embed, joining the team)



On Sun, 2026-05-03 at 19:47 +0200, Simon Josefsson wrote:
> Maytham Alsudany <maytham@debian.org> writes:
> 
> > The way that the dh-golang tooling works is that it will copy all *.go
> > files (and some others like go.mod, go.sum and any testdata
> > directories)
> 
> Does anyone know if there is a reason to ship go.sum in golang-*-dev?

It looks like future-proofing for when we do eventually switch to Go
modules. At least the manpage[1] says: "Starting with dh-golang 1.39,
go.mod and go.sum are installed by default to support Go 1.11 modules."

--
Maytham

[1] Debian::Debhelper::Buildsystem::golang(3pm)

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: