cmake-basis / legacy

Legacy CMake BASIS project for versions 3.2 and older. For newer versions, go to
https://github.com/cmake-basis/BASIS
Other
13 stars 11 forks source link

Use/recommend shallow Git clone for non-BASIS developers/bootstrapping #507

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

The download page/documentation should recommend a shallow Git clone if a user does not intend much or any development work on CMake BASIS itself. This should save them quite some time and disk space because of the heavy early commits to the project. In particular the clone step of basis_bootstrapping should use a depth of 1 only.

schuhschuh commented 8 years ago

Such shallow copy could possibly even replace the download of separate source packages from the homepage, which have to be uploaded and maintained manually. Would be better if basis_bootstrapping could clone a specific tag with --depth 1 instead.

schuhschuh commented 8 years ago

A shallow Git clone of v3.2 is downloaded quite fast and requires only 11MB (instead of >200MB for the full history), compared to the ~9MB of the extracted .tar.gz file.

git clone --branch v3.2.0 --depth 1 https://github.com/schuhschuh/cmake-basis.git