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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Version control with SVN + Piston


Go to End


1095 Views

Avatar
Chris_Bryer

Community Member, 35 Posts

28 June 2011 at 7:16am

Edited: 28/06/2011 7:16am

hey everyone,
I am trying to figure out the version control process for silverstripe core + customizations & modules. i am using subversion and have followed instructions here, and installed using the silverstripe installer master. i committed the installer files, checked them out to my-silverstripe-project, and tried running tools/new-project.

i have a few questions:
when i ran tools/new-project it threw errors because it wasnt a git repository. the only way i could install sapphire, themes, and cms was to run tools/new-project -m flat, but i dont know if this is the correct setup. it sounds like this approach breaks the links to the git repository

when we need to upgrade silverstripe 2.4.4 to silverstripe 3.0, how are we supposed to update those packages in subversion? is it something like this:

$ piston update local-path-to-sapphire-or-blog-module
$ svn add *
$ svn commit

i dont think this accounts for deleted folders & files though, does it?

i guess what i am most confused over is the "tools/new-project -m flat" command.. will this break future piston commands to update the local repo? if so, how do i get around the 'not a git repository' issue?

thanks,
-Chris