From patchwork Mon Mar 11 12:58:03 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: 19661 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 2033FBD160 for ; Mon, 11 Mar 2024 12:58:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 328296286F; Mon, 11 Mar 2024 13:58:13 +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="VLW/2o0f"; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7D26D61C7C for ; Mon, 11 Mar 2024 13:58:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710161890; 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=HB3dQsdehvMz0eWSr0P32cRk/WKoWrRWhj7rDbfllGY=; b=VLW/2o0fbXbc+KNCWdU93QInvOSstd8XYdhdtIbufwK2MZ9wsx6bNgXxCyfcXnFD8wYRxw 2WwH5ZyDxfnmuAphEUUyZbFaPJauTg/uW6osdR94P3STyA/8b4aBWpXlusxknh/dr5xo+X 9Djp7ZsTIJ+yvMNqtL13ZHGAQpoq0vU= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-563-vjrvJ0YuN2-UYP7RLrcauQ-1; Mon, 11 Mar 2024 08:58:06 -0400 X-MC-Unique: vjrvJ0YuN2-UYP7RLrcauQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (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 28756383CD77; Mon, 11 Mar 2024 12:58:06 +0000 (UTC) Received: from x1.localdomain.com (unknown [10.39.195.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id 479232022EDB; Mon, 11 Mar 2024 12:58:04 +0000 (UTC) From: Hans de Goede To: libcamera-devel@lists.libcamera.org Subject: [PATCH v2] utils: checkstyle.py: Add Co-developed-by to known_trailers Date: Mon, 11 Mar 2024 13:58:03 +0100 Message-ID: <20240311125803.16708-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 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: , Cc: Jacopo Mondi 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. Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi Signed-off-by: Hans de Goede --- Changes in v2: - Keep known_trailers entries sorted alphabetically --- utils/checkstyle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/checkstyle.py b/utils/checkstyle.py index fb03dc34..db5a550d 100755 --- a/utils/checkstyle.py +++ b/utils/checkstyle.py @@ -471,6 +471,7 @@ class TrailersChecker(CommitChecker): known_trailers = { 'Acked-by': email_regex, 'Bug': link_regex, + 'Co-developed-by': email_regex, 'Fixes': commit_regex, 'Link': link_regex, 'Reported-by': validate_reported_by,