I am attempting to refactor some capistrano tasks from v2.15.4 to v3. I'm a little unsure what to do regarding code that uses the HOSTFILTER and ROLEFILTER ENV vars.
The release announcement (http://www.capistranorb.com/2013/06/01/release-announcement.html), claims that these are going away to be replaced by command line flags. However, some recent github commits seem to indicate otherwise. https://github.com/capistrano/capistrano/issues/446 Given the recent changes, is this refactoring correct? https://gist.github.com/tdwalton/873b0d9f39369430a4b3 Does Cap v3 simply reflect the HOSTFILTER env var in it's hosts collection? Or do I have to do some special handling of the env vars, in my task code, like before? I'm new to both Ruby and Capistrano, and am attempting to update an inherited release process, so please excuse any ignorance exhibited above. Thanks. -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
