From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24737: `guix lint` should not check patch-file-names on inherited sources Date: Wed, 19 Oct 2016 21:51:32 +0200 Message-ID: <87eg3c5d8b.fsf@gnu.org> References: <87zim05tvp.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwwuE-0000mm-MR for bug-guix@gnu.org; Wed, 19 Oct 2016 15:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwwuA-000745-QE for bug-guix@gnu.org; Wed, 19 Oct 2016 15:52:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33887) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwwuA-000741-Mw for bug-guix@gnu.org; Wed, 19 Oct 2016 15:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwwuA-0007qz-G9 for bug-guix@gnu.org; Wed, 19 Oct 2016 15:52:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 24737@debbugs.gnu.org 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.