On Thu, 22 Jul 2021 at 08:51, Patrick Delaunay
<[email protected]> wrote:
>
> Add a error in patman tool when the commit message contents an invalid
> tag "Serie-.*" instead of "Series-.*".
>
> Signed-off-by: Patrick Delaunay <[email protected]>
>
> ---
> I create this patch to avoid my frequent mistake:
> using "Serie-" tag instead of "Series-" as it is done in [1].
>
> RE_INV_TAG can be extended to other frequent errors.
>
> Any "Serie-" tag is refused with the patch, for example:
>
> ValueError: Line 28: Invalid tag =
>    'Serie-cc: Marek BehĂșn <[email protected]>'
>
> [1] 
> http://patchwork.ozlabs.org/project/uboot/patch/20210720203353.1.I550b95f6d12d59aeef5b744d837dbb360037d39e@changeid/
>
>
> Changes in v2:
> - add patman test testInvalidTag
>
>  tools/patman/func_test.py   | 11 +++++++++++
>  tools/patman/patchstream.py |  9 +++++++++
>  2 files changed, 20 insertions(+)
>

Reviewed-by: Simon Glass <[email protected]>

Applied to u-boot-dm, thanks!

Reply via email to