Shows how much I follow the progress of RoR SVN…Jamis Buck checked in changeset 6487 2 months ago, which as far as I can tell is derived from my technique of checking dependencies as described in Using Capistrano To Check For Deployment Dependencies.
Nice work Jamis, looks good!
Given that we’re using my original technique at my work, we haven’t had the opportunity to switch over to Capistrano 2 yet…but I’ll get there. I think I’ll need to submit a few patches, though, given that there are some things that aren’t supported yet such as executing a command and checking the results to see if it matches a regular expression. Something like this:
1 2 3 4 5 | |
You’ll notice that this is YAML (YAML Ain’t Markup Language). I’m storing dependencies in a file called dependencies.yaml, which gets auto-loaded when I load my DependencyChecker module/plugin. I could also do this:
1 2 3 4 5 | |
Or perhaps:
1 2 3 4 5 | |
Doing it like this means I get platform-agnostic dependency checking, which would be a great feature for Capistrano 2’s dependency checking implementation.