conan-io / conan-io/training

[Feedback] Conan Essentials - `user/channel` advice

Open
#27 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
63
Forks
38
PR merge metrics
No merged PRs in 30d

Description

The course strongly encourages using custom user/channel for packages that were _built_ locally, not from Conan Center.
I agree for proprietary recipes or recipes that were written/created out of the CCI so maybe I just misunderstood the advice here.

The issue with the advice is that a new user may think that migrating CCI recipes to `company/stable` scheme is the way to go for vendoring recipes to a private remote. Which is practically a bad user experience since Conan provides very poor overriding capabilities in its interfaces and the only way to prevent "leaking" of packages through a private remote would be to override _all_ requirements in vendored recipes, which is a poor application of one's effort and time.

My personal advice is to actually _preserve_ the original `user/channel` if you intent to use the binaries as-if or in-place of CCI created binaries and control the binary origin through the remote list only.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the Conan Essentials course guidance on custom user/channel values for locally built packages. Compare the current advice with the issue's recommendation to preserve the original user/channel for vendored Conan Center packages and control binary origin through remotes; done means the guidance clearly distinguishes these cases.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.