[PATCH] utils: checkstyle.py: Add Co-developed-by to known_trailers
Kieran Bingham
kieran.bingham at ideasonboard.com
Mon Mar 11 13:07:16 CET 2024
Quoting Hans de Goede (2024-03-11 12:01:02)
> Add Co-developed-by to known_trailers to silence false positive
> "Invalid commit trailer key 'Co-developed-by'" warnings.
Aha, I was intending to do the same. Thanks for beating me to it!
Matches
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by
so
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> utils/checkstyle.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/utils/checkstyle.py b/utils/checkstyle.py
> index fb03dc34..52cf770c 100755
> --- a/utils/checkstyle.py
> +++ b/utils/checkstyle.py
> @@ -478,6 +478,7 @@ class TrailersChecker(CommitChecker):
> 'Signed-off-by': email_regex,
> 'Suggested-by': email_regex,
> 'Tested-by': email_regex,
> + 'Co-developed-by': email_regex,
> }
>
> trailer_regex = re.compile(r'([A-Z][a-zA-Z-]*)\s*:\s*(.*)')
> --
> 2.44.0
>
More information about the libcamera-devel
mailing list