All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	 U-Boot STM32 <uboot-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH v2] patman: add warning for invalid tag
Date: Thu, 22 Jul 2021 21:07:41 -0600	[thread overview]
Message-ID: <CAPnjgZ1L_tQ6Qp9oZCmNidd4bYNAsO8aKzzDyywtRdG8RhMa8A@mail.gmail.com> (raw)
In-Reply-To: <20210722165101.v2.1.I6630d4cc18870d3e830587ffbcb61898dc045cb6@changeid>

On Thu, 22 Jul 2021 at 08:51, Patrick Delaunay
<patrick.delaunay@foss.st.com> wrote:
>
> Add a error in patman tool when the commit message contents an invalid
> tag "Serie-.*" instead of "Series-.*".
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>
> ---
> 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 <marek.behun@nic.cz>'
>
> [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 <sjg@chromium.org>

  reply	other threads:[~2021-07-23  3:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-22 14:51 [PATCH v2] patman: add warning for invalid tag Patrick Delaunay
2021-07-23  3:07 ` Simon Glass [this message]
2021-07-24 21:11 ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ1L_tQ6Qp9oZCmNidd4bYNAsO8aKzzDyywtRdG8RhMa8A@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=patrick.delaunay@foss.st.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.