{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/48286","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/48286/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/48286/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/48286/events","html_url":"https://github.com/Homebrew/homebrew/pull/48286","id":127686591,"number":48286,"title":"update-bash: various","user":{"login":"xu-cheng","id":3105373,"avatar_url":"https://avatars.githubusercontent.com/u/3105373?v=3","gravatar_id":"","url":"https://api.github.com/users/xu-cheng","html_url":"https://github.com/xu-cheng","followers_url":"https://api.github.com/users/xu-cheng/followers","following_url":"https://api.github.com/users/xu-cheng/following{/other_user}","gists_url":"https://api.github.com/users/xu-cheng/gists{/gist_id}","starred_url":"https://api.github.com/users/xu-cheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xu-cheng/subscriptions","organizations_url":"https://api.github.com/users/xu-cheng/orgs","repos_url":"https://api.github.com/users/xu-cheng/repos","events_url":"https://api.github.com/users/xu-cheng/events{/privacy}","received_events_url":"https://api.github.com/users/xu-cheng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/maintainer%20feedback","name":"maintainer feedback","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-20T13:50:17Z","updated_at":"2016-01-21T14:14:17Z","closed_at":"2016-01-21T13:16:18Z","pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/48286","html_url":"https://github.com/Homebrew/homebrew/pull/48286","diff_url":"https://github.com/Homebrew/homebrew/pull/48286.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/48286.patch"},"body":"\r\ncc @Homebrew/maintainers "},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/173580759","html_url":"https://github.com/Homebrew/homebrew/pull/48286#issuecomment-173580759","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/48286","id":173580759,"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-01-21T14:14:17Z","updated_at":"2016-01-21T14:14:17Z","body":"> Write the commit hash from before/after the update into a private section, e.g., via git config homebrew.before-update <sha1> and git config homebrew.after-update <sha1>.\r\n> Read and process this information in update-report, then clear it from .git/config.\r\n> Optionally: Ensure update-report isn't operating on stale information. Generate a unique token in update-bash (common to all repositories), write it together with the commit hashes into .git/config, and then pass it to update-report via an argument or an environment variable.\r\n\r\nI like this without the optionally bit. Not even sure we need to clear it either; could be useful for debugging updates after the fact or reproducing the same output with report changes. We'll also perhaps want to store e.g. ETag data in here at a later point."}}