Lee Hambley
16c5d3b71c
Replace literal tabs with two spaces
...
Most versions of `sed` don't accept `\t`, instead enter a literal tab with
Ctrl+v, Tab.
git ls-files | xargs sed -i '' -e 's/[\t]/ /g'
2013-04-02 21:20:33 +02:00
Lee Hambley
4acea20beb
Strip trailing whitespace from all files
...
(That is [spaceliteraltab] to type a tab on the CLI do Ctrl+v, tab)
git ls-files | xargs sed -i '' -e 's/[ ]*$//' ]'
2013-04-02 21:20:33 +02:00
Peter P. Gengler
84506c06e3
Update Servers#find_servers to not throw exception on unknown roles; instead return no servers so :on_no_matching_servers can determine whether to complain for the task or not.
2011-08-03 17:00:15 +00:00
Lee Hambley
a5d2e4c98c
Merge pull request #39 from bpaquet/master
...
Issue #36 Fix problem in previous fixing : crash if find_servers is called with a ServerDefinition object
2011-05-23 13:17:17 -07:00
Bertrand Paquet
c9f84f4936
Issue #36 Fix problem in previous fixing : crash if find_servers is called with a ServerDefinition object
2011-05-23 15:00:11 +02:00
Lee Hambley
3dfe5fafe0
Merge pull request #32 from johnf/master
...
Add HOSTROLEFILTER environment variable, allows commands `$ ROLEFILTER=web cap <stage> deploy`
2011-05-19 11:52:17 -07:00
Bertrand Paquet
4a0f86de63
Issue #36 Find_servers return [] if roles or hosts is nil or empty
2011-05-19 20:44:34 +02:00
John Ferlito
d7992a09d8
Add support for ROLEFILTER environment variable
...
ROLEFILTER is similar to HOSTFILTER. It basically takes a list of
roles and converts that to a list of hosts and acts as if you called
HOSTFILTER on those hosts.
2011-05-08 00:06:06 +10:00
Lee Hambley
ee13e9b1a3
* Applying patch from Rafa G. for #126
2010-02-14 15:41:07 +01:00
Eric Lindvall
ac9244d68a
Add option :skip_hostfilter to ignore HOSTFILTER on calls to find_servers.
2009-08-27 14:35:04 -07:00
Walter Smith
48685cabc3
Add ONLYHOSTS environment variable
...
If ONLYHOSTS is specified, tasks will only be invoked on hosts in that list, regardless of their options.
2008-09-18 08:09:43 -06:00
Jamis Buck
d558838408
tests all pass under Ruby 1.9
2008-09-06 16:11:16 -06:00
Jamis Buck
f6d3442b9c
changelog, tests for HOSTS change
2008-08-25 22:26:42 -06:00
Jamis Buck
b4bd52826c
fix tests to depend on a preset load path rather than an explicit require path in each
2008-04-25 09:21:12 -06:00
Jamis Buck
4d49ecad8b
Allow the :hosts and :roles keys to accept lambdas, which will be evaluated lazily to allow runtime selection of hosts and roles in tasks
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-17 14:27:47 +00:00
Jamis Buck
dae044f572
Pull the server selection code out of the task definition and into the configuration
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-01 04:20:33 +00:00