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

The default nuget-hosted repo is set to ALLOW redeploys

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.34.0
    • Fix Version/s: None
    • Component/s: NuGet
    • Labels:

      Description

      When a fresh install of NXRM 3 is installed, it comes with Nuget-hosted repo provisioned. However, this default Nuget-hosted repo has redeploys set to ALLOW. Compared to a user-created Nuget-hosted repo after installation, the user-created repo's redeploys setting is set to ALLOW_ONCE.

      Steps to reproduce:

      1. Install NXRM 3 per installation instructions
      2. Once installed, navigated to the Nuget-hosted repo and check the redeploys setting.

      Actual behavior:

      The Nuget-hosted repo has redeploys set to ALLOW

      Expected behavior:

      The Nuget-hosted repo should have redeploys set to ALLOW_ONCE

      Impacted code:

      https://github.com/sonatype/nexus-internal/blob/d84c0d23d74792d05bcfcfb0908ea4414a55eb19/private/plugins/nexus-repository-nuget/src/main/java/com/sonatype/nexus/repository/nuget/internal/NugetDefaultRepositoriesContributor.groovy#L46

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            klau Kam-Wai Lau
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title