Skip to content
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

Closed
kevmoo opened this issue Oct 7, 2015 · 11 comments
Closed

Unhide --no-package-symlinks flag #1340

kevmoo opened this issue Oct 7, 2015 · 11 comments
Labels
status-blocked Blocked from making progress by another (referenced) issue type-enhancement A request for a change that isn't a bug

Comments

@kevmoo
Copy link
Member

kevmoo commented Oct 7, 2015

Currently this implemented, but hidden.

Related to #727

@nex3 nex3 added type-enhancement A request for a change that isn't a bug status-blocked Blocked from making progress by another (referenced) issue labels Oct 7, 2015
@nex3
Copy link
Member

nex3 commented Oct 7, 2015

For background, we're waiting on doing this until we're reasonably confident that it's possible to rewrite all code that worked with packages/ directories to work with package specs instead. Currently this is blocked on:

@mit-mit
Copy link
Member

mit-mit commented Oct 8, 2015

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.

@nex3
Copy link
Member

nex3 commented Oct 8, 2015

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 test running without symlinks even if we don't encounter any additional features we need. Once that's done we can switch on --no-packages-dir on dev, but I'll want a couple weeks before release to get real-world user data and make sure there aren't any lingering issues that I didn't run into myself.

@mit-mit
Copy link
Member

mit-mit commented Jan 20, 2016

@nex3 anything else we need here? How do you suggest we roll this out?

@mit-mit
Copy link
Member

mit-mit commented Jan 20, 2016

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?

@nex3
Copy link
Member

nex3 commented Jan 20, 2016

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.

@kevmoo
Copy link
Member Author

kevmoo commented Aug 9, 2016

Blocked on dart-lang/sdk#24093 – which is part of dart-lang/sdk#24112

@mit-mit
Copy link
Member

mit-mit commented Aug 16, 2016

dart-lang/sdk#24093 is done, let go ahead and make this change, please.

@nex3
Copy link
Member

nex3 commented Aug 16, 2016

I'm still waiting on snapshot tests as well.

@nex3 nex3 closed this as completed in 101aa44 Aug 16, 2016
@zoechi
Copy link

zoechi commented Aug 19, 2016

should dart-lang/sdk#24288 be updated/closed as well?

@kevmoo
Copy link
Member Author

kevmoo commented Aug 19, 2016

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status-blocked Blocked from making progress by another (referenced) issue type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants