Bug#984719: lintian: add check for incomplete XS-Go-Import-Path

2021-03-12 Thread Felix Lechner
Hi Alexandre, On Fri, Mar 12, 2021 at 5:47 PM Alexandre Viau wrote: > > If we can check for XS-Go-Import-Path then I think that we can read it? The check you are referring to reads Debian sources (dsc), but the field is not present in the *installable* packages (*.deb) that place the sources in

Bug#984719: lintian: add check for incomplete XS-Go-Import-Path

2021-03-12 Thread Alexandre Viau
On 2021-03-11 3:34 p.m., Felix Lechner wrote: > Hi Alexandre, > > On Sun, Mar 7, 2021 at 8:54 AM Alexandre Viau wrote: >> It would be great if lintian validated that `XS-Go-Import-Path` was correct. > I implemented it on an unreleased branch, but it will not work well > unless the field is propaga

Bug#984719: lintian: add check for incomplete XS-Go-Import-Path

2021-03-11 Thread Felix Lechner
Hi Alexandre, On Sun, Mar 7, 2021 at 8:54 AM Alexandre Viau wrote: > > It would be great if lintian validated that `XS-Go-Import-Path` was correct. I implemented it on an unreleased branch, but it will not work well unless the field is propagated into the control files of installed packages (for

Bug#984719: lintian: add check for incomplete XS-Go-Import-Path

2021-03-07 Thread Alexandre Viau
On 2021-03-07 1:28 p.m., Felix Lechner wrote: > Hi Alexandre, > > On Sun, Mar 7, 2021 at 8:54 AM Alexandre Viau wrote: >> XS-Go-Import-Path: gopkg.in/asn1-ber.v1, >>github.com/go-asn1-ber/asn1-ber >> >> And it installs files at both >> `/usr/share/gocode/src/gopkg.in/asn1-ber.v

Bug#984719: lintian: add check for incomplete XS-Go-Import-Path

2021-03-07 Thread Felix Lechner
Hi Alexandre, On Sun, Mar 7, 2021 at 8:54 AM Alexandre Viau wrote: > > XS-Go-Import-Path: gopkg.in/asn1-ber.v1, >github.com/go-asn1-ber/asn1-ber > > And it installs files at both > `/usr/share/gocode/src/gopkg.in/asn1-ber.v1` and > `/usr/share/gocode/src/github.com/go-asn1-ber

Bug#984719: lintian: add check for incomplete XS-Go-Import-Path

2021-03-07 Thread Alexandre Viau
Package: lintian Severity: wishlist X-Debbugs-CC: p...@debian.org Intro = Go packages use the d/control `XS-Go-Import-Path` field to document the import paths that they provide. This corresponds with files installed under /usr/share/gocode/src. It would be great if lintian validated that `XS