public
Description: Quickly freeze and unfreeze external git dependencies
Homepage: http://wintoni.us/post/100956835/externals
Clone URL: git://github.com/winton/externals.git
name age message
file MIT-LICENSE Wed Mar 11 13:05:18 -0700 2009 First commit [winton]
file README.markdown Sat May 16 23:07:29 -0700 2009 README, gemspec description [winton]
file Rakefile Thu May 28 17:27:58 -0700 2009 Making output prettier (alphabetizing, formatting) [winton]
directory bin/ Sat Apr 25 00:15:13 -0700 2009 add filter option, externals freeze filter_string [tongueroo]
file externals.gemspec Thu May 28 17:27:58 -0700 2009 Making output prettier (alphabetizing, formatting) [winton]
directory lib/ Thu May 28 17:27:58 -0700 2009 Making output prettier (alphabetizing, formatting) [winton]
directory spec/ Mon Apr 27 01:12:00 -0700 2009 Version 1.0.0 [winton]
README.markdown

Externals

Quickly freeze and unfreeze external git dependencies.

Installation

sudo gem install winton-externals

Configuration

Create config/externals.yml:

acts_as_archive:
  repo: git://github.com/winton/acts_as_archive.git
  path: vendor/plugins
rails:
  repo: git://github.com/rails/rails.git
  path: vendor

Freeze or unfreeze

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

externals freeze
externals unfreeze

If you only want to freeze one of the items in config/externals.yml

externals freeze acts_as_archive
externals unfreeze acts_as_archive

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