GitHub PushEvent at 2014-06-25 17:09:34
Repository: git-scripts
Actor: BaseInfinity
Payload: {"shas":[["4e17a229722b657ead4a6e530e6c2c383ef37142","474ba67bdb289c6263b36dfd8a7bed6c85b04943@ifixit.com","Work with pagination\n\n@BaseInfinity pointed out to me that we were having problems merging a\nparticular pull.  With a bit of investigation, it turned out it wasn't just\nthat one - it was any pull that was fairly old.  This immediately brought to\nmind pagination issues, which ended up being the case.\n\nWe can't use [the documented approach to pagination][0] because Octokit is now\non version 3.2.0, and we're using [1.25.0][1]. :)  So I cloned down the repo,\nsearched around, and did some guessing, and this approach appears to work:\n\nBefore:\n\n    [$]> ~/packages/git-scripts/bin/feature merge -n 1087\n    No pull request found for this branch.\n    Merge feature branch named: 'my-awesome-branch' ? (y/n): %\n\nAfter:\n\n    [$]> ~/packages/git-scripts/bin/feature merge -n 1087\n    This pull request has failed to pass continuous integration tests. Merge with caution.\n    Merge feature branch named: 'my-awesome-branch' ? (y/n): %\n\n[0]: https://octokit.github.io/octokit.rb/#Pagination\n[1]: https://github.com/octokit/octokit.rb/releases/tag/v1.25.0","James Pearson",false],["2b17fa8d63ee6c20a8e5a8ca9915b2b813e3363e","ad62db675084c3e8875f186869a5f585c66140ba@gmail.com","Merge pull request #127 from iFixit/work-with-pagination\n\nWork with pagination","Stefan Ayala",true]],"size":2,"ref":"refs/heads/master","head":"2b17fa8d63ee6c20a8e5a8ca9915b2b813e3363e"}