From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 19 15:51:51 2016 Received: (at 24737) by debbugs.gnu.org; 19 Oct 2016 19:51:51 +0000 Received: from localhost ([127.0.0.1]:40077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwwty-0007qW-VY for submit@debbugs.gnu.org; Wed, 19 Oct 2016 15:51:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwwtx-0007qK-4j for 24737@debbugs.gnu.org; Wed, 19 Oct 2016 15:51:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwwto-0006yH-2r for 24737@debbugs.gnu.org; Wed, 19 Oct 2016 15:51:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwwtn-0006yD-Vt; Wed, 19 Oct 2016 15:51:40 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:38912 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bwwtn-0001nV-8k; Wed, 19 Oct 2016 15:51:39 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Marius Bakke Subject: Re: bug#24737: `guix lint` should not check patch-file-names on inherited sources References: <87zim05tvp.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?utf-8?Q?Vend=C3=A9miaire?= an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 19 Oct 2016 21:51:32 +0200 In-Reply-To: <87zim05tvp.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Wed, 19 Oct 2016 14:51:54 +0100") Message-ID: <87eg3c5d8b.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 24737 Cc: 24737@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) Marius Bakke skribis: > After patching 'notmuch', `guix lint -c patch-file-names` does not pass > for 'python-notmuch' which inherits the source from 'notmuch'. I agree but that=E2=80=99s not quite possible: the =E2=80=9Cinheritance=E2= =80=9D relation (which is really just a copy of a record) is not known at run time. So we=E2=80=99d need another trick to guess whether a patch is coming from elsewhere and should consequently be ignored by =E2=80=98lint=E2=80=99. Thanks, Ludo=E2=80=99.