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

JFrog client does not push go modules checksums to artifactory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Duplicate
    • Affects Version/s: 6.5.13
    • Fix Version/s: None
    • Component/s: CLI, Go
    • Labels:

      Description

      Using go modules using go 1.11.4 and jfrog CLI (jfrog version 1.23.2) as per the documentation:

      https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory#CLIforJFrogArtifactory-CreatingCompleteModFiles

       

      Upon the first run, the external dependencies modules are fetched from external git hosting e.g. github, but on UI the Go repository in artifactory there is a message:

      "Client did not publish a checksum value. If you trust the uploaded artifact you can accept the actual checksum by clicking the 'Fix Checksum' button."

       

      If the checksums are fixed using artifactory UI, the second build of the same Go project would reuse the uploaded modules in artifactory without an error, and the go build passes. However if the checksum is not fixed manually in artifactory UI, the second go build for the same go project will fail with unable to find go module information for the external dependencies modules and it would try to re-fetch the external modules instead of reusing them which defeats the purpose of using go modules.

       

      Jfrog CLI documentation does not provide any arguments to upload the checksums of go modules from client side. Running artifactory APIs to fix checksums of go modules would be an expensive manual workaround to maintain.

       

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              brg@kaloom.com Bassem Rabil Guendy
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: