On Tuesday, 23 November 2021 at 10:19:29 UTC, Tejas wrote:
On Tuesday, 23 November 2021 at 07:06:17 UTC, bauss wrote:
On Tuesday, 23 November 2021 at 01:19:44 UTC, Alain De Vos wrote:
[...]

Well, it's not always possible to check such things without heavy performance cost. It can take a long time to verify whether something is already installed, as it could be unzipped in some obscure folder deep into many subfolders.

The solution here would probably be the ability to specify certain installations and their paths etc. within your project. It comes at almost no expense on running dub and the only real expense is users having to specify such installations.

Doesn't dub cache stuff that it downloads? If, however, the user is asking it to search the __entirety__ of their storage device(s) to check for some arbitrary folder where the package exists... Yeah that's a very though ask

Yes, dub caches everything it uses. Honestly I'd never want dub to search my device for files that might exist that it might need.

Reply via email to