Update for capistrano 2.9.0 #213

Closed
wants to merge 3 commits into
from

Projects

None yet

3 participants

@giacomomacri

Use deploy:create_symlinks instead of deploy:symlink to update crontab in capistrano 2.9.0

@javan
Owner
javan commented Feb 14, 2012

Is this backwards compatible? Did deploy:create_symlink replace deploy:symlink or is it aliased somehow? I wonder if there's a better task to run after, maybe deploy:finalize_update?

giacomomacri added some commits Feb 14, 2012
@giacomomacri

I've ammend commit (sorry for merge), now update_crontab is before deploy:restart that is surely backward compatible in all version of capistrano. For info: there's no alias for deploy:symlink,I haven't found it. It seems that this task has been removed.

@jlecour
jlecour commented Feb 24, 2012

With Capistrano 2.11.2, the deprecation warning is :

[Deprecation Warning] This API has changed, please hook `deploy:create_symlink` instead of `deploy:symlink`.
@javan javan added a commit that closed this pull request Feb 24, 2012
@javan run whenever:update_crontab before deploy:resart because the symlink …
…task was renamed in a later versions of Cap making it impossible to be compatible with old and and new version using that task as a hook. close #213
fba25d3
@javan javan closed this in fba25d3 Feb 24, 2012
@javan
Owner
javan commented Feb 24, 2012

Thanks. I just released v0.7.3 to fix this. (I made the commit myself because the commits in this merge got messy, but I gave you credit in the changelog).

@jlecour
jlecour commented Feb 24, 2012

Great. Thanks

@giacomomacri

Wonderful. Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment