Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

What is the best way of installing a new module via SVN?


Reply


3 Posts   740 Views

Avatar
Tama

Community Member, 132 Posts

1 April 2010 at 9:31am

I've recently started using SVN as version control for our new Silverstripe. Unfortunately I'm a bit of a n00b when it comes to SVN and want to make sure I'm doing things properly so I don't cause myself more problems further down the line.

For a kick off I'm trying to work out how to add a new module via SVN install of just downloading the tar.gz file and extracting directly into the file system.

For example I'd like to install the User Forms module: http://svn.silverstripe.com/open/modules/userforms/trunk/

What commands (or Tortoise options) should I use to install this to a /userforms/ directory in my working copy?

Thanks in advance

Tama

Avatar
UncleCheese

Forum Moderator, 4096 Posts

1 April 2010 at 9:37am

I'm not sure about Tortoise, but what I do is keep only my "mysite" directory in my local copy, so it can have its own repository. Modules I check out right on the server. That way I can update them all asynchronously from the rest of my code.

svn co http://svnurl.com/trunk the_module_directory_you_want

Avatar
Tama

Community Member, 132 Posts

1 April 2010 at 10:19am

Thanks for that Uncle Cheese.