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
This is likely due to the new NormalizedVersion queries:
>.paket\paket restore --force --verbose
Paket version 0.14.0.0
found: C:\BuildAgent\work\35108af895ef126d\paket.dependencies
Parsing C:\BuildAgent\work\35108af895ef126d\paket.dependencies
...
Downloading NuGet.CommandLine 2.8.3 to C:\Users\agross\AppData\Local\NuGet\Cache\NuGet.CommandLine.2.8.3.nupkg
Paket failed with:
Could not retrieve data from http://build.home.therightstuff.de/httpAuth/app/nuget/v1/FeedService.svc/Packages?$filter=Id eq 'GROSSWEBER.Infrastructure' and NormalizedVersion eq '1.5.1'
Message: The remote server returned an error: (500) Internal Server Error.
StackTrace:
at Microsoft.FSharp.Control.AsyncBuilderImpl.commit[a](Result`1 res)
at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[a](CancellationToken token, FSharpAsync`1 computation, FSharpOption`1 timeout)
at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken)
at Paket.RestoreProcess.Restore(String dependenciesFileName, Boolean force, FSharpList`1 referencesFileNames)
at Paket.Program.clo@110-1.Invoke(Unit unitVar)
at <StartupCode$paket>.$Paket.Program.main@()
What I meant is: Nuget.exe code alone is not enough. We need to understand the whole ecosystem. And Maarten does a very good job in explaining all the different feeds.
I actually wondered if @jeffhandley's statement was correct in all cases. According to the snippet Maarten found that's not completely true.
(and yes I'm guilty for not reading through the sources ;-) )
Activity
agross commentedon Nov 14, 2014
// cc @maartenba
maartenba commentedon Nov 14, 2014
Well, "NormalizedVersion" is not on all feeds out there :-) Orchard for example will also fail on this.
forki commentedon Nov 14, 2014
I wonder how nuget.exe works?!
I mean @jeffhandley told us they use it (see #327 (comment))
isaacabraham commentedon Nov 14, 2014
I get the same here. Rolling back to 0.13.1 fixes the problem.
Support feeds that don't support NormalizedVersion - references #361
forki commentedon Nov 14, 2014
please retry with 0.14.1 - unfortunately I can't really reproduce from here. So I have to ask you if it works ;-(
agross commentedon Nov 14, 2014
👍, works for me.
maartenba commentedon Nov 14, 2014
@forki @jeffhandley Just noticed the DataServicePackageRepository uses Id and Version, not NormalizedVersion. (see FindPackage function in http://nuget.codeplex.com/SourceControl/latest#src/Core/Repositories/DataServicePackageRepository.cs which iscalled when doing NuGet package restore from the command line)
isaacabraham commentedon Nov 14, 2014
@forki cool. Btw nuget is open source, you can always look it up (or at least try to look up in you can navigate through codeplex :-)
yannisgu commentedon Nov 14, 2014
@forki if you want to test with TeamCity: http://teamcity.codebetter.com/guestAuth/app/nuget/v1/FeedService.svc/Packages
Better ways to navigate through NuGet code: http://sourcebrowser.io/Browse/haacked/nuget/NuGet.sln or https://github.com/haacked/nuget
forki commentedon Nov 14, 2014
hey guys don't you think I have a local copy of the nuget code? ;-)
isaacabraham commentedon Nov 14, 2014
@forki "I wonder how nuget.exe works?!" :-P
maartenba commentedon Nov 14, 2014
A local copy. That's so uncool. Use the cloud man, the cloud!
forki commentedon Nov 14, 2014
What I meant is: Nuget.exe code alone is not enough. We need to understand the whole ecosystem. And Maarten does a very good job in explaining all the different feeds.
I actually wondered if @jeffhandley's statement was correct in all cases. According to the snippet Maarten found that's not completely true.
(and yes I'm guilty for not reading through the sources ;-) )