conan-io / conan-io/docs

Better documentation for Devops steps when exporting transitive dependencies

Open
#3,461 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

The [Creating and hosting your own ConanCenter binaries](https://docs.conan.io/2/devops/conancenter/hosting_binaries.html) provides valuable information about how to create your own server and publish packages there.

However, it lacks to say how to do that, e.g.

> * Create a script that first conan export all the packages in your list, then conan create --build=missing them. Do not add user/channel to these packages, it is way simpler to use them as zlib/1.2.13 without user-channel. The user/channel part would be mostly recommended for your own proprietary packages, but not for open source ConanCenter packages.

The package list can have transitive dependencies, which may fail in case of build recipes, so I need to list each transitive dependency first, then run `conan export`. This step is not clear here.

Second, creating a script for it is actually duplicating the Conan extension [export all versions](https://github.com/conan-io/conan-extensions/tree/main/extensions/commands/cci) that is available, but not documented here.

It would be great if we could add more details about that step and the Conan extension as a good usage.

/cc @michxymi

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.