Skip to content

[question] Documenting precedence behavior of multiple repos #4177

@duffsterlp

Description

@duffsterlp

What is your question?

Hello conan community!

I am using conan 1.X (we are in the process of transitioning to conan 2 but it's a long transition).

I apologize if I've missed this in the documentation, but I have some questions about precedence ordering when using multiple repos. Here are my specific questions in the context of configuring multiple repos using conan remote add.

  • If you specify a version range of a component and the first repo in the list has a particular version of that component but subsequent repos in the list have newer versions, then which version gets returned?
  • If you have two identical versions of a component in multiple repos and the second repo in the list has a newer recipe revision, which revision ends up being used (if you don't explicitly point to a particular revision)
  • Same as the above question for package revisions

Are these behaviors documented in the conan documentation?

Thanks in advance!

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide (went back and read this guide after creating the issue)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions