GitHub PullRequestEvent at 2014-12-06 13:52:22
Repository: hubot-team
Actor: mihai
Payload: {"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls/1","id":24817948,"html_url":"https://github.com/hubot-scripts/hubot-team/pull/1","diff_url":"https://github.com/hubot-scripts/hubot-team/pull/1.diff","patch_url":"https://github.com/hubot-scripts/hubot-team/pull/1.patch","issue_url":"https://api.github.com/repos/hubot-scripts/hubot-team/issues/1","number":1,"state":"closed","locked":false,"title":"Add multi-team support to this lovely script.","user":{"login":"olivierlacan","id":65950,"avatar_url":"https://avatars.githubusercontent.com/u/65950?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlacan","html_url":"https://github.com/olivierlacan","followers_url":"https://api.github.com/users/olivierlacan/followers","following_url":"https://api.github.com/users/olivierlacan/following{/other_user}","gists_url":"https://api.github.com/users/olivierlacan/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlacan/subscriptions","organizations_url":"https://api.github.com/users/olivierlacan/orgs","repos_url":"https://api.github.com/users/olivierlacan/repos","events_url":"https://api.github.com/users/olivierlacan/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlacan/received_events","type":"User","site_admin":false},"body":"It's now possible to add multiple teams (there are none by default).\r\n\r\nInstead of storing users as keys we're storing them as array items\r\ninstead because it didn't seem like there was any relevant information\r\nstored in the user object (if a user isn't a team member anymore\r\nwhat's the point of keeping their object around?).\r\n\r\nWe can now:\r\n- list all teams\r\n- create a team\r\n- add a user to a team\r\n- add oneself to a team\r\n- remove a user from a team\r\n\r\n> Isn't it grand? Isn't it great?\r\n> Isn't it swell? Isn't it fun?\r\n> Isn't it?\r\n\r\nSigned-off-by: Katie Delfin <katiedelfin@gmail.com>","created_at":"2014-11-21T04:04:06Z","updated_at":"2014-12-06T13:52:20Z","closed_at":"2014-12-06T13:52:20Z","merged_at":"2014-12-06T13:52:20Z","merge_commit_sha":"335aceea1a4ebebe20483d487bc03f20ad1d168e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls/1/commits","review_comments_url":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls/1/comments","review_comment_url":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls/comments/{number}","comments_url":"https://api.github.com/repos/hubot-scripts/hubot-team/issues/1/comments","statuses_url":"https://api.github.com/repos/hubot-scripts/hubot-team/statuses/bb2d41d0950403bbc69479a10b6d98462ca16332","head":{"label":"olivierlacan:multi-teams","ref":"multi-teams","sha":"bb2d41d0950403bbc69479a10b6d98462ca16332","user":{"login":"olivierlacan","id":65950,"avatar_url":"https://avatars.githubusercontent.com/u/65950?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlacan","html_url":"https://github.com/olivierlacan","followers_url":"https://api.github.com/users/olivierlacan/followers","following_url":"https://api.github.com/users/olivierlacan/following{/other_user}","gists_url":"https://api.github.com/users/olivierlacan/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlacan/subscriptions","organizations_url":"https://api.github.com/users/olivierlacan/orgs","repos_url":"https://api.github.com/users/olivierlacan/repos","events_url":"https://api.github.com/users/olivierlacan/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlacan/received_events","type":"User","site_admin":false},"repo":{"id":26942316,"name":"hubot-team","full_name":"olivierlacan/hubot-team","owner":{"login":"olivierlacan","id":65950,"avatar_url":"https://avatars.githubusercontent.com/u/65950?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlacan","html_url":"https://github.com/olivierlacan","followers_url":"https://api.github.com/users/olivierlacan/followers","following_url":"https://api.github.com/users/olivierlacan/following{/other_user}","gists_url":"https://api.github.com/users/olivierlacan/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlacan/subscriptions","organizations_url":"https://api.github.com/users/olivierlacan/orgs","repos_url":"https://api.github.com/users/olivierlacan/repos","events_url":"https://api.github.com/users/olivierlacan/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlacan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olivierlacan/hubot-team","description":"Create and manage the members of a team with Hubot","fork":true,"url":"https://api.github.com/repos/olivierlacan/hubot-team","forks_url":"https://api.github.com/repos/olivierlacan/hubot-team/forks","keys_url":"https://api.github.com/repos/olivierlacan/hubot-team/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olivierlacan/hubot-team/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olivierlacan/hubot-team/teams","hooks_url":"https://api.github.com/repos/olivierlacan/hubot-team/hooks","issue_events_url":"https://api.github.com/repos/olivierlacan/hubot-team/issues/events{/number}","events_url":"https://api.github.com/repos/olivierlacan/hubot-team/events","assignees_url":"https://api.github.com/repos/olivierlacan/hubot-team/assignees{/user}","branches_url":"https://api.github.com/repos/olivierlacan/hubot-team/branches{/branch}","tags_url":"https://api.github.com/repos/olivierlacan/hubot-team/tags","blobs_url":"https://api.github.com/repos/olivierlacan/hubot-team/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olivierlacan/hubot-team/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olivierlacan/hubot-team/git/refs{/sha}","trees_url":"https://api.github.com/repos/olivierlacan/hubot-team/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olivierlacan/hubot-team/statuses/{sha}","languages_url":"https://api.github.com/repos/olivierlacan/hubot-team/languages","stargazers_url":"https://api.github.com/repos/olivierlacan/hubot-team/stargazers","contributors_url":"https://api.github.com/repos/olivierlacan/hubot-team/contributors","subscribers_url":"https://api.github.com/repos/olivierlacan/hubot-team/subscribers","subscription_url":"https://api.github.com/repos/olivierlacan/hubot-team/subscription","commits_url":"https://api.github.com/repos/olivierlacan/hubot-team/commits{/sha}","git_commits_url":"https://api.github.com/repos/olivierlacan/hubot-team/git/commits{/sha}","comments_url":"https://api.github.com/repos/olivierlacan/hubot-team/comments{/number}","issue_comment_url":"https://api.github.com/repos/olivierlacan/hubot-team/issues/comments/{number}","contents_url":"https://api.github.com/repos/olivierlacan/hubot-team/contents/{+path}","compare_url":"https://api.github.com/repos/olivierlacan/hubot-team/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olivierlacan/hubot-team/merges","archive_url":"https://api.github.com/repos/olivierlacan/hubot-team/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olivierlacan/hubot-team/downloads","issues_url":"https://api.github.com/repos/olivierlacan/hubot-team/issues{/number}","pulls_url":"https://api.github.com/repos/olivierlacan/hubot-team/pulls{/number}","milestones_url":"https://api.github.com/repos/olivierlacan/hubot-team/milestones{/number}","notifications_url":"https://api.github.com/repos/olivierlacan/hubot-team/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olivierlacan/hubot-team/labels{/name}","releases_url":"https://api.github.com/repos/olivierlacan/hubot-team/releases{/id}","created_at":"2014-11-21T02:41:50Z","updated_at":"2014-11-21T02:41:51Z","pushed_at":"2014-11-26T01:34:54Z","git_url":"git://github.com/olivierlacan/hubot-team.git","ssh_url":"git@github.com:olivierlacan/hubot-team.git","clone_url":"https://github.com/olivierlacan/hubot-team.git","svn_url":"https://github.com/olivierlacan/hubot-team","homepage":null,"size":112,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"hubot-scripts:master","ref":"master","sha":"8a7d3b5d0bc94afa44598f5e5b65e01ed9f44110","user":{"login":"hubot-scripts","id":5367660,"avatar_url":"https://avatars.githubusercontent.com/u/5367660?v=3","gravatar_id":"","url":"https://api.github.com/users/hubot-scripts","html_url":"https://github.com/hubot-scripts","followers_url":"https://api.github.com/users/hubot-scripts/followers","following_url":"https://api.github.com/users/hubot-scripts/following{/other_user}","gists_url":"https://api.github.com/users/hubot-scripts/gists{/gist_id}","starred_url":"https://api.github.com/users/hubot-scripts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubot-scripts/subscriptions","organizations_url":"https://api.github.com/users/hubot-scripts/orgs","repos_url":"https://api.github.com/users/hubot-scripts/repos","events_url":"https://api.github.com/users/hubot-scripts/events{/privacy}","received_events_url":"https://api.github.com/users/hubot-scripts/received_events","type":"Organization","site_admin":false},"repo":{"id":23502876,"name":"hubot-team","full_name":"hubot-scripts/hubot-team","owner":{"login":"hubot-scripts","id":5367660,"avatar_url":"https://avatars.githubusercontent.com/u/5367660?v=3","gravatar_id":"","url":"https://api.github.com/users/hubot-scripts","html_url":"https://github.com/hubot-scripts","followers_url":"https://api.github.com/users/hubot-scripts/followers","following_url":"https://api.github.com/users/hubot-scripts/following{/other_user}","gists_url":"https://api.github.com/users/hubot-scripts/gists{/gist_id}","starred_url":"https://api.github.com/users/hubot-scripts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubot-scripts/subscriptions","organizations_url":"https://api.github.com/users/hubot-scripts/orgs","repos_url":"https://api.github.com/users/hubot-scripts/repos","events_url":"https://api.github.com/users/hubot-scripts/events{/privacy}","received_events_url":"https://api.github.com/users/hubot-scripts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hubot-scripts/hubot-team","description":"Create and manage the members of a team with Hubot","fork":true,"url":"https://api.github.com/repos/hubot-scripts/hubot-team","forks_url":"https://api.github.com/repos/hubot-scripts/hubot-team/forks","keys_url":"https://api.github.com/repos/hubot-scripts/hubot-team/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hubot-scripts/hubot-team/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hubot-scripts/hubot-team/teams","hooks_url":"https://api.github.com/repos/hubot-scripts/hubot-team/hooks","issue_events_url":"https://api.github.com/repos/hubot-scripts/hubot-team/issues/events{/number}","events_url":"https://api.github.com/repos/hubot-scripts/hubot-team/events","assignees_url":"https://api.github.com/repos/hubot-scripts/hubot-team/assignees{/user}","branches_url":"https://api.github.com/repos/hubot-scripts/hubot-team/branches{/branch}","tags_url":"https://api.github.com/repos/hubot-scripts/hubot-team/tags","blobs_url":"https://api.github.com/repos/hubot-scripts/hubot-team/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hubot-scripts/hubot-team/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hubot-scripts/hubot-team/git/refs{/sha}","trees_url":"https://api.github.com/repos/hubot-scripts/hubot-team/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hubot-scripts/hubot-team/statuses/{sha}","languages_url":"https://api.github.com/repos/hubot-scripts/hubot-team/languages","stargazers_url":"https://api.github.com/repos/hubot-scripts/hubot-team/stargazers","contributors_url":"https://api.github.com/repos/hubot-scripts/hubot-team/contributors","subscribers_url":"https://api.github.com/repos/hubot-scripts/hubot-team/subscribers","subscription_url":"https://api.github.com/repos/hubot-scripts/hubot-team/subscription","commits_url":"https://api.github.com/repos/hubot-scripts/hubot-team/commits{/sha}","git_commits_url":"https://api.github.com/repos/hubot-scripts/hubot-team/git/commits{/sha}","comments_url":"https://api.github.com/repos/hubot-scripts/hubot-team/comments{/number}","issue_comment_url":"https://api.github.com/repos/hubot-scripts/hubot-team/issues/comments/{number}","contents_url":"https://api.github.com/repos/hubot-scripts/hubot-team/contents/{+path}","compare_url":"https://api.github.com/repos/hubot-scripts/hubot-team/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hubot-scripts/hubot-team/merges","archive_url":"https://api.github.com/repos/hubot-scripts/hubot-team/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hubot-scripts/hubot-team/downloads","issues_url":"https://api.github.com/repos/hubot-scripts/hubot-team/issues{/number}","pulls_url":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls{/number}","milestones_url":"https://api.github.com/repos/hubot-scripts/hubot-team/milestones{/number}","notifications_url":"https://api.github.com/repos/hubot-scripts/hubot-team/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hubot-scripts/hubot-team/labels{/name}","releases_url":"https://api.github.com/repos/hubot-scripts/hubot-team/releases{/id}","created_at":"2014-08-30T23:44:36Z","updated_at":"2014-12-02T23:27:17Z","pushed_at":"2014-12-06T13:52:22Z","git_url":"git://github.com/hubot-scripts/hubot-team.git","ssh_url":"git@github.com:hubot-scripts/hubot-team.git","clone_url":"https://github.com/hubot-scripts/hubot-team.git","svn_url":"https://github.com/hubot-scripts/hubot-team","homepage":null,"size":166,"stargazers_count":3,"watchers_count":3,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls/1"},"html":{"href":"https://github.com/hubot-scripts/hubot-team/pull/1"},"issue":{"href":"https://api.github.com/repos/hubot-scripts/hubot-team/issues/1"},"comments":{"href":"https://api.github.com/repos/hubot-scripts/hubot-team/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/hubot-scripts/hubot-team/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/hubot-scripts/hubot-team/statuses/bb2d41d0950403bbc69479a10b6d98462ca16332"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mihai","id":2195601,"avatar_url":"https://avatars.githubusercontent.com/u/2195601?v=3","gravatar_id":"","url":"https://api.github.com/users/mihai","html_url":"https://github.com/mihai","followers_url":"https://api.github.com/users/mihai/followers","following_url":"https://api.github.com/users/mihai/following{/other_user}","gists_url":"https://api.github.com/users/mihai/gists{/gist_id}","starred_url":"https://api.github.com/users/mihai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihai/subscriptions","organizations_url":"https://api.github.com/users/mihai/orgs","repos_url":"https://api.github.com/users/mihai/repos","events_url":"https://api.github.com/users/mihai/events{/privacy}","received_events_url":"https://api.github.com/users/mihai/received_events","type":"User","site_admin":false},"comments":7,"review_comments":13,"commits":1,"additions":93,"deletions":43,"changed_files":2}}