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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.28.0
    • Fix Version/s: 3.29.0
    • Component/s: Documentation, nuget-v3
    • Labels:
      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

              Assignee:
              aishchenko Artem Ishchenko
              Reporter:
              mlukaretkyi Maksym Lukaretkyi
              Last Updated By:
              Maksym Lukaretkyi Maksym Lukaretkyi
              Team:
              NXRM - Trinity
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title