-
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
Paket Error pulling Nuget v3 only Package Registry #3700
Comments
Looks like there is a |
@matthid ideas where to put it? |
@matthid yes precisely. This is the output of the main index.json page {
"version":"3.0.0-beta.1",
"resources":[
{
"@id":"https://nuget.pkg.github.com/odytrice/download",
"@type":"PackageBaseAddress/3.0.0",
"comment":"Get package content (.nupkg)."
},
{
"@id":"https://nuget.pkg.github.com/odytrice/query",
"@type":"SearchQueryService",
"comment":"Filter and search for packages by keyword."
},
{
"@id":"https://nuget.pkg.github.com/odytrice/query",
"@type":"SearchQueryService/3.0.0-beta",
"comment":"Filter and search for packages by keyword."
},
{
"@id":"https://nuget.pkg.github.com/odytrice/query",
"@type":"SearchQueryService/3.0.0-rc",
"comment":"Filter and search for packages by keyword."
},
{
"@id":"https://nuget.pkg.github.com/odytrice",
"@type":"PackagePublish/2.0.0",
"comment":"Push and delete (or unlist) packages."
},
{
"@id":"https://nuget.pkg.github.com/odytrice",
"@type":"RegistrationsBaseUrl",
"comment":"Get package metadata."
},
{
"@id":"https://nuget.pkg.github.com/odytrice",
"@type":"RegistrationsBaseUrl/3.0.0-beta",
"comment":"Get package metadata."
},
{
"@id":"https://nuget.pkg.github.com/odytrice",
"@type":"RegistrationsBaseUrl/3.0.0-rc",
"comment":"Get package metadata."
}
]
} @forki I tried looking at the code but I'm not sure where the issue is coming from. My initial guess was here https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/Dependencies/NuGetV3.fs#L603 but that looks okay |
Thanks for posting the index, I think we expect the packagebaseaddress to end with a trailing slash for some reason. shouldn't be too hard to find. I wouldn't be surprised if the spec even demands the trailing slash so this could very well be a bug in the Github implementation as well. So if we want to do it properly we look up the spec as well (but to be honest we should probably fix it anyway) |
Description
Paket Fails to pull packages from Nuget V3
Repro steps
https://github.com/odytrice/fake-paket-sample
Expected behavior
Paket Install Executes Successfully
Actual behavior
Fails to pull with the following error
The critial piece is
Request 'https://nuget.pkg.github.com/odytrice/downloadapp.library/index.json?semVerLevel=2.0.0' finished with error
the correct url is supposed to behttps://nuget.pkg.github.com/odytrice/download/app.library/index.json?semVerLevel=2.0.0
Known workarounds
No known work arounds at the moment
Version
5.231.0
The text was updated successfully, but these errors were encountered: