Notes |
|
(0039632)
|
Ben Boeckel
|
2015-10-19 11:11
|
|
It sounds like you want tarballs. Is there some use case where a git --depth 1 repo is preferred over a tarball? |
|
|
(0039633)
|
gonzalobg88@gmail.com
|
2015-10-19 11:14
|
|
How is cloning the latest commit (and the latest commit only) from a git repository related to tarballs?
Is there a better git command for doing that? |
|
|
(0039640)
|
Ben Boeckel
|
2015-10-19 14:32
|
|
I'm thinking of repos that are on hosting sites like Github or have a Gitweb interface where downloading a tarball of an arbitrary hash is available. If not, then --depth 1 is probably the best thing available. |
|
|
(0039650)
|
gonzalobg88@gmail.com
|
2015-10-19 17:51
|
|
I seem thanks! Does CMake support downloading a tarbal for an arbitrary hash from github? If not that would be very useful as well! |
|
|
(0039651)
|
Ben Boeckel
|
2015-10-19 18:07
|
|
It looks like if you don't provide a hash value, ExternalProject won't enforce it, but maybe I'm missing something. However, it also appears that it will *always* redownload the file since it can't verify it is valid. I think github has fixed their tarball stability problems at least, so providing a hash should there at least. |
|
|
(0042860)
|
Kitware Robot
|
2016-06-10 14:29
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|