-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Improve pub root directory interface #106567
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm posting this PR up as a draft so I can ask Jacob a couple of questions.
@jacob314 this diff makes the test changes look way more complicated than they are.
the 'addPubRootDirectories' and 'pubRootDirectories' have been added separately, only a couple of small changes have been made to other tests. I've just fixed up the other tests to use 'resetPubRootDirectories' so that their usage of 'setPubRootDirectories' doesn't break.
This reverts commit 35734ed6f2a87ed96f34358ec58a9c02f7afff9c.
reorganize tests to improve diff
This reverts commit 02c8d5971bcb0d3ff41809cb1998065703e64246.
Details about the follow up clean up have been added to #107186 |
The pubRoot directory interface is being changed to promote adding and removing directories
In order to improve interaction with the pubroot directories. The pubRoot directory interface is being changed to promote adding and removing directories. This will make it so that IDEs and Devtools can't overwrite each other's changes to the pub root directories if they call
setPubRootDirectories
at the same time.Fixes #105730
Pre-launch Checklist
///
).