[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 32/37] docs/devel: add git-publish for patch submitting
From: |
Alex Bennée |
Subject: |
[PATCH v3 32/37] docs/devel: add git-publish for patch submitting |
Date: |
Thu, 16 Jan 2025 16:03:01 +0000 |
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241209183104.365796-3-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
docs/devel/submitting-a-patch.rst | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
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
+<https://github.com/stefanha/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
+``<branchname>-v<version>`` 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
--
2.39.5
- [PATCH v3 14/37] tests/tcg/plugins/mem: fix 32-bit build, (continued)
- [PATCH v3 14/37] tests/tcg/plugins/mem: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 30/37] include/exec: remove warning_printed from MemoryRegion, Alex Bennée, 2025/01/16
- [PATCH v3 06/37] semihosting/console: Avoid including 'cpu.h', Alex Bennée, 2025/01/16
- [PATCH v3 37/37] scripts/nsis.py: Run dependency check for each DLL file only once, Alex Bennée, 2025/01/16
- [PATCH v3 11/37] tests/tcg/plugins/insn: remove unused callback parameter, Alex Bennée, 2025/01/16
- [PATCH v3 08/37] system/vl: more error exit into config enumeration code, Alex Bennée, 2025/01/16
- [PATCH v3 16/37] contrib/plugins/cache: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 29/37] include/exec: fix some copy and paste errors in kdoc, Alex Bennée, 2025/01/16
- Re: [PATCH v3 00/37] maintainer updates for jan '25 (semihosting, gdb, plugins, docs) pre-PR-FINAL, Alex Bennée, 2025/01/16
- [PATCH v3 22/37] accel/tcg: also suppress asynchronous IRQs for cpu_io_recompile, Alex Bennée, 2025/01/16
- [PATCH v3 32/37] docs/devel: add git-publish for patch submitting,
Alex Bennée <=
- [PATCH v3 26/37] plugins: fix kdoc annotation, Alex Bennée, 2025/01/16
- [PATCH v3 19/37] contrib/plugins/hwprofile: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 36/37] docs: add a glossary, Alex Bennée, 2025/01/16
- [PATCH v3 27/37] editorconfig: update for perl scripts, Alex Bennée, 2025/01/16
- [PATCH v3 35/37] docs/devel: add a codebase section, Alex Bennée, 2025/01/16
- [PATCH v3 33/37] docs/devel: add b4 for patch retrieval, Alex Bennée, 2025/01/16
- [PATCH v3 17/37] contrib/plugins/hotblocks: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 28/37] tests/qtest: fix some copy and paste errors in kdoc, Alex Bennée, 2025/01/16
- [PATCH v3 18/37] contrib/plugins/cflow: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 31/37] docs/sphinx: include kernel-doc script as a dependency, Alex Bennée, 2025/01/16