Hi gophers! Golang do not have a canonical way to download dependencies. Glide is the last one I have been using and it is like a drunk elephant in my laptop.
This weekend I have managed to summon the force to work on a silly script that read a list of git repos, and do the clones, one by one. For the moment it supports: - Clone a specific git repo inside a specific directory (removing the .git folder) - Pin a specific tag/branch/commit - Select a specific file or directory inside a repo to avoid cloning all the repo - Comments prefixed with # are suported The project is called *golla*, here is the repo: https://github.com/fulldump/golla All dependencies should be specified in a file called golla like this: # This is a golla file! # First, we will clone a repo to a dir: g...@github.com:fulldump/goconfig.git* ->* src/vendor/github.com/fulldump/goconfig # Here we will clone a specific version: g...@github.com:fulldump/golax.git*#**v0.6.1* -> src/vendor/github.com/fulldump/golax # Only a file is cloned here (for example, golla script itself): g...@github.com:fulldump/golla.git*>golla.go* -> golla.go I hope this script could be helpful for anyone else. Happy to learn from your feedback, Fulldump -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.