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

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Alexandre Viau <[email protected]>

Date: Sun, 7 Mar 2021 16:54:02 UTC

Severity: wishlist

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#984719: lintian: add check for incomplete XS-Go-Import-Path
Reply-To: Alexandre Viau <[email protected]>, [email protected]
Resent-From: Alexandre Viau <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian Lintian Maintainers <[email protected]>
X-Loop: [email protected]
Resent-Date: Sat, 13 Mar 2021 01:51:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 984719
X-Debian-PR-Package: lintian
X-Debian-PR-Keywords: 
References: <[email protected]> <CAFHYt547ap0YcRhYNWRk5tUhrjBrU+iCLLwezRWbwwV9yceE2g@mail.gmail.com> <[email protected]>
X-Debian-PR-Source: lintian
Received: via spool by [email protected] id=B984719.161560003622701
          (code B ref 984719); Sat, 13 Mar 2021 01:51:02 +0000
Received: (at 984719) by bugs.debian.org; 13 Mar 2021 01:47:16 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.3 required=4.0 tests=BAYES_00,
	FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,FROMDEVELOPER,HAS_BUG_NUMBER,
	HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP
	autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 145; neutral, 41; spammy,
	0. spammytokens: hammytokens:0.000-+--sk:golang, 0.000-+--sk:golang-,
	0.000-+--H*u:78.0, 0.000-+--lintian, 0.000-+--UD:lintian.debian.org
Received: from mail-qt1-f178.google.com ([209.85.160.178]:36578)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1lKtN5-0005tl-O1
	for [email protected]; Sat, 13 Mar 2021 01:47:16 +0000
Received: by mail-qt1-f178.google.com with SMTP id 6so5346942qty.3
        for <[email protected]>; Fri, 12 Mar 2021 17:47:15 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding
         :content-language;
        bh=Fa81yHO5zuoN40wf7W+D60ZjD23RXHZYa70k/5Scx/4=;
        b=Bu31sFVqdGleX38ajGg/JnI19FNneJn+Niy47n6kmeODJeiWAC+K2NXAJtaQSgJq3u
         kTctW4yaF7gB+nJkYSQz4ye2Xgst9aqccMxGo+E20iJ+h8lzmoxyd5GH6QjQv2YMg3vy
         PZFEE5t1mVQ8pFtmhjerK+VpKsfCn3cXHpURIRTf0aQ1tmzuB6af4J8ysvDP/7YCdtII
         u5LFC62OItNieINSi+oUa9hFxwtRyJhMtSdJkMmTdhk9L7B2tI0SLDscYEcXt2oAkHxD
         bIxpI0hdM4xlKBLnTCHl1UMWs6myv+3A6O90MPD2qJxKg/03CwQYZUFsqx0aBervubrL
         M9SA==
X-Gm-Message-State: AOAM533vmhxLjFWdv2CsfSXQEZCVaFSGIG+BtN1Ux0Ud4/bLtDZVb9Fx
	BTrslqhBtsaH32RPY2wpewFTPQQQgSQ=
X-Google-Smtp-Source: ABdhPJwnAHvovUjABmuQoM3NnNJtPF5hNu+Fagp/soYxJ39MbScdYJKuwGCyasTNXbE/u8RTa6P+rg==
X-Received: by 2002:ac8:1094:: with SMTP id a20mr14561993qtj.248.1615600032361;
        Fri, 12 Mar 2021 17:47:12 -0800 (PST)
Received: from [192.168.0.104] ([45.45.121.112])
        by smtp.gmail.com with ESMTPSA id z89sm5370202qtd.5.2021.03.12.17.47.11
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Fri, 12 Mar 2021 17:47:11 -0800 (PST)
To: Felix Lechner <[email protected]>, [email protected]
From: Alexandre Viau <[email protected]>
Message-ID: <[email protected]>
Date: Fri, 12 Mar 2021 20:47:10 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <CAFHYt547ap0YcRhYNWRk5tUhrjBrU+iCLLwezRWbwwV9yceE2g@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: en-US
On 2021-03-11 3:34 p.m., Felix Lechner wrote:
> Hi Alexandre,
>
> On Sun, Mar 7, 2021 at 8:54 AM Alexandre Viau <[email protected]> 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
[email protected]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:47:58 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.