I started a thread here => 
http://groups.google.com/group/capistrano/browse_thread/thread/81e3d5aa5d483575
that talked about how I was getting errors with Cap and deployment
from subversion via https.  Well through more testing it appears to be
an issue with subversion 1.4.5

I have two hosts, on is running Svn 1.3 and is labeled DEV_HOST and
the other is running Svn 1.4.5 and is labeled PROD_HOST.  On each host
I removed the the ~/.subversion directory to make it as homogeneous as
possible.

Below is the output from each host while running deploy:cold.  You
will notice that the "production" stage immediately returns the
password prompt as and error but the "staging" stage displays it
normally and prompts for the acceptance of the certificate then the
password for the repository.

Now if i manually run the svn checkout command as cap does on
PROD_HOST (svn 1.4.5) it prompts for acceptance of the certificate
then password then checkouts the app with no issue.  If I run
deploy:cold for the "production" stage after I ran the svn checkout
manually, deploy:cold runs with no error.

It's a kludge but it appears to work fine.

Note: PROD_HOST hosts the subversion server and all Cap commands were
run from DEV_HOST

--- output---
cap deploy:cold STAGE=production
  * executing `deploy:cold'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
  * executing "svn checkout -q  -r117 
https://PROD_HOST/repos/Projects/depot/trunk
/u/apps/depot/releases/20071010163218 && (echo 117 > /u/apps/depot/
releases/20071010163218/REVISION)"
    servers: ["PROD_HOST"]
Password:
    [PROD_HOST] executing command
 ** [err] Error validating server certificate for 'https://PROD_HOST:
443':
 ** - The certificate is not issued by a trusted authority. Use the
 ** fingerprint to validate the certificate manually!
 ** Certificate information:
 ** - Hostname: PROD_HOST
 ** - Valid: from Sep  6 19:23:46 2006 GMT until Sep  3 19:23:46 2016
GMT
 ** - Issuer: DELETED
 ** - Fingerprint: DELETED
 ** (R)eject, accept (t)emporarily or accept (p)ermanently?
 ** [err] Authentication realm: <https://PROD_HOST:443> Subversion
repository
 ** [err] Password for 'dacat':
 ** [err] Authentication realm: <https://PROD_HOST:443> Subversion
repository
 ** [err] Username:



cap deploy:cold STAGE=staging
  * executing `deploy:cold'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
Error validating server certificate for 'https://PROD_HOST:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: PROD_HOST
 - Valid: from Sep  6 19:23:46 2006 GMT until Sep  3 19:23:46 2016 GMT
 - Issuer: DELETED
 - Fingerprint: DELETED
(R)eject, accept (t)emporarily or accept (p)ermanently? p
Authentication realm: <https://PROD_HOST:443> Subversion repository
Password for 'dacat':
  * executing "svn checkout -q  -r117 
https://PROD_HOST/repos/Projects/depot/trunk
/u/apps/depot/releases/20071010163439 && (echo 117 > /u/apps/depot/
releases/20071010163439/REVISION)"
    servers: ["DEV_HOST"]
Password:


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to