OK thank you,
So I setup keys for the ssh user... is it possible to set it up for
the svn user also?
matt
On Apr 5, 4:26 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> On Apr 5, 2007, at 2:18 PM, goodieboy wrote:
>
> > Great. I have it working now! Is it possible to have it so the output
> > can NOT show the username and password?
>
> If you set up public keys and use those you can get rid of the
> password, but there's no way to avoid the use of the username in the
> svn command-line.
>
> > Also, the line breaks in my output are "\n". Is there a way to fix
> > that?
>
> Nope. That's just how Capistrano displays the command before it sends
> it out the remote server.
>
> - Jamis
>
>
>
> > Thank you!
> > matt
>
> > On Apr 5, 4:15 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> >> You can tell subversion to use a different username+password by
> >> setting a couple variables:
>
> >> set :svn_username, "my svn username"
> >> set :svn_password, "my svn password"
>
> >> If you don't want to set the password explicitly in your recipe like
> >> that, you can make capistrano prompt you for it like this:
>
> >> set(:svn_password) { Capistrano::CLI.password_prompt("Subversion
> >> password: ") }
>
> >> - Jamis
>
> >> On Apr 5, 2007, at 2:03 PM, goodieboy wrote:
>
> >>> Thank you for that. I've gotten a little farther from that and now
> >>> have... well more questions!
>
> >>> My svn user is different than the current logged in user
> >>> executing cap
> >>> commands. My svn server address is like:
> >>>https://svn.com/respos/project-root/rails-root
>
> >>> How exactly would the script now how to log in to the svn repository
> >>> if it assumes the logged in user to be the svn user also?
>
> >>> I have been pressing enter with no password, and the the prompt asks
> >>> for the user name, which I then enter and then the real password.
> >>> Seems to work... it then asks for an ssh password. I enter that, and
> >>> then it asks me for the svn password again. At that point I enter
> >>> nothing, it asks me for the svn username, I hit enter and that is as
> >>> far as I get.
>
> >>> When I ran cap setup, it worked fine.
>
> >>> Why is it getting hung up on that last part, and then not asking me
> >>> for an svn password?
>
> >>> Thanks for any help you may have,
> >>> matt
>
> >>> On Apr 4, 2:28 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> >>>> On Apr 4, 2007, at 8:56 AM, goodieboy wrote:
>
> >>>>> Just getting Capistrano running on an app here. The application
> >>>>> I'm
> >>>>> running is served by mongrel clusters via apache. The
> >>>>> application is
> >>>>> actually in a sub-directory. So... would I set role :web, "http://
> >>>>>www.domain.com/myapp-sub-folder"?
>
> >>>> The role is simply the machine itself, e.g.:
>
> >>>> role :web, "www.domain.com"
>
> >>>> You would specify the actual path you are deploying to in
> >>>> the :deploy_to variable:
>
> >>>> set :deploy_to, "/full/path/of/myapp-sub-folder"
>
> >>>> Note that this folder will then contain the "releases" and "shared"
> >>>> directories, created for you by `cap setup'. Each time you
> >>>> deploy, a
> >>>> new directory is added under the #{deploy_to}/releases
> >>>> directory, and
> >>>> symlinked via #{deploy_to}/current.
>
> >>>>> Also, the svn repository has a sub folder for the app. So would I
> >>>>> also
> >>>>> set that to the sub folder like:
> >>>>> set :repository, "https://mysvn.com/svn-repository-root/
> >>>>> #{application}"
>
> >>>> Put, for the repository, whatever you would use when running
> >>>> subversion on the command-line. In other words, if the following
> >>>> works for you:
>
> >>>> svn cohttps://mysvn.com/svn-repository-root/application
>
> >>>> Then that URL is what you would put for the :repository variable:
>
> >>>> set :repository, "https://mysvn.com/svn-repository-root/
> >>>> application"
>
> >>>> - Jamis
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---