{"id":11251,"url":"https://patchwork.libcamera.org/api/patches/11251/?format=json","web_url":"https://patchwork.libcamera.org/patch/11251/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20210212110926.6766-1-laurent.pinchart@ideasonboard.com>","date":"2021-02-12T11:09:25","name":"[libcamera-devel,1/2] utils: checkstyle.py: Restore checks of renamed files","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"b767efde52c96b92a41e4df561731a0ec93ec38c","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":{"id":16,"url":"https://patchwork.libcamera.org/api/users/16/?format=json","username":"neg","first_name":"Niklas","last_name":"Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/patch/11251/mbox/","series":[{"id":1682,"url":"https://patchwork.libcamera.org/api/series/1682/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1682","date":"2021-02-12T11:09:25","name":"[libcamera-devel,1/2] utils: checkstyle.py: Restore checks of renamed files","version":1,"mbox":"https://patchwork.libcamera.org/series/1682/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/11251/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/11251/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 5F378BD160\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 12 Feb 2021 11:09:57 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D40B263771;\n\tFri, 12 Feb 2021 12:09:56 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 068C361628\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 Feb 2021 12:09:56 +0100 (CET)","from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 046248B5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 Feb 2021 12:09:54 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"toRaT1+U\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1613128195;\n\tbh=SUlkGqMM+d6ru7OEjf0oqZIqOpF+8iC2Y0GSndO5d58=;\n\th=From:To:Subject:Date:From;\n\tb=toRaT1+Un6lsz0szgJHzJdvOy0MKw3dJuZ7m6p4TnhP+TL1/LQ8J70p8nEWKyS1Wj\n\tJckWf6hMYh5cZNR9KXVLzE0pnWqOb+Gy5LhzbKrIp0/uGhpb8jXm2xqH51ekBrDj/V\n\tPItjjq6ffjvb22uLjlXCxEFWH2X2qqAFadlmekww=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 12 Feb 2021 13:09:25 +0200","Message-Id":"<20210212110926.6766-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.28.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 1/2] utils: checkstyle.py: Restore checks\n\tof renamed files","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Commit fc91951250ca (\"utils: checkstyle.py: Add ability to filter files\nby status in a commit\") caused all renamed files to be ignored by the\nchecker. Fix it.\n\nFixes: fc91951250ca (\"utils: checkstyle.py: Add ability to filter files by status in a commit\")\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/checkstyle.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/utils/checkstyle.py b/utils/checkstyle.py\nindex fb9366f8095d..93a4fc70fafa 100755\n--- a/utils/checkstyle.py\n+++ b/utils/checkstyle.py\n@@ -214,7 +214,7 @@ class Commit:\n         self._files = [CommitFile(f) for f in files[1:]]\n         self._title = files[0]\n \n-    def files(self, filter='AM'):\n+    def files(self, filter='AMR'):\n         return [f.filename for f in self._files if f.status in filter]\n \n     @property\n","prefixes":["libcamera-devel","1/2"]}