Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Paket Install and Large Sub-directories #1782
This was referenced
Jul 1, 2016
The issue is ProjectFile.FindAllProjects (profiled through mono). It recursively searches all directories, which is not good when the directories are huge (and potentially irrelevant to the
Are the project files that make up a solution not known through some other file?
I'll edit the title and description to be a little less sensationalist
It's important to note that paket doesn't require, and in fact never assumes, the presence of a solution file. It's entirely fixated around projects. Now, that said, it would be possible augment the existing FindAllProjects code to have an optional hot-path if it finds a .sln file to read that file and take the project list from there, but continue to support the search-based method.
A hot path is fine, but the worst case is still pretty bad. I have a node.js project with a
Also consider the use case when there are no projects (Paket from F# interactive). How could we implement a hot path?