From patchwork Mon Mar 11 12:01:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 19655 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 1FC5BBD160 for ; Mon, 11 Mar 2024 12:01:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4298A62C80; Mon, 11 Mar 2024 13:01:09 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="g3UKGUMv"; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7A12561C7C for ; Mon, 11 Mar 2024 13:01:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710158467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+v51hW20yLjry9Dn6Y5KTk0fOMWzq3sP+XbHrsTxP3E=; b=g3UKGUMvjmO8XKgkff51m2TcbOAr/Bt7ceL3eVTziYFnnsP/6ebDUvfAqCzOnNoDPoSIBs 3uyaIV/z8GVp4Z2HUYMI/EOSKY8dNazRE6fQP4mAwZBzttnjLHyzXzUG2DD2N/MsyYe0ea yGf/fc3gOssLLcJapwP4gJYqqwXw63Q= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-632-GIJlGnsMORWfqByRkCBuoQ-1; Mon, 11 Mar 2024 08:01:04 -0400 X-MC-Unique: GIJlGnsMORWfqByRkCBuoQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2720E84FA93 for ; Mon, 11 Mar 2024 12:01:04 +0000 (UTC) Received: from x1.localdomain.com (unknown [10.39.195.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id AE4B210E4B; Mon, 11 Mar 2024 12:01:03 +0000 (UTC) From: Hans de Goede To: libcamera-devel@lists.libcamera.org Subject: [PATCH] utils: checkstyle.py: Add Co-developed-by to known_trailers Date: Mon, 11 Mar 2024 13:01:02 +0100 Message-ID: <20240311120102.13235-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add Co-developed-by to known_trailers to silence false positive "Invalid commit trailer key 'Co-developed-by'" warnings. Signed-off-by: Hans de Goede Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi --- utils/checkstyle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/checkstyle.py b/utils/checkstyle.py index fb03dc34..52cf770c 100755 --- a/utils/checkstyle.py +++ b/utils/checkstyle.py @@ -478,6 +478,7 @@ class TrailersChecker(CommitChecker): 'Signed-off-by': email_regex, 'Suggested-by': email_regex, 'Tested-by': email_regex, + 'Co-developed-by': email_regex, } trailer_regex = re.compile(r'([A-Z][a-zA-Z-]*)\s*:\s*(.*)')