public inbox for goredo-devel@lists.cypherpunks.ru
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: goredo-devel@lists.cypherpunks.ru
Subject: Re: Resolving paths within symlinked dirs targets
Date: Sun, 24 Apr 2022 21:34:40 +0300	[thread overview]
Message-ID: <YmWYXFtwgG2bVHjM@stargrave.org> (raw)
In-Reply-To: <e2317651-637f-1149-c0e2-ed5b6a15336e@jnboehm.com>

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

*** Jan Niklas Böhm [2022-04-22 22:42]:
>The above example could be completely resolved by resolving both the pwd and
>the target (in this case the .do files) to their physical location.  That
>should turn your example into (assuming that pwd = /home/user/):

Currently I can not analyze that deeply, but probably that will work. I
tried to modify goredo locally and resolve physical paths to all
targets, but either I made a mistake somewhere (my implementation uses
filepath.EvalSymlinks) and various tests are failing, or there is some
issue with that idea. Currently just do not have enough time, but I hope
to give detailed answer (or release, if there are no issues) the next week.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF

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

      reply	other threads:[~2022-04-24 18:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-16 19:13 Support for virtual targets Jan Niklas Böhm
2022-04-16 21:11 ` Sergey Matveev
2022-04-17 20:37   ` Resolving paths within symlinked dirs (Re: Support for virtual targets) Jan Niklas Böhm
2022-04-22  9:27     ` Resolving paths within symlinked dirs targets) Sergey Matveev
2022-04-22 20:42       ` Resolving paths within symlinked dirs targets Jan Niklas Böhm
2022-04-24 18:34         ` Sergey Matveev [this message]