Externals

Quickly freeze and unfreeze external git dependencies.

Installation


sudo gem install winton-externals

Configuration

Create config/externals.yml:


pa_stats:
  repo: [email protected]:br/pa_stats.git
  path: vendor/gems

Freeze or unfreeze

You can run either of these for the first time, depending on what you want:


externals freeze
externals unfreeze

The usual flow is to unfreeze, commit to the external, freeze, and commit to the parent project.

Your .git directories will be zipped and stored in /tmp when frozen, and moved back to the external when unfrozen.

Are my externals frozen?

When you want to know the status of your externals:


externals status