|
Re: Deployment servers inside VPN: msg#00161lang.ruby.capistrano.general
Hi, yes this is a solution. I have only added argument to query_revision because it takes one. So line you have suggested to me now looks like this: set(:real_revision) { source.query_revision( revision ) { |cmd| capture(cmd) } } Thank you very much Jamis. Viktor On Nov 24, 3:31 pm, Jamis Buck <ja...-uHoyYlH2B+GakBO8gow8eQ@xxxxxxxxxxxxxxxx> wrote: > Try overriding the :real_revision variable so that it looks something > like this: > > set(:real_revision) { source.query_revision { |cmd| capture(cmd) } } > > - Jamis > > On Nov 24, 2007, at 7:07 AM, viktor wrote: > > > > > Hi, > > > I have configuration in which app, db and web servers are placed > > inside corporate network and SVN repository is placed outside. > > Firewall is configured to allow connections from servers to remote SVN > > repository. > > > Developers are using VPN clients to access corporate network. Because > > of security reasons clients (developers) are not allowed to connect to > > Internet through VPN, which is why they can not see SVN repository > > directly. > > > Capistrano hangs on update_code command because it tries to retrieve > > real svn revision by issuing svn info svn://xxx.xxx.xxx/repo -rHEAD > > locally on developers machine. > > > What is best way to change this behavior. I would like to force > > execution of above mentioned command on remote host (which have access > > to SVN repository). > > > I suppose I should override query_revision method?? > > > Thx. in advance! > > > Viktor > > > > > > smime.p7s > 3KDownload |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Deployment servers inside VPN: 00161, Jamis Buck |
|---|---|
| Next by Date: | ##### FUCKING INDIAN SEX VIDEO MOVIE FREE######xxxxxxxxxxxxxxxxxxxxxxx,,.,.,.,..,<>><<><><><><><><><><>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<< <<<<<<<<>><: 00161, gh |
| Previous by Thread: | Re: Deployment servers inside VPNi: 00161, Jamis Buck |
| Next by Thread: | ##### FUCKING INDIAN SEX VIDEO MOVIE FREE######xxxxxxxxxxxxxxxxxxxxxxx,,.,.,.,..,<>><<><><><><><><><><>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<< <<<<<<<<>><: 00161, gh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |