Skip to content

Fixed up the squash and merge support to match the git api. #768

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

Merged
merged 4 commits into from
Jan 12, 2018

Conversation

shield007
Copy link
Contributor

The squash parameter has been removed form the github API. There is now a 'merge_method' parameter. See https://developer.github.com/changes/2017-04-07-end-merge-methods-api-preview/ for more details.

This PR changes the pull request merge method to allow the merge_method to be set. It is optional and has the same default value (merge) as the underlying github API.

The squash method has been removed as this no longer works.

@shield007
Copy link
Contributor Author

I can see the tests failed. I'll look to fix them up.

@sigmavirus24
Copy link
Owner

Hey there, this is a great start. I'm wondering if you'd be willing to rebase to get rid of the test failures in Milestone.labels()'s test and then fix up the Flake8 errors reported by our CI.

@shield007
Copy link
Contributor Author

Tests are now passing. So it should be in a good state for merging in.

Copy link
Collaborator

@omgjlk omgjlk left a comment

Choose a reason for hiding this comment

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

Looks great to me. I'm going to squash merge this in to drop the merge commit.

@omgjlk omgjlk merged commit 785562d into sigmavirus24:develop Jan 12, 2018
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