Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-25291

NuGet V3 Proxy can be configured only using a specific remote in UI field

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.29.0
    • 3.28.0
    • Documentation, nuget-v3
    • None

    Description

      At the moment nuget implementation works by v3 protocol if remote endwith ".json"
      For example:
      when remote = https://sitecore.myget.org/F/sc-packages/api/v3/index.json
      then implementation works by V3 protocol

      This rule doesn't work for all remotes and repositories. So, nexus should be ready to work with V3 remotes that don't endwith ".json"

       

      How it can be implemented.

      • Create a new one dropdown field called "Protocol" that will contain "V2 and V3"
      • V3 should be selected by default
      • With this solution, users will have a choice to select necessary nuget protocol

       

      Reproduce steps.

      • Create nuget proxy with remote that doesn't endwith ".json".
      • Execute package install for example.

      Actual:

      nuget works by V2 protocol

      Expected:

      nuget works by selected protocol

       

      Original issue
      https://community.sonatype.com/t/override-nuget-proxy-repository-type/4920

       

       

      Attachments

        Issue Links

          Activity

            People

              aishchenko Artem Ishchenko
              mlukaretkyi Maksym Lukaretkyi
              Maksym Lukaretkyi Maksym Lukaretkyi
              NXRM - Trinity
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title