Skip to content

Provide info of the dep graph when a recipe is missing #3098

@Minimonium

Description

@Minimonium

The problem:
When a deep dependency throws an error on info/install/create step it's not as obvious in which nested reference an error occurred. Printing whole information (on error only?) would be very useful.

Current behaviour:

$ conan info . --only=None
DeepDep/1.0.0@user/stable: Not found in local cache, looking in remotes...
DeepDep/1.0.0@user/stable: Trying with 'bincrafters'...
DeepDep/1.0.0@user/stable: Trying with 'conan-center'...
ERROR: Unable to find 'DeepDep/1.0.0@user/stable' in remotes

Possible Solution?:

$ conan info . --only=None
ProjectA/1.0.0@user/stable:
- ProjectB/1.0.0@user/stable:
- ProjectC/1.0.0@user/stable:
- - DeepDep/1.0.0@user/stable: Not found in local cache, looking in remotes...
- - DeepDep/1.0.0@user/stable: Trying with 'bincrafters'...
- - DeepDep/1.0.0@user/stable: Trying with 'conan-center'...
ERROR: Unable to find 'DeepDep/1.0.0@user/stable' in remotes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions