From patchwork Fri Jan 17 13:42:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 858203 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp708522wrb; Fri, 17 Jan 2025 05:54:00 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUEW3S91wEe2yVyZZY8kfkhwtLNN4H4+rOVU36fMiKFTp0FsawNPUs2GzVW1xdnEM9+thTk4A==@linaro.org X-Google-Smtp-Source: AGHT+IFgeFwV2kAdIJWO438UyUgPyGTiYfJB7pQyC0KewVcTtZyqN+Xb6U+ZSRp36kd0/4zGq0i0 X-Received: by 2002:a05:620a:44c4:b0:7b1:52a9:ae1d with SMTP id af79cd13be357-7be631e5789mr521865985a.6.1737122039810; Fri, 17 Jan 2025 05:53:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737122039; cv=none; d=google.com; s=arc-20240605; b=RIcD7CYhcvIQYyLYBdg4dVvvbuqniAlZre1zMPZTpxTxEUtCiS3ZhfNEre/48kgGKo A+pLA7mG3eaLBUXyaix0rNt7aj8XANYCIikR+rJtnBNrH8jRzRga6k+ZZrv/kE6kn7UN Y4Rl41K9VXw+6SA8qVTRX1ng+j22/pKGwn5eKDa8hcm9HR3iL0ItDjcR8E24l0Quqm2P Z1+7e2PgME9VpTcv6qIws6v5ss1HTYj2Uqgt0X0l+z/oMf4fYbBEHmv5afSXPN/YI5sZ 93aVKFwTyDnMP/5GWyoNXgBgdUOTyrRFng8+h6osXKD1VbV1HiXpAhMOOiiPhPuBUqT9 E2FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ryjDq6SVbM3rFJynOdzdzyOyu6l/v62KzXYJQB4a/Jc=; fh=EVepg/+y2j57BxoINa4PhDvl3dx/FyOmfepJZaxwIHc=; b=gTN+Si2fL1GRdOVFIAHsSyWSiGt8zWX9QglY0hP5pStuNhmz593Pc/io9qpkU2OqKM T4uWsRKvXYOKIiK6OP5/Sv3d11nBBv4DaAW8UhEfvgUF9W2LozESmYtuNpwzE9j6Q6GZ 9AeNtzqpY9ofl44B8e+fC5I3Uld1aqYBNO/QlGyklUFS2YKcL/9IWvGE9o6RRxUolhBl 87lz71jWBLyfO/6zQYaDUebd+CKxICy80KHP3stiXrgkYER3QPGrg91vtxVUdcT6vB3G /yNwrnvS7xNQEPC4/iR5e7aRoxe23U1Kq2IibD/0wfZvttZFkhu6DPoTeGEcGVkjOY1d /+bA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nOipSmuN; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7be61475a2fsi269206485a.151.2025.01.17.05.53.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Jan 2025 05:53:59 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nOipSmuN; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tYmm7-0002Xg-AM; Fri, 17 Jan 2025 08:52:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tYmlv-0002Uq-Lr for qemu-devel@nongnu.org; Fri, 17 Jan 2025 08:52:29 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tYmlr-0003kf-Bp for qemu-devel@nongnu.org; Fri, 17 Jan 2025 08:52:27 -0500 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-aaf57c2e0beso433348266b.3 for ; Fri, 17 Jan 2025 05:52:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737121937; x=1737726737; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ryjDq6SVbM3rFJynOdzdzyOyu6l/v62KzXYJQB4a/Jc=; b=nOipSmuNGruHMzjrAW3L1DjxFQRGZpLDnZG1XX4h6xmPErNfcihZz+JzuZB2Dy8U44 bX2aNgMBaJ4iGaVSOiMxS16PnL8JlWmA7BsvqzF0ttwwvWKA9A7iG7M1y6ofpaQQd0qk 9PolqW7f8X4hESvhjouhidD3CUJEHkK+btXW6zvi6Sx4UgBVd21tj+lzzIZELdSV+lNh Oi3iiID0rGg/IiFJXOsuLqeF3C0qXa3EUaeG0QCUA3LSU6Yi6WK3fDC4siFAxUodBM3E pjWm8FdNAmnalDKE9xLNrb47JCiKiOBchrGdXUmraUQ8EcFP+vTcVLr7UR3rL1l2QLIx Lm9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737121937; x=1737726737; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ryjDq6SVbM3rFJynOdzdzyOyu6l/v62KzXYJQB4a/Jc=; b=n6nTD0ZPhRavHxGCVFVkX0rQ3hq0KUWN1i2uaJG88D1GhdP8pU9YPdLYMwvOaP8rv8 nKrrMeR6EJq6cKzII9QARGopth40jnoF4ThkQrttDJtvK9UwR7VcgIlqoYHQUzCUOCp+ 16a+1HHyAOIvoaT/JM/2K0STiwA5RxvJMXhmGgdN1PMYfrzusMFQkFakL3s0g15CX9kk mXO8pGd74G1AzDqHG7icWvBI90LW5ht+YtexSRvUGjW4HyyE1HaNVFAIKnRYCO4Nhn0M KVKExZ4F108JMX2DSwi6/e732FWYoe5ZPQIV4U0v5Ramg7D40s4/u/LB2pFHBT4/8mj4 sO4w== X-Gm-Message-State: AOJu0YxIpzuZjDwrrdfCuKKmSbV3svXsJhVU57Ynom+4+MQk4HMKDQ9/ i+PIU4Qm/OR+chyuVHjBQepeCxmHeyZTAam+Bh7I/KXDGECfuqIfSmBopYTkwU0= X-Gm-Gg: ASbGncv3vnzxOYSHGoOhZgMmukaskklVddbFwwVo47nMqz4lQ1JXu4FbfQx84j7l23u ObHzWfXQzIbT0tDA/naf5SH7fpTmwqxwlQJ4i7ByF+lc8o6EsBjmK6WlbXADUPcsG0PlF4AgCdX uEUl8Hkf3GmUYb1D44biQ4+/zm8SU8zQnyhDZQppNxEGyYDSuVKG7DEjNYW8uqc85ZJ++w/fGiL vjebQRXFgk/c4z7o/Jgs6qlO5wE0OVG8LdjKs3SsRoeRA22dUvhDoc= X-Received: by 2002:a17:907:2cc2:b0:aab:e07c:78b7 with SMTP id a640c23a62f3a-ab38b27a5dcmr267547566b.23.1737121937122; Fri, 17 Jan 2025 05:52:17 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384fcec76sm170997366b.184.2025.01.17.05.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 05:52:16 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id F0FCD608E6; Fri, 17 Jan 2025 13:42:59 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Thomas Huth , Markus Armbruster , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 32/37] docs/devel: add git-publish for patch submitting Date: Fri, 17 Jan 2025 13:42:51 +0000 Message-Id: <20250117134256.2079356-33-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250117134256.2079356-1-alex.bennee@linaro.org> References: <20250117134256.2079356-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Pierrick Bouvier Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Message-Id: <20241209183104.365796-3-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20250116160306.1709518-33-alex.bennee@linaro.org> diff --git a/docs/devel/submitting-a-patch.rst b/docs/devel/submitting-a-patch.rst index 03b2ac298a..69df7682c5 100644 --- a/docs/devel/submitting-a-patch.rst +++ b/docs/devel/submitting-a-patch.rst @@ -235,6 +235,31 @@ to another list.) ``git send-email`` (`step-by-step setup guide works best for delivering the patch without mangling it, but attachments can be used as a last resort on a first-time submission. +.. _use_git_publish: + +Use git-publish +~~~~~~~~~~~~~~~ + +If you already configured git send-email, you can simply use `git-publish +`__ to send series. + +:: + + $ git checkout master -b my-feature + $ # work on new commits, add your 'Signed-off-by' lines to each + $ git publish + $ ... more work, rebase on master, ... + $ git publish # will send a v2 + +Each time you post a series, git-publish will create a local tag with the format +``-v`` to record the patch series. + +When sending patch emails, 'git publish' will consult the output of +'scripts/get_maintainers.pl' and automatically CC anyone listed as maintainers +of the affected code. Generally you should accept the suggested CC list, but +there may sometimes be scenarios where it is appropriate to cut it down (eg on +certain large tree-wide cleanups), or augment it with other interested people. + .. _if_you_cannot_send_patch_emails: If you cannot send patch emails