From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 1/5] guix lint: make sure check-patches retrieves patch names. Date: Sat, 27 Sep 2014 23:49:24 +0200 Message-ID: <1411854568-11187-2-git-send-email-tipecaml@gmail.com> References: <1411854568-11187-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXzsT-000832-TK for guix-devel@gnu.org; Sat, 27 Sep 2014 17:50:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXzsE-0002zp-7H for guix-devel@gnu.org; Sat, 27 Sep 2014 17:50:05 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:34763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXzsE-0002zJ-0K for guix-devel@gnu.org; Sat, 27 Sep 2014 17:49:50 -0400 Received: by mail-wi0-f170.google.com with SMTP id n3so843694wiv.3 for ; Sat, 27 Sep 2014 14:49:44 -0700 (PDT) In-Reply-To: <1411854568-11187-1-git-send-email-tipecaml@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * guix/lint (check-patches): Test the output of origin-patches. --- guix/scripts/lint.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm index 83dde9a..0fbec1b 100644 --- a/guix/scripts/lint.scm +++ b/guix/scripts/lint.scm @@ -152,6 +152,7 @@ Run a set of checkers on the specified package; if none is specified, run the ch (name (package-name package)) (full-name (package-full-name package))) (if (and patches + (every string? patches) (any (lambda (patch) (let ((filename (basename patch))) (not (or (eq? (string-contains filename name) 0) -- 1.8.4.rc3