{"action":"opened","number":604,"pull_request":{"url":"https://api.github.com/repos/ssbc/ssb-server/pulls/604","id":240671019,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNjcxMDE5","html_url":"https://github.com/ssbc/ssb-server/pull/604","diff_url":"https://github.com/ssbc/ssb-server/pull/604.diff","patch_url":"https://github.com/ssbc/ssb-server/pull/604.patch","issue_url":"https://api.github.com/repos/ssbc/ssb-server/issues/604","number":604,"state":"open","locked":false,"title":"Add friends config option to connect to peers marked as friends","user":{"login":"arj03","id":350682,"node_id":"MDQ6VXNlcjM1MDY4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/350682?v=4","gravatar_id":"","url":"https://api.github.com/users/arj03","html_url":"https://github.com/arj03","followers_url":"https://api.github.com/users/arj03/followers","following_url":"https://api.github.com/users/arj03/following{/other_user}","gists_url":"https://api.github.com/users/arj03/gists{/gist_id}","starred_url":"https://api.github.com/users/arj03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arj03/subscriptions","organizations_url":"https://api.github.com/users/arj03/orgs","repos_url":"https://api.github.com/users/arj03/repos","events_url":"https://api.github.com/users/arj03/events{/privacy}","received_events_url":"https://api.github.com/users/arj03/received_events","type":"User","site_admin":false},"body":"This plays well with [ssb-friend-pub](https://github.com/ssbc/ssb-friend-pub) module. \r\n\r\nI reused the \"friends\" type for adding these peers so that friend-pub also should work together with the global module and prioritize friends.\r\n\r\nThe idea with this flag is that one should be able to only connect to peers marked as friends.","created_at":"2018-12-23T08:18:17Z","updated_at":"2018-12-23T08:18:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ssbc/ssb-server/pulls/604/commits","review_comments_url":"https://api.github.com/repos/ssbc/ssb-server/pulls/604/comments","review_comment_url":"https://api.github.com/repos/ssbc/ssb-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ssbc/ssb-server/issues/604/comments","statuses_url":"https://api.github.com/repos/ssbc/ssb-server/statuses/a60587a6b8a841af150bf61c5449925bebaba067","head":{"label":"ssbc:add-friends","ref":"add-friends","sha":"a60587a6b8a841af150bf61c5449925bebaba067","user":{"login":"ssbc","id":10190339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTkwMzM5","avatar_url":"https://avatars0.githubusercontent.com/u/10190339?v=4","gravatar_id":"","url":"https://api.github.com/users/ssbc","html_url":"https://github.com/ssbc","followers_url":"https://api.github.com/users/ssbc/followers","following_url":"https://api.github.com/users/ssbc/following{/other_user}","gists_url":"https://api.github.com/users/ssbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbc/subscriptions","organizations_url":"https://api.github.com/users/ssbc/orgs","repos_url":"https://api.github.com/users/ssbc/repos","events_url":"https://api.github.com/users/ssbc/events{/privacy}","received_events_url":"https://api.github.com/users/ssbc/received_events","type":"Organization","site_admin":false},"repo":{"id":25894747,"node_id":"MDEwOlJlcG9zaXRvcnkyNTg5NDc0Nw==","name":"ssb-server","full_name":"ssbc/ssb-server","private":false,"owner":{"login":"ssbc","id":10190339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTkwMzM5","avatar_url":"https://avatars0.githubusercontent.com/u/10190339?v=4","gravatar_id":"","url":"https://api.github.com/users/ssbc","html_url":"https://github.com/ssbc","followers_url":"https://api.github.com/users/ssbc/followers","following_url":"https://api.github.com/users/ssbc/following{/other_user}","gists_url":"https://api.github.com/users/ssbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbc/subscriptions","organizations_url":"https://api.github.com/users/ssbc/orgs","repos_url":"https://api.github.com/users/ssbc/repos","events_url":"https://api.github.com/users/ssbc/events{/privacy}","received_events_url":"https://api.github.com/users/ssbc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ssbc/ssb-server","description":"The gossip and replication server for Secure Scuttlebutt - a distributed social network","fork":false,"url":"https://api.github.com/repos/ssbc/ssb-server","forks_url":"https://api.github.com/repos/ssbc/ssb-server/forks","keys_url":"https://api.github.com/repos/ssbc/ssb-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssbc/ssb-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssbc/ssb-server/teams","hooks_url":"https://api.github.com/repos/ssbc/ssb-server/hooks","issue_events_url":"https://api.github.com/repos/ssbc/ssb-server/issues/events{/number}","events_url":"https://api.github.com/repos/ssbc/ssb-server/events","assignees_url":"https://api.github.com/repos/ssbc/ssb-server/assignees{/user}","branches_url":"https://api.github.com/repos/ssbc/ssb-server/branches{/branch}","tags_url":"https://api.github.com/repos/ssbc/ssb-server/tags","blobs_url":"https://api.github.com/repos/ssbc/ssb-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssbc/ssb-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssbc/ssb-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssbc/ssb-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssbc/ssb-server/statuses/{sha}","languages_url":"https://api.github.com/repos/ssbc/ssb-server/languages","stargazers_url":"https://api.github.com/repos/ssbc/ssb-server/stargazers","contributors_url":"https://api.github.com/repos/ssbc/ssb-server/contributors","subscribers_url":"https://api.github.com/repos/ssbc/ssb-server/subscribers","subscription_url":"https://api.github.com/repos/ssbc/ssb-server/subscription","commits_url":"https://api.github.com/repos/ssbc/ssb-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssbc/ssb-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssbc/ssb-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssbc/ssb-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssbc/ssb-server/contents/{+path}","compare_url":"https://api.github.com/repos/ssbc/ssb-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssbc/ssb-server/merges","archive_url":"https://api.github.com/repos/ssbc/ssb-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssbc/ssb-server/downloads","issues_url":"https://api.github.com/repos/ssbc/ssb-server/issues{/number}","pulls_url":"https://api.github.com/repos/ssbc/ssb-server/pulls{/number}","milestones_url":"https://api.github.com/repos/ssbc/ssb-server/milestones{/number}","notifications_url":"https://api.github.com/repos/ssbc/ssb-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssbc/ssb-server/labels{/name}","releases_url":"https://api.github.com/repos/ssbc/ssb-server/releases{/id}","deployments_url":"https://api.github.com/repos/ssbc/ssb-server/deployments","created_at":"2014-10-28T23:23:16Z","updated_at":"2018-12-22T17:21:27Z","pushed_at":"2018-12-23T08:15:31Z","git_url":"git://github.com/ssbc/ssb-server.git","ssh_url":"git@github.com:ssbc/ssb-server.git","clone_url":"https://github.com/ssbc/ssb-server.git","svn_url":"https://github.com/ssbc/ssb-server","homepage":"http://scuttlebot.io/","size":2575,"stargazers_count":1020,"watchers_count":1020,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":121,"mirror_url":null,"archived":false,"open_issues_count":53,"license":null,"forks":121,"open_issues":53,"watchers":1020,"default_branch":"master"}},"base":{"label":"ssbc:master","ref":"master","sha":"7755ec80e5ba2152f11c3966a79c13fc0c1e8dda","user":{"login":"ssbc","id":10190339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTkwMzM5","avatar_url":"https://avatars0.githubusercontent.com/u/10190339?v=4","gravatar_id":"","url":"https://api.github.com/users/ssbc","html_url":"https://github.com/ssbc","followers_url":"https://api.github.com/users/ssbc/followers","following_url":"https://api.github.com/users/ssbc/following{/other_user}","gists_url":"https://api.github.com/users/ssbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbc/subscriptions","organizations_url":"https://api.github.com/users/ssbc/orgs","repos_url":"https://api.github.com/users/ssbc/repos","events_url":"https://api.github.com/users/ssbc/events{/privacy}","received_events_url":"https://api.github.com/users/ssbc/received_events","type":"Organization","site_admin":false},"repo":{"id":25894747,"node_id":"MDEwOlJlcG9zaXRvcnkyNTg5NDc0Nw==","name":"ssb-server","full_name":"ssbc/ssb-server","private":false,"owner":{"login":"ssbc","id":10190339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTkwMzM5","avatar_url":"https://avatars0.githubusercontent.com/u/10190339?v=4","gravatar_id":"","url":"https://api.github.com/users/ssbc","html_url":"https://github.com/ssbc","followers_url":"https://api.github.com/users/ssbc/followers","following_url":"https://api.github.com/users/ssbc/following{/other_user}","gists_url":"https://api.github.com/users/ssbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbc/subscriptions","organizations_url":"https://api.github.com/users/ssbc/orgs","repos_url":"https://api.github.com/users/ssbc/repos","events_url":"https://api.github.com/users/ssbc/events{/privacy}","received_events_url":"https://api.github.com/users/ssbc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ssbc/ssb-server","description":"The gossip and replication server for Secure Scuttlebutt - a distributed social network","fork":false,"url":"https://api.github.com/repos/ssbc/ssb-server","forks_url":"https://api.github.com/repos/ssbc/ssb-server/forks","keys_url":"https://api.github.com/repos/ssbc/ssb-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssbc/ssb-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssbc/ssb-server/teams","hooks_url":"https://api.github.com/repos/ssbc/ssb-server/hooks","issue_events_url":"https://api.github.com/repos/ssbc/ssb-server/issues/events{/number}","events_url":"https://api.github.com/repos/ssbc/ssb-server/events","assignees_url":"https://api.github.com/repos/ssbc/ssb-server/assignees{/user}","branches_url":"https://api.github.com/repos/ssbc/ssb-server/branches{/branch}","tags_url":"https://api.github.com/repos/ssbc/ssb-server/tags","blobs_url":"https://api.github.com/repos/ssbc/ssb-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssbc/ssb-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssbc/ssb-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssbc/ssb-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssbc/ssb-server/statuses/{sha}","languages_url":"https://api.github.com/repos/ssbc/ssb-server/languages","stargazers_url":"https://api.github.com/repos/ssbc/ssb-server/stargazers","contributors_url":"https://api.github.com/repos/ssbc/ssb-server/contributors","subscribers_url":"https://api.github.com/repos/ssbc/ssb-server/subscribers","subscription_url":"https://api.github.com/repos/ssbc/ssb-server/subscription","commits_url":"https://api.github.com/repos/ssbc/ssb-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssbc/ssb-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssbc/ssb-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssbc/ssb-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssbc/ssb-server/contents/{+path}","compare_url":"https://api.github.com/repos/ssbc/ssb-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssbc/ssb-server/merges","archive_url":"https://api.github.com/repos/ssbc/ssb-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssbc/ssb-server/downloads","issues_url":"https://api.github.com/repos/ssbc/ssb-server/issues{/number}","pulls_url":"https://api.github.com/repos/ssbc/ssb-server/pulls{/number}","milestones_url":"https://api.github.com/repos/ssbc/ssb-server/milestones{/number}","notifications_url":"https://api.github.com/repos/ssbc/ssb-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssbc/ssb-server/labels{/name}","releases_url":"https://api.github.com/repos/ssbc/ssb-server/releases{/id}","deployments_url":"https://api.github.com/repos/ssbc/ssb-server/deployments","created_at":"2014-10-28T23:23:16Z","updated_at":"2018-12-22T17:21:27Z","pushed_at":"2018-12-23T08:15:31Z","git_url":"git://github.com/ssbc/ssb-server.git","ssh_url":"git@github.com:ssbc/ssb-server.git","clone_url":"https://github.com/ssbc/ssb-server.git","svn_url":"https://github.com/ssbc/ssb-server","homepage":"http://scuttlebot.io/","size":2575,"stargazers_count":1020,"watchers_count":1020,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":121,"mirror_url":null,"archived":false,"open_issues_count":53,"license":null,"forks":121,"open_issues":53,"watchers":1020,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ssbc/ssb-server/pulls/604"},"html":{"href":"https://github.com/ssbc/ssb-server/pull/604"},"issue":{"href":"https://api.github.com/repos/ssbc/ssb-server/issues/604"},"comments":{"href":"https://api.github.com/repos/ssbc/ssb-server/issues/604/comments"},"review_comments":{"href":"https://api.github.com/repos/ssbc/ssb-server/pulls/604/comments"},"review_comment":{"href":"https://api.github.com/repos/ssbc/ssb-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ssbc/ssb-server/pulls/604/commits"},"statuses":{"href":"https://api.github.com/repos/ssbc/ssb-server/statuses/a60587a6b8a841af150bf61c5449925bebaba067"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":17,"deletions":15,"changed_files":1}}
{"actor":{"display_login":"arj03"}}