From: goodieboy Date: 2007-09-27T04:35:05+09:00 Subject: Re: Vlad the D. - help and observations Just an update here.. I found a problem. It was related to my login setup on the remote server. Whenever I issued a remote command, the first line in returned from the server was always: "stty: standard input: Invalid argument" - This was caused by some weirdness in my .tcshsrc file. I fixed that... Before I fixed it though, :previous_release would add "standard" to the end of the path like: /usr/local/projects/abonline-rake/releases/standard Because the last line will have what you want, how about: set(:releases) { task.run("ls -x #{releases_path}").split("\n").last.split.sort } Matt On Sep 26, 2:28 pm, goodieboy wrote: > Hi, > > I started using VD recently just to compare the differences with Cap. > Here goes: > > I like the idea, but where do you get support? Is there a google > group? So far, nothing compares to the support Jamis B. puts out on > his own. Not knocking you VD people, just a plug for Jamis! :) > > You guys really hype it up! Wow. It's not THAT much more simple than > Cap. > > I like the idea of it being lightweight! > > Why do you have mongrel code/paths mixed in with core.rb, when you > also have a separate mongrel.rb "app" recipe file? Why not put it all > in mongrel.rb? Becuase I don't use Mongrel, but there are things I can > use in core.rb; but I have to override :update and :setup_app because > they have mongrel/rails specific paths etc.. > > And the same for migrate? Why is that in core.rb? If my vote counted > I'd vote to move :migrate and :update out of the core. They're very > app specific. Everything else is very general and could be used by any > app. > > I think that Cap uses a SSH session, not so with VD. If you don't have > a key/agent setup, you're typing your password over and over. That's > not simple :) > > When trying to do a rollback, it asks me if I want to delete the > symbolic link for "current". I type "yes", I get an infinite hang. > Bummer. How can I get this to just work without typing in "yes" or > "y". And obviously, how do I get it to NOT hand on me? I've posted the > error stack below... > > Why is the fetch method not global like set? Is that just missing for > now? > > Other than that, I like it. Good work! Depending on what kind of help/ > feedback I get here, I may start using it. > > Thanks, > Matt > > Hang when doing rollback error stack: > > rake aborted! > > /opt/local/lib/ruby/gems/1.8/gems/vlad-1.1.0/lib/rake_remote_task.rb: > 534:in `join' > /opt/local/lib/ruby/gems/1.8/gems/vlad-1.1.0/lib/rake_remote_task.rb: > 534:in `execute' > /opt/local/lib/ruby/gems/1.8/gems/vlad-1.1.0/lib/rake_remote_task.rb: > 534:in `each' > /opt/local/lib/ruby/gems/1.8/gems/vlad-1.1.0/lib/rake_remote_task.rb: > 534:in `execute' > /opt/local/lib/ruby/gems/1.8/gems/vlad-1.1.0/lib/rake_remote_task.rb: > 143:in `execute' > /opt/local/lib/ruby/gems/1.8/gems/vlad-1.1.0/lib/rake_remote_task.rb: > 143:in `each' > /opt/local/lib/ruby/gems/1.8/gems/vlad-1.1.0/lib/rake_remote_task.rb: > 143:in `execute' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in > `invoke' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in > `synchronize' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in > `invoke' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `each' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in > `top_level' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run' > /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > /opt/local/bin/rake:16:in `load' > /opt/local/bin/rake:16