public inbox for goredo-devel@lists.cypherpunks.ru
Atom feed
From: goredo <spacefrogg-goredo@spacefrogg•net>
To: goredo-devel@lists.cypherpunks.ru
Subject: Re: Nested dirs for non existing targets
Date: Thu, 14 Apr 2022 14:29:48 +0000 (UTC)	[thread overview]
Message-ID: <0b6591b6-21f6-4dca-9f38-527264aa4d81@spacefrogg.net> (raw)
In-Reply-To: <ff31ea4a-6b62-4e97-9ae5-2b58ae2f5993@acha.ninja>

That doesn't work either. Example:
/default.do is used to produce /a/b/file, which fails but records an entry in /.redo

Later, you create /a/default.do and build /a/b/file again. You create a record in /a/.redo and are left with a bogus record in /.redo. Not good!

You can never look at a piece of the database and expect the records to be valid. You would always have to traverse all record up-/downstream which is largely equivalent to a central database with extra steps.

You want either a database in a single directory or you want it tied to the target, not the .do file. Both have benefits and drawbacks.

  reply	other threads:[~2022-04-14 14:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14  2:05 Nested dirs for non existing targets Andrew Chambers
2022-04-14  7:18 ` goredo
2022-04-14 11:01   ` Andrew Chambers
2022-04-14 11:30     ` Andrew Chambers
2022-04-14 12:01       ` goredo
2022-04-14 12:05         ` Andrew Chambers
2022-04-14 14:29           ` goredo [this message]
2022-04-15 16:23       ` Sergey Matveev
2022-04-15 16:22 ` Sergey Matveev