{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/k0kubun/pp/pulls/9","id":29314812,"html_url":"https://github.com/k0kubun/pp/pull/9","diff_url":"https://github.com/k0kubun/pp/pull/9.diff","patch_url":"https://github.com/k0kubun/pp/pull/9.patch","issue_url":"https://api.github.com/repos/k0kubun/pp/issues/9","number":9,"state":"open","locked":false,"title":"Handle circular structures","user":{"login":"motemen","id":8465,"avatar_url":"https://avatars.githubusercontent.com/u/8465?v=3","gravatar_id":"","url":"https://api.github.com/users/motemen","html_url":"https://github.com/motemen","followers_url":"https://api.github.com/users/motemen/followers","following_url":"https://api.github.com/users/motemen/following{/other_user}","gists_url":"https://api.github.com/users/motemen/gists{/gist_id}","starred_url":"https://api.github.com/users/motemen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motemen/subscriptions","organizations_url":"https://api.github.com/users/motemen/orgs","repos_url":"https://api.github.com/users/motemen/repos","events_url":"https://api.github.com/users/motemen/events{/privacy}","received_events_url":"https://api.github.com/users/motemen/received_events","type":"User","site_admin":false},"body":"When pp is given a circular structure, it enters an infinite recursion.\n\nThis pull request changes pp to remember where it visited and not to visit there again to avoid infinite recursion.","created_at":"2015-02-14T03:23:29Z","updated_at":"2015-02-14T03:23:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/k0kubun/pp/pulls/9/commits","review_comments_url":"https://api.github.com/repos/k0kubun/pp/pulls/9/comments","review_comment_url":"https://api.github.com/repos/k0kubun/pp/pulls/comments/{number}","comments_url":"https://api.github.com/repos/k0kubun/pp/issues/9/comments","statuses_url":"https://api.github.com/repos/k0kubun/pp/statuses/9f6de0698720ce154bb00eaf1dc5039adabc2a8b","head":{"label":"motemen:circular","ref":"circular","sha":"9f6de0698720ce154bb00eaf1dc5039adabc2a8b","user":{"login":"motemen","id":8465,"avatar_url":"https://avatars.githubusercontent.com/u/8465?v=3","gravatar_id":"","url":"https://api.github.com/users/motemen","html_url":"https://github.com/motemen","followers_url":"https://api.github.com/users/motemen/followers","following_url":"https://api.github.com/users/motemen/following{/other_user}","gists_url":"https://api.github.com/users/motemen/gists{/gist_id}","starred_url":"https://api.github.com/users/motemen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motemen/subscriptions","organizations_url":"https://api.github.com/users/motemen/orgs","repos_url":"https://api.github.com/users/motemen/repos","events_url":"https://api.github.com/users/motemen/events{/privacy}","received_events_url":"https://api.github.com/users/motemen/received_events","type":"User","site_admin":false},"repo":{"id":30785279,"name":"pp","full_name":"motemen/pp","owner":{"login":"motemen","id":8465,"avatar_url":"https://avatars.githubusercontent.com/u/8465?v=3","gravatar_id":"","url":"https://api.github.com/users/motemen","html_url":"https://github.com/motemen","followers_url":"https://api.github.com/users/motemen/followers","following_url":"https://api.github.com/users/motemen/following{/other_user}","gists_url":"https://api.github.com/users/motemen/gists{/gist_id}","starred_url":"https://api.github.com/users/motemen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motemen/subscriptions","organizations_url":"https://api.github.com/users/motemen/orgs","repos_url":"https://api.github.com/users/motemen/repos","events_url":"https://api.github.com/users/motemen/events{/privacy}","received_events_url":"https://api.github.com/users/motemen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/motemen/pp","description":"Colored pretty printer for Go language","fork":true,"url":"https://api.github.com/repos/motemen/pp","forks_url":"https://api.github.com/repos/motemen/pp/forks","keys_url":"https://api.github.com/repos/motemen/pp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motemen/pp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motemen/pp/teams","hooks_url":"https://api.github.com/repos/motemen/pp/hooks","issue_events_url":"https://api.github.com/repos/motemen/pp/issues/events{/number}","events_url":"https://api.github.com/repos/motemen/pp/events","assignees_url":"https://api.github.com/repos/motemen/pp/assignees{/user}","branches_url":"https://api.github.com/repos/motemen/pp/branches{/branch}","tags_url":"https://api.github.com/repos/motemen/pp/tags","blobs_url":"https://api.github.com/repos/motemen/pp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motemen/pp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motemen/pp/git/refs{/sha}","trees_url":"https://api.github.com/repos/motemen/pp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motemen/pp/statuses/{sha}","languages_url":"https://api.github.com/repos/motemen/pp/languages","stargazers_url":"https://api.github.com/repos/motemen/pp/stargazers","contributors_url":"https://api.github.com/repos/motemen/pp/contributors","subscribers_url":"https://api.github.com/repos/motemen/pp/subscribers","subscription_url":"https://api.github.com/repos/motemen/pp/subscription","commits_url":"https://api.github.com/repos/motemen/pp/commits{/sha}","git_commits_url":"https://api.github.com/repos/motemen/pp/git/commits{/sha}","comments_url":"https://api.github.com/repos/motemen/pp/comments{/number}","issue_comment_url":"https://api.github.com/repos/motemen/pp/issues/comments/{number}","contents_url":"https://api.github.com/repos/motemen/pp/contents/{+path}","compare_url":"https://api.github.com/repos/motemen/pp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motemen/pp/merges","archive_url":"https://api.github.com/repos/motemen/pp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motemen/pp/downloads","issues_url":"https://api.github.com/repos/motemen/pp/issues{/number}","pulls_url":"https://api.github.com/repos/motemen/pp/pulls{/number}","milestones_url":"https://api.github.com/repos/motemen/pp/milestones{/number}","notifications_url":"https://api.github.com/repos/motemen/pp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motemen/pp/labels{/name}","releases_url":"https://api.github.com/repos/motemen/pp/releases{/id}","created_at":"2015-02-14T02:54:32Z","updated_at":"2015-02-14T02:54:32Z","pushed_at":"2015-02-14T03:18:47Z","git_url":"git://github.com/motemen/pp.git","ssh_url":"git@github.com:motemen/pp.git","clone_url":"https://github.com/motemen/pp.git","svn_url":"https://github.com/motemen/pp","homepage":"http://godoc.org/github.com/k0kubun/pp","size":313,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"k0kubun:master","ref":"master","sha":"f8686b0ae98b396f2ac27f359f10df944f3fd249","user":{"login":"k0kubun","id":3138447,"avatar_url":"https://avatars.githubusercontent.com/u/3138447?v=3","gravatar_id":"","url":"https://api.github.com/users/k0kubun","html_url":"https://github.com/k0kubun","followers_url":"https://api.github.com/users/k0kubun/followers","following_url":"https://api.github.com/users/k0kubun/following{/other_user}","gists_url":"https://api.github.com/users/k0kubun/gists{/gist_id}","starred_url":"https://api.github.com/users/k0kubun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0kubun/subscriptions","organizations_url":"https://api.github.com/users/k0kubun/orgs","repos_url":"https://api.github.com/users/k0kubun/repos","events_url":"https://api.github.com/users/k0kubun/events{/privacy}","received_events_url":"https://api.github.com/users/k0kubun/received_events","type":"User","site_admin":false},"repo":{"id":27382506,"name":"pp","full_name":"k0kubun/pp","owner":{"login":"k0kubun","id":3138447,"avatar_url":"https://avatars.githubusercontent.com/u/3138447?v=3","gravatar_id":"","url":"https://api.github.com/users/k0kubun","html_url":"https://github.com/k0kubun","followers_url":"https://api.github.com/users/k0kubun/followers","following_url":"https://api.github.com/users/k0kubun/following{/other_user}","gists_url":"https://api.github.com/users/k0kubun/gists{/gist_id}","starred_url":"https://api.github.com/users/k0kubun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0kubun/subscriptions","organizations_url":"https://api.github.com/users/k0kubun/orgs","repos_url":"https://api.github.com/users/k0kubun/repos","events_url":"https://api.github.com/users/k0kubun/events{/privacy}","received_events_url":"https://api.github.com/users/k0kubun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/k0kubun/pp","description":"Colored pretty printer for Go language","fork":false,"url":"https://api.github.com/repos/k0kubun/pp","forks_url":"https://api.github.com/repos/k0kubun/pp/forks","keys_url":"https://api.github.com/repos/k0kubun/pp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k0kubun/pp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k0kubun/pp/teams","hooks_url":"https://api.github.com/repos/k0kubun/pp/hooks","issue_events_url":"https://api.github.com/repos/k0kubun/pp/issues/events{/number}","events_url":"https://api.github.com/repos/k0kubun/pp/events","assignees_url":"https://api.github.com/repos/k0kubun/pp/assignees{/user}","branches_url":"https://api.github.com/repos/k0kubun/pp/branches{/branch}","tags_url":"https://api.github.com/repos/k0kubun/pp/tags","blobs_url":"https://api.github.com/repos/k0kubun/pp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k0kubun/pp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k0kubun/pp/git/refs{/sha}","trees_url":"https://api.github.com/repos/k0kubun/pp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k0kubun/pp/statuses/{sha}","languages_url":"https://api.github.com/repos/k0kubun/pp/languages","stargazers_url":"https://api.github.com/repos/k0kubun/pp/stargazers","contributors_url":"https://api.github.com/repos/k0kubun/pp/contributors","subscribers_url":"https://api.github.com/repos/k0kubun/pp/subscribers","subscription_url":"https://api.github.com/repos/k0kubun/pp/subscription","commits_url":"https://api.github.com/repos/k0kubun/pp/commits{/sha}","git_commits_url":"https://api.github.com/repos/k0kubun/pp/git/commits{/sha}","comments_url":"https://api.github.com/repos/k0kubun/pp/comments{/number}","issue_comment_url":"https://api.github.com/repos/k0kubun/pp/issues/comments/{number}","contents_url":"https://api.github.com/repos/k0kubun/pp/contents/{+path}","compare_url":"https://api.github.com/repos/k0kubun/pp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k0kubun/pp/merges","archive_url":"https://api.github.com/repos/k0kubun/pp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k0kubun/pp/downloads","issues_url":"https://api.github.com/repos/k0kubun/pp/issues{/number}","pulls_url":"https://api.github.com/repos/k0kubun/pp/pulls{/number}","milestones_url":"https://api.github.com/repos/k0kubun/pp/milestones{/number}","notifications_url":"https://api.github.com/repos/k0kubun/pp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k0kubun/pp/labels{/name}","releases_url":"https://api.github.com/repos/k0kubun/pp/releases{/id}","created_at":"2014-12-01T14:15:31Z","updated_at":"2015-02-08T12:47:32Z","pushed_at":"2015-01-09T16:54:49Z","git_url":"git://github.com/k0kubun/pp.git","ssh_url":"git@github.com:k0kubun/pp.git","clone_url":"https://github.com/k0kubun/pp.git","svn_url":"https://github.com/k0kubun/pp","homepage":"http://godoc.org/github.com/k0kubun/pp","size":313,"stargazers_count":126,"watchers_count":126,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/k0kubun/pp/pulls/9"},"html":{"href":"https://github.com/k0kubun/pp/pull/9"},"issue":{"href":"https://api.github.com/repos/k0kubun/pp/issues/9"},"comments":{"href":"https://api.github.com/repos/k0kubun/pp/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/k0kubun/pp/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/k0kubun/pp/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/k0kubun/pp/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/k0kubun/pp/statuses/9f6de0698720ce154bb00eaf1dc5039adabc2a8b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":41,"deletions":7,"changed_files":2}}