public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: goredo-devel@lists.cypherpunks.ru
Subject: Re: Arguments to redo-if*
Date: Sat, 7 Oct 2023 18:54:23 +0300	[thread overview]
Message-ID: <ZSF_L-TKnrmA3KUb@stargrave.org> (raw)
In-Reply-To: <19e6156e-cf10-48b7-9829-7c504e189d4d@spacefrogg.net>

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

Greetings!

*** goredo [2023-10-01 14:15]:
>My suggestion is to either get rid of arguments to redo-if* commands entirely or to let them check whether they are executed in a running redo chain, e.g. by existence of certain environment variables, and ignore any options and treat them as targets.

Fully agreed! Made a commit where it won't parse options if
REDO_BUILD_UUID environment variable is set (it is set by the "top"
invoked redo). Will appear in the next release.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: 12AD 3268 9C66 0D42 6967  FD75 CB82 0563 2107 AD8A

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2023-10-07 15:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-01 12:15 Arguments to redo-if* goredo
2023-10-07 15:54 ` Sergey Matveev [this message]