[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)



Simon Josefsson <simon@josefsson.org>於 2026年5月3日週日,19:47寫道:
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?

We currently not using module-aware builds, but that doesn’t mean we will not using module-aware builds forever. 

We should start to thinking of enabling module-aware buld. Because if we don’t do that, we cannot build modern go code anymore once upstream drop GO111MODULE support in the future release. 

As for that reason, I would recommend to consider drop the it once we have implemented module-aware builds and can confirm there is no use of it. 

Best regards,

-Andrew


Reply to: