About me


  • rumble has started 1 topic. 2 people are following it.
  • rumble has made 1 reply.

Recent activity

Subscribe to this feed
  • question

    rumble replied on January 15, 2008 23:21 to the question "SVN+SSH with Capistrano" in Beanstalk:

    rumble
    Thanks for the prompt reply.

    Sounds like the method you've suggested will work perfectly!
  • star

    rumble marked one of Dima Sabanin's replies in Beanstalk as useful. Dima Sabanin replied to the question "SVN+SSH with Capistrano".

  • question

    Dmitry Sabanin replied on January 15, 2008 23:04 to the question "SVN+SSH with Capistrano" in Beanstalk:

    Dmitry Sabanin
    Hi.

    We use Capistrano in Beanstalk too. Just put this in your deployment recipe:

    set :repository, "http://svn.*.beanstalkapp.com/repo1/trunk/application"

    Then, create a read-only user in beanstalk, and you'll be set.

    In our case, it didn't involve any additional setup, since we use same authentication credentials for svn as we use for ssh, so there's no need to specify svn password separately. But if you want to I think Capistrano has an option for this.

    An advantage of svn+ssh way is that it's more secure, but it's more difficult to setup and harder to manage user permissions, since after connection made it through SSH, it's just becomes a raw file access to a filesystem, skipping all the authz files. Feels wrong to me.

    Security problem of http way can be solved by using https to connect to svn and we are moving in that direction. SSL access should be available this week. It's a shame it took us so long.
  • question

    rumble asked a question in Beanstalk on January 15, 2008 22:18:

    rumble
    SVN+SSH with Capistrano
    I've recently been looking in to moving some of my SVN repositories over to Beanstalk - it looks like a great little app and looks like it could be very useful.

    I've got a quick question about SVN+SSH checkout with Beanstalk.

    With my current setup I use Capistrano to deploy my Rails apps and that uses SVN+SSH to checkout the latest revision of my code.

    It looks something like this "svn+ssh://user@domain.com/~/svn/repository/trunk"

    Does Beanstalk allow this kind of access, and if not do you have any suggestions as to how I might configure Capistrano to work with your set up?

    Thanks,
    Mike.