Skip to contentSkip to conversation

add basic b4 config file

PATCH Superseded Quentin Schulz 4 participants 4 messages Jan 17, 2025 – Jan 23, 2025

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add basic b4 config file

From: Quentin Schulz <[email protected]>

b4[1] is a very nice tool for mail-based contribution. A config[2] file exists to set up a few defaults. We can use it to set the Cc recipients to always add, in our case the mailing list.

Because we do not have anything to check for now, disable needs-checking so patches can be sent without running b4 prep --check.

Because we do not have any auto-to-cc support (and the implicit one using scripts/get_maintainer.pl cannot work for us), also disable needs-auto-to-cc so patches can be sent without running b4 prep --auto-to-cc.

[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html

---
Note that this file should be overridden by the one that I'll send for poky by the merging script (no clue how that would work), i.e. an update of .b4-config from OE-Core should not override the one from poky OE-Core when we merge/cherry-pick OE-Core patches later on.

---
 .b4-config | 3 +++
 1 file changed, 3 insertions(+)
.b4-config new file +3 -0
new file mode 100644
index 0000000000000000000000000000000000000000..8ec5ddd91e1da05f27a53ff6f3d7351317461859
@@ -0,0 +1,3 @@
+[b4]
+  send-series-cc = [email protected]
+  prep-pre-flight-checks = disable-needs-auto-to-cc, disable-needs-checking

---
base-commit: ba492417cf8712ca8009154cfadeb494c1a6064f
change-id: 20250117-b4-support-10de313f53b7

Best regards,

Signature · 1 line
Quentin Schulz <[email protected]>
#1 lore raw

Patchtest results for [PATCH] add basic b4 config file

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/add-basic-b4-config-file.patch

FAIL: test shortlog format: Commit shortlog (first line of commit message) should follow the format "<target>: <summary>" (test_mbox.TestMbox.test_shortlog_format)

PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: pretest src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.pretest_src_uri_left_files)
SKIP: test CVE check ignore: No modified recipes or older target branch, skipping test (test_metadata.TestMetadata.test_cve_check_ignore)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum modified not mentioned: No modified recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.test_src_uri_left_files)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!

#2 lore raw
In reply to Quentin Schulz
Quoted 17 lines · Quentin Schulz via lists.openembedded.org

From: Quentin Schulz <[email protected]>

b4[1] is a very nice tool for mail-based contribution. A config[2] file exists to set up a few defaults. We can use it to set the Cc recipients to always add, in our case the mailing list.

Because we do not have anything to check for now, disable needs-checking so patches can be sent without running b4 prep --check.

Because we do not have any auto-to-cc support (and the implicit one using scripts/get_maintainer.pl cannot work for us), also disable needs-auto-to-cc so patches can be sent without running b4 prep --auto-to-cc.

[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html

Quoted 6 lines

---
Note that this file should be overridden by the one that I'll send for poky by the merging script (no clue how that would work), i.e. an update of .b4-config from OE-Core should not override the one from poky OE-Core when we merge/cherry-pick OE-Core patches later on.

Did you send one for poky? I was waiting to see what that looked like so I could work out how to handle files. There are ways to do that but I could do with knowing how things will ultimately look before I merge anything.

Cheers,

Richard

#3 lore raw

Hi Richard,

Quoted 18 lines · Richard Purdie
Quoted 17 lines · Quentin Schulz via lists.openembedded.org

From: Quentin Schulz <[email protected]>

b4[1] is a very nice tool for mail-based contribution. A config[2] file exists to set up a few defaults. We can use it to set the Cc recipients to always add, in our case the mailing list.

Because we do not have anything to check for now, disable needs-checking so patches can be sent without running b4 prep --check.

Because we do not have any auto-to-cc support (and the implicit one using scripts/get_maintainer.pl cannot work for us), also disable needs-auto-to-cc so patches can be sent without running b4 prep --auto-to-cc.

[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html

Quoted 8 lines
Quoted 6 lines

---
Note that this file should be overridden by the one that I'll send for poky by the merging script (no clue how that would work), i.e. an update of .b4-config from OE-Core should not override the one from poky OE-Core when we merge/cherry-pick OE-Core patches later on.

Did you send one for poky? I was waiting to see what that looked like

I did, but I was not subscribed to the ML so got rejected, and then I forgot to send it again :)

Will send it again. There'll be a python wrapper to do things "smartly" but I'm wondering what kind of license and copyright we want for it. Can be discussed once it's sent :)

Quoted 4 lines

so I could work out how to handle files. There are ways to do that but I could do with knowing how things will ultimately look before I merge anything.

Oh sure, I wasn't expecting anything less. I actually had planned to send all the b4 config for poky, oe-core, bitbake and yocto-docs the same day, and then my patch for poky didn't get through and I had sent the yocto-docs patch to a non-existing ML :)

Cheers,
Quentin