Add patchwork configuration, use check_GNU_style.py and git_email.py
to perform prepare and pre-apply checks, disable auto-to-cc preflight
checks as we don't have auto-to-cc script.

It helps with streamlining workflow with b4 so people can use
`b4 prep --check` to check patches before sending or applying
patches from the list.

ChangeLog:

        * .b4-config: Add pw-url, pw-project, prep-perpatch-check-cmd,
        prep-perpatch-check-cmd, prep-pre-flight-checks and
        am-perpatch-check-cmd.
---
 .b4-config | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.b4-config b/.b4-config
index 
eec2261deb6a7bec900af435937ae1d5d443c674..80e41eb1824aa62790041844113de04481e0e836
 100644
--- a/.b4-config
+++ b/.b4-config
@@ -1,4 +1,11 @@
 [b4]
     midmask = https://inbox.sourceware.org/%s
     linkmask = https://inbox.sourceware.org/%s
+    pw-url = https://patchwork.sourceware.org/
+    pw-project = gcc
     send-series-to = gcc-patches@gcc.gnu.org
+    prep-pre-flight-checks = disable-needs-auto-to-cc
+    prep-perpatch-check-cmd = ./contrib/check_GNU_style.py -
+    prep-perpatch-check-cmd = ./contrib/gcc-changelog/git_email.py -q -v -
+    am-perpatch-check-cmd = ./contrib/check_GNU_style.py -
+    am-perpatch-check-cmd = ./contrib/gcc-changelog/git_email.py -q -v -

-- 
2.43.0

Reply via email to