-
Notifications
You must be signed in to change notification settings - Fork 520
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
When restoring packages, Paket seems to ignore NugetFallback folder #3662
Comments
With a local build on my machine of paket
I am able to execute my version of paket in docker
Then inside docker, I can test with my fix
Performance:
Testing without the fix :
Performance:
So we found 143 packages locally and did save some download time |
I'm open for PRs! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In .NET Core, most (if not all) Systems nuget packages are stored in
Repro steps
dotnet restore is very fast
paket is very slow because everything is downloaded.
Expected behavior
I expect paket to behave as nuget and use local NugetFallbackFolder instead of downloading eveything from nuget.org
Actual behavior
Paket downloads eveything from the internet
Known workarounds
None
Details on this issues
An existing PR already tried to solve this problem : #3242
but it seems that it starts with an invalid path
https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/Dependencies/NuGetCache.fs#L336
executing the same function in
dotnet fsi
inside a docker containergives /usr/bin/dotnet
while expected path starts with /usr/share/dotnet
I am proposing a PR with both path included by default
The text was updated successfully, but these errors were encountered: