From patchwork Tue Aug 25 07:11:33 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 5276 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:4306:b0:87d:ab56:3700 with SMTP id q6csp5385044mae; Tue, 25 Aug 2026 00:11:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AHgh+RpLiscCm33puB76QEtbNhouMP0PAEHE7DctAmgX1Lm3qhjjUy/PDch8MBcGd1lA50uqQFMRPc9U8HY=@openvpn.net X-Received: by 2002:a05:6830:3807:b0:7e9:e5c0:e0a with SMTP id 46e09a7af769-7f4763b42d4mr25173360a34.5.1787641914314; Tue, 25 Aug 2026 00:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1787641914; cv=none; d=google.com; s=arc-20260327; b=fpwIwVhTDXndPR6uvfEljX/6OZXZhOQIdIz8AfFFt4Okfsb6sUt510llC/ioil5Ufb dqYsBamPr8wD4Wmbx/8JZYDcbS0oox9agyBikDLmFFXp3M28iByJAqdAY9LNwX5baFOz TPWNWGxJuciu3n0zO45ql+KG6YoXPOYPd7dvZgUZep6McJhFV2OfD8dPA2lIp8MXbX/e 3a5bG4g4d9ERecp0RhOxgO91a4qDkQXpIzP4t2VvIySWhPXvnNEa76vrM8mZx/z7UO/Y XhYFW5hgrU2mYrkge2SFDxccYaCts0oT+UoyTFYsG1ZeB5KLUR4mhg7tcgAyd4csuoPF gcYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature:dkim-signature; bh=+RisIr1MUhVAL/AZtGEEeL27+hJEE1uCDQuT6g9Nq+M=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=CiG8m3Pw3nelPm53eoABdUZoCIK+en7q12AXmJU/c16aP8SsCm4nNk0VAkpMTvHyvJ BpESxoKeAOH+OK5tVzVXJ8X00nkvjNFv9Z6ur2FMzNlIJpv3EKyZUcPiyPmEAy9EN7sc eGCcVXuV1nioPaFTCb7pM+slS0ecoaL+YxI3LZCLDteAjMRjyz5SmSeD74uSDQ1DSqNN zTkJEDr6+65CO2PRH16y4C9Wx2yJdCtOMME2UQxmqU4Kg2Mv/+yM4L2gof0YD7Eg8iwY iI6m8ZskVcB7gL9MQ62au2SNtedOQHTtlRHgttN7Yih7Sr0oxkRy+MrfXFW+iq2AQyxz gkxA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=S8R+Sxe8; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=TfkoQyDI; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=eY9mcFQY; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 46e09a7af769-7f48fc81d36si11030086a34.67.2026.08.25.00.11.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2026 00:11:53 -0700 (PDT) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=S8R+Sxe8; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=TfkoQyDI; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=eY9mcFQY; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:MIME-Version:References:In-Reply-To:Message-ID:Date:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+RisIr1MUhVAL/AZtGEEeL27+hJEE1uCDQuT6g9Nq+M=; b=S8R+Sxe8Ay+811K0G+x1tLDKEb PyXBD8mvh7f097g8zSryRzqzPFqNNllGmbQhwv/PcG3K3wTzRcy7Kwz+X16dsfyv03YvXqrkCreiS +aH0K10y97oRDw1UhHdtjOqCbKum0r/z4Zj4GV0C7XSCoxuOdIl7D2lMxRzsxk5cYkGk=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wylK4-0005w5-Vb; Tue, 25 Aug 2026 07:11:50 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wylK3-0005vz-Ib for openvpn-devel@lists.sourceforge.net; Tue, 25 Aug 2026 07:11:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fFL9kRQaUbYSd1Cv+PWU6LNnwsbjlKBvVAWYcFkpU+s=; b=TfkoQyDIYJ0nSpjEC/Fq9DIMZk cROQwEia3Udgu74OKtWXkRWKxLvJvaCu8nG44yDEtc59Z7/ZYTeaRwFfK7n1ky7lR3+wMqXT6oHg8 dd36l61k2N5OCvdL6hMmqkhXREUYrh/9013eD8ixhQJKehhagGNRdM4TN4gOBcEe0pRQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fFL9kRQaUbYSd1Cv+PWU6LNnwsbjlKBvVAWYcFkpU+s=; b=eY9mcFQYIQdzxnY/vlXgvj/Hwq /qdiVtjoHMq0JdnNLdAtwXtGy9mH+HGlJH98wIsSG7L1ci7hfSu1oJOWGUxXFCiM0b4B13iMkdnTB MuiGxf2TuZcPB/tp7FIDNAbNsn67hLl1H5MxhGKvhuaNBwpdmkv37lb87V+Ux+CjNKGM=; Received: from [193.149.48.129] (helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wylJz-0006Y3-4Q for openvpn-devel@lists.sourceforge.net; Tue, 25 Aug 2026 07:11:49 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 67P7BdWx021820 for ; Tue, 25 Aug 2026 09:11:39 +0200 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 67P7BdiI021819 for openvpn-devel@lists.sourceforge.net; Tue, 25 Aug 2026 09:11:39 +0200 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Tue, 25 Aug 2026 09:11:33 +0200 Message-ID: <20260825071139.21756-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "sfi-spamd-1.hosts.colo.sdot.me", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Frank Lichtenheld Also checks for some common issues. Change-Id: I52773764e0f4056fe5367918a9b2e6720b165c21 Signed-off-by: Frank Lichtenheld Acked-by: Razvan Cojocaru Gerrit URL: https://gerrit.openvpn.net/c/o [...] Content analysis details: (1.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Headers-End: 1wylJz-0006Y3-4Q Subject: [Openvpn-devel] [PATCH v2] dev-tools: Add new script to convert mails to Gerrit patches X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: 1874478407675722972 X-GMAIL-MSGID: 1874478407675722972 From: Frank Lichtenheld Also checks for some common issues. Change-Id: I52773764e0f4056fe5367918a9b2e6720b165c21 Signed-off-by: Frank Lichtenheld Acked-by: Razvan Cojocaru Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1585 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1585 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Razvan Cojocaru diff --git a/dev-tools/gerrit-submit-from-mail.sh b/dev-tools/gerrit-submit-from-mail.sh new file mode 100755 index 0000000..ad5775f --- /dev/null +++ b/dev-tools/gerrit-submit-from-mail.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +# Assertions: +# - there is a remote called "gerrit" that can be used to +# pushed to gerrit. Create it with +# git remote add gerrit ssh://@gerrit.openvpn.net:29418/openvpn.git +# - the master branch does not contain pending commits, move them to branches +# +# Usage: +# - Pipe mail to this script on stdin +# - You can specify the target branch as the first argument to the script +# if it is not master. + +set -eu + +TARGET_BRANCH=${1:-master} +SOURCE_DIR=$(dirname $(readlink -e "${BASH_SOURCE[0]}")) +TIMESTAMP=$(date +%Y%m%dT%H%M%S) + +git -C $SOURCE_DIR checkout $TARGET_BRANCH +git -C $SOURCE_DIR checkout -B mail-submit-${TIMESTAMP} +git -C $SOURCE_DIR am + +warnings=0 +if git -C $SOURCE_DIR log -n1 --format=%an | grep -q "via Openvpn-devel"; then + echo WARNING: Author contains \"via Openvpn-devel\" + echo Try to get an actual email-adress from the submitter! + warnings=$((warnings + 1)) +fi + +if ! git -C $SOURCE_DIR log -n1 --format=%b | grep -qi "signed-off-by:"; then + echo WARNING: Signed-off-by: line missing + echo Consider adding it. + warnings=$((warnings + 1)) +fi + +if [ "$warnings" -gt 0 ]; then + echo Please fix the $warnings warnings above before pushing. + echo Push the changes with git -C $SOURCE_DIR push gerrit HEAD:refs/for/$TARGET_BRANCH +else + echo git -C $SOURCE_DIR push gerrit HEAD:refs/for/$TARGET_BRANCH +fi