Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    proget
    4 Posts 2 Posters 18 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      koksime.yap_5909
      last edited by

      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!

      atrippA 1 Reply Last reply Reply Quote 1
      • atrippA Offline
        atripp inedo-engineer @koksime.yap_5909
        last edited by atripp

        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.net or whatever

        Thanks,
        Alana

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          koksime.yap_5909 @atripp
          last edited by

          Hi @atripp,

          Just to confirm — with the naming, the feed will first retrieve content from 10-nuget.org, and only then from 20-abc.net, correct?

          Thanks.

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @koksime.yap_5909
            last edited by

            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

            1 Reply Last reply Reply Quote 0

            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
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation