Svn externals and git submodules

This is a request to split up the repository into at least two
repositories

rspec
rspec_core (loaded as svn_external or git submodule)
rspec_on_rails (loaded as svn_external or git submodule)

We could load the plugins the same way as before
ruby script/plugin install
http://rspec.rubyforge.org/svn/trunk/rspec_core
ruby script/plugin install
http://rspec.rubyforge.org/svn/trunk/rspec_on_rails

but it would be easier to install from git using git submodules

using git and calling from RAILS_ROOT

git submodule add git//github.com/dchelimsky/rspec_on_rails.git
vendor/plugins/rspec_on_rails
git submodule add git//github.com/dchelimsky/rspec_core.git
vendor/plugins/rspec

On Tue, Mar 18, 2008 at 8:41 PM, Dominic S. [email protected]
wrote:

This is a request to split up the repository into at least two repositories

I forwarded this to
http://rspec.lighthouseapp.com/projects/5645/tickets/347. Please make
future feature requests there instead of this mailing list.

Thanks,
David

On Tue, Mar 18, 2008 at 10:41 PM, Dominic S. [email protected]
wrote:

but it would be easier to install from git using git submodules

using git and calling from RAILS_ROOT

git submodule add git//github.com/dchelimsky/rspec_on_rails.git
vendor/plugins/rspec_on_rails
git submodule add git//github.com/dchelimsky/rspec_core.git
vendor/plugins/rspec

Wow, a short command line to type, putting that into my brain will
push out of the stack my 3 years old memories…

Wouldn’t be better submit some patches to Rails and make script/plugin
Git-aware?


Luis L.
Multimedia systems

Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams

rails/plugin is git aware already in trunk for cloning a git repository.
However, you can only clone from the git repository root (the directory
which contains the .git directory). You can’t clone from a
subdirectory.
That’s why the project needs to be split to install both rspec and
rspec_on_rails in the vendor/plugins directory using git.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs