nim-lang / nimble

Package manager for the Nim programming language.
https://nim-lang.github.io/nimble/index.html
Other
1.25k stars 190 forks source link

Installing diamond dependencies in an empty environment prompts. #184

Open yglukhov opened 8 years ago

yglukhov commented 8 years ago

Package b depends on a. Package c depends on a. Package d depends on b and c. Running task in package d checks for package a twice. If no packages are installed, running task in d will lead to prompt "Package a already installed. Reinstall?".

dom96 commented 7 years ago

So I added a quick test for this (that doesn't really test much). I couldn't really reproduce this, but I did see that it was verifying the same dependencies multiple times. Maybe you could give me some pointers, for now I'll demote this to medium priority.

dom96 commented 7 years ago

Oh hrm, I guess it's because I have the -y switch there. I'll look closer.

dom96 commented 7 years ago

Hrm, it's not that. Maybe it was in fact fixed in the meantime? It's not asking to overwrite anything.

timotheecour commented 6 years ago

copying over contents from closed duplicate: directed acyclic graph (DAG) dependencies cause a pkg to be installed twice, prompting a user prompt, causing travis to timeout #511

all the context is given here: nim-lang/Nim#8227 (comment) the root cause of travis failing on my PR seems to be a DAG that causes a pkg to be installed twice, causing a prompt "already exists. Overwrite?" after nimble install, causing travis to timeout and fail