This repository contains extensions for Conan, such as custom commands and deployers, useful for different purposes, like Artifactory tasks, conan-center-index, etc.
The contents of this repository are not production ready, they are intended as an aiding guide, and you'll probably want to create your own custom commands and/or deployers taking these as a base to ensure they meet your needs.
To install all the available extensions, run:
conan config install https://github.com/conan-io/conan-extensions.git
Afterwards, running conan --help
should show you all the custom commands available.
These are the currently supported custom commands:
Commands useful for migrations
Commands useful in Conan Center Index or its forks
Commands useful for managing BuildInfos and properties in Artifactory
These are the current custom deployers. Recall they are experimental and can experience breaking changes, use them as a base to create your own under your control for stability.
Makes a ZIP with all the executables
To validate a new extension, it's possible to write a test that exercises its usage. You can use pytest for testing, producing a stable environment.
pytest .
We recommend testing with Python 3.6 to respect the minimum version required for Conan 2.0