conan-io / conan-extensions

Some extra Conan commands for different purposes, like artifactory tasks, conan-center-index, etc
MIT License
30 stars 27 forks source link

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:

Migration

Commands useful for migrations

Conan Center Index

Commands useful in Conan Center Index or its forks

Artifactory

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

SBOM

Commands to create Software Bill of Materials.

Deployers

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.

Runtime Zipper

Makes a ZIP with all the executables and runtimes

Licenses Zipper

Makes a ZIP with all the licenses from the graph

HOOKS

PDBs

Post package hook that copies PDBs to the package folder.

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