{"action":"created","issue":{"url":"https://api.github.com/repos/git-duet/git-duet/issues/10","labels_url":"https://api.github.com/repos/git-duet/git-duet/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/git-duet/git-duet/issues/10/comments","events_url":"https://api.github.com/repos/git-duet/git-duet/issues/10/events","html_url":"https://github.com/git-duet/git-duet/pull/10","id":93173147,"number":10,"title":"Add mechanism to automatically switch author and committer between commits","user":{"login":"sykesm","id":4517909,"avatar_url":"https://avatars.githubusercontent.com/u/4517909?v=3","gravatar_id":"","url":"https://api.github.com/users/sykesm","html_url":"https://github.com/sykesm","followers_url":"https://api.github.com/users/sykesm/followers","following_url":"https://api.github.com/users/sykesm/following{/other_user}","gists_url":"https://api.github.com/users/sykesm/gists{/gist_id}","starred_url":"https://api.github.com/users/sykesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sykesm/subscriptions","organizations_url":"https://api.github.com/users/sykesm/orgs","repos_url":"https://api.github.com/users/sykesm/repos","events_url":"https://api.github.com/users/sykesm/events{/privacy}","received_events_url":"https://api.github.com/users/sykesm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-06T02:39:32Z","updated_at":"2015-07-07T04:39:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/git-duet/git-duet/pulls/10","html_url":"https://github.com/git-duet/git-duet/pull/10","diff_url":"https://github.com/git-duet/git-duet/pull/10.diff","patch_url":"https://github.com/git-duet/git-duet/pull/10.patch"},"body":"A while ago, my team made the switch to `git-duet` but some of the folks went back to `git-pair` since it randomly selects an author from the pairs; they like this as it helps distribute the 'green dots' between people while they're pairing.\r\n\r\nSince I'm not a fan of how `git-pair` generates fictitious email addresses or loses track of one of the authors, I'd like to get everyone back to using pair.\r\n\r\nThis pull request adds code to swap the author and committer at the end of every commit when the `GIT_DUET_ROTATE_AUTHOR` environment variable is set. This mode of operation should distribute the 'green dots' in fair and deterministic way."},"comment":{"url":"https://api.github.com/repos/git-duet/git-duet/issues/comments/119070920","html_url":"https://github.com/git-duet/git-duet/pull/10#issuecomment-119070920","issue_url":"https://api.github.com/repos/git-duet/git-duet/issues/10","id":119070920,"user":{"login":"jszwedko","id":316880,"avatar_url":"https://avatars.githubusercontent.com/u/316880?v=3","gravatar_id":"","url":"https://api.github.com/users/jszwedko","html_url":"https://github.com/jszwedko","followers_url":"https://api.github.com/users/jszwedko/followers","following_url":"https://api.github.com/users/jszwedko/following{/other_user}","gists_url":"https://api.github.com/users/jszwedko/gists{/gist_id}","starred_url":"https://api.github.com/users/jszwedko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jszwedko/subscriptions","organizations_url":"https://api.github.com/users/jszwedko/orgs","repos_url":"https://api.github.com/users/jszwedko/repos","events_url":"https://api.github.com/users/jszwedko/events{/privacy}","received_events_url":"https://api.github.com/users/jszwedko/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T04:39:55Z","updated_at":"2015-07-07T04:39:55Z","body":"@sykesm I put together #12 which I think feels a little better to address #11, what do you think?"}}