Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
[ProGet] Connector Ordering / Precedence in ProGet
-
Hi ProGet team,
We use multiple connectors to proxy external sources and would like certain packages to be retrieved from preferred sources first.
Does ProGet support ordering or precedence for connectors? If not, are there any recommended workarounds?
Thanks!
-
Hi @koksime-yap_5909,
They are ordered by the name - so if orderis important to you, I guess you could always do the
10-nuget.org,20-abc.netor whateverThanks,
Alana -
Hi @atripp,
Just to confirm — with the naming, the feed will first retrieve content from
10-nuget.org, and only then from20-abc.net, correct?Thanks.
-
Hi @koksime-yap_5909 ,
Not necessarily - it really depends on the API query.
If the query is like "give me a list of all versions of
MyPackage", then ProGet will need to aggregate local packages and connector packages to produce that list.If the query is "give me the metadata for
MyPackage-1.3.1", then the first source that returns a result is used.In practice, NuGet asks for "all versions" a lot. So you'll get a lot of queries.
Thanks,
Alana
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login