/conan-extensions

Some extra Conan commands for different purposes, like artifactory tasks, conan-center-index, etc

Primary LanguagePythonMIT LicenseMIT

Conan Extensions

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.

Conan config install

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.

Custom Commands

These are the currently supported custom commands:

Commands useful for migrations

Commands useful in Conan Center Index or its forks

Commands useful for managing JFrog Build Infos and properties in Artifactory.

Commands to create Software Bill of Materials.

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 and runtimes

Makes a ZIP with all the licenses from the graph

Testing

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

LICENSE

MIT