[pkg-go] Bug#839109: Bug#839109: Bug#839109: dh-golang: Possibly wrong XS- prefix for Go-Import-Path field

Michael Hudson-Doyle michael.hudson at canonical.com
Thu Oct 20 23:31:48 UTC 2016


On 21 October 2016 at 12:06, Martín Ferrari <tincho at tincho.org> wrote:

> Hi,
>
> On 29/09/16 03:44, Guillem Jover wrote:
>
> > It seems that many Go packages include an XS-Go-Import-Path field in
> > their control file, which AFAICT is only (?) used at build time from
> > inside the same source package.
>
> AFAIK, this is true.
>
> > The XS- prefix tells dpkg-source to propagate that field to the source
> > package (.dsc) and that in turn gets propagated to the Sources indices.
> > With the additional bloat. If this field is never used by querying the
> > Sources indices, I'd appreciate if you could switch to simply use the
> > X- prefix instead.
>
> I can imagine this at some point being used for finding packages based
> on their import path. But not sure if it is reason enough to keep the
> header..
>
> Maybe somebody else has a better argument for this?
>

I think this was the plan, that you'd be able to find the (Debian) package
provide a given (Go) by using grep-dctrl or whatever. The fact that it's
not used universally reduces its value, but the fix for that is different
to what you suggest :-)

Cheers,
mwh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20161021/0b3f56e3/attachment-0001.html>


More information about the Pkg-go-maintainers mailing list