Miles Georgi
2008-Oct-02 20:57 UTC
alternative to "script/plugin install -x" that works with git
I miss the svn:externals feature when installing plugins that are managed under git. the -x switch used to do this. I''ve released a gem called externals that manages subprojects in an scm agnostic way so that I can use an svn:externals-like workflow with git. It''s used like this: ext install git://github.com/rails/acts_as_list.git This accomplishes the same thing as: script/plugin install -x git://github.com/rails/acts_as_list.git (if you pretend -x works with git) I maintain a tutorial on how to use this gem to install ext and manage/deploy projects with subprojects managed in different SCMs at http://nopugs.com/ext-tutorial. I''ve been using it for my own projects and I find it really convenient. The tutorial is rails-centric, though it can be used for any project type. This is my first attempt at releasing a open source project to the community, any advice on how to get people interested in this project would be much appreciated. Thanks! Miles --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
scott
2008-Oct-02 21:14 UTC
Re: alternative to "script/plugin install -x" that works with git
how about git submodule? git submodule add git://github.com/rails/acts_as_list.git vendor/ plugins/acts_as_list git submodule init git submodule update On Oct 2, 4:57 pm, "Miles Georgi" <azi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I miss the svn:externals feature when installing plugins that are > managed under git. the -x switch used to do this. > > I''ve released a gem called externals that manages subprojects in an > scm agnostic way so that I can use an svn:externals-like workflow with > git. > > It''s used like this: ext install git://github.com/rails/acts_as_list.git > > This accomplishes the same thing as: script/plugin install -x > git://github.com/rails/acts_as_list.git (if you pretend -x works with > git) > > I maintain a tutorial on how to use this gem to install ext and > manage/deploy projects with subprojects managed in different SCMs athttp://nopugs.com/ext-tutorial. I''ve been using it for my own > projects and I find it really convenient. > > The tutorial is rails-centric, though it can be used for any project type. > > This is my first attempt at releasing a open source project to the > community, any advice on how to get people interested in this project > would be much appreciated. > > Thanks! > > Miles--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Miles Georgi
2008-Oct-02 21:43 UTC
Re: alternative to "script/plugin install -x" that works with git
Hi Scott, I have a lot of problems with git-submodule, and git-submodule was the main reason I wrote externals. I explain some of the things I don''t like about git-submodule at: http://nopugs.com/why-ext Also, if the main project is managed by subversion, then you can''t use git-submodule to manage a subproject. (likewise if the main project is managed via git with the subproject managed via svn.) Miles On Thu, Oct 2, 2008 at 2:14 PM, scott <scottnj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > how about git submodule? > > git submodule add git://github.com/rails/acts_as_list.git vendor/ > plugins/acts_as_list > git submodule init > git submodule update > > On Oct 2, 4:57 pm, "Miles Georgi" <azi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> I miss the svn:externals feature when installing plugins that are >> managed under git. the -x switch used to do this. >> >> I''ve released a gem called externals that manages subprojects in an >> scm agnostic way so that I can use an svn:externals-like workflow with >> git. >> >> It''s used like this: ext install git://github.com/rails/acts_as_list.git >> >> This accomplishes the same thing as: script/plugin install -x >> git://github.com/rails/acts_as_list.git (if you pretend -x works with >> git) >> >> I maintain a tutorial on how to use this gem to install ext and >> manage/deploy projects with subprojects managed in different SCMs athttp://nopugs.com/ext-tutorial. I''ve been using it for my own >> projects and I find it really convenient. >> >> The tutorial is rails-centric, though it can be used for any project type. >> >> This is my first attempt at releasing a open source project to the >> community, any advice on how to get people interested in this project >> would be much appreciated. >> >> Thanks! >> >> Miles > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---