Comcast / Canticle

http://canticle.io
50 stars 5 forks source link

Add support for a ~/.cant git cache (like the ~/.m2 for maven) #10

Open schmidtw opened 8 years ago

schmidtw commented 8 years ago

The idea is to locally cache the git repos we need and use often locally. When we run cant it will check local to see if it can clone & checkout the specified branch. If not, then it will update the repo and then clone & checkout into our local project.

The big wins here are:

  1. I don't need to wait on github.com or whatever each time I start fresh. (faster)
  2. I can publish local stuff into my cant cache without the need of a github project (better)
  3. It's easier to work without a network or with a network that isn't 100% reliable. (stronger)
rfliam commented 8 years ago

The cache idea is a very good one. I will look into adding this.