CPM.cmake icon indicating copy to clipboard operation
CPM.cmake copied to clipboard

cpm git fetch is occasionally empty

Open Febbe opened this issue 1 year ago • 1 comments

Sometimes, automated builds on our build server fails due to the fact, that cpm failed to clone a dependency. The resulting folder is just empty and cpm warns that the repository is dirty.

I could not find the cause of this behavior, but having a force checkout option, if the directory is dirty, will hopefully query a new clone attempt.

Febbe avatar Mar 11 '24 15:03 Febbe

This is similar to #548 The cache dir is created before download, if download is aborted for any reason the directory must be deleted manually

gerhardol avatar Mar 16 '24 22:03 gerhardol