All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH] gitlab: update the @user id mapping file
Date: Tue, 15 Sep 2026 09:31:05 +0100	[thread overview]
Message-ID: <87bj9yc3w6.fsf@draig.linaro.org> (raw)
In-Reply-To: <aqhSIPwd23VKNQ5g@redhat.com> ("Daniel P. Berrangé"'s message of "Mon, 14 Sep 2026 20:59:28 +0100")

Daniel P. Berrangé <berrange@redhat.com> writes:

> On Mon, Sep 14, 2026 at 07:45:34PM +0100, Alex Bennée wrote:
>> I needed to fix a POSIX-ism in the script as well.
>> 
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>>  .gitlab-map-auto          | 8 +++++---
>>  scripts/gitlab-map-update | 2 +-
>>  2 files changed, 6 insertions(+), 4 deletions(-)
>
>> diff --git a/scripts/gitlab-map-update b/scripts/gitlab-map-update
>> index c134c226aa2..743ad11900d 100755
>> --- a/scripts/gitlab-map-update
>> +++ b/scripts/gitlab-map-update
>> @@ -33,7 +33,7 @@ glab api --paginate /projects/qemu-project%2fqemu/members | \
>>      .gitlab-map-auto.tmp
>>  test $? != 0 && fail=1
>>  
>> -if test $fail == 0
>> +if test $fail -eq 0
>
> Using '=' instead of 'eq' is more typical, and what I intended
> to use originally.

I did consider it (and originally used =) but I went to -eq as that is
explicitly a numerical rather than a string compare.

>
>>  then
>>    grep '^#' .gitlab-map-auto > .gitlab-map-auto.new
>>    LC_ALL=C sort .gitlab-map-auto.tmp | uniq >> .gitlab-map-auto.new
>
>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
>
>
> With regards,
> Daniel

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


      reply	other threads:[~2026-09-15  8:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14 18:45 [PATCH] gitlab: update the @user id mapping file Alex Bennée
2026-09-14 19:59 ` Daniel P. Berrangé
2026-09-15  8:31   ` Alex Bennée [this message]

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=87bj9yc3w6.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=berrange@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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.