{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/1512","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/1512/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/1512/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/1512/events","html_url":"https://github.com/Homebrew/brew/pull/1512","id":189444759,"number":1512,"title":"bump-formula-pr: add --message option","user":{"login":"zmwangx","id":4149852,"avatar_url":"https://avatars.githubusercontent.com/u/4149852?v=3","gravatar_id":"","url":"https://api.github.com/users/zmwangx","html_url":"https://github.com/zmwangx","followers_url":"https://api.github.com/users/zmwangx/followers","following_url":"https://api.github.com/users/zmwangx/following{/other_user}","gists_url":"https://api.github.com/users/zmwangx/gists{/gist_id}","starred_url":"https://api.github.com/users/zmwangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmwangx/subscriptions","organizations_url":"https://api.github.com/users/zmwangx/orgs","repos_url":"https://api.github.com/users/zmwangx/repos","events_url":"https://api.github.com/users/zmwangx/events{/privacy}","received_events_url":"https://api.github.com/users/zmwangx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-15T16:46:18Z","updated_at":"2016-11-18T08:30:26Z","closed_at":"2016-11-18T08:30:22Z","pull_request":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/1512","html_url":"https://github.com/Homebrew/brew/pull/1512","diff_url":"https://github.com/Homebrew/brew/pull/1512.diff","patch_url":"https://github.com/Homebrew/brew/pull/1512.patch"},"body":"- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/brew/pulls) for the same change?\r\n- [x] Have you added an explanation of what your changes do and why you'd like us to include them?\r\n- [ ] Have you written new tests for your changes? [Here's an example](https://github.com/Homebrew/homebrew/pull/49031).\r\n- [ ] Have you successfully run `brew tests` with your changes locally?\r\n\r\n-----\r\n\r\nAdd a `--message=<message>` option to `bump-formula-pr` so that user can supply a piece of message to be included in the PR message.\r\n\r\nThe motivation comes from automatically bumping `imagemagick`. I have a script to do it, but I want to include a reminder to maintainers:\r\n\r\n> Please remember to\r\n> ```\r\n> brew mirror imagemagick\r\n> ```\r\n> when merging.\r\n\r\nSince `brew-bump-formula-pr` doesn't allow custom PR message, I have to copy the message to clipboard at the end of the script, and remember to paste that into a comment when the PR has been created. I'd like to be able to do\r\n\r\n```\r\nbrew bump-formula-pr --url=https://dl.bintray.com/homebrew/mirror/imagemagick-6.0.0-0.tar.xz --mirror=https://www.imagemagick.org/download/ImageMagick-6.0.0-0.tar.xz --sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 --message=$'Please remember to\\n```\\nbrew mirror imagemagick\\n```\\nwhen merging.' imagemagick\r\n```\r\n\r\nand forget about it.\r\n\r\nI understand that this is a niche feature, but `bump-formula-pr` is a very niche dev cmd to begin with, so I figured it doesn't hurt to suggest this."},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/261475927","html_url":"https://github.com/Homebrew/brew/pull/1512#issuecomment-261475927","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/1512","id":261475927,"user":{"login":"MikeMcQuaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true},"created_at":"2016-11-18T08:30:26Z","updated_at":"2016-11-18T08:30:26Z","body":"Thanks @zmwangx!"}}
{"actor":{"display_login":"MikeMcQuaid"}}