Skip to content

Commit 838cf72

Browse files
FlyGoatphilmd
authored andcommitted
Add a b4 configuration file
b4 [1] is a convenient tool to manage patch series with mailing list working flow. Add a project default config file to match QEMU's mailing list conventions as well as adopting differences on scripting. Examples of b4: ``` $ b4 prep --check Checking patches using: scripts/checkpatch.pl -q --terse --no-summary --mailback - --- Signed-off-by: Jiaxun Yang <[email protected]> --- Changes in v2: - Add lore masks (philmd) from: https://lore.kernel.org/qemu-devel/[email protected]/ - Link to v1: https://lore.kernel.org/r/[email protected] --- ● cc5a4c890fed: Add a b4 configuration file ● checkpatch.pl: 27: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? --- Success: 0, Warning: 1, Error: 0 ``` ``` $ b4 prep -c Will collect To: addresses using echo Will collect Cc: addresses using get_maintainer.pl Collecting To/Cc addresses + To: [email protected] --- You can trim/expand this list with: b4 prep --edit-cover Invoking git-filter-repo to update the cover letter. New history written in 0.02 seconds... Completely finished after 0.06 seconds ``` [1]: https://b4.docs.kernel.org/ Co-developed-by: Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Jiaxun Yang <[email protected]> Message-ID: <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
1 parent 0734082 commit 838cf72

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.b4-config

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Common b4 settings that can be used to send patches to QEMU upstream.
3+
# https://b4.docs.kernel.org/
4+
#
5+
6+
[b4]
7+
send-series-to = [email protected]
8+
send-auto-to-cmd = echo
9+
send-auto-cc-cmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback
10+
am-perpatch-check-cmd = scripts/checkpatch.pl -q --terse --no-summary --mailback -
11+
prep-perpatch-check-cmd = scripts/checkpatch.pl -q --terse --no-summary --mailback -
12+
searchmask = https://lore.kernel.org/qemu-devel/?x=m&t=1&q=%s
13+
linkmask = https://lore.kernel.org/qemu-devel/%s
14+
linktrailermask = Message-ID: <%s>

0 commit comments

Comments
 (0)