[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On 2021-03-11 3:34 p.m., Felix Lechner wrote:
> Hi Alexandre,
>
> On Sun, Mar 7, 2021 at 8:54 AM Alexandre Viau <aviau@debian.org> 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 your example, golang-github-bmizerany-pat-dev). I see
> the field only in the dsc, but not in CONTROL [1]. Is that possible,
> please?


There is already a lintian warning that checks for the presence of
XS-Go-Import-Path, maybe you can take a look at how this one works?

-
https://lintian.debian.org/tags/missing-xs-go-import-path-for-golang-package.html


If we can check for XS-Go-Import-Path then I think that we can read it?


I hope that helps! Cheers!


-- 

Aleaxandre Viau
aviau@debian.org


Reply to: