{"action":"created","comment":{"url":"https://api.github.com/repos/giterate/giterate/pulls/comments/210312185","pull_request_review_id":146499138,"id":210312185,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDMxMjE4NQ==","diff_hunk":"@@ -0,0 +1,48 @@\n+const ReaderWriter = require('../reader-writer');\n+\n+module.exports = class Pulls extends ReaderWriter {\n+  constructor(repos, filterFn = null) {\n+    super(...arguments);\n+\n+    this.repos = repos;\n+    this.filterFn = filterFn;\n+  }\n+\n+  // async readCore() -- NYI\n+\n+  async createPRsForOneBranchName(branchName) {\n+    return this.createPRs(await this.repos.map(","path":"repos/prs.js","position":14,"original_position":14,"commit_id":"eaba4cc24733a756c889d61b86b4c91998887552","original_commit_id":"eaba4cc24733a756c889d61b86b4c91998887552","user":{"login":"msluther","id":15640215,"node_id":"MDQ6VXNlcjE1NjQwMjE1","avatar_url":"https://avatars2.githubusercontent.com/u/15640215?v=4","gravatar_id":"","url":"https://api.github.com/users/msluther","html_url":"https://github.com/msluther","followers_url":"https://api.github.com/users/msluther/followers","following_url":"https://api.github.com/users/msluther/following{/other_user}","gists_url":"https://api.github.com/users/msluther/gists{/gist_id}","starred_url":"https://api.github.com/users/msluther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msluther/subscriptions","organizations_url":"https://api.github.com/users/msluther/orgs","repos_url":"https://api.github.com/users/msluther/repos","events_url":"https://api.github.com/users/msluther/events{/privacy}","received_events_url":"https://api.github.com/users/msluther/received_events","type":"User","site_admin":false},"body":"probably good to have this also, but branches is probably going to be a tuple of branch-data & repo-data like labels ended up being.","created_at":"2018-08-15T15:41:23Z","updated_at":"2018-08-15T15:41:33Z","html_url":"https://github.com/giterate/giterate/pull/5#discussion_r210312185","pull_request_url":"https://api.github.com/repos/giterate/giterate/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/giterate/giterate/pulls/comments/210312185"},"html":{"href":"https://github.com/giterate/giterate/pull/5#discussion_r210312185"},"pull_request":{"href":"https://api.github.com/repos/giterate/giterate/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/giterate/giterate/pulls/5","id":208472312,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NDcyMzEy","html_url":"https://github.com/giterate/giterate/pull/5","diff_url":"https://github.com/giterate/giterate/pull/5.diff","patch_url":"https://github.com/giterate/giterate/pull/5.patch","issue_url":"https://api.github.com/repos/giterate/giterate/issues/5","number":5,"state":"open","locked":false,"title":"Finish repos.prs create implementation","user":{"login":"mmcknett","id":2801510,"node_id":"MDQ6VXNlcjI4MDE1MTA=","avatar_url":"https://avatars2.githubusercontent.com/u/2801510?v=4","gravatar_id":"","url":"https://api.github.com/users/mmcknett","html_url":"https://github.com/mmcknett","followers_url":"https://api.github.com/users/mmcknett/followers","following_url":"https://api.github.com/users/mmcknett/following{/other_user}","gists_url":"https://api.github.com/users/mmcknett/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcknett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcknett/subscriptions","organizations_url":"https://api.github.com/users/mmcknett/orgs","repos_url":"https://api.github.com/users/mmcknett/repos","events_url":"https://api.github.com/users/mmcknett/events{/privacy}","received_events_url":"https://api.github.com/users/mmcknett/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-15T04:49:25Z","updated_at":"2018-08-15T15:41:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef882dde1316076cda35bc88952a54e1d474c12d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/giterate/giterate/pulls/5/commits","review_comments_url":"https://api.github.com/repos/giterate/giterate/pulls/5/comments","review_comment_url":"https://api.github.com/repos/giterate/giterate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/giterate/giterate/issues/5/comments","statuses_url":"https://api.github.com/repos/giterate/giterate/statuses/eaba4cc24733a756c889d61b86b4c91998887552","head":{"label":"giterate:mm-prs","ref":"mm-prs","sha":"eaba4cc24733a756c889d61b86b4c91998887552","user":{"login":"giterate","id":42386976,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMzg2OTc2","avatar_url":"https://avatars1.githubusercontent.com/u/42386976?v=4","gravatar_id":"","url":"https://api.github.com/users/giterate","html_url":"https://github.com/giterate","followers_url":"https://api.github.com/users/giterate/followers","following_url":"https://api.github.com/users/giterate/following{/other_user}","gists_url":"https://api.github.com/users/giterate/gists{/gist_id}","starred_url":"https://api.github.com/users/giterate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giterate/subscriptions","organizations_url":"https://api.github.com/users/giterate/orgs","repos_url":"https://api.github.com/users/giterate/repos","events_url":"https://api.github.com/users/giterate/events{/privacy}","received_events_url":"https://api.github.com/users/giterate/received_events","type":"Organization","site_admin":false},"repo":{"id":109192737,"node_id":"MDEwOlJlcG9zaXRvcnkxMDkxOTI3Mzc=","name":"giterate","full_name":"giterate/giterate","owner":{"login":"giterate","id":42386976,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMzg2OTc2","avatar_url":"https://avatars1.githubusercontent.com/u/42386976?v=4","gravatar_id":"","url":"https://api.github.com/users/giterate","html_url":"https://github.com/giterate","followers_url":"https://api.github.com/users/giterate/followers","following_url":"https://api.github.com/users/giterate/following{/other_user}","gists_url":"https://api.github.com/users/giterate/gists{/gist_id}","starred_url":"https://api.github.com/users/giterate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giterate/subscriptions","organizations_url":"https://api.github.com/users/giterate/orgs","repos_url":"https://api.github.com/users/giterate/repos","events_url":"https://api.github.com/users/giterate/events{/privacy}","received_events_url":"https://api.github.com/users/giterate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giterate/giterate","description":"Iterate and perform operations over a given set of Git repositories.","fork":false,"url":"https://api.github.com/repos/giterate/giterate","forks_url":"https://api.github.com/repos/giterate/giterate/forks","keys_url":"https://api.github.com/repos/giterate/giterate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giterate/giterate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giterate/giterate/teams","hooks_url":"https://api.github.com/repos/giterate/giterate/hooks","issue_events_url":"https://api.github.com/repos/giterate/giterate/issues/events{/number}","events_url":"https://api.github.com/repos/giterate/giterate/events","assignees_url":"https://api.github.com/repos/giterate/giterate/assignees{/user}","branches_url":"https://api.github.com/repos/giterate/giterate/branches{/branch}","tags_url":"https://api.github.com/repos/giterate/giterate/tags","blobs_url":"https://api.github.com/repos/giterate/giterate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giterate/giterate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giterate/giterate/git/refs{/sha}","trees_url":"https://api.github.com/repos/giterate/giterate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giterate/giterate/statuses/{sha}","languages_url":"https://api.github.com/repos/giterate/giterate/languages","stargazers_url":"https://api.github.com/repos/giterate/giterate/stargazers","contributors_url":"https://api.github.com/repos/giterate/giterate/contributors","subscribers_url":"https://api.github.com/repos/giterate/giterate/subscribers","subscription_url":"https://api.github.com/repos/giterate/giterate/subscription","commits_url":"https://api.github.com/repos/giterate/giterate/commits{/sha}","git_commits_url":"https://api.github.com/repos/giterate/giterate/git/commits{/sha}","comments_url":"https://api.github.com/repos/giterate/giterate/comments{/number}","issue_comment_url":"https://api.github.com/repos/giterate/giterate/issues/comments{/number}","contents_url":"https://api.github.com/repos/giterate/giterate/contents/{+path}","compare_url":"https://api.github.com/repos/giterate/giterate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giterate/giterate/merges","archive_url":"https://api.github.com/repos/giterate/giterate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giterate/giterate/downloads","issues_url":"https://api.github.com/repos/giterate/giterate/issues{/number}","pulls_url":"https://api.github.com/repos/giterate/giterate/pulls{/number}","milestones_url":"https://api.github.com/repos/giterate/giterate/milestones{/number}","notifications_url":"https://api.github.com/repos/giterate/giterate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giterate/giterate/labels{/name}","releases_url":"https://api.github.com/repos/giterate/giterate/releases{/id}","deployments_url":"https://api.github.com/repos/giterate/giterate/deployments","created_at":"2017-11-01T22:57:26Z","updated_at":"2018-08-15T01:18:48Z","pushed_at":"2018-08-15T04:49:25Z","git_url":"git://github.com/giterate/giterate.git","ssh_url":"git@github.com:giterate/giterate.git","clone_url":"https://github.com/giterate/giterate.git","svn_url":"https://github.com/giterate/giterate","homepage":null,"size":51,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"giterate:master","ref":"master","sha":"268676d6121b769b7b1dcdd5fe2440114acf522f","user":{"login":"giterate","id":42386976,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMzg2OTc2","avatar_url":"https://avatars1.githubusercontent.com/u/42386976?v=4","gravatar_id":"","url":"https://api.github.com/users/giterate","html_url":"https://github.com/giterate","followers_url":"https://api.github.com/users/giterate/followers","following_url":"https://api.github.com/users/giterate/following{/other_user}","gists_url":"https://api.github.com/users/giterate/gists{/gist_id}","starred_url":"https://api.github.com/users/giterate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giterate/subscriptions","organizations_url":"https://api.github.com/users/giterate/orgs","repos_url":"https://api.github.com/users/giterate/repos","events_url":"https://api.github.com/users/giterate/events{/privacy}","received_events_url":"https://api.github.com/users/giterate/received_events","type":"Organization","site_admin":false},"repo":{"id":109192737,"node_id":"MDEwOlJlcG9zaXRvcnkxMDkxOTI3Mzc=","name":"giterate","full_name":"giterate/giterate","owner":{"login":"giterate","id":42386976,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMzg2OTc2","avatar_url":"https://avatars1.githubusercontent.com/u/42386976?v=4","gravatar_id":"","url":"https://api.github.com/users/giterate","html_url":"https://github.com/giterate","followers_url":"https://api.github.com/users/giterate/followers","following_url":"https://api.github.com/users/giterate/following{/other_user}","gists_url":"https://api.github.com/users/giterate/gists{/gist_id}","starred_url":"https://api.github.com/users/giterate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giterate/subscriptions","organizations_url":"https://api.github.com/users/giterate/orgs","repos_url":"https://api.github.com/users/giterate/repos","events_url":"https://api.github.com/users/giterate/events{/privacy}","received_events_url":"https://api.github.com/users/giterate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giterate/giterate","description":"Iterate and perform operations over a given set of Git repositories.","fork":false,"url":"https://api.github.com/repos/giterate/giterate","forks_url":"https://api.github.com/repos/giterate/giterate/forks","keys_url":"https://api.github.com/repos/giterate/giterate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giterate/giterate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giterate/giterate/teams","hooks_url":"https://api.github.com/repos/giterate/giterate/hooks","issue_events_url":"https://api.github.com/repos/giterate/giterate/issues/events{/number}","events_url":"https://api.github.com/repos/giterate/giterate/events","assignees_url":"https://api.github.com/repos/giterate/giterate/assignees{/user}","branches_url":"https://api.github.com/repos/giterate/giterate/branches{/branch}","tags_url":"https://api.github.com/repos/giterate/giterate/tags","blobs_url":"https://api.github.com/repos/giterate/giterate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giterate/giterate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giterate/giterate/git/refs{/sha}","trees_url":"https://api.github.com/repos/giterate/giterate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giterate/giterate/statuses/{sha}","languages_url":"https://api.github.com/repos/giterate/giterate/languages","stargazers_url":"https://api.github.com/repos/giterate/giterate/stargazers","contributors_url":"https://api.github.com/repos/giterate/giterate/contributors","subscribers_url":"https://api.github.com/repos/giterate/giterate/subscribers","subscription_url":"https://api.github.com/repos/giterate/giterate/subscription","commits_url":"https://api.github.com/repos/giterate/giterate/commits{/sha}","git_commits_url":"https://api.github.com/repos/giterate/giterate/git/commits{/sha}","comments_url":"https://api.github.com/repos/giterate/giterate/comments{/number}","issue_comment_url":"https://api.github.com/repos/giterate/giterate/issues/comments{/number}","contents_url":"https://api.github.com/repos/giterate/giterate/contents/{+path}","compare_url":"https://api.github.com/repos/giterate/giterate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giterate/giterate/merges","archive_url":"https://api.github.com/repos/giterate/giterate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giterate/giterate/downloads","issues_url":"https://api.github.com/repos/giterate/giterate/issues{/number}","pulls_url":"https://api.github.com/repos/giterate/giterate/pulls{/number}","milestones_url":"https://api.github.com/repos/giterate/giterate/milestones{/number}","notifications_url":"https://api.github.com/repos/giterate/giterate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giterate/giterate/labels{/name}","releases_url":"https://api.github.com/repos/giterate/giterate/releases{/id}","deployments_url":"https://api.github.com/repos/giterate/giterate/deployments","created_at":"2017-11-01T22:57:26Z","updated_at":"2018-08-15T01:18:48Z","pushed_at":"2018-08-15T04:49:25Z","git_url":"git://github.com/giterate/giterate.git","ssh_url":"git@github.com:giterate/giterate.git","clone_url":"https://github.com/giterate/giterate.git","svn_url":"https://github.com/giterate/giterate","homepage":null,"size":51,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/giterate/giterate/pulls/5"},"html":{"href":"https://github.com/giterate/giterate/pull/5"},"issue":{"href":"https://api.github.com/repos/giterate/giterate/issues/5"},"comments":{"href":"https://api.github.com/repos/giterate/giterate/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/giterate/giterate/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/giterate/giterate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/giterate/giterate/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/giterate/giterate/statuses/eaba4cc24733a756c889d61b86b4c91998887552"}},"author_association":"NONE"}}
{"actor":{"display_login":"msluther"}}