Skip to content

Conversation

@hazeltonl
Copy link

@hazeltonl hazeltonl commented Aug 28, 2025

conan art:build-info create documentation and help message indicated that conan install and conan create are the only Conan commands able to produce the Conan graph json that can be consumed for producing a JFrog Build Info. This information is inaccurate/outdated and limiting. According to Conan's documentation (at the time of writing), additional commands that work for this include conan graph info and conan export-pkg.

conan export-pkg is the more important of the two since it produces the Conan graph JSON similar to conan create that includes both dependencies and produced Conan package. This means that instead of requiring conan create to build the package from beginning to end, the steps could be broken up into conan install, <build>, and conan export-pkg. The latter approach aligns with Conan's documentation that recommends calling the build tools to build/compile your code directly instead of using the build() method in your Conanfile.py.

@CLAassistant
Copy link

CLAassistant commented Aug 28, 2025

CLA assistant check
All committers have signed the CLA.

@hazeltonl hazeltonl changed the title Update cmd_build_info.py Correct Documentation Aug 28, 2025
@hazeltonl hazeltonl marked this pull request as ready for review August 28, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants