Skip to content

Instantly share code, notes, and snippets.

@lasote
Created April 23, 2018 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lasote/631fd799ac287baa605f2061ecb04ea9 to your computer and use it in GitHub Desktop.
Save lasote/631fd799ac287baa605f2061ecb04ea9 to your computer and use it in GitHub Desktop.
Temp changelog
  • The filesystem is not shared anymore with the docker containers, every container will upload their own packages/recipe, so it is not needed to share the conan home. The remotes and all the needed configuration is passed as environment variables.
  • Better remotes configuration, supporting remote naming and use SSL parameter.
    • As parameter of ConanMultiPackager, remotes can be a list of strings separated by , of a tuple containing URL, use ssl and remote name:
        remotes = "https://api.bintray.com/conan/conan-community/conan,https://api.bintray.com/conan/other/conan2"
        remotes = [("https://api.bintray.com/conan/conan-community/conan", True, "remote1"), 
                        ("https://api.bintray.com/conan/other/conan2", False, "remote2")]
    
    • As environment variable:
       CONAN_REMOTES=url1@True@remote_name, url2@False@remote_name2
      
    The same is valid for CONAN_UPLOAD/upload.
  • Feature: If the remote (both upload remote or remotes in general) exists in the current installation with the same URL it will be kept and the current remote name will be used.
  • Improvements in the login/password at remote level, so if you specify login_username="my_user" login_username = {"remote1": "my_user", "my_artifactory": "other_user"}
  • Conan package tools calling directly the conan python api.
  • General code refactor, reducing technical debt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment