public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: goredo-devel@lists.stargrave.org
Subject: Re: Source files with matching .do file keep targets ood
Date: Tue, 1 Sep 2026 10:58:46 +0300	[thread overview]
Message-ID: <apaFtjlE3JqwbjqV@stargrave.org> (raw)
In-Reply-To: <4846b4ed2ecef310e4be49093d72654b@spacefrogg.net>

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

*** spacefrogg [2026-08-20 17:01]:
>unknown -> source: redo is called on <A>, has no prior knowledge about it,
>and <A> exists.
>unknown -> target: redo is called on <A>, has no prior knowledge about it,
><A> doesn't exist and a .do file to produce <A> can be found.

By the way, DJB's http://cr.yp.to/redo/atomic.html actually hints about
that behaviour too:

    [...]
    When redo is asked to create a file that it hasn't heard of before,
    it presumes that the file is a source file if it exists, or a target
    file otherwise. In the second case (new target), redo immediately
    saves this decision to disk, so that its subsequent creation of the
    target doesn't change the decision.

-- 
 * Origin: Stargrave's homepage http://www.stargrave.org/

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

      parent reply	other threads:[~2026-09-01  7:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-07  6:25 Source files with matching .do file keep targets ood Nik Boehm
2026-08-07  8:03 ` Sergey Matveev
2026-08-07  8:36   ` Nik Boehm
2026-08-07  8:56     ` Sergey Matveev
2026-08-20 15:01       ` spacefrogg
2026-08-29 16:00         ` Sergey Matveev
2026-09-01  7:58         ` Sergey Matveev [this message]