PSLmodels / Package-Builder

Policy Simulation Library tool that builds packages and uploads them to the Anaconda Cloud's PSLmodels channel for public distribution
4 stars 7 forks source link

Make 'git clone' faster by downloading only code for version (not the whole repository) #126

Closed martinholmer closed 5 years ago

martinholmer commented 5 years ago

This pull request implements a significant speed-up in Package-Builder by avoiding the download of the whole repository and then doing a checkout of the specified version. The speed-up is implemented by using "git clone" options that download only the code for the specified version. No change in the basic logic of the Package-Builder.