I have a bunch of Yocto recipe files that contain the configs for various git repositories in the format
SRC_URI = "git://XXX;protocol=ssh;branch=YYY;"
SRCREV = "abc123"
I am wondering if I can use these files to only clone the git repositories at the configured branch + commit hash. I want to then build these repos separately (not using Yocto/Bitbake)
I came across git.py from Bitbake's source code which seems to perform the clone operations in Bitbake. I could write a wrapper around this module, but wondering if there is a pre-built command that would let me invoke this module using Bitbake.