public inbox for goredo-devel@lists.cypherpunks.ru
Atom feed
From: goredo <spacefrogg-goredo@spacefrogg•net>
To: goredo-devel@lists.cypherpunks.ru
Subject: Re: [PATCH] Don't create nested target directories automatically
Date: Fri, 15 Apr 2022 09:28:33 +0000 (UTC)	[thread overview]
Message-ID: <0971fcdf-8991-4240-a92b-0b6328dda5e7@spacefrogg.net> (raw)
In-Reply-To: <a8cf691f-a362-ca0f-afa1-aeb5376b190c@acha.ninja>

I tried apenwarr and it works on targets in non-existent directories. I remember another, I think it was redo-sh, which failed.

Redo implementations that don't work on targets in non-existent directories are dysfunctional, in my opinion. The reason is that a) you cannot depend on directories, only files and b) redo's discovery algorithm does not allow you to build targets from higher levels to lower levels. When you call redo a/b/c, the target a/b/c is called first and may or may not depend on another target that produces directories a/b/ and a/. If target a/b/c fails immediately, the others are never called.

  reply	other threads:[~2022-04-15 11:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-15  0:55 [PATCH] Don't create nested target directories automatically Andrew Chambers
2022-04-15  6:10 ` goredo
2022-04-15  6:49   ` Andrew Chambers
2022-04-15  7:15     ` goredo
2022-04-15  7:31       ` Andrew Chambers
2022-04-15  9:28         ` goredo [this message]
2022-04-15 12:00           ` Andrew Chambers
2022-04-15 13:17             ` goredo
2022-04-15 13:39               ` Andrew Chambers
2022-04-15 13:58                 ` goredo
2022-04-15 16:23               ` Sergey Matveev
2022-04-16  0:36                 ` Andrew Chambers
2022-04-15 16:23     ` Sergey Matveev
2022-04-15  6:57   ` Andrew Chambers
2022-04-15 16:23 ` Sergey Matveev