-
Notifications
You must be signed in to change notification settings - Fork 28
Add an option to provide descriptor name in Conan graph info command #412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure if combining this new logic with the existing PIP flag is ok with our PM
Merging this branch will not change overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. Changed unit test files
|
dev
branch.go vet ./...
.go fmt ./...
.This PR adds the ability to specify a custom conanfile (Conan descriptor) name to be used with the 'graph info' command. This enhancement addresses use cases where the descriptor does not have the default name "conanfile.txt".
Since Conan does not require installation before calculating dependencies, we cannot rely on an install command to provide this information. Hence, we leverage the existing functionality of Python package managers to specify a custom descriptor name through options like --requirements-file (or JF_REQUIREMENTS_FILE / pipRequirementsFile in the context of a Frogbot scan) to achieve this same flexibility in Conan.