Forum: Rails Engines OT? Using SVN on a project and for engines

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D4e51fd9554030ab55c379fdc1a34826?d=identicon&s=25 Keith Lancaster (klancaster)
on 2006-01-12 17:31
Apologies in advance if this seems a bit off topic, but this seemed like
a starting point for this question.

I installed the engine plugin using the svn method described on the
engines wiki. No problem doing so, and it seems a good idea. I then
installed the login and user  engines using the script/plugin install
method, and after (quite a few!) hours got them working.

We use subversion to manage our application as a whole, so now I have an
interesting issue. I need to insure that everyone is using the same
version of all engines, but since I did the install using the external
svn call, I can't add the code to OUR svn repository (or more correctly,
I don't know how to do this!). On the surface, the answer might be "just
have everyone set up their external calls the same way", but that
potentially becomes an issue of its own, esp. when/if we have to modify
plugin code.

Any thoughts / pointers on how we might manage this issue?

TIA,
Keith
Ed5facbfa0a54d5cc4d2af9fc98d46b6?d=identicon&s=25 Tim Greiser (tgreiser)
on 2006-01-12 18:07
Keith Lancaster wrote:
> We use subversion to manage our application as a whole, so now I have an
> interesting issue. I need to insure that everyone is using the same
> version of all engines, but since I did the install using the external
> svn call, I can't add the code to OUR svn repository (or more correctly,
> I don't know how to do this!). On the surface, the answer might be "just
> have everyone set up their external calls the same way", but that
> potentially becomes an issue of its own, esp. when/if we have to modify
> plugin code.

Just point your svn:externals property at the tag for the version you
want everyone to have.  ie:

engines http://opensvn.csie.org/rails_engines/engines/tags/rel_1.0.4

Tim.
00e3a96684ab390a350b0271e98741d3?d=identicon&s=25 Nshbrown Nshbrown (nshb)
on 2006-01-12 19:44
(Received via mailing list)
Installing via the -x flag.. Ex:

Script/plugin install -x
http://opensvn.csie.org/rails_engines/engines/tags/rel_1.0.4

Adds it automatically to your svn:externals property and will be updated
automatically along with the rest of your working copy when you SVN up.

-Nb.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Nathaniel S. H. Brown                           http://nshb.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ce472655bd6e818fe8b5fd0ae57e45af?d=identicon&s=25 Scott Eade (seade)
on 2006-01-23 05:11
Nathaniel Brown wrote:
> Installing via the -x flag.. Ex:
>
> Script/plugin install -x
> http://opensvn.csie.org/rails_engines/engines/tags/rel_1.0.4
>
> Adds it automatically to your svn:externals property and will be updated
> automatically along with the rest of your working copy when you SVN up.
Okay, but this gives me a directory called vendor/plugins/rel_1.0.4 when
I really want vendor/plugins/engines - how can I sepecify the branch and
have the directory named correctly?

TIA,
Scott
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-01-23 11:19
(Received via mailing list)
cd <your_project>/vendor/plugins;
svn co http://opensvn.csie.org/rails_engines/engines/tags/rel_1.0.4
engines
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-01-23 11:19
(Received via mailing list)
Also:
- replace rel_1.0.4 with whatever version you want to use;
- you can track bugs to the current release by using the revision at
  http://opensvn.csie.org/rails_engines/engines/bran...

- james
Ce472655bd6e818fe8b5fd0ae57e45af?d=identicon&s=25 Scott Eade (seade)
on 2006-01-23 11:46
James Adam wrote:
> cd <your_project>/vendor/plugins;
> svn co http://opensvn.csie.org/rails_engines/engines/tags/rel_1.0.4
> engines

Thanks for that.  I wasn't sure if I could do something like that or if
the "plugin install" did something more.

Scott
This topic is locked and can not be replied to.