Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support repeated commands #54

Closed
wants to merge 2 commits into from

Conversation

robd
Copy link
Contributor

@robd robd commented Jul 10, 2015

First part of #53

I didn't need to do that rework of the command history to remove the clear method, but I still think it would be worth doing.

I tested this with my test cap task on SSHKit master, SSHKit 1.7.1 with NetSSH.

  task :test do
    on roles :web do
      execute(:ls, '-al')
      execute(:echo, 'hello')
      execute(:ls, '-al')
      execute(:echo, 'hello')
      execute(:ls, '-al')
    end
  end

Numbering now all looks good.

@robd
Copy link
Contributor Author

robd commented Jul 14, 2015

I am closing this because it causes undesirable behaviour in multi server setups. I will open a new PR if the changes to split the Command and CommandExecution land in SSHKit, but this seems a long way off.

@robd robd closed this Jul 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant