[question] get RREV from dependencies inside conanfile
See original GitHub issueWe are using revision_mode = "scm"
for all our dependencies and we want to get the revision (=git commit id) from the dependencies inside the conanfile. Is there a possibility to achieve this?
- I’ve read the CONTRIBUTING guide.
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[Question] Package_ID, PREV, RREV - howto #5368 - GitHub
PREV and RREV, if I search packages with --revisions and get a list, ... to take it in mind, smart deletion based on...
Read more >Package Revisions — conan 1.55.0 documentation
In the client. When a recipe is exported, Conan calculates a unique ID (revision). For every change, a new recipe revision (RREV) will...
Read more >Conan Documentation - Conan Docs
Get dependencies and generate build system files via conan install ... Install a package requirement from a conanfile.txt, saved in.
Read more >Lockfiles — conan 1.25.2 documentation
Lockfiles are files that store the information of a dependency graph, ... if something in the recipe changes, it will get a new...
Read more >Package ID modes: control the ABI and the traceability of your ...
It's highly configurable, from a mode taking into account only the name of the dependencies to other modes including any change in the ......
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 FreeTop 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
Top GitHub Comments
Thank you for all your assistance.
Note also, that for achieving that, you don’t really need to use the
recipe_revision = "scm"
, but you can do the following:conandata.yml
the url and the commit that originated it, check: https://docs.conan.io/en/latest/reference/conanfile/tools/scm/git.html#example-implementing-the-scm-featuredependencies
as described above, and for each one access its fulldep.conan_data
, so they can get from it the commit (and also the URL of the repo)