{"action":"closed","number":1606,"pull_request":{"url":"https://api.github.com/repos/buildbot/buildbot/pulls/1606","id":31689572,"html_url":"https://github.com/buildbot/buildbot/pull/1606","diff_url":"https://github.com/buildbot/buildbot/pull/1606.diff","patch_url":"https://github.com/buildbot/buildbot/pull/1606.patch","issue_url":"https://api.github.com/repos/buildbot/buildbot/issues/1606","number":1606,"state":"closed","locked":false,"title":"2745 Factor duplicate code in master/buildbot/db/users.py","user":{"login":"rafalkowalski","id":2479753,"avatar_url":"https://avatars.githubusercontent.com/u/2479753?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalkowalski","html_url":"https://github.com/rafalkowalski","followers_url":"https://api.github.com/users/rafalkowalski/followers","following_url":"https://api.github.com/users/rafalkowalski/following{/other_user}","gists_url":"https://api.github.com/users/rafalkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalkowalski/subscriptions","organizations_url":"https://api.github.com/users/rafalkowalski/orgs","repos_url":"https://api.github.com/users/rafalkowalski/repos","events_url":"https://api.github.com/users/rafalkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/rafalkowalski/received_events","type":"User","site_admin":false},"body":"Simple refactoring","created_at":"2015-03-22T15:41:23Z","updated_at":"2015-03-24T21:01:33Z","closed_at":"2015-03-24T21:01:33Z","merged_at":null,"merge_commit_sha":"eaf1f3f8e5f75a8f260d691a2b92ed09931ce0ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/buildbot/buildbot/pulls/1606/commits","review_comments_url":"https://api.github.com/repos/buildbot/buildbot/pulls/1606/comments","review_comment_url":"https://api.github.com/repos/buildbot/buildbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/buildbot/buildbot/issues/1606/comments","statuses_url":"https://api.github.com/repos/buildbot/buildbot/statuses/3942fe58e0220c400f2d8173a47bc0ac90147b17","head":{"label":"rafalkowalski:master","ref":"master","sha":"3942fe58e0220c400f2d8173a47bc0ac90147b17","user":{"login":"rafalkowalski","id":2479753,"avatar_url":"https://avatars.githubusercontent.com/u/2479753?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalkowalski","html_url":"https://github.com/rafalkowalski","followers_url":"https://api.github.com/users/rafalkowalski/followers","following_url":"https://api.github.com/users/rafalkowalski/following{/other_user}","gists_url":"https://api.github.com/users/rafalkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalkowalski/subscriptions","organizations_url":"https://api.github.com/users/rafalkowalski/orgs","repos_url":"https://api.github.com/users/rafalkowalski/repos","events_url":"https://api.github.com/users/rafalkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/rafalkowalski/received_events","type":"User","site_admin":false},"repo":{"id":32678208,"name":"buildbot","full_name":"rafalkowalski/buildbot","owner":{"login":"rafalkowalski","id":2479753,"avatar_url":"https://avatars.githubusercontent.com/u/2479753?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalkowalski","html_url":"https://github.com/rafalkowalski","followers_url":"https://api.github.com/users/rafalkowalski/followers","following_url":"https://api.github.com/users/rafalkowalski/following{/other_user}","gists_url":"https://api.github.com/users/rafalkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalkowalski/subscriptions","organizations_url":"https://api.github.com/users/rafalkowalski/orgs","repos_url":"https://api.github.com/users/rafalkowalski/repos","events_url":"https://api.github.com/users/rafalkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/rafalkowalski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rafalkowalski/buildbot","description":"Python-based continuous integration testing framework; send pull requests for your patches!","fork":true,"url":"https://api.github.com/repos/rafalkowalski/buildbot","forks_url":"https://api.github.com/repos/rafalkowalski/buildbot/forks","keys_url":"https://api.github.com/repos/rafalkowalski/buildbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rafalkowalski/buildbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rafalkowalski/buildbot/teams","hooks_url":"https://api.github.com/repos/rafalkowalski/buildbot/hooks","issue_events_url":"https://api.github.com/repos/rafalkowalski/buildbot/issues/events{/number}","events_url":"https://api.github.com/repos/rafalkowalski/buildbot/events","assignees_url":"https://api.github.com/repos/rafalkowalski/buildbot/assignees{/user}","branches_url":"https://api.github.com/repos/rafalkowalski/buildbot/branches{/branch}","tags_url":"https://api.github.com/repos/rafalkowalski/buildbot/tags","blobs_url":"https://api.github.com/repos/rafalkowalski/buildbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rafalkowalski/buildbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rafalkowalski/buildbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/rafalkowalski/buildbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rafalkowalski/buildbot/statuses/{sha}","languages_url":"https://api.github.com/repos/rafalkowalski/buildbot/languages","stargazers_url":"https://api.github.com/repos/rafalkowalski/buildbot/stargazers","contributors_url":"https://api.github.com/repos/rafalkowalski/buildbot/contributors","subscribers_url":"https://api.github.com/repos/rafalkowalski/buildbot/subscribers","subscription_url":"https://api.github.com/repos/rafalkowalski/buildbot/subscription","commits_url":"https://api.github.com/repos/rafalkowalski/buildbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/rafalkowalski/buildbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/rafalkowalski/buildbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/rafalkowalski/buildbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/rafalkowalski/buildbot/contents/{+path}","compare_url":"https://api.github.com/repos/rafalkowalski/buildbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rafalkowalski/buildbot/merges","archive_url":"https://api.github.com/repos/rafalkowalski/buildbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rafalkowalski/buildbot/downloads","issues_url":"https://api.github.com/repos/rafalkowalski/buildbot/issues{/number}","pulls_url":"https://api.github.com/repos/rafalkowalski/buildbot/pulls{/number}","milestones_url":"https://api.github.com/repos/rafalkowalski/buildbot/milestones{/number}","notifications_url":"https://api.github.com/repos/rafalkowalski/buildbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rafalkowalski/buildbot/labels{/name}","releases_url":"https://api.github.com/repos/rafalkowalski/buildbot/releases{/id}","created_at":"2015-03-22T14:08:52Z","updated_at":"2015-03-24T20:20:50Z","pushed_at":"2015-03-24T21:01:32Z","git_url":"git://github.com/rafalkowalski/buildbot.git","ssh_url":"git@github.com:rafalkowalski/buildbot.git","clone_url":"https://github.com/rafalkowalski/buildbot.git","svn_url":"https://github.com/rafalkowalski/buildbot","homepage":"http://buildbot.net","size":34985,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"buildbot:master","ref":"master","sha":"0fdb4c74552c7ed7af89ff827d56e3c132fea375","user":{"login":"buildbot","id":324515,"avatar_url":"https://avatars.githubusercontent.com/u/324515?v=3","gravatar_id":"","url":"https://api.github.com/users/buildbot","html_url":"https://github.com/buildbot","followers_url":"https://api.github.com/users/buildbot/followers","following_url":"https://api.github.com/users/buildbot/following{/other_user}","gists_url":"https://api.github.com/users/buildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/buildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildbot/subscriptions","organizations_url":"https://api.github.com/users/buildbot/orgs","repos_url":"https://api.github.com/users/buildbot/repos","events_url":"https://api.github.com/users/buildbot/events{/privacy}","received_events_url":"https://api.github.com/users/buildbot/received_events","type":"Organization","site_admin":false},"repo":{"id":760165,"name":"buildbot","full_name":"buildbot/buildbot","owner":{"login":"buildbot","id":324515,"avatar_url":"https://avatars.githubusercontent.com/u/324515?v=3","gravatar_id":"","url":"https://api.github.com/users/buildbot","html_url":"https://github.com/buildbot","followers_url":"https://api.github.com/users/buildbot/followers","following_url":"https://api.github.com/users/buildbot/following{/other_user}","gists_url":"https://api.github.com/users/buildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/buildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildbot/subscriptions","organizations_url":"https://api.github.com/users/buildbot/orgs","repos_url":"https://api.github.com/users/buildbot/repos","events_url":"https://api.github.com/users/buildbot/events{/privacy}","received_events_url":"https://api.github.com/users/buildbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buildbot/buildbot","description":"Python-based continuous integration testing framework; send pull requests for your patches!","fork":false,"url":"https://api.github.com/repos/buildbot/buildbot","forks_url":"https://api.github.com/repos/buildbot/buildbot/forks","keys_url":"https://api.github.com/repos/buildbot/buildbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buildbot/buildbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buildbot/buildbot/teams","hooks_url":"https://api.github.com/repos/buildbot/buildbot/hooks","issue_events_url":"https://api.github.com/repos/buildbot/buildbot/issues/events{/number}","events_url":"https://api.github.com/repos/buildbot/buildbot/events","assignees_url":"https://api.github.com/repos/buildbot/buildbot/assignees{/user}","branches_url":"https://api.github.com/repos/buildbot/buildbot/branches{/branch}","tags_url":"https://api.github.com/repos/buildbot/buildbot/tags","blobs_url":"https://api.github.com/repos/buildbot/buildbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buildbot/buildbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buildbot/buildbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/buildbot/buildbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buildbot/buildbot/statuses/{sha}","languages_url":"https://api.github.com/repos/buildbot/buildbot/languages","stargazers_url":"https://api.github.com/repos/buildbot/buildbot/stargazers","contributors_url":"https://api.github.com/repos/buildbot/buildbot/contributors","subscribers_url":"https://api.github.com/repos/buildbot/buildbot/subscribers","subscription_url":"https://api.github.com/repos/buildbot/buildbot/subscription","commits_url":"https://api.github.com/repos/buildbot/buildbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/buildbot/buildbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/buildbot/buildbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/buildbot/buildbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/buildbot/buildbot/contents/{+path}","compare_url":"https://api.github.com/repos/buildbot/buildbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buildbot/buildbot/merges","archive_url":"https://api.github.com/repos/buildbot/buildbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buildbot/buildbot/downloads","issues_url":"https://api.github.com/repos/buildbot/buildbot/issues{/number}","pulls_url":"https://api.github.com/repos/buildbot/buildbot/pulls{/number}","milestones_url":"https://api.github.com/repos/buildbot/buildbot/milestones{/number}","notifications_url":"https://api.github.com/repos/buildbot/buildbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buildbot/buildbot/labels{/name}","releases_url":"https://api.github.com/repos/buildbot/buildbot/releases{/id}","created_at":"2010-07-06T17:56:53Z","updated_at":"2015-03-24T19:07:46Z","pushed_at":"2015-03-24T20:44:08Z","git_url":"git://github.com/buildbot/buildbot.git","ssh_url":"git@github.com:buildbot/buildbot.git","clone_url":"https://github.com/buildbot/buildbot.git","svn_url":"https://github.com/buildbot/buildbot","homepage":"http://buildbot.net","size":50460,"stargazers_count":1444,"watchers_count":1444,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":675,"mirror_url":null,"open_issues_count":21,"forks":675,"open_issues":21,"watchers":1444,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/1606"},"html":{"href":"https://github.com/buildbot/buildbot/pull/1606"},"issue":{"href":"https://api.github.com/repos/buildbot/buildbot/issues/1606"},"comments":{"href":"https://api.github.com/repos/buildbot/buildbot/issues/1606/comments"},"review_comments":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/1606/comments"},"review_comment":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/1606/commits"},"statuses":{"href":"https://api.github.com/repos/buildbot/buildbot/statuses/3942fe58e0220c400f2d8173a47bc0ac90147b17"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":2,"commits":0,"additions":0,"deletions":0,"changed_files":0}}