Skip to content

Conversation

@achambers
Copy link
Member

@achambers achambers commented Jul 12, 2016

What Changed & Why

This PR adds the --dry-run flag to the ember-cli-dpeloy commands. This flag will enable a dry run of the pipeline execution, essentially, switching out the plugin hook implementations with an empty function. This will mainly be used to to test the execution order of plugins.

Related issues

N/A

PR Checklist

  • Add tests
  • Add documentation
  • Prefix documentation-only commits with [DOC] N/A

People

@ghedamat / @lukemelia

@achambers achambers self-assigned this Jul 12, 2016
@ghedamat
Copy link
Collaborator

👍 /cc @lukemelia

@lukemelia
Copy link
Contributor

What do you think a developer would expect from running with --dry-run? Personally I would think of rsync's behavior, where all actions occur except the ones that would mutate state of the machines involved, which just output what would have happened.

The proposed implementation would do a lot less than that, so perhaps we should a) let it do more, b) call it something else.

For (a), maybe there could be a way to allow plugins to opt-in to providing their own dry-run behavior?

@duizendnegen duizendnegen added this to the 1.1.0 milestone Dec 6, 2016
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.

4 participants