public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Laszlo Ersek" <lersek@redhat.com>
To: devel@edk2.groups.io, leif.lindholm@linaro.org
Cc: "Feng, Bob C" <bob.c.feng@intel.com>,
	Liming Gao <liming.gao@intel.com>, Andrew Fish <afish@apple.com>,
	Michael D Kinney <michael.d.kinney@intel.com>,
	"Wu, Hao A" <hao.a.wu@intel.com>
Subject: Re: [edk2-devel] [RFC PATCH 2/3] Maintainers.txt: add wildcard path association for Arm/AArch64
Date: Thu, 20 Jun 2019 17:29:55 +0200	[thread overview]
Message-ID: <c77e3de5-a7b4-dd04-7292-685e78ea58e9@redhat.com> (raw)
In-Reply-To: <20190614202121.18952-3-leif.lindholm@linaro.org>

Hi Leif,

On 06/14/19 22:21, Leif Lindholm wrote:
> Add Ard and Leif as responsible for any path matching
> F: */Arm/
> F: */AArch64/
> 
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
> ---
>  Maintainers.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Maintainers.txt b/Maintainers.txt
> index cd32f9b00170..e415f51468d5 100644
> --- a/Maintainers.txt
> +++ b/Maintainers.txt
> @@ -82,6 +82,14 @@ EDK II Releases:
>  W: https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning
>  M: Liming Gao <liming.gao@intel.com>
>  
> +EDK II Architectures:
> +---------------------
> +ARM, AARCH64
> +F: */AArch64/
> +F: */Arm/
> +M: Leif Lindholm <leif.lindholm@linaro.org>
> +M: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> +
>  EDK II Packages:
>  ----------------
>  ArmPkg
> 

I'm a bit confused now.

* In the blurb, you write,

"Wildcard support is not fully filesystem compliant except in *first* or
last position in the path"

(emphasis mine). That would invalidate the present patch (because I
gather your intent is to match any pathname that has *any* component
called Aarch64 or Arm).

* Upon checking the third patch in the series, the "first position"
exception doesn't seem to be implemented actually. Which should make the
present patch work, in practice. And, we could ignore the statement in
the blurb (given that the blurb is never captured in the git history).

* However... the explanation from the first patch of the series, namely

+     F:   */net/*         all files in "any top level directory"/net

conflicts with the script then!


So right now, we have 6 locations:
(a) the blurb
(b) the "All patches CC:d here" section from Maintainers.txt
(c) the "Tianocore Stewards" section from Maintainers.txt
(d) the "F: */net/*" example pattern from Maintainers.txt
(e) the present patch
(f) the script (patch #3)

Locations (a) through (d) say that "*" in the first position matches top
level entries only, while (d) and (e) state "*" in the first position
matches any -- possibly multi-component -- pathname prefix.

It's one thing that we can make the script in patch #3 conform to what
the blurb says. But, that still leaves us with the problem that patches
#1 and #2, considered together, use "*" in the first position in
opposite senses.

Thanks,
Laszlo

  reply	other threads:[~2019-06-20 15:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 20:21 [RFC PATCH 2/3] Maintainers.txt: add wildcard path association for Arm/AArch64 Leif Lindholm
2019-06-20 15:29 ` Laszlo Ersek [this message]
2019-06-20 16:07   ` [edk2-devel] " Leif Lindholm
2019-07-03  7:52 ` Wu, Hao A
2019-07-03 10:44   ` Leif Lindholm
2019-07-04  6:14     ` Wu, Hao A
2019-07-04 14:27       ` Leif Lindholm
2019-07-03  7:53 ` Wu, Hao A

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-list 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=c77e3de5-a7b4-dd04-7292-685e78ea58e9@redhat.com \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox