From patchwork Wed Jan 22 15:01:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Albershteyn X-Patchwork-Id: 13947399 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 667F3ECF for ; Wed, 22 Jan 2025 15:01:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558117; cv=none; b=JNxiTxkEMMnSAQc3SH6uiz4H3vmh2ICnDv6xW8sEtddQf+/AtFAmb7fULQzSBZrxBK7eX6qHOmqD145dGF07jHlbUMgwfK7DBBjMCrOV1x+epXwPg+wn7p33rj4CBx+LKBZ6Vt4zr0ixx0hydXBBP2GPo6lp8z/yscxgaUnOPKE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558117; c=relaxed/simple; bh=DhoIS4LpAXTaU+j4RaTP0n4Osdzajaf1vg8VP1HOQj4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lLtiJNFd+6F8jDGwi9nTQkUxJbWoF9gTrWIpx9VmZgNCYEQ/a2aWA4VfSWr1kLX2F2t5kRccLu2VCrrRGjseEjScXq7iFfB2QQ6LAfmMyJd0xDWLypeypBzBcG+/K5V5eS/FYm1pH7GuVic37TXC3e8TUHRyW/tTqHRLEPlAEys= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=cVTcWP7G; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cVTcWP7G" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737558115; 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: in-reply-to:in-reply-to:references:references; bh=gqPDDFe4X8MUDyudp/mtiktDnpxqiHC7K/6IWumjNhM=; b=cVTcWP7GOca9heTg+ND5fgSjgsvDeBcc3c+gGORsYT/LEj1GwOLQjnJqT10ANvWF6MR/6A ImLgz0fPNWilyY1aNKSbLlcmCuVdsNpAhxGUlkldaoxQ9D7hwRn87JUT0egAw8Wf3HO/Eq s7c8EyubBMGadznSQZFX20b5yCxBUWY= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-618-GTe_QbGRPz29idbnR-n1yw-1; Wed, 22 Jan 2025 10:01:52 -0500 X-MC-Unique: GTe_QbGRPz29idbnR-n1yw-1 X-Mimecast-MFC-AGG-ID: GTe_QbGRPz29idbnR-n1yw Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-aa689b88293so730411966b.3 for ; Wed, 22 Jan 2025 07:01:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737558111; x=1738162911; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gqPDDFe4X8MUDyudp/mtiktDnpxqiHC7K/6IWumjNhM=; b=iRRFFni0Ko84/kYvwjaPbIymiD0b/yrJjVmhlS/gTPMsr/IFdAj+fxBwoqvXFbWmqH qSXhsBvfhNze9jLk14mh8EqQVz3SU6HTP5KuVaDKDlxBHVRKfKcu6fzwLq2h1FscsMrb +TM0v5TA5AC7lVx+P0r4xKYsJB6EjWGtfQ+j1vQbvbf2NKFkTXHNoL/MB8Zc5VecHOMY EE9rD88nn6h0VafprAYJK+oGFXghrv3SLgGMuxzSNF9zHdsibrDWDbHlUhlLXdKN/COp rC0byxebXXJKe6u4NjbSYHupwHHxW6dORI6l2dEdJF2wRwwZx9s4PzGyEXeQliXkIj5y 9nhA== X-Gm-Message-State: AOJu0YzghjHh5Kqekgj3UFdOKtUlFSvISEMpAG7lB0+uMNKZMVlu2tw4 MammBu2gDHyJIrV+GcbcWRrhPHKqStUgL5B/GGCZE2Gp3ZCXotfu3g2KZ8ErQfwMr5VYOlWUfVm h2V/Clp2RdL4ZPdgidXK5n0mPh3tmjHrxzki9yzK3H7y6pgpxmdZFsIAm X-Gm-Gg: ASbGnctlJmaWBZ9R5zaob3gcOaA7nLjS5VGYVGbs8yjdlNHiOa5Vwfdaq2hjmX8FMCy d6aF+lW69hBk6cGQZOiFAZTe2q0S4C6NNnxDZ8e3zygxxSwvZb58HZf2fp4wMZWuDnBwWhSeJ2s tYcwHg0gp7xaF6lOjRy6MPMyJH7vJBOBb/SxZy/DAy/tCyGz2VCA9jej9yfxfq5XdzSaiHopG6N iyxfnmPMxYXVI34oFymM7Sf3qUEEnWt1kJIjWR8B9GCXZHG+APdlNhgDhEVgrP52ainTvi0TR6B C7/PPLuZYImZiW+DhePP X-Received: by 2002:a17:907:3e12:b0:aaf:208:fd3f with SMTP id a640c23a62f3a-ab38b10f4aemr1830207566b.13.1737558111277; Wed, 22 Jan 2025 07:01:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8dBh1bvv4mCOXYv6oYBFePe2BNFtL02dPi3Xb0443F6m+JCO3NPeil6tpw6FWke5qBSJUUg== X-Received: by 2002:a17:907:3e12:b0:aaf:208:fd3f with SMTP id a640c23a62f3a-ab38b10f4aemr1830100366b.13.1737558100240; Wed, 22 Jan 2025 07:01:40 -0800 (PST) Received: from [127.0.0.2] (ip-217-030-074-039.aim-net.cz. [217.30.74.39]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f2303csm925653966b.100.2025.01.22.07.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 07:01:39 -0800 (PST) From: Andrey Albershteyn X-Google-Original-From: Andrey Albershteyn Date: Wed, 22 Jan 2025 16:01:27 +0100 Subject: [PATCH v2 1/7] release.sh: add signing and fix outdated commands Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250122-update-release-v2-1-d01529db3aa5@kernel.org> References: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> In-Reply-To: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> To: linux-xfs@vger.kernel.org Cc: "Darrick J. Wong" , Andrey Albershteyn X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1953; i=aalbersh@kernel.org; h=from:subject:message-id; bh=DhoIS4LpAXTaU+j4RaTP0n4Osdzajaf1vg8VP1HOQj4=; b=owJ4nJvAy8zAJea2/JXEGuOHHIyn1ZIY0idyBKru/W4guMjTS/tSsckmfgG77ytfnrrMseSeR 4j0mYA0BdeOUhYGMS4GWTFFlnXSWlOTiqTyjxjUyMPMYWUCGcLAxSkAE9nCyvDfx8NMXcxV49f+ poy5Iiw5y/WvsWW1e1ip3lz7No9FVlGa4a/AU3+Jx7WFL5ZeNPpd7xXz5eb/NSfDjaQvit95O9F tVxojAIVsRCM= X-Developer-Key: i=aalbersh@kernel.org; a=openpgp; fpr=AE1B2A9562721A6FC4307C1F46A7EA18AC33E108 Reviewed-by: Darrick J. Wong Signed-off-by: Andrey Albershteyn --- release.sh | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/release.sh b/release.sh index 577257a354d442e1cc0a2b9381b11ffbe2f64a71..b15ed610082f34928827ab0547db944cf559cef4 100755 --- a/release.sh +++ b/release.sh @@ -9,6 +9,8 @@ # configure.ac (with new version string) # debian/changelog (with new release entry, only for release version) +set -e + . ./VERSION version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION} @@ -16,21 +18,38 @@ date=`date +"%-d %B %Y"` echo "Cleaning up" make realclean +rm -rf "xfsprogs-${version}.tar" \ + "xfsprogs-${version}.tar.gz" \ + "xfsprogs-${version}.tar.asc" \ + "xfsprogs-${version}.tar.sign" echo "Updating CHANGES" sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp && \ mv doc/CHANGES.tmp doc/CHANGES echo "Commiting CHANGES update to git" -git commit -a -m "${version} release" +git commit --all --signoff --message="xfsprogs: Release v${version} + +Update all the necessary files for a v${version} release." echo "Tagging git repository" -git tag -a -m "${version} release" v${version} +git tag --annotate --sign --message="Release v${version}" v${version} echo "Making source tarball" make dist +gunzip -k "xfsprogs-${version}.tar.gz" -#echo "Sign the source tarball" -#gpg --detach-sign xfsprogs-${version}.tar.gz +echo "Sign the source tarball" +gpg \ + --detach-sign \ + --armor \ + "xfsprogs-${version}.tar" -echo "Done. Please remember to push out tags using \"git push --tags\"" +echo "Verify signature" +gpg \ + --verify \ + "xfsprogs-${version}.tar.asc" + +mv "xfsprogs-${version}.tar.asc" "xfsprogs-${version}.tar.sign" + +echo "Done. Please remember to push out tags using \"git push origin v${version}\"" From patchwork Wed Jan 22 15:01:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Albershteyn X-Patchwork-Id: 13947400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAC78ECF for ; Wed, 22 Jan 2025 15:02:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558122; cv=none; b=jJauJ3tCOH0AGq2mT2BF3u7PQNIT99C6MfBEnZJIilLE0o0UMVmQdKT0J+VZ4lutM8Izi6Rajg5DvMancmr2srpYzO8LYi3IpEIspOADfPfRYr7xpu+49XM2BaHOZythhIDVqDUML6V1AO4Bqdw3eD5PvUJkFFowNhJCjsxS8fk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558122; c=relaxed/simple; bh=zfY74ewYuNTKognc1+W1ZHXOd2aZc8BpDDePAj4HKgA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mHRfVWYZohQRNu5uRsg64zUPxz1acLOmjKs1rx5CsWXjHfzDp3nlqW5Fc/yYP8O/2tgckavI8UF7yhpW2ZgqRLWfL/7bYipnmKkGkGj1SbJmgSKYBQdikoeRChJYwUtxeZWV+m2uQrpEHDBibaeExRwa37rLJ1N4LR5KuaC8JxU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=HcoTT+iX; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HcoTT+iX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737558119; 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: in-reply-to:in-reply-to:references:references; bh=W8hVNcD02eppmlHwBK5gPIPKCPfjbHT7R3HSpZM7aoA=; b=HcoTT+iXNli4EoEmUaUMdm5lqHUc6MDp8cV8HCHlLPuXsI7Y19qSvMMwDj/5sACInHaYzD a1gC+fXoZolx+gNVmeY2lohemwaf7YxLvKLrlRf46PrMErsplrIw+jd/LIifkY25jzoXhd i8tdaBDnyemWYFqtagtsQwglOKwW/PI= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-298-ufQ51OFkML2z5PZScU0UGg-1; Wed, 22 Jan 2025 10:01:56 -0500 X-MC-Unique: ufQ51OFkML2z5PZScU0UGg-1 X-Mimecast-MFC-AGG-ID: ufQ51OFkML2z5PZScU0UGg Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-ab367e406b3so616876966b.0 for ; Wed, 22 Jan 2025 07:01:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737558114; x=1738162914; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W8hVNcD02eppmlHwBK5gPIPKCPfjbHT7R3HSpZM7aoA=; b=IwizQMTHGPuFI3weOPwAyi6NG4140uYVr+E0mwgV3ISaXYd/DGDzyWde4y9iWdHfld 3g03t3FyRr0UCzjfl+RTLopm+cGTnV3jRGKJWOpSgXkglecfRrjsiw8BGtv2fOjQ7S7B Mr6j5OTIs0bX7lRrqzMatXfvvviaKkDrDEU2dec5jdCf3O0I6XEpGLqfSBWLKSVUIwga 8zZN/HA/BMGEZNYtpxDI60/Z7VUO2LVvLY485cB+6/8O1HqID3nhq/xV7/dpWxlVab+X h6WIfoI0oGkc1LoHDT93jIthSVZNwFPkswzr8gKxqf3cl78agT0QZjF9ysXXOtCk+iKj IgQA== X-Gm-Message-State: AOJu0YyMhU4eZD77EXgLzWhEQYpPHnYXDbsaN8NICXT2wkaI9F8FwV8N fExO/I/mh151NSLWRX/A2wW7+sq0hqKwdF9eQs1iHXtP/cDBI9ntf82AVBAJnGlY1MMjBhgy9Q6 mbppai6InQ4aPqbrj6k28NACEC9m2ZvqQyavmZjh4QoUieMsCsLSx1neKb1mo0eyN X-Gm-Gg: ASbGncsKKglp4yisr5LJCnf5DeUUAxRg3PXxaPOXzxscbO3FiRvLqwdNQ8lI5sHpSum baNthqhr0P1cyyFNzzD0AmQLMgaIRGsoxWGYYJmB52DSl08aZIRqdEIBR82bxKnCIl+n/bL10zn Qn2LkfrZpsUFFFkIO/fkJdyD65apU032k99izpOPqQJJ+tqrfG/VM5OxB5kRNN7BPnD5hdh3QzS ntU822Uo20qcK1g24gnXfqKvu9kbriLy5Ra1U2Ejw+cXHinhc+Cr0CONn2Vl8YXG3/vo03nCtZO pFoLHbIjyU9c/rqn5QLD X-Received: by 2002:a17:907:706:b0:aa6:5201:7ae3 with SMTP id a640c23a62f3a-ab38b3b23e1mr2309471666b.40.1737558114015; Wed, 22 Jan 2025 07:01:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFASXwdsRtoce3XQWQKVzqPrkiskLnGKpawX9BvMgtwCFwfL/yVyNl1J8S1q7i7K1MbshJ9xQ== X-Received: by 2002:a17:907:706:b0:aa6:5201:7ae3 with SMTP id a640c23a62f3a-ab38b3b23e1mr2309459766b.40.1737558113146; Wed, 22 Jan 2025 07:01:53 -0800 (PST) Received: from [127.0.0.2] (ip-217-030-074-039.aim-net.cz. [217.30.74.39]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f2303csm925653966b.100.2025.01.22.07.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 07:01:49 -0800 (PST) From: Andrey Albershteyn X-Google-Original-From: Andrey Albershteyn Date: Wed, 22 Jan 2025 16:01:28 +0100 Subject: [PATCH v2 2/7] release.sh: add --kup to upload release tarball to kernel.org Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250122-update-release-v2-2-d01529db3aa5@kernel.org> References: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> In-Reply-To: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> To: linux-xfs@vger.kernel.org Cc: Andrey Albershteyn X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1309; i=aalbersh@kernel.org; h=from:subject:message-id; bh=zfY74ewYuNTKognc1+W1ZHXOd2aZc8BpDDePAj4HKgA=; b=owJ4nJvAy8zAJea2/JXEGuOHHIyn1ZIY0idyBEolCd+7wPH/QSNjvmdn3nb/YKODc/pu+3Nah B+0VZDa1dxRysIgxsUgK6bIsk5aa2pSkVT+EYMaeZg5rEwgQxi4OAVgImz/GRl6Xzcynz304fXa s3dPFgQ8nJf5W+Otk12Y+7oKv6qDXn0HGBme5yT7/N5hffPsNsWQAjZjo8jZtyaUxL/wzQkInr/ tvAIDAGrsRvM= X-Developer-Key: i=aalbersh@kernel.org; a=openpgp; fpr=AE1B2A9562721A6FC4307C1F46A7EA18AC33E108 Add kup support so that the maintainer can push the newly formed release tarballs to kernel.org. Signed-off-by: Andrey Albershteyn --- release.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/release.sh b/release.sh index b15ed610082f34928827ab0547db944cf559cef4..b036c3241b3f67bfb2435398e6a17ea4c6a6eebe 100755 --- a/release.sh +++ b/release.sh @@ -16,6 +16,30 @@ set -e version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION} date=`date +"%-d %B %Y"` +KUP=0 + +help() { + echo "$(basename) - create xfsprogs release" + printf "\t[--kup|-k] upload final tarball with KUP\n" +} + +while [ $# -gt 0 ]; do + case "$1" in + --kup|-k) + KUP=1 + ;; + --help|-h) + help + exit 0 + ;; + *) + >&2 printf "Error: Invalid argument\n" + exit 1 + ;; + esac + shift +done + echo "Cleaning up" make realclean rm -rf "xfsprogs-${version}.tar" \ @@ -52,4 +76,11 @@ gpg \ mv "xfsprogs-${version}.tar.asc" "xfsprogs-${version}.tar.sign" +if [ $KUP -eq 1 ]; then + kup put \ + xfsprogs-${version}.tar.gz \ + xfsprogs-${version}.tar.sign \ + pub/linux/utils/fs/xfs/xfsprogs/ +fi; + echo "Done. Please remember to push out tags using \"git push origin v${version}\"" From patchwork Wed Jan 22 15:01:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Albershteyn X-Patchwork-Id: 13947401 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 410D5ECF for ; Wed, 22 Jan 2025 15:02:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558124; cv=none; b=j0t2gREf/kTQgaCkz75uo4CzRHr5hZ3N6p8g7eweTwhqVWIiRzgiYtSGsTgw9daKcDf9QX4OSsLerEAU5kk/HMDDViPyCnevTarRTuYvO5nWBtscXMbjZaS79QCtOsmWHL7D0nR8PnJNVNLbBgroyWRBzmij3J91uGhKOavOmwg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558124; c=relaxed/simple; bh=uQa8vmMc73ToD17zbOVCwEY2cNBULfkbSXG2Ep49Mic=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=F/QnvyUrKmZPW8x5b4m06uXhftfaXitovfQ0ysWiKKO/vboic30ur67hpxH9pWMVsac/Xg0RP+P8uFOzE0b1QMtuJBo2SD7M4zNVay8HEkbcPOfG1aHAyHM+i/x2iwm3o14YyDiTzEM86K8gX+Ergasfn3FpAZqR1MyfBu4RFW8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=H6ZBz4j3; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="H6ZBz4j3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737558122; 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: in-reply-to:in-reply-to:references:references; bh=GpANL5LoSGvHyocaC+nst+0GpBs6QazoVf7ruWuEcgs=; b=H6ZBz4j3xi43NVWBb82capZryCaPow9QmzdEHgXeRh2CKLtHcqMEnyo/+K/67qtxo4T3EX jUhrs/933hDDbcEMo2i/sKV7fEf9v8DeqnEYf6h1v+snjj+8i29YK7ag01bZJ/5OuIVT1Q 5vL5uX6zckJAeXiNIQ3KrzGFae63Nhk= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-27-V2N7aMyCNgiNQirWGKAk-g-1; Wed, 22 Jan 2025 10:01:58 -0500 X-MC-Unique: V2N7aMyCNgiNQirWGKAk-g-1 X-Mimecast-MFC-AGG-ID: V2N7aMyCNgiNQirWGKAk-g Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-aa683e90dd3so619052766b.3 for ; Wed, 22 Jan 2025 07:01:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737558117; x=1738162917; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GpANL5LoSGvHyocaC+nst+0GpBs6QazoVf7ruWuEcgs=; b=u7gnxCfdqYmY91N8KT3zFY2vSAfKWmeWbDbqH2n/H46D38VfPO76k6AM889sNJRDS7 7kn78G4b2Z+aMnm7uQAH3X1gsvevN4DaKI+quUlYWO6Hmy0z3dbiS7cm8mecMnM7hds1 zIyjRnqCJ3UWjPREAtwXoQYJV2sGqQHiaWcHYmwHYFre6P7IOGOBhM9TEICzX3grOVfe R4GlNLreLdZWBviLSTOGyklDvwI45hEk8ryrjKQFjJhdCZ5R32iwSCYzhIET6gOCBLbU 07pMshyWwB3CEiXzl90+CadHnkk5DO+vEbVuXqRm7DV0tjUmDDJyVGfJcnRb/RGi/4W9 n+Hw== X-Gm-Message-State: AOJu0Yw0+dPGLzxYzUkWLgwyCdj2c69TdgIzTXDKKpAhfGSSTJ22sEPh hZKtI98hVo6rskDzL60FsOgsJsnKIIoO3SfVt4oAYKu/HjtB3n0tqvyDt0VLV7wTAon0qpMUEZZ WUmETxtCKPiJy5lMKl5I6cd6zPgb78K8e9yiLv3h9viuqkW14f6EcxN2+jDOvG5ct X-Gm-Gg: ASbGncthL/eCK5J7J0SZTf6P+iMpcV0Rht+h6lvJK4WFz1QYMspSNPFEDF8foIAliQK 4HaHpP2Y9h2dYgQDyAYjigOBGhX1E0QH9dY/b4Tb6NqDkEWteoy8vaZ5ZlC7h6VFYBz+ymH+jDX PfglbWkd9sdLVQgGhYEAXVKe+CHjzTP5Cx2+Jr6IAC4aI3L4OtqhRqZriJ4eCCVzCKZ3agwl/YG Ay4eFD7PORGB7Pld4O7Qr7kz/WYRtfxzPGlPpoFiT8DDuou3GkFEQklIsH1LgBbNxZCWoAlYO2N Fk0lwSVrorVq9v6drYy0 X-Received: by 2002:a17:907:2d20:b0:ab3:88a0:14be with SMTP id a640c23a62f3a-ab38b0b9971mr1742175366b.9.1737558116598; Wed, 22 Jan 2025 07:01:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZ1dKsEPK6xW1T2s4Svr1olG1qput3xMd5ZsbDP4yZ9lZYYVzVXTD2K7+QNdmZV7XtJbLgJA== X-Received: by 2002:a17:907:2d20:b0:ab3:88a0:14be with SMTP id a640c23a62f3a-ab38b0b9971mr1742148166b.9.1737558114564; Wed, 22 Jan 2025 07:01:54 -0800 (PST) Received: from [127.0.0.2] (ip-217-030-074-039.aim-net.cz. [217.30.74.39]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f2303csm925653966b.100.2025.01.22.07.01.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 07:01:53 -0800 (PST) From: Andrey Albershteyn X-Google-Original-From: Andrey Albershteyn Date: Wed, 22 Jan 2025 16:01:29 +0100 Subject: [PATCH v2 3/7] release.sh: update version files make commit optional Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250122-update-release-v2-3-d01529db3aa5@kernel.org> References: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> In-Reply-To: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> To: linux-xfs@vger.kernel.org Cc: Andrey Albershteyn X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3767; i=aalbersh@kernel.org; h=from:subject:message-id; bh=uQa8vmMc73ToD17zbOVCwEY2cNBULfkbSXG2Ep49Mic=; b=owJ4nJvAy8zAJea2/JXEGuOHHIyn1ZIY0idyBD4Wf1yq3TP1kHX1bYn4slu3F95cIbA9y3n3I 0aGDUdTW106SlkYxLgYZMUUWdZJa01NKpLKP2JQIw8zh5UJZAgDF6cATOTyQ4b/0YErTvMJVR5y 9WL4Ne9La1WFZsjX3b8yO+eGv9yrNDfpAcNf8et6ahs4mnIrZln5fD8uan7r+w/5td3JCkeOMCy c4xjBCACfY0la X-Developer-Key: i=aalbersh@kernel.org; a=openpgp; fpr=AE1B2A9562721A6FC4307C1F46A7EA18AC33E108 Based on ./VERSION script updates all other files. For ./doc/changelog script asks maintainer to fill it manually as not all changes goes into changelog. --no-commit|-n flag is handy when something got into the version commit and need to be changed manually. Then ./release.sh -c will use fixed history Signed-off-by: Andrey Albershteyn --- release.sh | 75 ++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 58 insertions(+), 17 deletions(-) diff --git a/release.sh b/release.sh index b036c3241b3f67bfb2435398e6a17ea4c6a6eebe..57ff217b9b6bf62873a149029957fdd9f01b8c38 100755 --- a/release.sh +++ b/release.sh @@ -11,16 +11,33 @@ set -e -. ./VERSION - -version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION} -date=`date +"%-d %B %Y"` - KUP=0 +COMMIT=1 help() { echo "$(basename) - create xfsprogs release" printf "\t[--kup|-k] upload final tarball with KUP\n" + printf "\t[--no-commit|-n] don't create release commit\n" +} + +update_version() { + echo "Updating version files" + # doc/CHANGES + header="xfsprogs-${version} ($(date +'%d %b %Y'))" + sed -i "1s/^/$header\n\t\n\n/" doc/CHANGES + $EDITOR doc/CHANGES + + # ./configure.ac + CONF_AC="AC_INIT([xfsprogs],[${version}],[linux-xfs@vger.kernel.org])" + sed -i "s/^AC_INIT.*/$CONF_AC/" ./configure.ac + + # ./debian/changelog + sed -i "1s/^/\n/" ./debian/changelog + sed -i "1s/^/ -- Nathan Scott `date -R`\n/" ./debian/changelog + sed -i "1s/^/\n/" ./debian/changelog + sed -i "1s/^/ * New upstream release\n/" ./debian/changelog + sed -i "1s/^/\n/" ./debian/changelog + sed -i "1s/^/xfsprogs (${version}-1) unstable; urgency=low\n/" ./debian/changelog } while [ $# -gt 0 ]; do @@ -28,6 +45,9 @@ while [ $# -gt 0 ]; do --kup|-k) KUP=1 ;; + --no-commit|-n) + COMMIT=0 + ;; --help|-h) help exit 0 @@ -40,6 +60,36 @@ while [ $# -gt 0 ]; do shift done +if [ -z "$EDITOR" ]; then + EDITOR=$(command -v vi) +fi + +if [ $COMMIT -eq 1 ]; then + if git diff --exit-code ./VERSION > /dev/null; then + $EDITOR ./VERSION + fi +fi + +. ./VERSION + +version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION} +date=`date +"%-d %B %Y"` + +if [ $COMMIT -eq 1 ]; then + update_version + + git diff --color=always | less -r + [[ "$(read -e -p 'All good? [Y/n]> '; echo $REPLY)" == [Nn]* ]] && exit 0 + + echo "Commiting new version update to git" + git commit --all --signoff --message="xfsprogs: Release v${version} + +Update all the necessary files for a v${version} release." + + echo "Tagging git repository" + git tag --annotate --sign --message="Release v${version}" v${version} +fi + echo "Cleaning up" make realclean rm -rf "xfsprogs-${version}.tar" \ @@ -47,17 +97,6 @@ rm -rf "xfsprogs-${version}.tar" \ "xfsprogs-${version}.tar.asc" \ "xfsprogs-${version}.tar.sign" -echo "Updating CHANGES" -sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp && \ - mv doc/CHANGES.tmp doc/CHANGES - -echo "Commiting CHANGES update to git" -git commit --all --signoff --message="xfsprogs: Release v${version} - -Update all the necessary files for a v${version} release." - -echo "Tagging git repository" -git tag --annotate --sign --message="Release v${version}" v${version} echo "Making source tarball" make dist @@ -83,4 +122,6 @@ if [ $KUP -eq 1 ]; then pub/linux/utils/fs/xfs/xfsprogs/ fi; -echo "Done. Please remember to push out tags using \"git push origin v${version}\"" +echo "" +echo "Done. Please remember to push out tags and the branch." +printf "\tgit push origin v${version} master\n" From patchwork Wed Jan 22 15:01:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Albershteyn X-Patchwork-Id: 13947402 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1E7D1F1515 for ; Wed, 22 Jan 2025 15:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558125; cv=none; b=cWAMAYATnVrDs0sNo/W4DJiRdQot+qRU3GpEQODu8H9KEDkGJsr9/yD8CrDXg+9+i3QylHGNI5P/84egoDiHAOnsT27g+Sx44svzrkomdog4ALylcyz8xpV48T4RVNIUhWga64ur+FmgoP1xMssZuuaF2ZWpO7L35kho7HVoM3Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558125; c=relaxed/simple; bh=OgOo1ZSsR2kUCht7Gr/VNXT01rTJK79gPbW+LCwOf+o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ruBuwa1JFZd1n6gtxNEWqRIqS0oZuJEzoSaGm2WjaTTLNiu9hxrsMgrI+i88R5czu4OXVmkdUtpA/U6pNuJMpfKRYgwcr4OxHpd3DB6gN+1d11lpE1/4Fh97pOhbOaRwy/QB0o8OEvDVKyCvu9GKj/kZmaGpdw93uTpOfWA8gTA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=U1/6U7rJ; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="U1/6U7rJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737558122; 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: in-reply-to:in-reply-to:references:references; bh=l4wKUqzKOPPRbQaxM+8yaf7gzzQ1hiuDIqF6InyhzCY=; b=U1/6U7rJ57P0CR9ocrYkPEeUEwe2SV19aAp0wQSoPJ5J/MKvAA2miMMMr9RuEaNi1/Q/gv rFonueYWzrj/yG0hA3+bD3oM+dGiOMNmmYTGvQ66HX7xHUbNloKHjMuN16izzvzJI+8Ogi 1Ed7VrUySVpwz8//8GzR0xottIk2IG8= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-414-PtrfiNNJMTuva4C1wFpXdw-1; Wed, 22 Jan 2025 10:02:01 -0500 X-MC-Unique: PtrfiNNJMTuva4C1wFpXdw-1 X-Mimecast-MFC-AGG-ID: PtrfiNNJMTuva4C1wFpXdw Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-aa68b4b957fso802791866b.3 for ; Wed, 22 Jan 2025 07:02:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737558119; x=1738162919; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l4wKUqzKOPPRbQaxM+8yaf7gzzQ1hiuDIqF6InyhzCY=; b=dc/60RGq5ROzDRdKQGAP2WOPriGCW8UEh6TgcvT9D98YGP991IfOosBzK/YN/6ZLRl wD10S/vnnsNG0vbRg58xNyrisOoKKGWpjulJhe5qIk/Abvxj2YuEaS4bIV68QgOjLBpo txsGt5x8d4Cm1k/OH5fPEyUU5VVYXYDAyxDBZ5N+BIzZxU/1t/J61+i72gThxT/FiVAH 6m97NhI1LNATRQ+6lLR7MLSxUtJi+WYm8wMIxumeKYCfKlIu1nRMbapMnZd9j9q2rWX5 KOFULvBXFPOFVjqo/0zMOj+ov54pa4sCMMmiV3hwcJhyYSL6JfaOKSNThion5dh2ru5X 8SmA== X-Gm-Message-State: AOJu0YyXekijN4qoTz/ZpKKRjE15Ye+LE3CIdwKfGtuapyWZQvNiQcoR gHV+79N6YK6nfzXjIbqx4WQLRnWr43WmkxMcRhLNpSELgAMAcWJ4cDofg0WkR7q0oWro4uZ1siy EBKPiW8nCLqVdRTbaepiTgOO1VszBUCAShwdJSwB5C2DUnHEEabfno2aJb9Qd6c8n X-Gm-Gg: ASbGncuwMlSHXnCYlCT06gpjt6AvHo/qahnJq18lh4Juypm1DlFAkUIY6308eYB9sM5 jKW4BUGwDSFwq2axRtKRz/wwnQ7cw+AWHN+C/tcLPXt23QM9TQ0wFvHA/bWCfTt+CAPjVLRmxjv rOO/e+O/ybbTiTfobHtNd04O5YJLHunEwnYw9fgkXULvJ0kfjcExhmF6dmMkyAFDQA9sr8CRshz BN34uzTIk+xr9hqjT7uzYZGkAy4yYcTLHW9ScPKnSwxaIWo8WybHLoG2B2nEa16j4+dF5OJMFF3 JmT6ImjbK/apEHTpPrZe X-Received: by 2002:a17:907:7b8b:b0:aa6:995d:9ef1 with SMTP id a640c23a62f3a-ab38b0b9960mr1925563266b.12.1737558117973; Wed, 22 Jan 2025 07:01:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUsFPA+cnt2yImwXP7W+JI7lCAqfaO8JbyBkQ25jw/zt2ZBzmv6jqNJFkhdmm94cj3Jwgn7g== X-Received: by 2002:a17:907:7b8b:b0:aa6:995d:9ef1 with SMTP id a640c23a62f3a-ab38b0b9960mr1925539266b.12.1737558116115; Wed, 22 Jan 2025 07:01:56 -0800 (PST) Received: from [127.0.0.2] (ip-217-030-074-039.aim-net.cz. [217.30.74.39]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f2303csm925653966b.100.2025.01.22.07.01.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 07:01:55 -0800 (PST) From: Andrey Albershteyn X-Google-Original-From: Andrey Albershteyn Date: Wed, 22 Jan 2025 16:01:30 +0100 Subject: [PATCH v2 4/7] release.sh: generate ANNOUNCE email Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250122-update-release-v2-4-d01529db3aa5@kernel.org> References: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> In-Reply-To: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> To: linux-xfs@vger.kernel.org Cc: Andrey Albershteyn X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1991; i=aalbersh@kernel.org; h=from:subject:message-id; bh=OgOo1ZSsR2kUCht7Gr/VNXT01rTJK79gPbW+LCwOf+o=; b=owJ4nJvAy8zAJea2/JXEGuOHHIyn1ZIY0idyBG7dd0Dnc61xgbbPSVfnj30p6vNkudntbPcdE FR4LW7OytFRysIgxsUgK6bIsk5aa2pSkVT+EYMaeZg5rEwgQxi4OAXgJgcxMnxecLn7d+vZ5HVt fb8+SiTyzSyxmJqQ1+u3/ciOm5dkhB8y/PeV4Wbm5uONFVFuc1/595WU5U+TANOqX8tmcN+0S2Q y4AUALT9BFA== X-Developer-Key: i=aalbersh@kernel.org; a=openpgp; fpr=AE1B2A9562721A6FC4307C1F46A7EA18AC33E108 Signed-off-by: Andrey Albershteyn --- release.sh | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/release.sh b/release.sh index 57ff217b9b6bf62873a149029957fdd9f01b8c38..723806beb05761da06d971460ee15c97d2d0d5b1 100755 --- a/release.sh +++ b/release.sh @@ -13,11 +13,13 @@ set -e KUP=0 COMMIT=1 +LAST_HEAD="" help() { echo "$(basename) - create xfsprogs release" printf "\t[--kup|-k] upload final tarball with KUP\n" printf "\t[--no-commit|-n] don't create release commit\n" + printf "\t[--last-head|-h] commit of the last release\n" } update_version() { @@ -48,6 +50,10 @@ while [ $# -gt 0 ]; do --no-commit|-n) COMMIT=0 ;; + --last-head|-h) + LAST_HEAD=$2 + shift + ;; --help|-h) help exit 0 @@ -122,6 +128,43 @@ if [ $KUP -eq 1 ]; then pub/linux/utils/fs/xfs/xfsprogs/ fi; +mail_file=$(mktemp) +if [ -n "$LAST_HEAD" ]; then + cat << EOF > $mail_file +To: linux-xfs@vger.kernel.org +Subject: [ANNOUNCE] xfsprogs $(git describe --abbrev=0) released + +Hi folks, + +The xfsprogs repository at: + + git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git + +has just been updated. + +Patches often get missed, so if your outstanding patches are properly reviewed +on the list and not included in this update, please let me know. + +The for-next branch has also been updated to match the state of master. + +The new head of the master branch is commit: + +$(git log --oneline --format="%H" -1) + +New commits: + +$(git shortlog --format="[%h] %s" $LAST_HEAD..HEAD) + +Code Diffstat: + +$(git diff --stat --summary -C -M $LAST_HEAD..HEAD) +EOF +fi + echo "" echo "Done. Please remember to push out tags and the branch." printf "\tgit push origin v${version} master\n" +if [ -n "$LAST_HEAD" ]; then + echo "Command to send ANNOUNCE email" + printf "\tneomutt -H $mail_file\n" +fi From patchwork Wed Jan 22 15:01:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Albershteyn X-Patchwork-Id: 13947404 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6199213E9F for ; Wed, 22 Jan 2025 15:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558127; cv=none; b=fAFW/Z/qw1Qu+e2oTt+TxyEMLEZdWZFH3Z7kwlaa02uLzgdxvepUinT4jwZ3Jup2WXh3PV6lzmNjHznfyNYWcrWTxoqJVMA4LY7ys6YzKdawWerjLaMnZlOIh8wGIgzAt6bX/E1Frb9Z4D+oL1GnqVuaG0CTWv4rTGmVQjNDZmQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558127; c=relaxed/simple; bh=F5HU3Xp/jxQooClcPRELOAHXMLa8iF4uvNUW/o/A42M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QRTmv6x7kYsrIUi1e9Hij2VYicXicZvfYvZyzZENHsUEGlXk2ca9luGvFwowWVyNzpJDAlkUk6GizZC4JMwWvJg1KFtubYnPgFjUVG7xX/t1XGsDAg8AKjaSk8XhQHHgqdAJCFzp8aKc4q/TwCMbG7TFIXEC8jaeyQHVkc1hGYI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Cm8oDnRs; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Cm8oDnRs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737558124; 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: in-reply-to:in-reply-to:references:references; bh=tS1SBHSzp3jboL2Txd7yHDXoLpAHy0eMvDpJgubzJ1c=; b=Cm8oDnRsWOfxcJJvewWO9jcZ8bEnWzhRnxex6Tp0HLTO7UPyczNZNfWkdb8iGzFdApWRLC PtJSv1ZgjgNPpzEPdAO6dkx42dcVQs77VFXTtCK6mLQ2n3YbazhLmOWs/6jxN1fZ//4w+i iIwknKUWvEOXJ66PoGoSSdFousP8uBA= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-74-HV8yddRTO0WZGfP1Osv5xg-1; Wed, 22 Jan 2025 10:02:03 -0500 X-MC-Unique: HV8yddRTO0WZGfP1Osv5xg-1 X-Mimecast-MFC-AGG-ID: HV8yddRTO0WZGfP1Osv5xg Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-aafc90962ffso720955766b.0 for ; Wed, 22 Jan 2025 07:02:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737558122; x=1738162922; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tS1SBHSzp3jboL2Txd7yHDXoLpAHy0eMvDpJgubzJ1c=; b=sQ1E1yOdvW/L5RzPV0RcC/z7dTsrdW9dYcZ2Kt7gcD4V1KAHyX9qQdMelh2Ytgi4KS Vl2mP/6jHpKLK/16h55PDf6lREWC/9gCc2tneTJELoLDLHv3svMJw+vLesxxa/tdH6Sw Am4aZr/6NZghmnR5CAd4D/buhdFM7nsl2F1QhXP5Zh7bSFlYL8NSeguwCa6JnQ5lzJ5W AkX1PJTRobtPjZbJC8QhAgbNYy33Q94cLuX9Pn73e11eiQ1j2T+eDkGi8DBQUXAxN7GA Jyy7ZpY8i41XHE3dY8AhbzGpBUkoBpSHtE5vkmnwL7nnOjLPqjXW+ZFlup9bi14oEbel oJXA== X-Gm-Message-State: AOJu0YxnX5XExP2YcZNTomZ3TD+vgFJJ0Y3a1h8jBUSTQLo3NA5PR40o OCpdeV7S4BKH0L7VsesZ5/EbbVapVIDbXDTjxmVm6rxLkxOkxnf54tPQG4NvSLVvBu7Rh5pRJEU vzJW6rPETat6KC6p4f6UYz/1Z0mSuhRvr2aplxLXER7rWOPXidOasRh2N X-Gm-Gg: ASbGnctH6oSm5BEl17aJUbKbjxR0LB8P+5G6kksBYBRgyRFXqeW+i4kGGfxAYHeCX0V Cju/kRFhuPSz9Nhro8CuNuzKzxAN6DzeqLT5pUc2LFD39ztKeIeys2wrshHHx0JdDijKIbep+zb V3JgLM7tpsIXcO+GIEVx3jNYMfQxXkKPQqS3MhY+ybSlHJZPskOMs1gLCFnCxrWLANpm3ZMnCoZ ZhG243hDjuAEIigPorXSlVU4Fzfe6YBwr1VjiAKGYdkOerA8LskODsQ4jopbtJeqaRZrTOasZe5 CIBoV9aII+7X/cSADVxj X-Received: by 2002:a17:907:2d93:b0:ab3:8a8a:d1f2 with SMTP id a640c23a62f3a-ab38b2e71f4mr1742241466b.30.1737558120785; Wed, 22 Jan 2025 07:02:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEADdFbRxFXtJXIBY99/BFayTLQvAcFmVSG/ESIHhaFF8JZghiD6KN0MlUzV/QgIjbxs+6YwA== X-Received: by 2002:a17:907:2d93:b0:ab3:8a8a:d1f2 with SMTP id a640c23a62f3a-ab38b2e71f4mr1742219366b.30.1737558118627; Wed, 22 Jan 2025 07:01:58 -0800 (PST) Received: from [127.0.0.2] (ip-217-030-074-039.aim-net.cz. [217.30.74.39]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f2303csm925653966b.100.2025.01.22.07.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 07:01:56 -0800 (PST) From: Andrey Albershteyn X-Google-Original-From: Andrey Albershteyn Date: Wed, 22 Jan 2025 16:01:31 +0100 Subject: [PATCH v2 5/7] Add git-contributors script to notify about merges Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250122-update-release-v2-5-d01529db3aa5@kernel.org> References: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> In-Reply-To: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> To: linux-xfs@vger.kernel.org Cc: "Darrick J. Wong" , Andrey Albershteyn X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3742; i=aalbersh@kernel.org; h=from:subject:message-id; bh=F5HU3Xp/jxQooClcPRELOAHXMLa8iF4uvNUW/o/A42M=; b=owJ4nJvAy8zAJea2/JXEGuOHHIyn1ZIY0idyBC6P2PZTUEN8TgbDRLEMM+kD2uXsQXd0LZfMZ va8dlS18VRHKQuDGBeDrJgiyzppralJRVL5Rwxq5GHmsDKBDGHg4hSAiSzlYvhnP2fbL1MOw6Vf nl9luNP4umjdxd1vV71+OEnO93AAzyqGCYwMn2T+vtuTWe0/55+F0Q/HF91btkUbfnrz4x6bhxP LtEwnJgD7QUeq X-Developer-Key: i=aalbersh@kernel.org; a=openpgp; fpr=AE1B2A9562721A6FC4307C1F46A7EA18AC33E108 Add python script used to collect emails over all changes merged in the next release. CC: "Darrick J. Wong" Signed-off-by: Andrey Albershteyn --- tools/git-contributors.py | 94 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/tools/git-contributors.py b/tools/git-contributors.py new file mode 100755 index 0000000000000000000000000000000000000000..83bbe8ce0ee1dcbd591c6d3016d553fac2a7d286 --- /dev/null +++ b/tools/git-contributors.py @@ -0,0 +1,94 @@ +#!/usr/bin/python3 + +# List all contributors to a series of git commits. +# Copyright(C) 2025 Oracle, All Rights Reserved. +# Licensed under GPL 2.0 or later + +import re +import subprocess +import io +import sys +import argparse +import email.utils + +DEBUG = False + +def backtick(args): + '''Generator function that yields lines of a program's stdout.''' + if DEBUG: + print(' '.join(args)) + p = subprocess.Popen(args, stdout = subprocess.PIPE) + for line in io.TextIOWrapper(p.stdout, encoding="utf-8"): + yield line + +class find_developers(object): + def __init__(self): + tags = '%s|%s|%s|%s|%s|%s|%s|%s' % ( + 'signed-off-by', + 'acked-by', + 'cc', + 'reviewed-by', + 'reported-by', + 'tested-by', + 'suggested-by', + 'reported-and-tested-by') + # some tag, a colon, a space, and everything after that + regex1 = r'^(%s):\s+(.+)$' % tags + + self.r1 = re.compile(regex1, re.I) + + def run(self, lines): + addr_list = [] + + for line in lines: + l = line.strip() + + # emailutils can handle abominations like: + # + # Reviewed-by: Bogus J. Simpson + # Reviewed-by: "Bogus J. Simpson" + # Reviewed-by: bogus@simpson.com + # Cc: # v6.9 + # Tested-by: Moo Cow # powerpc + m = self.r1.match(l) + if not m: + continue + (name, addr) = email.utils.parseaddr(m.expand(r'\g<2>')) + + # This last split removes anything after a hash mark, + # because someone could have provided an improperly + # formatted email address: + # + # Cc: stable@vger.kernel.org # v6.19+ + # + # emailutils doesn't seem to catch this, and I can't + # fully tell from RFC2822 that this isn't allowed. I + # think it is because dtext doesn't forbid spaces or + # hash marks. + addr_list.append(addr.split('#')[0]) + + return sorted(set(addr_list)) + +def main(): + parser = argparse.ArgumentParser(description = "List email addresses of contributors to a series of git commits.") + parser.add_argument("revspec", nargs = '?', default = None, \ + help = "git revisions to process.") + parser.add_argument("--delimiter", type = str, default = '\n', \ + help = "Separate each email address with this string.") + args = parser.parse_args() + + fd = find_developers() + if args.revspec: + # read git commits from repo + contributors = fd.run(backtick(['git', 'log', '--pretty=medium', + args.revspec])) + else: + # read patch from stdin + contributors = fd.run(sys.stdin.readlines()) + + print(args.delimiter.join(sorted(contributors))) + return 0 + +if __name__ == '__main__': + sys.exit(main()) + From patchwork Wed Jan 22 15:01:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Albershteyn X-Patchwork-Id: 13947403 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5C1C1F1515 for ; Wed, 22 Jan 2025 15:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558127; cv=none; b=PGZp75JCB6MEWKlNAFPDZsDJLV2ZaA+6r2BvS9Cc2PZDlKV1+DYIzt1vbW4A4CB6D7cC6pVfVJeTvB32B0nVOSvPuelOwiWeAC3WfFuNcdC3uB+kcSbithFFXeqI0byjb5cS2QrBRfJzYOKBem+ShfQEK0XG7cejoGQoZIrLXcI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558127; c=relaxed/simple; bh=HEqEQmD45omW3DI5dTvUk9w2wn3duWh/w9BwEoGzopQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z1BKHJhDtpk3onh6A4C0+b1mrJid5FzUSescdSlOhVyYiPaNQUztNGYrMNC/qsf5WvI0AwlW4jmmjuGi4LG5/rp4XMEiMOQZBa3Rsid/iKC1yR99b4kg2l4itqHpPKt0bydlnGQdVow3RUEcsaLqbcwMRBQhU+ioObcDn3rtbNc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=CQyWKm2Y; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CQyWKm2Y" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737558124; 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: in-reply-to:in-reply-to:references:references; bh=hzyZbFQELoteQSqHRdF/WMG3hxyPVv5LapiuxLd4D2Y=; b=CQyWKm2YB1Ye8VW+tQ+HoqqGZmmVg6TjjKhr9dqYa+sfIjZr+4JUBwgFYZP1SGZspOauv1 Wf9RW2t2noXeeKZda5miJyfNEb+LZDdFcTFwqay95URXn2SsomZEa/EWWc+Yy89tAccKmL zg9wXlkODWOKdD7YeZNmMBmxN+MKWVk= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-223-uH9Hi5crMdmL1p64JMigZw-1; Wed, 22 Jan 2025 10:02:03 -0500 X-MC-Unique: uH9Hi5crMdmL1p64JMigZw-1 X-Mimecast-MFC-AGG-ID: uH9Hi5crMdmL1p64JMigZw Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-aaf8396f65fso757079566b.0 for ; Wed, 22 Jan 2025 07:02:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737558122; x=1738162922; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hzyZbFQELoteQSqHRdF/WMG3hxyPVv5LapiuxLd4D2Y=; b=bfm6P1kzcM7DhCeP0biS3sGoUJj9s4Z8gHGoWidk/OkYPeYgzx11YRbL77J/B2nKTz xZhgHWex37KlGP9r8YyUo6pe2Sdg84gp3WAgqNKlaJ5axcU1LyuA7DPpA3v2SDHK9ha+ ML7GGC0j9/xUJLf5qRBrtCItp0pkVj7d+4WVLhWJetZAjeBXUniiP1iDfBBQNiqkVNqo FfegjZXY8AN7GidHu/t/gCxcXTXHPdBPdNKJfF/p/TdTs2PWisL3e8c9BjOGwTVD5gUB ub+VQxgTHQqbCJzzrj7GuiyuafeaTsGNA/oudFYnhnkqKUVaxxIWPtYRbGshUMpOTg+2 qjNQ== X-Gm-Message-State: AOJu0Yz9uozOs7CWgZqHN9PCFmDtZYiTDhYC7gDpexwrbKwZ0XT2EE2u FhkQonA31upw/l9ZVC1/k+CjUPHRRAD1f9ZRv6UviMpRlWcM51Uoen7U7da4fjr+5MubpiFeDd0 JSq6bGvw0IDXP7aC6MqxEjfcPanJFe69tZewbqh03+raCZtkn+RF5SqrHRoBB0Mal X-Gm-Gg: ASbGncsHmH3FPSYTlM5rKIKAEEgJpl0ujMbNv8TLmA4+xCt0g77RfKhtR5p/ZYPTlKB 7KC1P3o5cWXNfojMoifvXuGAfVUrJElabIJfx6y+ScSbUQcEPFXDO2ecOKAUKH9CJMLWdHjnMV/ q/Uo4K1AU0UuhNSqhR2vCFrbUkKunKeLLRvveXoJ9mQSV3717TxJ/qIH589vzmBonzgeTTbRnBL Yq1kIuIl0B90ottXlgBYZwLCVKC/KwVJZkdNec31r3G6KSNpndABiYBwO8m6Hbqp0lxbOnuJgXG SsJgeZH6nstL7FZwn7Se X-Received: by 2002:a17:907:3e1d:b0:ab3:974:3d45 with SMTP id a640c23a62f3a-ab38b0a186cmr2395816666b.1.1737558121547; Wed, 22 Jan 2025 07:02:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFJCqTbZU5BkEys+7NeTdNhsU6226t68H0Yx2JxUFz1cbbcu3nZ035EyFlmWcO3+7PI09HUQ== X-Received: by 2002:a17:907:3e1d:b0:ab3:974:3d45 with SMTP id a640c23a62f3a-ab38b0a186cmr2395808566b.1.1737558120946; Wed, 22 Jan 2025 07:02:00 -0800 (PST) Received: from [127.0.0.2] (ip-217-030-074-039.aim-net.cz. [217.30.74.39]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f2303csm925653966b.100.2025.01.22.07.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 07:01:58 -0800 (PST) From: Andrey Albershteyn X-Google-Original-From: Andrey Albershteyn Date: Wed, 22 Jan 2025 16:01:32 +0100 Subject: [PATCH v2 6/7] git-contributors: make revspec required and shebang fix Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250122-update-release-v2-6-d01529db3aa5@kernel.org> References: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> In-Reply-To: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> To: linux-xfs@vger.kernel.org Cc: Andrey Albershteyn X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1303; i=aalbersh@kernel.org; h=from:subject:message-id; bh=HEqEQmD45omW3DI5dTvUk9w2wn3duWh/w9BwEoGzopQ=; b=owJ4nJvAy8zAJea2/JXEGuOHHIyn1ZIY0idyBNotrWi5skTQdsnKmZalqbejl/mde/A5NN7gg Pgm3uLVe/07SlkYxLgYZMUUWdZJa01NKpLKP2JQIw8zh5UJZAgDF6cATGTDLUaG9+EeK4yP7dqu LXrw+4reeYLF51Jik3rX7k5Jbk7SiUiYyMiw5MF3vU45K5XYfTLrspy92svtprF5nJ2xqIHvdIN NbhITAPE0RRk= X-Developer-Key: i=aalbersh@kernel.org; a=openpgp; fpr=AE1B2A9562721A6FC4307C1F46A7EA18AC33E108 Without default value script will show help instead of just hanging waiting for input on stdin. Shebang fix for system with different python location than the /usr/bin one. Signed-off-by: Andrey Albershteyn --- tools/git-contributors.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/git-contributors.py b/tools/git-contributors.py index 83bbe8ce0ee1dcbd591c6d3016d553fac2a7d286..628d6d0b4d8795e10b1317fa6fc91c6b98b21f3e 100755 --- a/tools/git-contributors.py +++ b/tools/git-contributors.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # List all contributors to a series of git commits. # Copyright(C) 2025 Oracle, All Rights Reserved. @@ -71,8 +71,7 @@ class find_developers(object): def main(): parser = argparse.ArgumentParser(description = "List email addresses of contributors to a series of git commits.") - parser.add_argument("revspec", nargs = '?', default = None, \ - help = "git revisions to process.") + parser.add_argument("revspec", help = "git revisions to process.") parser.add_argument("--delimiter", type = str, default = '\n', \ help = "Separate each email address with this string.") args = parser.parse_args() From patchwork Wed Jan 22 15:01:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Albershteyn X-Patchwork-Id: 13947405 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB538ECF for ; Wed, 22 Jan 2025 15:02:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558134; cv=none; b=WatycBoAKHaSlOaENwomtXbasln1DRX+76OF4AqThXheAM9fZcDdnQ0w0E5p0W9yC3kXRBU++xYNhGrKfxK8cG+Dz94QlqvkLHvyGBz4BZJigmBg2NA0xw8M+oDGiCnWt931zLC/aG3e7Y8EziMFPz3SaXe+SiBTEVftBBki3e0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737558134; c=relaxed/simple; bh=2sxhcyMnSiIx+CJFZDF/DmzAX1geMbKkWc+JqTxGVrg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=st7gvUu9w6z4h1NKA4TTAC0QnP2rRQ72j1HuFwNMQxskQc0QMlrRiNk01bGYmFRQ5hisdof0GI96XuNPR+AUilNDQRGztPV9RwbUT3keWH9GMwdKWjJFz/pdcenE5Ifxapz/O3028liHdkrAI7i5fHPUQud9S2apmILu2tBRpcM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=F9x7SBmS; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="F9x7SBmS" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737558131; 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: in-reply-to:in-reply-to:references:references; bh=0a4YT9SjnXltjIPrWVoporwRWJ9ewlhU6tvYFQMii9c=; b=F9x7SBmSwYM/LcCSEyZHivECtogRxh04DuWkowhFdFBB+imtNqQaMRs8LgWYuszgBoM12/ Z4/cufl3mB57BhxpxWLBSZmd/L8gwmOyxN0SzBjpDWFuvB0Iy1cdm0ixSbfuGVuDg9KXto as1fJn/wsrr7cZqw+TNkFJw8P7UNB84= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-122-vdwfDgeLOLqZp5StOxJjVQ-1; Wed, 22 Jan 2025 10:02:08 -0500 X-MC-Unique: vdwfDgeLOLqZp5StOxJjVQ-1 X-Mimecast-MFC-AGG-ID: vdwfDgeLOLqZp5StOxJjVQ Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-aafc90962ffso720967266b.0 for ; Wed, 22 Jan 2025 07:02:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737558126; x=1738162926; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0a4YT9SjnXltjIPrWVoporwRWJ9ewlhU6tvYFQMii9c=; b=Rn3eJcURyxrRDEHUhGC9QziD0SeSJqadCSKVj+FUr+pxMmTDIN3rlzHtqzNIrqnYF8 rVmeUB8UGypEt4NaeZyxDzNjmdchHzL3w1XxfibBVqaD3Zmvxz/FEfRo3m331kCD0oh8 P7uCZ4vm1RDEd+oT0mG72FThte9naMybg9prQ5Fsd42Hln4dmPRcjQjZiEA/nhlnfp4i Qem88JDryDWrOHKr3wDwfB0XSvAKx6iikCD7yO5X2qIuS18vMxEjXf3yrgI5tYNa3H5B m82nBx1l7NITXUdNolLKF7EwdaXV9kZh1LzEPQM7BBSj3DlDrcGK5rYOeYqr44WszSJ9 +x9Q== X-Gm-Message-State: AOJu0YxU3KFugVgm3R8GLJ1nwI/10Dv7y19gHJY6+25V2pyX6xkl3PKd kFFWZ8mv1PsV3IPdJE9ljxFXuDc6KG1V+M80z4wMIS2MVFLE7H/RrBt9Y5PvK1P/tIFwmjz/6Gw XOEypaOZY+mDjF3WsU1IpTiiyb2WiXKuVu0f6EN0FmGxEMUcyRJcF8fEiSBgL7QKB X-Gm-Gg: ASbGncuREk2vd60xEocerC/hfrhHi3yiNQup5Z2qJuIUEp7FK9P2CpK+E0D9QpTwp7x ipvqgQBzyL+tn3UvBqrR2keoZlVBV8X56JM89iZlacUAKRf3JFTakFvrgQJ8Yj0CyPcb6JyjgzB JUVcHMM8CZ5IGtcJ3gikaBOihpulzwDBMzU7p0IgLotSceCvmrjGmKT4DPPMZhNGmhUH0nb6+Ff A8J3jucHqIenytZ4rXyp48d95mHJwLyFgiTeUia+8VmixZdVddXczDJrOePwhm0NKGKaPFx11HP ZKIKLB570P1Brzg06lVl X-Received: by 2002:a17:907:60cd:b0:aa6:9461:a186 with SMTP id a640c23a62f3a-ab38b42f850mr2060402966b.46.1737558125147; Wed, 22 Jan 2025 07:02:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3iMmE8VvUViLaDpJ8hQPClZensjCC1A3OimEeE6l8JlvLavFQr0oKWJnqDmKLvO/jUtVD0g== X-Received: by 2002:a17:907:60cd:b0:aa6:9461:a186 with SMTP id a640c23a62f3a-ab38b42f850mr2060377066b.46.1737558123059; Wed, 22 Jan 2025 07:02:03 -0800 (PST) Received: from [127.0.0.2] (ip-217-030-074-039.aim-net.cz. [217.30.74.39]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f2303csm925653966b.100.2025.01.22.07.02.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 07:02:01 -0800 (PST) From: Andrey Albershteyn X-Google-Original-From: Andrey Albershteyn Date: Wed, 22 Jan 2025 16:01:33 +0100 Subject: [PATCH v2 7/7] release.sh: use git-contributors to --cc contributors Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250122-update-release-v2-7-d01529db3aa5@kernel.org> References: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> In-Reply-To: <20250122-update-release-v2-0-d01529db3aa5@kernel.org> To: linux-xfs@vger.kernel.org Cc: Andrey Albershteyn X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=684; i=aalbersh@kernel.org; h=from:subject:message-id; bh=2sxhcyMnSiIx+CJFZDF/DmzAX1geMbKkWc+JqTxGVrg=; b=owJ4nJvAy8zAJea2/JXEGuOHHIyn1ZIY0idyBK5WnvvlZnluVqpH/h3ju+yO/OJ3oj++E5Hj0 vONXfS3aG1HKQuDGBeDrJgiyzppralJRVL5Rwxq5GHmsDKBDGHg4hSAidzOYGS4fCLtjXpiVla1 84KOnarLNb4JHj228PDu/vxudu43kXdOMfzTa+2Uu7y76Liec9zqI9Fnjk7csVpQpDRdYdrTG9P sFoQwAQCm9Uep X-Developer-Key: i=aalbersh@kernel.org; a=openpgp; fpr=AE1B2A9562721A6FC4307C1F46A7EA18AC33E108 Signed-off-by: Andrey Albershteyn --- release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 723806beb05761da06d971460ee15c97d2d0d5b1..e5ae3a8f2f1c601c2e8803b9d899712b567fbbfe 100755 --- a/release.sh +++ b/release.sh @@ -166,5 +166,6 @@ echo "Done. Please remember to push out tags and the branch." printf "\tgit push origin v${version} master\n" if [ -n "$LAST_HEAD" ]; then echo "Command to send ANNOUNCE email" - printf "\tneomutt -H $mail_file\n" + cc="$(./tools/git-contributors.py $LAST_HEAD.. --delimiter ' -c ')" + printf "\tneomutt -H $mail_file -c $cc\n" fi