{"action":"created","issue":{"url":"https://api.github.com/repos/docker/datakit/issues/221","repository_url":"https://api.github.com/repos/docker/datakit","labels_url":"https://api.github.com/repos/docker/datakit/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/docker/datakit/issues/221/comments","events_url":"https://api.github.com/repos/docker/datakit/issues/221/events","html_url":"https://github.com/docker/datakit/pull/221","id":170863245,"number":221,"title":"Implement transaction diffs","user":{"login":"samoht","id":103693,"avatar_url":"https://avatars.githubusercontent.com/u/103693?v=3","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/datakit/labels/dco/no","name":"dco/no","color":"f7c6c7"},{"url":"https://api.github.com/repos/docker/datakit/labels/status/0-triage","name":"status/0-triage","color":"EEEEEE"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T12:45:06Z","updated_at":"2016-08-12T12:45:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/datakit/pulls/221","html_url":"https://github.com/docker/datakit/pull/221","diff_url":"https://github.com/docker/datakit/pull/221.diff","patch_url":"https://github.com/docker/datakit/pull/221.patch"},"body":"With that commit, it is now possible to get the diff between an open transaction and any existing commits. To do that, simply `cat diff/<commit-id>` in the transaction directory."},"comment":{"url":"https://api.github.com/repos/docker/datakit/issues/comments/239436487","html_url":"https://github.com/docker/datakit/pull/221#issuecomment-239436487","issue_url":"https://api.github.com/repos/docker/datakit/issues/221","id":239436487,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T12:45:07Z","updated_at":"2016-08-12T12:45:07Z","body":"Please sign your commits following these rules:\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work\nThe easiest way to do this is to amend the last commit:\n~~~console\n$ git clone -b \"diff\" git@github.com:samoht/datakit.git somewhere\n$ cd somewhere\n$ git rebase -i HEAD~14\neditor opens\nchange each 'pick' to 'edit'\nsave the file and quit\n$ git commit --amend -s --no-edit\n$ git rebase --continue # and repeat the amend for each commit\n$ git push -f\n~~~\n\nAmmending updates the existing PR. You **DO NOT** need to open a new one.\n"}}
{"actor":{"display_login":"GordonTheTurtle"}}