[pkg-go] Security support for packages written in Go

Peter Colberg peter at colberg.org
Wed Apr 6 18:52:40 UTC 2016


On Tue, Apr 05, 2016 at 06:05:21PM -0400, Paul Tagliamonte wrote:
> Love this idea, I wonder if the Import-Path XS header could help resolve
> packages in a proof of concept

If I am not mistaken, the XS-Go-Import-Path cannot be queried with
dpkg-query since it is a field in the source package. What do you
think of adding an XB-Go-Import-Path to golang-*-dev packages?

Querying this field for 'golang-*-dev' to match the import paths
output by `go list` would appear to be a lot faster than invoking
`dpkg -S /usr/share/gocode/src/…` for each import path.

Peter



More information about the Pkg-go-maintainers mailing list