Add custom deployer for metadata example#3589
Open
AbrilRBS wants to merge 2 commits intoconan-io:release/2.1from
Open
Add custom deployer for metadata example#3589AbrilRBS wants to merge 2 commits intoconan-io:release/2.1from
AbrilRBS wants to merge 2 commits intoconan-io:release/2.1from
Conversation
This was referenced Feb 15, 2024
memsharded
requested changes
Feb 15, 2024
Member
memsharded
left a comment
There was a problem hiding this comment.
This needs some further elaboration, because the very common case in which users will want to gather metadata from servers, is not covered by this.
Probably we need to make sure how it looks like in a test first, the UX etc.
| .. seealso:: | ||
|
|
||
| - TODO: Examples how to collect the metadata of a complete dependency graph with some custom deployer or command | ||
| - Check an :ref:`example on how to collect the metadata of a complete dependency graph with some custom deployer<examples_extensions_deployers_metadata>` |
Member
There was a problem hiding this comment.
The challenge with this example is that there will be issues with users expectations:
conan installwill install dependencies, but it will not install metadata from the servers- Then the metadata is NOT in the Conan cache
- Gathering the metadata will not collect anything, only metadata that has been created locally.
The solution is that the metadata has to be downloaded from the server with conan download --metadata explicitly first, then collected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needs conan-io/examples2#128