On 2/1/25 23:53, Jiaxun Yang wrote:
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]>
---
  .b4-config | 14 ++++++++++++++
  1 file changed, 14 insertions(+)

Squashing in order to avoid checkpatch.pl error:

-- >8 --
diff --git a/MAINTAINERS b/MAINTAINERS
index ec898a3cbc6..0c71eb3f925 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4310,3 +4310,9 @@ Machine development tool
 M: Maksim Davydov <[email protected]>
 S: Supported
 F: scripts/compare-machine-types.py
+
+b4 tool configuration
+M: Jiaxun Yang <[email protected]>
+M: Philippe Mathieu-Daudé <[email protected]>
+S: Odd Fixes
+F: .b4-config
---

and queued, thanks!

Reply via email to