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!

    Problem adding a connector to a feed - Mirrored MyGet

    Scheduled Pinned Locked Moved Support
    progeterrormyget
    5 Posts 1 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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hello,

      I have setup a feed using MyGet, the online Nuget as a service, and I would like to mirror this feed within my ProGet Server. I have added a new feed within ProGet, and I have added a connector, pointing at the MyGet feed. I don't get any errors when I hit save, but when I try to access the feed using:

      http://localhost/feeds/MirroredMyGetFeed

      I get the following warning:

      "There was an error with one or more of your connectors: An item with the same key has already been added."

      Can you please help me explain what might be going on here?

      Thanks

      Gary

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        If you can send us the Url to your feed (support at inedo dot com), we could take a look; it's difficult to know if the error is coming from the feed source (MyGet), or in our aggregation.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Thanks Gary, we were able to figure out root cause.

          NuGet feeds use the "title" element for a package id, and the "id" element for the package url.

          MyGet feeds also do this, but include a metadata property called "id" for the package. This was a recent change.

          Our feed aggregator takes the "title" attribute and assigns it to package id. Since the MyGet feeds also have a metadata property called "id", we get this error.

          Since the NuGet specification is implicitly defined, no one actually knows how this is supposed to behave.

          We'll add yet another work-around to cover this NuGet quirk in future maintenance release of ProGet... but hopefully MyGet can also address this by removing the "id" metadata property.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            ProGet 2.1.2 has been released, which addresses this bug.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Hey,

              This is great news!

              Thanks for getting this sorted out so quickly!

              Gary

              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