Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18624

If Go package version with upper case, Artifactory will not convert the exclamation mark to upper case upon resolution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 3 - High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.10.0
    • Component/s: Go
    • Labels:
      None
    • Severity:
      High

      Description

      Create a version with upper case and deploy to Artifactory. When you try to resolve this version, the request that comes from Go looks as following:

      http://localhost:8081/artifactory/api/go/go-local4/github.com/openebs/node-disk-manager/@v/v0.3.0-%21r%21c1.zip
      

      This will return an error that this version cannot be found in Artifactory:

      go mod download -json github.com/openebs/node-disk-manager@v0.3.0-RC1
      {
              "Path": "github.com/openebs/node-disk-manager",
              "Version": "v0.3.0-RC1",
              "Error": "unexpected status (http://admin:AP8Hc9d88aGG1nSBm287FdPMr1d@localhost:8081/artifactory/api/go/go-local4/github.com/openebs/node-disk-manager/@v/v0.3.0-%21r%21c1.zip): 404 Not Found",
              "Info": "/Users/alexeiv/Documents/goTestCache/goTestCache3/pkg/mod/cache/download/github.com/openebs/node-disk-manager/@v/v0.3.0-!r!c1.info",
              "GoMod": "/Users/alexeiv/Documents/goTestCache/goTestCache3/pkg/mod/cache/download/github.com/openebs/node-disk-manager/@v/v0.3.0-!r!c1.mod",
              "GoModSum": "h1:ddoKZRL7fS5bC4Vvmq9i7zisXVlDYOvY46M5TTLu9mw="
      }
      

      The issue seems to be that the version is not being decoded:

      go-local2/github.com/openebs/node-disk-manager/@v/v0.3.0-!r!c1.mod
      Properties:
      go.version v0.3.0-!r!c1
      

      We need to do the same as we do with the module name.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nadavy Nadav Yogev
              Reporter:
              alexeiv Alexei Vainshtein
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-18624 -
                  SYNCHRONIZED
                  • Last Sync Date: