{"action":"opened","number":562,"pull_request":{"url":"https://api.github.com/repos/matrix-org/dendrite/pulls/562","id":204153141,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MTUzMTQx","html_url":"https://github.com/matrix-org/dendrite/pull/562","diff_url":"https://github.com/matrix-org/dendrite/pull/562.diff","patch_url":"https://github.com/matrix-org/dendrite/pull/562.patch","issue_url":"https://api.github.com/repos/matrix-org/dendrite/issues/562","number":562,"state":"open","locked":false,"title":"Refactor string slice helper to common/test","user":{"login":"APwhitehat","id":20104174,"node_id":"MDQ6VXNlcjIwMTA0MTc0","avatar_url":"https://avatars3.githubusercontent.com/u/20104174?v=4","gravatar_id":"","url":"https://api.github.com/users/APwhitehat","html_url":"https://github.com/APwhitehat","followers_url":"https://api.github.com/users/APwhitehat/followers","following_url":"https://api.github.com/users/APwhitehat/following{/other_user}","gists_url":"https://api.github.com/users/APwhitehat/gists{/gist_id}","starred_url":"https://api.github.com/users/APwhitehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APwhitehat/subscriptions","organizations_url":"https://api.github.com/users/APwhitehat/orgs","repos_url":"https://api.github.com/users/APwhitehat/repos","events_url":"https://api.github.com/users/APwhitehat/events{/privacy}","received_events_url":"https://api.github.com/users/APwhitehat/received_events","type":"User","site_admin":false},"body":"quick refactor before using this in #559 ","created_at":"2018-07-26T14:03:02Z","updated_at":"2018-07-26T14:03:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"anoadragon453","id":1342360,"node_id":"MDQ6VXNlcjEzNDIzNjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1342360?v=4","gravatar_id":"","url":"https://api.github.com/users/anoadragon453","html_url":"https://github.com/anoadragon453","followers_url":"https://api.github.com/users/anoadragon453/followers","following_url":"https://api.github.com/users/anoadragon453/following{/other_user}","gists_url":"https://api.github.com/users/anoadragon453/gists{/gist_id}","starred_url":"https://api.github.com/users/anoadragon453/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anoadragon453/subscriptions","organizations_url":"https://api.github.com/users/anoadragon453/orgs","repos_url":"https://api.github.com/users/anoadragon453/repos","events_url":"https://api.github.com/users/anoadragon453/events{/privacy}","received_events_url":"https://api.github.com/users/anoadragon453/received_events","type":"User","site_admin":false},"assignees":[{"login":"anoadragon453","id":1342360,"node_id":"MDQ6VXNlcjEzNDIzNjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1342360?v=4","gravatar_id":"","url":"https://api.github.com/users/anoadragon453","html_url":"https://github.com/anoadragon453","followers_url":"https://api.github.com/users/anoadragon453/followers","following_url":"https://api.github.com/users/anoadragon453/following{/other_user}","gists_url":"https://api.github.com/users/anoadragon453/gists{/gist_id}","starred_url":"https://api.github.com/users/anoadragon453/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anoadragon453/subscriptions","organizations_url":"https://api.github.com/users/anoadragon453/orgs","repos_url":"https://api.github.com/users/anoadragon453/repos","events_url":"https://api.github.com/users/anoadragon453/events{/privacy}","received_events_url":"https://api.github.com/users/anoadragon453/received_events","type":"User","site_admin":false},{"login":"erikjohnston","id":8428120,"node_id":"MDQ6VXNlcjg0MjgxMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/8428120?v=4","gravatar_id":"","url":"https://api.github.com/users/erikjohnston","html_url":"https://github.com/erikjohnston","followers_url":"https://api.github.com/users/erikjohnston/followers","following_url":"https://api.github.com/users/erikjohnston/following{/other_user}","gists_url":"https://api.github.com/users/erikjohnston/gists{/gist_id}","starred_url":"https://api.github.com/users/erikjohnston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikjohnston/subscriptions","organizations_url":"https://api.github.com/users/erikjohnston/orgs","repos_url":"https://api.github.com/users/erikjohnston/repos","events_url":"https://api.github.com/users/erikjohnston/events{/privacy}","received_events_url":"https://api.github.com/users/erikjohnston/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/matrix-org/dendrite/pulls/562/commits","review_comments_url":"https://api.github.com/repos/matrix-org/dendrite/pulls/562/comments","review_comment_url":"https://api.github.com/repos/matrix-org/dendrite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matrix-org/dendrite/issues/562/comments","statuses_url":"https://api.github.com/repos/matrix-org/dendrite/statuses/2ac7a6c6677e513288558ded4dd87145a032388d","head":{"label":"APwhitehat:addTestHelpers","ref":"addTestHelpers","sha":"2ac7a6c6677e513288558ded4dd87145a032388d","user":{"login":"APwhitehat","id":20104174,"node_id":"MDQ6VXNlcjIwMTA0MTc0","avatar_url":"https://avatars3.githubusercontent.com/u/20104174?v=4","gravatar_id":"","url":"https://api.github.com/users/APwhitehat","html_url":"https://github.com/APwhitehat","followers_url":"https://api.github.com/users/APwhitehat/followers","following_url":"https://api.github.com/users/APwhitehat/following{/other_user}","gists_url":"https://api.github.com/users/APwhitehat/gists{/gist_id}","starred_url":"https://api.github.com/users/APwhitehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APwhitehat/subscriptions","organizations_url":"https://api.github.com/users/APwhitehat/orgs","repos_url":"https://api.github.com/users/APwhitehat/repos","events_url":"https://api.github.com/users/APwhitehat/events{/privacy}","received_events_url":"https://api.github.com/users/APwhitehat/received_events","type":"User","site_admin":false},"repo":{"id":123380682,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMzODA2ODI=","name":"dendrite","full_name":"APwhitehat/dendrite","owner":{"login":"APwhitehat","id":20104174,"node_id":"MDQ6VXNlcjIwMTA0MTc0","avatar_url":"https://avatars3.githubusercontent.com/u/20104174?v=4","gravatar_id":"","url":"https://api.github.com/users/APwhitehat","html_url":"https://github.com/APwhitehat","followers_url":"https://api.github.com/users/APwhitehat/followers","following_url":"https://api.github.com/users/APwhitehat/following{/other_user}","gists_url":"https://api.github.com/users/APwhitehat/gists{/gist_id}","starred_url":"https://api.github.com/users/APwhitehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APwhitehat/subscriptions","organizations_url":"https://api.github.com/users/APwhitehat/orgs","repos_url":"https://api.github.com/users/APwhitehat/repos","events_url":"https://api.github.com/users/APwhitehat/events{/privacy}","received_events_url":"https://api.github.com/users/APwhitehat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/APwhitehat/dendrite","description":"Dendrite will be a matrix homeserver written in go","fork":true,"url":"https://api.github.com/repos/APwhitehat/dendrite","forks_url":"https://api.github.com/repos/APwhitehat/dendrite/forks","keys_url":"https://api.github.com/repos/APwhitehat/dendrite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/APwhitehat/dendrite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/APwhitehat/dendrite/teams","hooks_url":"https://api.github.com/repos/APwhitehat/dendrite/hooks","issue_events_url":"https://api.github.com/repos/APwhitehat/dendrite/issues/events{/number}","events_url":"https://api.github.com/repos/APwhitehat/dendrite/events","assignees_url":"https://api.github.com/repos/APwhitehat/dendrite/assignees{/user}","branches_url":"https://api.github.com/repos/APwhitehat/dendrite/branches{/branch}","tags_url":"https://api.github.com/repos/APwhitehat/dendrite/tags","blobs_url":"https://api.github.com/repos/APwhitehat/dendrite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/APwhitehat/dendrite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/APwhitehat/dendrite/git/refs{/sha}","trees_url":"https://api.github.com/repos/APwhitehat/dendrite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/APwhitehat/dendrite/statuses/{sha}","languages_url":"https://api.github.com/repos/APwhitehat/dendrite/languages","stargazers_url":"https://api.github.com/repos/APwhitehat/dendrite/stargazers","contributors_url":"https://api.github.com/repos/APwhitehat/dendrite/contributors","subscribers_url":"https://api.github.com/repos/APwhitehat/dendrite/subscribers","subscription_url":"https://api.github.com/repos/APwhitehat/dendrite/subscription","commits_url":"https://api.github.com/repos/APwhitehat/dendrite/commits{/sha}","git_commits_url":"https://api.github.com/repos/APwhitehat/dendrite/git/commits{/sha}","comments_url":"https://api.github.com/repos/APwhitehat/dendrite/comments{/number}","issue_comment_url":"https://api.github.com/repos/APwhitehat/dendrite/issues/comments{/number}","contents_url":"https://api.github.com/repos/APwhitehat/dendrite/contents/{+path}","compare_url":"https://api.github.com/repos/APwhitehat/dendrite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/APwhitehat/dendrite/merges","archive_url":"https://api.github.com/repos/APwhitehat/dendrite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/APwhitehat/dendrite/downloads","issues_url":"https://api.github.com/repos/APwhitehat/dendrite/issues{/number}","pulls_url":"https://api.github.com/repos/APwhitehat/dendrite/pulls{/number}","milestones_url":"https://api.github.com/repos/APwhitehat/dendrite/milestones{/number}","notifications_url":"https://api.github.com/repos/APwhitehat/dendrite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/APwhitehat/dendrite/labels{/name}","releases_url":"https://api.github.com/repos/APwhitehat/dendrite/releases{/id}","deployments_url":"https://api.github.com/repos/APwhitehat/dendrite/deployments","created_at":"2018-03-01T04:10:09Z","updated_at":"2018-07-26T13:42:22Z","pushed_at":"2018-07-26T13:57:50Z","git_url":"git://github.com/APwhitehat/dendrite.git","ssh_url":"git@github.com:APwhitehat/dendrite.git","clone_url":"https://github.com/APwhitehat/dendrite.git","svn_url":"https://github.com/APwhitehat/dendrite","homepage":"","size":36102,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"matrix-org:master","ref":"master","sha":"53a726fab100026d529b4e9f9392ad307b47c3f8","user":{"login":"matrix-org","id":8418310,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0MTgzMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/8418310?v=4","gravatar_id":"","url":"https://api.github.com/users/matrix-org","html_url":"https://github.com/matrix-org","followers_url":"https://api.github.com/users/matrix-org/followers","following_url":"https://api.github.com/users/matrix-org/following{/other_user}","gists_url":"https://api.github.com/users/matrix-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matrix-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrix-org/subscriptions","organizations_url":"https://api.github.com/users/matrix-org/orgs","repos_url":"https://api.github.com/users/matrix-org/repos","events_url":"https://api.github.com/users/matrix-org/events{/privacy}","received_events_url":"https://api.github.com/users/matrix-org/received_events","type":"Organization","site_admin":false},"repo":{"id":79585104,"node_id":"MDEwOlJlcG9zaXRvcnk3OTU4NTEwNA==","name":"dendrite","full_name":"matrix-org/dendrite","owner":{"login":"matrix-org","id":8418310,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0MTgzMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/8418310?v=4","gravatar_id":"","url":"https://api.github.com/users/matrix-org","html_url":"https://github.com/matrix-org","followers_url":"https://api.github.com/users/matrix-org/followers","following_url":"https://api.github.com/users/matrix-org/following{/other_user}","gists_url":"https://api.github.com/users/matrix-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matrix-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrix-org/subscriptions","organizations_url":"https://api.github.com/users/matrix-org/orgs","repos_url":"https://api.github.com/users/matrix-org/repos","events_url":"https://api.github.com/users/matrix-org/events{/privacy}","received_events_url":"https://api.github.com/users/matrix-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matrix-org/dendrite","description":"Dendrite will be a matrix homeserver written in go","fork":false,"url":"https://api.github.com/repos/matrix-org/dendrite","forks_url":"https://api.github.com/repos/matrix-org/dendrite/forks","keys_url":"https://api.github.com/repos/matrix-org/dendrite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matrix-org/dendrite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matrix-org/dendrite/teams","hooks_url":"https://api.github.com/repos/matrix-org/dendrite/hooks","issue_events_url":"https://api.github.com/repos/matrix-org/dendrite/issues/events{/number}","events_url":"https://api.github.com/repos/matrix-org/dendrite/events","assignees_url":"https://api.github.com/repos/matrix-org/dendrite/assignees{/user}","branches_url":"https://api.github.com/repos/matrix-org/dendrite/branches{/branch}","tags_url":"https://api.github.com/repos/matrix-org/dendrite/tags","blobs_url":"https://api.github.com/repos/matrix-org/dendrite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matrix-org/dendrite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matrix-org/dendrite/git/refs{/sha}","trees_url":"https://api.github.com/repos/matrix-org/dendrite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matrix-org/dendrite/statuses/{sha}","languages_url":"https://api.github.com/repos/matrix-org/dendrite/languages","stargazers_url":"https://api.github.com/repos/matrix-org/dendrite/stargazers","contributors_url":"https://api.github.com/repos/matrix-org/dendrite/contributors","subscribers_url":"https://api.github.com/repos/matrix-org/dendrite/subscribers","subscription_url":"https://api.github.com/repos/matrix-org/dendrite/subscription","commits_url":"https://api.github.com/repos/matrix-org/dendrite/commits{/sha}","git_commits_url":"https://api.github.com/repos/matrix-org/dendrite/git/commits{/sha}","comments_url":"https://api.github.com/repos/matrix-org/dendrite/comments{/number}","issue_comment_url":"https://api.github.com/repos/matrix-org/dendrite/issues/comments{/number}","contents_url":"https://api.github.com/repos/matrix-org/dendrite/contents/{+path}","compare_url":"https://api.github.com/repos/matrix-org/dendrite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matrix-org/dendrite/merges","archive_url":"https://api.github.com/repos/matrix-org/dendrite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matrix-org/dendrite/downloads","issues_url":"https://api.github.com/repos/matrix-org/dendrite/issues{/number}","pulls_url":"https://api.github.com/repos/matrix-org/dendrite/pulls{/number}","milestones_url":"https://api.github.com/repos/matrix-org/dendrite/milestones{/number}","notifications_url":"https://api.github.com/repos/matrix-org/dendrite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matrix-org/dendrite/labels{/name}","releases_url":"https://api.github.com/repos/matrix-org/dendrite/releases{/id}","deployments_url":"https://api.github.com/repos/matrix-org/dendrite/deployments","created_at":"2017-01-20T18:22:16Z","updated_at":"2018-07-25T12:58:16Z","pushed_at":"2018-07-25T16:51:44Z","git_url":"git://github.com/matrix-org/dendrite.git","ssh_url":"git@github.com:matrix-org/dendrite.git","clone_url":"https://github.com/matrix-org/dendrite.git","svn_url":"https://github.com/matrix-org/dendrite","homepage":"","size":36359,"stargazers_count":333,"watchers_count":333,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"archived":false,"open_issues_count":95,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":64,"open_issues":95,"watchers":333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matrix-org/dendrite/pulls/562"},"html":{"href":"https://github.com/matrix-org/dendrite/pull/562"},"issue":{"href":"https://api.github.com/repos/matrix-org/dendrite/issues/562"},"comments":{"href":"https://api.github.com/repos/matrix-org/dendrite/issues/562/comments"},"review_comments":{"href":"https://api.github.com/repos/matrix-org/dendrite/pulls/562/comments"},"review_comment":{"href":"https://api.github.com/repos/matrix-org/dendrite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matrix-org/dendrite/pulls/562/commits"},"statuses":{"href":"https://api.github.com/repos/matrix-org/dendrite/statuses/2ac7a6c6677e513288558ded4dd87145a032388d"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":35,"deletions":22,"changed_files":2}}
{"actor":{"display_login":"APwhitehat"}}