public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v2 0/4] scripts: Configure and update tools to allow basic b4 usage
@ 2026-04-27 17:36 Christoph Schlameuss
  2026-04-27 17:36 ` [kvm-unit-tests PATCH v2 1/4] scripts/checkpatch.pl: Add empty codespell and const_structs configs Christoph Schlameuss
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Christoph Schlameuss @ 2026-04-27 17:36 UTC (permalink / raw)
  To: kvm
  Cc: Janosch Frank, Paolo Bonzini, Thomas Huth, Andrew Jones,
	Nicholas Piggin, Christoph Schlameuss

Provide some basic configuration for checkpatch.pl so that use on the
command line is less confusing and actually useful.
Checking new patches with i.e. 'b4 prep --check' will now not just give you
dummy errors.

Modify get_maintainer.pl to work when called from 'b4 prep --auto-to-cc'.

---
The second patch also copies the current codespell config from the kernel.
I think this would be nice to have but I would also understand if nobody
wants to add that dead weight here. In that case I would also agree drop
that second patch.

---
Changes in v2:
- corrected variable name to match kernel script
- replace codespell dict with minimal and kvm-unit-tests specific
  version instead of copy form the kernel
- add virtio_config_ops as initial content for const_structs.checkpatch
- add a patch to configure the default b4 prefix

---
Christoph Schlameuss (4):
      scripts/checkpatch.pl: Add empty codespell and const_structs configs
      scripts/checkpatch.pl: Create a project specific codespell config
      scripts/get_maintainer.pl: Ignore --nogit-chief-penguins option
      b4: Add b4 config with default prefix

 .b4-config                       |  2 ++
 scripts/const_structs.checkpatch |  1 +
 scripts/get_maintainer.pl        |  2 ++
 scripts/spelling.txt             | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 39 insertions(+)
---
base-commit: ea91ac1763561b23e7eba3f7c1fa3d45f29b89be
change-id: 20260423-b4-cmdline-a812ed022659

Best regards,
-- 
Christoph Schlameuss <schlameuss@linux.ibm.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-05-04  7:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 17:36 [kvm-unit-tests PATCH v2 0/4] scripts: Configure and update tools to allow basic b4 usage Christoph Schlameuss
2026-04-27 17:36 ` [kvm-unit-tests PATCH v2 1/4] scripts/checkpatch.pl: Add empty codespell and const_structs configs Christoph Schlameuss
2026-04-27 17:36 ` [kvm-unit-tests PATCH v2 2/4] scripts/checkpatch.pl: Create a project specific codespell config Christoph Schlameuss
2026-04-28  7:42   ` Thomas Huth
2026-04-27 17:36 ` [kvm-unit-tests PATCH v2 3/4] scripts/get_maintainer.pl: Ignore --nogit-chief-penguins option Christoph Schlameuss
2026-05-04  6:53   ` Thomas Huth
2026-04-27 17:36 ` [kvm-unit-tests PATCH v2 4/4] b4: Add b4 config with default prefix Christoph Schlameuss
2026-05-04  7:01   ` Thomas Huth
2026-05-04  7:07 ` [kvm-unit-tests PATCH v2 0/4] scripts: Configure and update tools to allow basic b4 usage Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox