You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve error message for non-existing nuget feeds #545
Given a computer that has a nuget package source that refers to a local folder on that computer and that local folder DOES NOT EXIST,
When running paket convert-from-nuget
Then paket fails with the correct statement that it can not find part of the local folder (aka path).
To be precise, I think it's the implicit (unless --no-install was specified) paket install phase that fails, so the issue might be more general than the conversion from nuget.
However, it is non-obvious to an end-user what that path means nor why paket is even looking at that path. So what I'm asking for is a clearer message upon failure or skipping non-existing package sources silently, whichever matches the paket philosophy best.
Additionaly, once the end-user finds out about this, he can remove the culprit nuget package sources from his list of nuget package sources. But alas, that doesn't help, since at that point paket has already copied those sources into its paket.dependencies. Perhaps the integrity of the paket sources should be verified as well.
Yes a warning is good.
And then the new error message during install will fail and tell the user
what to do.
On Jan 14, 2015 11:34 AM, "Tomasz Heimowski" [email protected]
wrote:
sometimes nuget v2 feed is also down, so failing because of that seems
like an overkill
—
Reply to this email directly or view it on GitHub #545 (comment).
Activity
forki commentedon Jan 13, 2015
convert-from-nuget?paket install.@yreynhout could you please give the corresponding line from the
paket.dependenciesfile (or something similar)?[-]paket convert-from-nuget crash[/-][+]Improve error message for non-existing nuget feeds[/+]yreynhout commentedon Jan 13, 2015
@forki An entry that resembles
source c:\path\does\not\existat the top of that file.theimowski commentedon Jan 13, 2015
I'll take a look tomorrow
Give better error message when package is not found in a local feed -…
forki commentedon Jan 13, 2015
In latest version we get the following on install:
theimowski commentedon Jan 14, 2015
should
convert-from-nugetcheck local feeds only or remote too?forki commentedon Jan 14, 2015
probably all.
But the question is what we do if it fails!?
2015-01-14 11:15 GMT+01:00 Tomasz Heimowski [email protected]:
theimowski commentedon Jan 14, 2015
nice yellow warning?
theimowski commentedon Jan 14, 2015
sometimes nuget v2 feed is also down, so failing because of that seems like an overkill
forki commentedon Jan 14, 2015
Yes a warning is good.
And then the new error message during install will fail and tell the user
what to do.
On Jan 14, 2015 11:34 AM, "Tomasz Heimowski" [email protected]
wrote:
theimowski commentedon Jan 14, 2015
cool, will do my best to send a PR today