Jump to:

23479 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Version control with SVN + Piston

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

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

Page: 1
Go to End
Author Topic: 544 Views
  • Chris_Bryer
    Community Member
    35 Posts

    Version control with SVN + Piston Link to this post

    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?


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.