Feature Requests: Browse | Submit New | Admin

[#20767] remote_task should pass a task param, |t|, like task does

Date:
2008-06-21 17:00
Priority:
3
Submitted By:
Daniel Kionka (dkionka)
Assigned To:
Ryan Davis (zenspider)
Category:
vlad
State:
Closed
Summary:
remote_task should pass a task param, |t|, like task does

Detailed description
It is very convenient to have the |t| parameter that rake defines in task.  I like to end every task with:

puts "#{t} succeeded"

With remote_task I have to copy/paste in the name of the task.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-08-03 19:47
Sender: Daniel Kionka

This request was fixed in p4 change 4119 by drbrain with a 
patch I submitted.  Besides defining task, it now defines 
args, which is new in rake-0.8.1.

This change also includes another patch I submitted to 
allow an empty list of hosts for a role.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2008-08-03 19:47dkionka
close_date2008-08-03 19:472008-08-03 19:47dkionka