Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
"after :update_code, :foo" inside "namespace :deploy"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tobi Reif  
View profile  
 More options Nov 7 2007, 5:37 am
From: Tobi Reif <tobiasr...@pinkjuice.com>
Date: Wed, 7 Nov 2007 11:37:45 +0100
Local: Wed, Nov 7 2007 5:37 am
Subject: "after :update_code, :foo" inside "namespace :deploy"
Hi

This doesn't seem to work:

  namespace :deploy do

    after :update_code, :fix_script_perms

    task :fix_script_perms do
      # ...
    end

  end

But this worked:

  after "deploy:update_code", :fix_script_perms

  task :fix_script_perms do
    # ...
  end

This works as well:

  after "deploy:update_code", "deploy:fix_script_perms"

  namespace :deploy do

    task :fix_script_perms do
      # ...
    end

  end

I'd like to leave the fix_script_perms (etc) tasks inside the deploy
namespace, and I'd like to omit the namespace prefix in the
after/before lines. Is there a way to do this? Should/could the
following work?

  namespace :deploy do

    after :update_code, :fix_script_perms

    task :fix_script_perms do
      # ...
    end

  end

Tobi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mislav Marohnić  
View profile  
 More options Nov 7 2007, 9:16 am
From: "Mislav Marohnić" <mislav.maroh...@gmail.com>
Date: Wed, 7 Nov 2007 15:16:41 +0100
Local: Wed, Nov 7 2007 9:16 am
Subject: Re: [Capistrano] "after :update_code, :foo" inside "namespace :deploy"

On Nov 7, 2007 11:37 AM, Tobi Reif <tobiasr...@pinkjuice.com> wrote:

> This doesn't seem to work:

>  namespace :deploy do
>    after :update_code, :fix_script_perms

I've been bitten by this and forgot to report.

I think Tobi and mine expectations are also that of most users. This should
be fixed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jamis Buck  
View profile  
 More options Nov 7 2007, 9:39 am
From: Jamis Buck <ja...@37signals.com>
Date: Wed, 7 Nov 2007 07:39:23 -0700
Local: Wed, Nov 7 2007 9:39 am
Subject: Re: [Capistrano] "after :update_code, :foo" inside "namespace :deploy"

Yeah, that doesn't work. But if you work up a patch, I'd consider it.

- Jamis

On Nov 7, 2007, at 3:37 AM, Tobi Reif wrote:

  smime.p7s
3K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »