reframe icon indicating copy to clipboard operation
reframe copied to clipboard

Consider using depth of 1 when automatically cloning a git repo

Open teojgo opened this issue 2 years ago • 2 comments

This would make cloning much faster

teojgo avatar Nov 28 '23 12:11 teojgo

Agree with that, but you mean we should do that in the unit tests or in the osext utility?

vkarak avatar Nov 28 '23 12:11 vkarak

On osext we can do it using the opts. I was thinking when we use a git repo as the source of the code. On seconds thought though, in tests where we switch to a git branch as a subsequent command then the branch is not there since the depth does not cover it, unless we enrich the source syntax to include a branch and/or depth by itself.

teojgo avatar Nov 28 '23 13:11 teojgo