# Plugin versioning

**URL:** <https://www.ruby-forum.com/t/plugin-versioning/54348>\
**Category:** Rails\
**Created:** [March 2, 2006, 2:04am UTC](https://www.ruby-forum.com/t/plugin-versioning/54348 "2006-03-02T02:04:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [March 2, 2006, 2:04am UTC](https://www.ruby-forum.com/t/plugin-versioning/54348/1 "2006-03-02T02:04:48Z")

</div>

When I install a plugin, does Rails record the version installed  
anywhere?  
Maybe I’m not doing it the “right” way, but I’ve excluded vendors from  
my  
source repository. I’d like some ‘record’ of what plugins are used that  
is  
under source control.

David

---

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [March 2, 2006, 7:24am UTC](https://www.ruby-forum.com/t/plugin-versioning/54348/2 "2006-03-02T07:24:38Z")

</div>

On 01/03/06, David C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> When I install a plugin, does Rails record the version installed anywhere?  
> Maybe I’m not doing it the “right” way, but I’ve excluded vendors from my  
> source repository. I’d like some ‘record’ of what plugins are used that is  
> under source control.

If you are working with svn use svn:externals:

$ svn propset svn:externals “rcss\_engine  
svn://rubyforge.org/var/svn/rcss/trunk/rcss” vendor/plugins  
$ svn ci -m “added rcss\_engine to plugins and put it under version  
control”  
$ svn up vendor/plugins

If you use a tag url you will always know which exact tag of  
plugin/engine you are using. You can in addidtion specify exact  
version to include (see Subversion manual).

If you use other VCS than try to find similiar functionality.

---

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [March 2, 2006, 11:13am UTC](https://www.ruby-forum.com/t/plugin-versioning/54348/3 "2006-03-02T11:13:26Z")

</div>

On Thursday 02 March 2006 01:24 am, Åukasz Piestrzeniewicz wrote:

> $ svn ci -m “added rcss\_engine to plugins and put it under version control”  
> $ svn up vendor/plugins
> 
> If you use a tag url you will always know which exact tag of  
> plugin/engine you are using. You can in addidtion specify exact  
> version to include (see Subversion manual).
> 
> If you use other VCS than try to find similiar functionality.

I don’t think that comes close to what I want. That keeps my personal  
workspace up to date (if I understand SVN). I want my projects source  
repository to know what it depends that’s not in it.

And more to the point, I’m talking about when I use “script/plugin  
install”.

---

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [March 2, 2006, 5:29pm UTC](https://www.ruby-forum.com/t/plugin-versioning/54348/4 "2006-03-02T17:29:51Z")

</div>

On 02/03/06, David C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I don’t think that comes close to what I want. That keeps my personal  
> workspace up to date (if I understand SVN). I want my projects source  
> repository to know what it depends that’s not in it.
> 
> And more to the point, I’m talking about when I use “script/plugin install”.

Actually that is exactly what it does. Value of svn:externals is  
stored in your project repository. That means that every person that  
checks out your project will automatically check out version you  
provided with -r parameter from external repository location you  
specified.
