-
Notifications
You must be signed in to change notification settings - Fork 229
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
Unhide --no-package-symlinks flag #1340
Comments
For background, we're waiting on doing this until we're reasonably confident that it's possible to rewrite all code that worked with
|
Yes, to meet the original goals of 1.13 we need to get this exposed so that externals can confidently test if their tools work without a package dir so that we in return can flip the default in 1.14. |
This may or may not be done by 1.13. In addition to the two SDK blockers that have yet to be fixed, the issues blocking dart-lang/test#327 were resolved a lot later than expected. It'll probably take a couple weeks to get |
@nex3 anything else we need here? How do you suggest we roll this out? |
We just experimented a bit; the flag is there, it's just not mentioned in help. So I guess there is enough that we can ask those that depend on the symlinks to try running pub with this flag, and then use the .packages file? |
I'm not planning to make the flag visible for 1.14. The flag shouldn't be visible, nor should we encourage users to use it, until we're very confident that users can in practice update their existing packages to run without packages/ directories. I plan to convert pub and the test package as a proof-of-concept, but that work won't be done in time for the upcoming release—and if the feedback from that work necessitates changes in the APIs, there certainly won't be time to adjust them. |
Blocked on dart-lang/sdk#24093 – which is part of dart-lang/sdk#24112 |
dart-lang/sdk#24093 is done, let go ahead and make this change, please. |
I'm still waiting on snapshot tests as well. |
should dart-lang/sdk#24288 be updated/closed as well? |
Nope. We're going to flip the default from opt-out to opt-in (for creating directories). |
Currently this implemented, but hidden.
Related to #727
The text was updated successfully, but these errors were encountered: