Not logged in (Log in or Sign up)

astrovan

simple, lightweight deployment tasks

WHY?

First, I want to say that I’m not doing this because I don’t like capistrano.

I do like (ok, love) capistrano, but think that it can maybe be done a bit more simply.

This is my attempt.

Installation

    $ script/plugin install git://github.com/sbfaulkner/astrovan.git

Sample recipes

Update only

    require 'astrovan'

    using 'www.example.com' do
      deploy 'git://github.com/sbfaulkner/scanty.git'
    end

CHANGES

0.6.1

  • change deploy method’s :deploy_to option to simply :to

0.6.0

  • initialize and update submodules after cloning the application

0.5.9

  • add render method

0.5.8

  • add put and upload file transfer methods

0.5.7

  • fix bug when symlink to directory already exists

0.5.6

  • support for specification of git and rake command paths

0.5.5

  • change working directory for rake tasks

0.5.4

  • handle github private repository urls

TODO

  • prevent/allow overwrite by put/upload
  • stdin handling for exec
  • stdout/stderr handling for exec
  • other commands (all using exec)
    • cp ?
    • mv ?
  • move magic vars into separate context to avoid collision with method names
    • e.g. rake method and rake var collision forces access of environment[:rake] instead of self.rake

Legal

Author:S. Brent Faulkner <brentf@unwwwired.net>
License:Copyright © 2009 unwwwired.net, released under the MIT license

Source code

github repository