New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel instances of pub get
interact poorly
#21408
Comments
This comment was originally written by daniel.robinson...@gmail.com bug filed from here http://stackoverflow.com/questions/26545278/could-not-find-pubspec-yaml-in-unittest-0-11-05 |
There are two separate issues here: one about multiple instances of pub stepping on each others' toes when they run in parallel and one about "pub cache repair" failing when a pubspec is missing. I'm going to retarget this issue to the former, and I've filed issue #21418 to cover the latter. cc @munificent. |
This issue has been moved to dart-lang/pub#1178. |
This issue was originally filed by daniel.robinson...@gmail.com
What steps will reproduce the problem?
run pub get
on my project pubspec.yaml file whilst apub get
was already in process on that pubspec. I was then in the state where my download of unittest 0.11.0+5 package was corrupted as it didn't have its own pubspec file inside.pub cache repair
failed also because unittests pubspec didnt existWhat is the expected output? What do you see instead?
I think if a
pub get
is in progress it should probably queue up furtherpub get
calls so as to not corrupt package downloads (assuming that was the cause of the corruption) If you runpub cache repair
and it comes across a corrupt package that doesn't have a pubspec.yaml file in it then it should delete the package completely and redownload it, rather than just getting stuck.What version of the product are you using?
Dart Editor version 1.8.0.dev_00_00 (DEV)
Dart SDK version 1.8.0-dev.0.0
On what operating system?
windows 7 64bit
The text was updated successfully, but these errors were encountered: