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

Conan cant process environment variables values containing equal character

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.15.0
    • Fix Version/s: 5.6.0
    • Component/s: Conan
    • Labels:
      None

      Description

      Uploading a conan binary package that contains declared environment variables containing "=" in the value caused an error parsing the conaninfo.txt file.
      How to reproduce

      conan new lib/1.0@user/stable
      conan export user/stable
      conan install lib/1.0@user/stable -e MYFLAG="one==tricky==value" --build missing
      conan upload lib/1.0@user/stable --all -r ARTIFACTORY_INSTANCE

      The upload will be ok, BUT in the artifactory logs will be an error:
      Exception: org.jfrog.repomd.conan.ConanInfoException: Invalid conaninfo.txt format: MYFLAG=one=tricky=value

        Attachments

          Activity

            People

            • Assignee:
              nadavy Nadav Yogev
              Reporter:
              nadavy Nadav Yogev
              Assigned QA:
              Gilad Kalchheim (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: