patman: Add a .patman-defaults file for U-Boot

patman is now installed from the separate patch-manager package. It reads
a .patman-defaults file from the tree root as its lowest-priority config,
so a project can ship defaults that developers still override from their
own ~/.patman, a local .patman or the command line. This behaviour is new
in patman version 0.0.20

Add one for U-Boot, alongside .b4-config, pinning the patchwork server and
the get_maintainer.pl invocation so the tool works out of the box without
depending on patman's built-in defaults. A few other settings are listed,
commented out, as a starting point.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass
2026-07-06 08:28:51 -06:00
committed by Tom Rini
parent c8db155525
commit a24a86b547
+32
View File
@@ -0,0 +1,32 @@
# Default patman settings for the U-Boot tree
#
# patman is maintained separately; install it with:
# pip install patch-manager
#
# See https://deinde.dev/patman
#
# patman reads this file at the lowest priority, so anything set here is a
# default that you can override in your own ~/.patman, in a local .patman or
# on the command line. patman autodetects the U-Boot project and locates
# scripts/get_maintainer.pl on its own; the patchwork server and get-maintainer
# script are pinned here so U-Boot does not depend on patman's built-in
# defaults in case those change.
[settings]
patchwork_url: https://patchwork.ozlabs.org
get_maintainer_script: scripts/get_maintainer.pl --norolestats
# Other settings you might set here as project defaults:
# process_tags: True
# add_signoff: True
# check_patch: True
# verbose: False
# smtp_server: /path/to/sendmail
# Aliases are recursive and are usually kept per-user in ~/.patman:
# [alias]
# me: Your Name <you@example.com>
# Addresses known to bounce can be dropped from the recipient list:
# [bounces]
# someone: A Name <someone@example.com>