Displaying 7 results from an estimated 7 matches for "latest_revision".
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
...ower behavior, adding this line:
# =======================================================
# Extension to deploy to site5
# =======================================================
require ''switchtower/scm/subversion''
module SwitchTower
module SCM
class Subversion
def latest_revision
configuration.logger.debug "querying latest revision..." unless
@latest_revision
#repo = configuration.repository
repo = configuration.repository_from_dev
puts "usando repository_from_dev: #{repo}"
until @latest_revision
match = svn_log(...
2005 Aug 04
1
SwitchTower CVS support
...ill learning ruby so therefore I''m crap
2- I don''t have the required infrastructure to test the resulting script
3- Is it possible to discover the latest version of a repo fro CVS - I''m
not sure it is as each file has an individual version number, this makes
writing the latest_revision method a bit of a mare.
Anyway here''s where I got upto before I was dragged off to work on some
Java for a customer;
module SwitchTower
module SCM
# An SCM module for using CVS as your source control tool. Use it by
# specifying the following line in your configuration:...
2006 Feb 17
1
switchtower, CVS, and ''configuration.local''
...g latest revision..." and then it states "[update_code]
transaction: rollback"
I''m open to any and all suggestions at this point.
I put some logging statements in the switchtower code and it seems to fail
at this statement in switchtower-0.10.0/lib/switchtower/scm/cvs.rb
@latest_revision = cvs_log(configuration.local).
I can''t find ''configuration.local'' anywhere.
Where is configuration local defined?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060217/51a51ae9/...
2006 Mar 30
4
Capistrano Shovel onto Textdrive SVN error
...com/svn/ssdsvn/OlderPersonsPortal (Errno::ENOENT)
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/scm/subversion.rb:90:in `svn_log''
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/scm/subversion.rb:26:in `latest_revision''
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/configuration.rb:62:in `initialize''
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/configuration.rb:62:in `call''
from
C:/Instan...
2006 Feb 11
1
Switchtower deploy fails though setup works
...t;
servers: ["flydash.com"]
Password: ********
processing command
[flydash.com] executing command
command finished
rake aborted!
private method `scan'' called for nil:NilClass
c:/Program Files/Ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/
scm/subversion.rb:26:in `latest_revision''
c:/Program Files/Ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/
configuration.rb:58:in `initialize''
c:/Program Files/Ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/
configuration.rb:74:in `[]''
c:/Program Files/Ruby/lib/ruby/gems/1.8/gems/...
2006 Jan 26
0
Switchtower deploy failing...
...y/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/configuration.rb:197:in
`method_missing'': undefined method `local''
for #<SwitchTower::Configuration:0x102b58c8> (NoMethodError)
from
/usr/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/scm/cvs.rb:33:in
`latest_revision''
from
/usr/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/configuration.rb:58:in
`initialize''
from
/usr/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/configuration.rb:74:in
`[]''
from
/usr/lib/ruby/gems/1.8/gems/switchtow...
2006 Jun 15
1
Problem with deployment on TextDrive using shovel script
...truck/releases/20060615095133"
servers: ["codequest.com.pl"]
[codequest.com.pl] executing command
command finished
rake aborted!
private method `scan'' called for nil:NilClass
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/scm/subversion.rb
:26:in `latest_revision''
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/configuration.rb:
62:in `initialize''
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/configuration.rb:
62:in `call''
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/configuration....