This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | Wed Sep 24 01:14:31 -0700 2008 | |
| |
Rakefile | Tue Sep 23 23:57:15 -0700 2008 | |
| |
init.rb | Wed Sep 24 01:14:31 -0700 2008 | |
| |
lib/ | Wed May 20 01:21:04 -0700 2009 | |
| |
spec/ | Wed May 20 01:10:18 -0700 2009 | |
| |
tasks/ | Wed Sep 24 01:14:31 -0700 2008 |
README
GitPlugins ========== This is a simple plugin has a set of rake tasks to keep track of Rails plugins that are kept in Git repositories. The idea is to provide at least some of the functionality of svn externals. I keep my Rails application in Git and I develop open source Rails plugins that each live in their own repositories. This plugin provides a way to keep track of those plugins and: 1) Bootstrap your Rails app by cloning all the Git plugins needed under vendor/plugins. 2) Add all git plugins to .gitignore. 3) Be able a git status or git pull on all Git plugins. As an alternative to using this plugin or some other approach to nested Git repositories you might want to check out Git submodules and the git-rake rake tasks for managing them: http://github.com/mdalessio/git-rake/tree/master Please note that Git submodules don't work like svn externals though and as it says in the git-rake README: "git submodules are inherently not well-suited for frequently updated projects" For more discussion and alternatives, check out these links: http://panthersoftware.com/articles/view/3/svn-s-svn-externals-to-git-s-submodule-for-rails-plugins http://effectif.com/2008/4/24/easy-git-svn-for-rails Example ======= Add the file config/git_plugins.rb: GitPlugins.configure do |g| g.plugin :name => "server_config", :url => "git://github.com/peter/server_config.git" end Checkout the plugin and add it to .gitignore: rake git:plugins:checkout Check status and update your plugins: rake git:plugins:status rake git:plugins:pull Copyright (c) 2008 Peter Marklund, released under the MIT license







