Use a lockfile to persist Pub's installed version constellation.
This fixes a race condition in r9767 caused by issue 4155. Review URL: https://chromiumcodereview.appspot.com//10790079 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@9824 260f80e4-7a28-3924-810f-c04153c831b5
Showing
- lib/src/entrypoint.dart 72 additions, 29 deletionslib/src/entrypoint.dart
- lib/src/git_source.dart 41 additions, 14 deletionslib/src/git_source.dart
- lib/src/io.dart 1 addition, 2 deletionslib/src/io.dart
- lib/src/lock_file.dart 20 additions, 1 deletionlib/src/lock_file.dart
- lib/src/package.dart 5 additions, 0 deletionslib/src/package.dart
- lib/src/pubspec.dart 1 addition, 1 deletionlib/src/pubspec.dart
- lib/src/repo_source.dart 1 addition, 1 deletionlib/src/repo_source.dart
- lib/src/source.dart 35 additions, 11 deletionslib/src/source.dart
- lib/src/utils.dart 10 additions, 0 deletionslib/src/utils.dart
- lib/src/version_solver.dart 37 additions, 11 deletionslib/src/version_solver.dart
- test/lock_file_test.dart 27 additions, 1 deletiontest/lock_file_test.dart
- test/pub_test.dart 285 additions, 0 deletionstest/pub_test.dart
- test/pubspec_test.dart 1 addition, 1 deletiontest/pubspec_test.dart
- test/test_pub.dart 54 additions, 32 deletionstest/test_pub.dart
- test/version_solver_test.dart 66 additions, 2 deletionstest/version_solver_test.dart
Loading
Please register or sign in to comment