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

Fix @no-clobber behavior #535

Merged
merged 3 commits into from
Feb 2, 2018
Merged

Fix @no-clobber behavior #535

merged 3 commits into from
Feb 2, 2018

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Feb 2, 2018

Summary

Ensure setup is run even if files are not clobbered.

Details

See #529.

Motivation and Context

Fixes #527.

How Has This Been Tested?

Scenarios were updated to demonstrate that setup is also run when @no-clobber is set, but files are not clobbered.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Update documentation

Checklist:

  • I've added tests for my code

mvz and others added 2 commits February 2, 2018 14:26
@no-clobber does not call Setup#call *at all*, which causes the
process monitor to not be listening to process events
def setup_aruba
Aruba::Setup.new(aruba).call
def setup_aruba(clobber: true)
Aruba::Setup.new(aruba).call(clobber: clobber)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This syntax is the incompatible one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but it should be fine on master since we dropped support for 1.8.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah bummer, I forgot this won't work with 1.9 either 😞

@mvz mvz merged commit f134e1f into master Feb 2, 2018
@mvz mvz deleted the issue-527-fix-no-clobber branch February 2, 2018 17:41
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.

@no-clobber may break process monitoring
3 participants