public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: goredo <spacefrogg-goredo@spacefrogg•net>
To: goredo-devel@lists.cypherpunks.ru
Subject: Paths in .rec files still buggy
Date: Wed, 15 Sep 2021 10:50:17 +0000 (UTC) [thread overview]
Message-ID: <e0ccaab2-325a-4fd0-b82c-18cffd37ba86@spacefrogg.net> (raw)
I just discovered a bug in recorded entries in .rec files. Conditions:
- do file is in /a/b/default.do
- target is in a sub-directory: /a/b/c/file
- it creates an if-create dependency to a file outside the current sub tree: /a/c/dep
- it also(!) has an ifchange dependency on /a/b/c/dep
- the if-create dependency is generated with `redo-ifcreate ../c/dep` (due to the do file being in /a)
- the if-create dependency is recorded in /a/b/c/.redo/file.rec as `../c/dep` as well
- during ood scanning, this resolves to /a/b/c/dep, although it should resolve to /a/c/dep, with the consequence that it is detected as 'created', which ood's the target /a/b/c/file every time. So, it seems that during ood scanning the paths are not resolved in relation to the do file but in relation to the target file.
Kind regards,
–Michael
next reply other threads:[~2021-09-15 11:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 10:50 goredo [this message]
2021-09-15 20:24 ` Paths in .rec files still buggy Sergey Matveev
2021-09-16 7:31 ` goredo