Closed schuhschuh closed 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.
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
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.