[feature] Generate a post-install report after "conan install"
See original GitHub issueHi,
I’m using the command conan install
to install external packages and generate an --installer-folder
.
I need a way to determine how many packages were Downloaded/Cached/Built during the conan install
process.
Maybe if there was a new flag --packages-report
or --packages-report-json
, like:
conan install --packages-report --install-folder ./install_folder ...
# Generates the JSON file ./install_folder/conanpackagesreport.json
And the expected content would be something like this
./install_folder/conanpackagesreport.json
{
"summary": {
"built": 2,
"from_cache": 4,
"downloaded": 2
}
... // Add additional meaningful data here
}
@memsharded I’m totally in for developing this feature by myself, though I want to make sure you’ll approve it when the day comes … What do you think?
- Conan version - 1.49.0
- OS: Any
- I’ve read the CONTRIBUTING guide.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
conan install — conan 1.44.1 documentation
Installs the requirements specified in a recipe (conanfile.py or conanfile.txt). It can also be used to install a concrete package specifying a reference....
Read more >Post-install actions · Issue #1183 · conan-io/conan - GitHub
I am creating a package for Qt v5. Qt binaries contain hard-coded paths, so it will not work if copied to another directory....
Read more >Installation from source - GitLab Docs
This is the official installation guide to set up a production GitLab server using the source files. To set up a development installation...
Read more >C/C++ – Schneide Blog
This will setup conan with the given cmake installation. Install dependencies and build. Next run the conan install command: 1. 2.
Read more >Package List — Spack 0.20.0.dev0 documentation
Needs post-install chmod/chown steps to enable full functionality. See package definition or `spack-build- out.txt` build log for details, e.g.:: tail -15 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, you are totally right, the HA feature of Artifactory is a paid, one, I was confused by the OSS, and I thought it could be the
conan_server
Great. Let us know how it goes, I hope you can make it work.
Sure, I am definitely willing to learn from your experience, please feel free to send an email to info@conan.io, and we can take it from there. Cheers!
I guess I’m using Artifactory CE -
Regarding the use in production, I assume you refer to “make it Highly available” (as I mentioned earlier) though I can’t find a way to make it highly available “for free”, see the docs:
But that’s another topic and I don’t want to spam you with questions about it over here 😃
So getting back to the original issue, I’ll play with the existing
--json report
a bit more, I think it’ll answer my needs, closing this ticket.@memsharded Thank you for your support, I’m using Conan at my workplace all over the place, and building for almost any platform - macOS, iOS, android-armv8, Linux, Windows (was a major challenge), Web Assembly (WASM, not even sure it’s possible with Conan). I would love to have a chat with you about it, to give you the perspective of a company that dropped VCPKG and moved to Conan, I have a feeling it will be fruitful for both of us. Let me know if you want to peer about it; Either way, thank you!