Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Created Issue: Tab completion always assumes talking to www.nuget.org [3662]

$
0
0

[Moved from https://github.com/NuGet/NuGetGallery/issues/1561
reported by github user https://github.com/shayke]

From the client code it looks like the following:
GetRemotePackageIdCommand.cs
public override string ApiEndpointPath { get { return "api/v2/package-ids"; } }

This is really bad as this feature cannot be used with any custom NuGet feed as this URL can be different.

We have implemented our own NuGet feed, and now when clients request for auto completion they are getting 404 because the actual request is:
http://host:port/api/v2/package-ids

But the feed is located at a different path at the endpoint.

NuGet client should actually use the URL defined in the Packages Sources as it does with any other request.


Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>