[PATCH] utils: checkstyle.py: Add Co-developed-by to known_trailers

Jacopo Mondi jacopo.mondi at ideasonboard.com
Mon Mar 11 13:34:06 CET 2024


On Mon, Mar 11, 2024 at 01:01:02PM +0100, Hans de Goede wrote:
> Add Co-developed-by to known_trailers to silence false positive
> "Invalid commit trailer key 'Co-developed-by'" warnings.
>
> 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,

Maybe keep this alphabetically sorted ?

This apart
Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
>      }
>
>      trailer_regex = re.compile(r'([A-Z][a-zA-Z-]*)\s*:\s*(.*)')
> --
> 2.44.0
>


More information about the libcamera-devel mailing list