-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
.packages: Run packagebots with a --no-package-symlinks configuration #24093
Comments
I believe we don't need this for 1.12 . |
OK, so we don't do any special testing, just use the SDK as is, without extra options? So pub generates both .package and symlinks, and other tools do what? Do they use the .package if it is there, by default? Shouldn't we be testing something? Like what if the .package file isn't there? Tools besides pub are supposed to still work without a .package file. |
Yes.
They should, if they are following DEP5 correctly. https://github.com/lrhn/dep-pkgspec/blob/master/DEP-pkgspec.md
That would be the case if the user didn't upgrade to 1.12, or if they did upgrade to 1.12 but did not run
Correct. @hterkelsen has some really nice integration tests that test for various scenarios (has a .packages, doesn't have a .packages, etc etc). I'm not sure they are sufficient, but they are definitely necessary and will help catch regressions on the package resolution discovery logic in our various tools. Starting early in the 1.13 dev cycle, we'll want to start testing with --no-package-symlinks. |
@kevmoo, how far are we from unblocking this? |
Should be completely unblocked. @whesse running on this? |
Emailed @whesse to confirm we are on track for 1.19 |
BUG=dart-lang/sdk#24093 R=lrn@google.com, mit@google.com Review URL: https://chromiumcodereview.appspot.com//2235233004 .
We started using --no-package-symlinks on all builders on the package waterfall, after commit dart-archive/package-bots@f582ad4 The packages using "pub run test" are working fine, the packages using "test.py" are blocked on #27063 |
OK, all the packages seem to be running fine, both those running test.dart and those using package:test. |
We'd like to increase confidence in a no-symlinks world. One idea is to run the packagebots with a no-package-symlinks configuration (in parallel with the symlinks config we have now)
Thanks!
Blocked by:
packages
argument toIsolate.spawnUri
.packages: Ability to pass packages config data into Isolate.spawnUri #23951The text was updated successfully, but these errors were encountered: