Jump to:

23377 Posts in 18296 Topics by 2868 members

General Questions

SilverStripe Forums » General Questions » [Solved] Piston, GIT etc etc

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: 747 Views
  • Mo
    Avatar
    Community Member
    505 Posts

    [Solved] Piston, GIT etc etc Link to this post

    Ok, given that everything is moving to git, I have decided to take the plunge and see what all the fuss is about. Was all going ok, until I started to try getting an Silverstripe SVN project converted to using piston to manage externals.

    No matter what I do, I just get the same errors, looks like they are from piston itself. Could someone who is using this successfully just post an install guide or something? I have tried this on 3 systems (mac/ubuntu and win 7) all with the same result.

    Currently, what I do:
    Install Ruby
    Install Piston "gem install piston"
    cd to my working copy and then try to do a "piston convert"

    Then it fails.

    Is this what I am supposed to be doing? If so, what version of Ruby/Piston are you using?

    Any help appreciated, I think my brain is starting to leak!

    Mo

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: [Solved] Piston, GIT etc etc Link to this post

    Haven't tried piston convert before, the safest option for core at least will be to remove the folders then reimport using piston import.

  • Mo
    Avatar
    Community Member
    505 Posts

    Re: [Solved] Piston, GIT etc etc Link to this post

    Thanks for the response Willr, so are you saying:

    1. Checkout current project
    2. Remove svn:externals
    3. Use piston import for each external source
    4. Check project back in

    I guess you could use git-svn with this as well?

    Mo

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: [Solved] Piston, GIT etc etc Link to this post

    Yes thats roughly the safest way to do it. Not sure regarding git-svn. I used git-svn mainly for pulling svn repos into git projects, you of course will need it to do the converse of that.

  • Mo
    Avatar
    Community Member
    505 Posts

    Re: [Solved] Piston, GIT etc etc Link to this post

    Cool, it all seems to be working so far. I was mentioning git-svn because I need it to do exactly that .

    Still quite new to git so I am just finding my way around. already quite impressed with the performance improvements!

    747 Views
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.