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

Expose push to inspection and autofixes and remove broken considerOnlyChangedFiles option #568

Merged
merged 7 commits into from
Nov 5, 2018

Conversation

johnsonr
Copy link
Contributor

@johnsonr johnsonr commented Nov 3, 2018

The considerOnlyChangedFiles option on inspections and autofixes does not work, and making it work would be unreasonably complex and flaky (necessitating temporarily hiding files on disk and fooling git). The responsibility of handling this should move to inspections and autofixes themselves.

This PR exposes the PushListenerInvocation to inspections and autofixes if they are invoked on a push in an optional property. This enables them to work with changed files etc.

Rod Johnson and others added 7 commits November 3, 2018 10:14
@johnsonr johnsonr requested a review from cdupuis November 3, 2018 04:03
@cdupuis cdupuis added auto-merge:on-approve Auto-merge on review approvals auto-merge-method:squash Auto-merge with squash and merge changelog:changed Add this issue or pull request to changed changelog section breaking Mark this issue or pull request as breaking labels Nov 5, 2018
Copy link
Member

@cdupuis cdupuis left a comment

Choose a reason for hiding this comment

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

LGTM

@atomist-bot
Copy link
Contributor

Pull request auto merged by Atomist.

  • 1 approved review by @cdupuis
  • 2 successful checks

[atomist:generated] [auto-merge:on-approve]

@atomist-bot atomist-bot merged commit 0e8b91b into master Nov 5, 2018
@atomist-bot atomist-bot deleted the selective branch November 5, 2018 09:24
atomist-bot added a commit that referenced this pull request Nov 5, 2018
[atomist:generated]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge:on-approve Auto-merge on review approvals auto-merge-method:squash Auto-merge with squash and merge breaking Mark this issue or pull request as breaking changelog:changed Add this issue or pull request to changed changelog section
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants