I cannot figure out how I should access the repository from a CakePHP project called fredistrano (you can use CakePHP deployment using the Web 2.0 interface). I have fredistrano in my webcast directory on a unix shared web server. when i use tortoisesvn from my laptop i need to use svn + ssh: // username@domain.com / svnpath / trunk /. I tried using the same in fredistrano, but I keep getting the svn command "svn: network connection is unexpectedly closed". I copied and pasted the command: svn export --non-interactive --username myusername --password mypwd svn + ssh: // myusername@mydomain.com/home/myusername/svn/mydomain.com/trunk tmpDir 2> & 1 to my SSH terminal connected to a shared server and I get a password prompt, which I think is a valid SSH password prompt, not a password SVN (see this post ). fredistrano fails because it cannot work with SSH password. I noticed in the fredistrano documentation that the example uses http: // ipaddress / svn / testfor the svn url. I copied my svn into my direrctory webcast and tried this, but received a failure error message. My hosting provider is pretty strict and I doubt that I can use it. Is there a way that I can get svn + ssh to work with a PHP script as follows (fredistrano just uses shell_exec () to execute svn commands)? is there any way i can get only get svn, http or https working (or any other method that i don't know about)?
I am also interested in this problem, and I hope that I am close to a solution.
- , , :
shell_exec(svn something svn+ssh://...)
$response = trim(fgets(STDIN))
[ , ]
fwrite(STDOUT, 'yourpassword');
[ , SVN - , , ]
"svn: Network connection closed unexpectedly" , , / . (SVN, HTTP ..) , , -HTTP. SVN- HTTP- (, mod_dav_svn Apache).
"svn: Network connection closed unexpectedly"
mod_dav_svn
- . .
- svn-? , ( ?)
maybe check out Subversion PHP Module (1.0.3) instead of wrapping shell_exec; it requires building from source code with phpize, ./configureand make(just built it for PHP 5.6 and Subversion 1.9.5) ... while the Apache Module mod_dav (Subversion via HTTP / HTTPS) is not required for version control, but an optional access method to repository.
shell_exec
phpize
./configure
make
Source: https://habr.com/ru/post/1718375/More articles:Xcode and SCM conflict error - version-controlCreate iPhone Simulator from TextMate - iphoneReturn False if the variable is not logical - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1718373/convert-ansi-characters-to-utf-8-in-java&usg=ALkJrhjqr1jqT8IBPHy6kflbzgRHv3saIwJSP - аутентификация и авторизация - javaCould you offer a good media streaming server for mobile phone clients? - mobileget _complete_ process name from pid - linuxFilter a SharePoint List by Audience - sharepointHow to make the width of a stackpanel the width of another stackpanel? - widthHttpRequest.GetHashCode () - how often do collisions occur? - hashcodeAll Articles