{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/rdnetto/powerline-hs/pulls/8","id":182282055,"html_url":"https://github.com/rdnetto/powerline-hs/pull/8","diff_url":"https://github.com/rdnetto/powerline-hs/pull/8.diff","patch_url":"https://github.com/rdnetto/powerline-hs/pull/8.patch","issue_url":"https://api.github.com/repos/rdnetto/powerline-hs/issues/8","number":8,"state":"closed","locked":false,"title":"Add support to show count of commits ahead of master","user":{"login":"CarlosMChica","id":3494156,"avatar_url":"https://avatars2.githubusercontent.com/u/3494156?v=4","gravatar_id":"","url":"https://api.github.com/users/CarlosMChica","html_url":"https://github.com/CarlosMChica","followers_url":"https://api.github.com/users/CarlosMChica/followers","following_url":"https://api.github.com/users/CarlosMChica/following{/other_user}","gists_url":"https://api.github.com/users/CarlosMChica/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosMChica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosMChica/subscriptions","organizations_url":"https://api.github.com/users/CarlosMChica/orgs","repos_url":"https://api.github.com/users/CarlosMChica/repos","events_url":"https://api.github.com/users/CarlosMChica/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosMChica/received_events","type":"User","site_admin":false},"body":"Here is a first draft.\r\n\r\nI had to use transformers as I didn't know how to do it otherwise. If you prefer a different implementation please let me know and I'll be happy to make the changes.","created_at":"2018-04-17T20:17:04Z","updated_at":"2018-04-23T11:01:29Z","closed_at":"2018-04-23T11:01:29Z","merged_at":"2018-04-23T11:01:29Z","merge_commit_sha":"cc19b5fdcf8c218b4d4a96405b9005b56240098e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rdnetto/powerline-hs/pulls/8/commits","review_comments_url":"https://api.github.com/repos/rdnetto/powerline-hs/pulls/8/comments","review_comment_url":"https://api.github.com/repos/rdnetto/powerline-hs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rdnetto/powerline-hs/issues/8/comments","statuses_url":"https://api.github.com/repos/rdnetto/powerline-hs/statuses/ddcb78f106272763e79b59c442a5870224c85756","head":{"label":"CarlosMChica:master","ref":"master","sha":"ddcb78f106272763e79b59c442a5870224c85756","user":{"login":"CarlosMChica","id":3494156,"avatar_url":"https://avatars2.githubusercontent.com/u/3494156?v=4","gravatar_id":"","url":"https://api.github.com/users/CarlosMChica","html_url":"https://github.com/CarlosMChica","followers_url":"https://api.github.com/users/CarlosMChica/followers","following_url":"https://api.github.com/users/CarlosMChica/following{/other_user}","gists_url":"https://api.github.com/users/CarlosMChica/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosMChica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosMChica/subscriptions","organizations_url":"https://api.github.com/users/CarlosMChica/orgs","repos_url":"https://api.github.com/users/CarlosMChica/repos","events_url":"https://api.github.com/users/CarlosMChica/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosMChica/received_events","type":"User","site_admin":false},"repo":{"id":129920097,"name":"powerline-hs","full_name":"CarlosMChica/powerline-hs","owner":{"login":"CarlosMChica","id":3494156,"avatar_url":"https://avatars2.githubusercontent.com/u/3494156?v=4","gravatar_id":"","url":"https://api.github.com/users/CarlosMChica","html_url":"https://github.com/CarlosMChica","followers_url":"https://api.github.com/users/CarlosMChica/followers","following_url":"https://api.github.com/users/CarlosMChica/following{/other_user}","gists_url":"https://api.github.com/users/CarlosMChica/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosMChica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosMChica/subscriptions","organizations_url":"https://api.github.com/users/CarlosMChica/orgs","repos_url":"https://api.github.com/users/CarlosMChica/repos","events_url":"https://api.github.com/users/CarlosMChica/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosMChica/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CarlosMChica/powerline-hs","description":"A lightning fast reimplementation of the Powerline prompt generator in Haskell.","fork":true,"url":"https://api.github.com/repos/CarlosMChica/powerline-hs","forks_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/forks","keys_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/teams","hooks_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/hooks","issue_events_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/issues/events{/number}","events_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/events","assignees_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/assignees{/user}","branches_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/branches{/branch}","tags_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/tags","blobs_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/git/refs{/sha}","trees_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/statuses/{sha}","languages_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/languages","stargazers_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/stargazers","contributors_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/contributors","subscribers_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/subscribers","subscription_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/subscription","commits_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/commits{/sha}","git_commits_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/git/commits{/sha}","comments_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/comments{/number}","issue_comment_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/issues/comments{/number}","contents_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/contents/{+path}","compare_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/merges","archive_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/downloads","issues_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/issues{/number}","pulls_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/pulls{/number}","milestones_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/milestones{/number}","notifications_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/labels{/name}","releases_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/releases{/id}","deployments_url":"https://api.github.com/repos/CarlosMChica/powerline-hs/deployments","created_at":"2018-04-17T14:49:13Z","updated_at":"2018-04-18T23:28:01Z","pushed_at":"2018-04-18T23:28:00Z","git_url":"git://github.com/CarlosMChica/powerline-hs.git","ssh_url":"git@github.com:CarlosMChica/powerline-hs.git","clone_url":"https://github.com/CarlosMChica/powerline-hs.git","svn_url":"https://github.com/CarlosMChica/powerline-hs","homepage":"","size":209,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rdnetto:master","ref":"master","sha":"7fc15822214c4b1888cee7458d81d6fc81d5320b","user":{"login":"rdnetto","id":1973389,"avatar_url":"https://avatars2.githubusercontent.com/u/1973389?v=4","gravatar_id":"","url":"https://api.github.com/users/rdnetto","html_url":"https://github.com/rdnetto","followers_url":"https://api.github.com/users/rdnetto/followers","following_url":"https://api.github.com/users/rdnetto/following{/other_user}","gists_url":"https://api.github.com/users/rdnetto/gists{/gist_id}","starred_url":"https://api.github.com/users/rdnetto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdnetto/subscriptions","organizations_url":"https://api.github.com/users/rdnetto/orgs","repos_url":"https://api.github.com/users/rdnetto/repos","events_url":"https://api.github.com/users/rdnetto/events{/privacy}","received_events_url":"https://api.github.com/users/rdnetto/received_events","type":"User","site_admin":false},"repo":{"id":65200949,"name":"powerline-hs","full_name":"rdnetto/powerline-hs","owner":{"login":"rdnetto","id":1973389,"avatar_url":"https://avatars2.githubusercontent.com/u/1973389?v=4","gravatar_id":"","url":"https://api.github.com/users/rdnetto","html_url":"https://github.com/rdnetto","followers_url":"https://api.github.com/users/rdnetto/followers","following_url":"https://api.github.com/users/rdnetto/following{/other_user}","gists_url":"https://api.github.com/users/rdnetto/gists{/gist_id}","starred_url":"https://api.github.com/users/rdnetto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdnetto/subscriptions","organizations_url":"https://api.github.com/users/rdnetto/orgs","repos_url":"https://api.github.com/users/rdnetto/repos","events_url":"https://api.github.com/users/rdnetto/events{/privacy}","received_events_url":"https://api.github.com/users/rdnetto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rdnetto/powerline-hs","description":"A lightning fast reimplementation of the Powerline prompt generator in Haskell.","fork":false,"url":"https://api.github.com/repos/rdnetto/powerline-hs","forks_url":"https://api.github.com/repos/rdnetto/powerline-hs/forks","keys_url":"https://api.github.com/repos/rdnetto/powerline-hs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdnetto/powerline-hs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdnetto/powerline-hs/teams","hooks_url":"https://api.github.com/repos/rdnetto/powerline-hs/hooks","issue_events_url":"https://api.github.com/repos/rdnetto/powerline-hs/issues/events{/number}","events_url":"https://api.github.com/repos/rdnetto/powerline-hs/events","assignees_url":"https://api.github.com/repos/rdnetto/powerline-hs/assignees{/user}","branches_url":"https://api.github.com/repos/rdnetto/powerline-hs/branches{/branch}","tags_url":"https://api.github.com/repos/rdnetto/powerline-hs/tags","blobs_url":"https://api.github.com/repos/rdnetto/powerline-hs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdnetto/powerline-hs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdnetto/powerline-hs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdnetto/powerline-hs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdnetto/powerline-hs/statuses/{sha}","languages_url":"https://api.github.com/repos/rdnetto/powerline-hs/languages","stargazers_url":"https://api.github.com/repos/rdnetto/powerline-hs/stargazers","contributors_url":"https://api.github.com/repos/rdnetto/powerline-hs/contributors","subscribers_url":"https://api.github.com/repos/rdnetto/powerline-hs/subscribers","subscription_url":"https://api.github.com/repos/rdnetto/powerline-hs/subscription","commits_url":"https://api.github.com/repos/rdnetto/powerline-hs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdnetto/powerline-hs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdnetto/powerline-hs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdnetto/powerline-hs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdnetto/powerline-hs/contents/{+path}","compare_url":"https://api.github.com/repos/rdnetto/powerline-hs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdnetto/powerline-hs/merges","archive_url":"https://api.github.com/repos/rdnetto/powerline-hs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdnetto/powerline-hs/downloads","issues_url":"https://api.github.com/repos/rdnetto/powerline-hs/issues{/number}","pulls_url":"https://api.github.com/repos/rdnetto/powerline-hs/pulls{/number}","milestones_url":"https://api.github.com/repos/rdnetto/powerline-hs/milestones{/number}","notifications_url":"https://api.github.com/repos/rdnetto/powerline-hs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdnetto/powerline-hs/labels{/name}","releases_url":"https://api.github.com/repos/rdnetto/powerline-hs/releases{/id}","deployments_url":"https://api.github.com/repos/rdnetto/powerline-hs/deployments","created_at":"2016-08-08T12:03:38Z","updated_at":"2018-04-19T20:55:23Z","pushed_at":"2018-04-23T11:01:29Z","git_url":"git://github.com/rdnetto/powerline-hs.git","ssh_url":"git@github.com:rdnetto/powerline-hs.git","clone_url":"https://github.com/rdnetto/powerline-hs.git","svn_url":"https://github.com/rdnetto/powerline-hs","homepage":"","size":208,"stargazers_count":107,"watchers_count":107,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":4,"open_issues":6,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rdnetto/powerline-hs/pulls/8"},"html":{"href":"https://github.com/rdnetto/powerline-hs/pull/8"},"issue":{"href":"https://api.github.com/repos/rdnetto/powerline-hs/issues/8"},"comments":{"href":"https://api.github.com/repos/rdnetto/powerline-hs/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/rdnetto/powerline-hs/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/rdnetto/powerline-hs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rdnetto/powerline-hs/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/rdnetto/powerline-hs/statuses/ddcb78f106272763e79b59c442a5870224c85756"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"rdnetto","id":1973389,"avatar_url":"https://avatars2.githubusercontent.com/u/1973389?v=4","gravatar_id":"","url":"https://api.github.com/users/rdnetto","html_url":"https://github.com/rdnetto","followers_url":"https://api.github.com/users/rdnetto/followers","following_url":"https://api.github.com/users/rdnetto/following{/other_user}","gists_url":"https://api.github.com/users/rdnetto/gists{/gist_id}","starred_url":"https://api.github.com/users/rdnetto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdnetto/subscriptions","organizations_url":"https://api.github.com/users/rdnetto/orgs","repos_url":"https://api.github.com/users/rdnetto/repos","events_url":"https://api.github.com/users/rdnetto/events{/privacy}","received_events_url":"https://api.github.com/users/rdnetto/received_events","type":"User","site_admin":false},"comments":3,"review_comments":5,"maintainer_can_modify":false,"commits":1,"additions":35,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"rdnetto"}}