.b4-config: configure `b4` for Buildroot
PATCH 1/1 .b4-config: configure `b4` for Buildroot
b4 is a commandline tool to make patch-based development easier[1]. It is primarily used for Linux kernel development, but can be configured to support any project that has a public-inbox endpoint. Buildroot has a public-inbox mirror at "https://lore.kernel.org/buildroot/".
We configure some basic settings that tell b4 where to send patches and how to use get-developers.
[1] https://b4.docs.kernel.org/en/latest/
---
I am planning to send a future patch to hook ./utils/check-package into b4. This reminds users to run check-package with b4 prep --check before sending a patch series. But support for custom check commands is broken in the latest version of b4 and I am waiting on a fix I submitted upstream[1].
[1] https://lore.kernel.org/tools/[email protected]/T/#u
--- .b4-config | 7 +++++++ 1 file changed, 7 insertions(+)
.b4-config new file +7 -0
@@ -0,0 +1,7 @@ +# Configuration for the `b4` tool +# See https://b4.docs.kernel.org/en/latest/config.html +[b4] + send-series-to = [email protected] + send-auto-cc-cmd = "./utils/get-developers -e -" + +# vim: set filetype=gitconfig:
---
base-commit: 3ebc7c69d56430c34eba4c869d1d4fe4d1e8de55
change-id: 20240626-support-b4-41d61b8e4d60
Best regards,
Signature · 6 lines
Brandon Maier <[email protected]> _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines · Brandon Maier via buildroot
b4is a commandline tool to make patch-based development easier[1]. It is primarily used for Linux kernel development, but can be configured to support any project that has a public-inbox endpoint. Buildroot has a public-inbox mirror at "https://lore.kernel.org/buildroot/".We configure some basic settings that tell
b4where to send patches and how to use get-developers.[1] https://b4.docs.kernel.org/en/latest/
Signed-off-by Brandon Maier <[email protected]>
Applied to master, thanks.
Quoted 6 lines
---
I am planning to send a future patch to hook./utils/check-packageintob4. This reminds users to run check-package withb4 prep --checkbefore sending a patch series. But support for custom check commands is broken in the latest version ofb4and I am waiting on a fix I submitted upstream[1].
In addition, check-package doesn't accept patches as its input at the moment.
IIUC that's what the check hook is supposed to receive.
I have the following in a post-commit hook:
git diff HEAD^- --name-only --diff-filter=ACM | \
xargs -r ./utils/check-package
but I don't think that "git diff" command can be reused for handling the check command.
Regards,
Arnout
Quoted 24 lines
[1] https://lore.kernel.org/tools/[email protected]/T/#u
--- .b4-config | 7 +++++++ 1 file changed, 7 insertions(+).b4-config new file +7
-1@@ -0,0 +1,7 @@ +# Configuration for the `b4` tool +# See https://b4.docs.kernel.org/en/latest/config.html +[b4] + send-series-to = [email protected] + send-auto-cc-cmd = "./utils/get-developers -e -" + +# vim: set filetype=gitconfig: ---base-commit:
3ebc7c69d56430c34eba4c869d1d4fe4d1e8de55
change-id: 20240626-support-b4-41d61b8e4d60
Quoted 1 line
Best regards,
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Arnout,
Quoted 27 lines · Arnout Vandecappelle via buildroot
Quoted 11 lines · Brandon Maier via buildroot
b4is a commandline tool to make patch-based development easier[1]. It is primarily used for Linux kernel development, but can be configured to support any project that has a public-inbox endpoint. Buildroot has a public-inbox mirror at "https://lore.kernel.org/buildroot/".We configure some basic settings that tell
b4where to send patches and how to use get-developers.[1] https://b4.docs.kernel.org/en/latest/
Signed-off-by Brandon Maier <[email protected]>Applied to master, thanks.
Quoted 6 lines
---
I am planning to send a future patch to hook./utils/check-packageintob4. This reminds users to run check-package withb4 prep --checkbefore sending a patch series. But support for custom check commands is broken in the latest version ofb4and I am waiting on a fix I submitted upstream[1].In addition, check-package doesn't accept patches as its input at the moment.
IIUC that's what the check hook is supposed to receive.
Quoted 7 lines
I have the following in a post-commit hook:
git diff HEAD^- --name-only --diff-filter=ACM | \
xargs -r ./utils/check-packagebut I don't think that "git diff" command can be reused for handling the check command.
I modified check-package to accept patch files directly. I made check-package scan through patch files for lines matching "+++ a/file/that/is/patched" and run on those files directly. Which is effectively the same thing as your post-commit hook.
Thanks for applying!
Brandon
Quoted 28 lines
Regards,
ArnoutQuoted 24 lines
[1] https://lore.kernel.org/tools/[email protected]/T/#u
--- .b4-config | 7 +++++++ 1 file changed, 7 insertions(+).b4-config new file +7
-1@@ -0,0 +1,7 @@ +# Configuration for the `b4` tool +# See https://b4.docs.kernel.org/en/latest/config.html +[b4] + send-series-to = [email protected] + send-auto-cc-cmd = "./utils/get-developers -e -" + +# vim: set filetype=gitconfig: ---base-commit:
3ebc7c69d56430c34eba4c869d1d4fe4d1e8de55
change-id: 20240626-support-b4-41d61b8e4d60
Quoted 5 lines
Quoted 1 line
Best regards,
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Brandon" == Brandon Maier via buildroot <[email protected]> writes:
b4is a commandline tool to make patch-based development easier[1]. It is primarily used for Linux kernel development, but can be configured to support any project that has a public-inbox endpoint. Buildroot has a public-inbox mirror at "https://lore.kernel.org/buildroot/".
Quoted 6 lines
We configure some basic settings that tell
b4where to send patches and how to use get-developers.[1] https://b4.docs.kernel.org/en/latest/
Signed-off-by Brandon Maier <[email protected]>
Committed to 2024.02.x and 2024.05.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot