<div dir="ltr">We can change it to XSB-Go-Import-Path, but it only really applies for the -dev packages; so it might need some fiddling to do right, yeah. I'll think a bit more about it.<div><br></div><div>We could also likely build up mappings for Source -> import path, and index from Binary control Source -> Source -> Import Path, but that's a bit janky, yeah.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 6, 2016 at 2:52 PM, Peter Colberg <span dir="ltr"><<a href="mailto:peter@colberg.org" target="_blank">peter@colberg.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Apr 05, 2016 at 06:05:21PM -0400, Paul Tagliamonte wrote:<br>
> Love this idea, I wonder if the Import-Path XS header could help resolve<br>
> packages in a proof of concept<br>
<br>
</span>If I am not mistaken, the XS-Go-Import-Path cannot be queried with<br>
dpkg-query since it is a field in the source package. What do you<br>
think of adding an XB-Go-Import-Path to golang-*-dev packages?<br>
<br>
Querying this field for 'golang-*-dev' to match the import paths<br>
output by `go list` would appear to be a lot faster than invoking<br>
`dpkg -S /usr/share/gocode/src/…` for each import path.<br>
<span class="HOEnZb"><font color="#888888"><br>
Peter<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Pkg-go-maintainers mailing list<br>
<a href="mailto:Pkg-go-maintainers@lists.alioth.debian.org">Pkg-go-maintainers@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">:wq</div>
</div>