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

Go does not parse the go-get html from k8s correctly

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7.0
    • Component/s: Go
    • Labels:
      None

      Description

      if we are calling k8s.io/helm package, the info is searched from
      https://k8s.io/helm?go-get=1, and it will return

                  <html><head>
                        <meta name="go-import"
                              content="k8s.io/helm
                                       git https://github.com/kubernetes/helm">
                        <meta name="go-source"
                              content="k8s.io/helm
                                       https://github.com/kubernetes/helm
                                       https://github.com/kubernetes/helm/tree/master{/dir}
                                       https://github.com/kubernetes/helm/blob/master{/dir}/{file}#L{line}">
                  </head></html>
      

      we extract the meta go-import content, but we searched it as one liner instead of div, so we will not find the content.

        Attachments

          Activity

            People

            • Assignee:
              nadavy Nadav Yogev
              Reporter:
              nadavy Nadav Yogev
              Assigned QA:
              Andrey Tashlitsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: