{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/wantedly/risu/pulls/20","id":42347254,"html_url":"https://github.com/wantedly/risu/pull/20","diff_url":"https://github.com/wantedly/risu/pull/20.diff","patch_url":"https://github.com/wantedly/risu/pull/20.patch","issue_url":"https://api.github.com/repos/wantedly/risu/issues/20","number":20,"state":"open","locked":false,"title":"Enable to specify registry backend","user":{"login":"spesnova","id":261700,"avatar_url":"https://avatars.githubusercontent.com/u/261700?v=3","gravatar_id":"","url":"https://api.github.com/users/spesnova","html_url":"https://github.com/spesnova","followers_url":"https://api.github.com/users/spesnova/followers","following_url":"https://api.github.com/users/spesnova/following{/other_user}","gists_url":"https://api.github.com/users/spesnova/gists{/gist_id}","starred_url":"https://api.github.com/users/spesnova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spesnova/subscriptions","organizations_url":"https://api.github.com/users/spesnova/orgs","repos_url":"https://api.github.com/users/spesnova/repos","events_url":"https://api.github.com/users/spesnova/events{/privacy}","received_events_url":"https://api.github.com/users/spesnova/received_events","type":"User","site_admin":false},"body":"## WHAT\r\nEnable to specify registry backend via environment variables.\r\n\r\n* `REGISTRY_BACKEND`: `localfs` or `etcd`\r\n* `REGISTRY_ENDPOINT`:\r\n * `localfs`: directory path that build data files are stored in (c.f. `/tmp/risu`)\r\n * `etcd`: etcd's endpoint (c.f. `http://172.17.8.101:4001`)\r\n\r\n## WHY\r\nEnable risu user to switch the backend","created_at":"2015-08-13T12:59:48Z","updated_at":"2015-08-13T12:59:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"awakia","id":272083,"avatar_url":"https://avatars.githubusercontent.com/u/272083?v=3","gravatar_id":"","url":"https://api.github.com/users/awakia","html_url":"https://github.com/awakia","followers_url":"https://api.github.com/users/awakia/followers","following_url":"https://api.github.com/users/awakia/following{/other_user}","gists_url":"https://api.github.com/users/awakia/gists{/gist_id}","starred_url":"https://api.github.com/users/awakia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awakia/subscriptions","organizations_url":"https://api.github.com/users/awakia/orgs","repos_url":"https://api.github.com/users/awakia/repos","events_url":"https://api.github.com/users/awakia/events{/privacy}","received_events_url":"https://api.github.com/users/awakia/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/wantedly/risu/pulls/20/commits","review_comments_url":"https://api.github.com/repos/wantedly/risu/pulls/20/comments","review_comment_url":"https://api.github.com/repos/wantedly/risu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wantedly/risu/issues/20/comments","statuses_url":"https://api.github.com/repos/wantedly/risu/statuses/1158e47ebfce2346c92a818a7bd28231531cccbe","head":{"label":"wantedly:spesnova/enable-to-switch-registry-backend","ref":"spesnova/enable-to-switch-registry-backend","sha":"1158e47ebfce2346c92a818a7bd28231531cccbe","user":{"login":"wantedly","id":1030053,"avatar_url":"https://avatars.githubusercontent.com/u/1030053?v=3","gravatar_id":"","url":"https://api.github.com/users/wantedly","html_url":"https://github.com/wantedly","followers_url":"https://api.github.com/users/wantedly/followers","following_url":"https://api.github.com/users/wantedly/following{/other_user}","gists_url":"https://api.github.com/users/wantedly/gists{/gist_id}","starred_url":"https://api.github.com/users/wantedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wantedly/subscriptions","organizations_url":"https://api.github.com/users/wantedly/orgs","repos_url":"https://api.github.com/users/wantedly/repos","events_url":"https://api.github.com/users/wantedly/events{/privacy}","received_events_url":"https://api.github.com/users/wantedly/received_events","type":"Organization","site_admin":false},"repo":{"id":40286373,"name":"risu","full_name":"wantedly/risu","owner":{"login":"wantedly","id":1030053,"avatar_url":"https://avatars.githubusercontent.com/u/1030053?v=3","gravatar_id":"","url":"https://api.github.com/users/wantedly","html_url":"https://github.com/wantedly","followers_url":"https://api.github.com/users/wantedly/followers","following_url":"https://api.github.com/users/wantedly/following{/other_user}","gists_url":"https://api.github.com/users/wantedly/gists{/gist_id}","starred_url":"https://api.github.com/users/wantedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wantedly/subscriptions","organizations_url":"https://api.github.com/users/wantedly/orgs","repos_url":"https://api.github.com/users/wantedly/repos","events_url":"https://api.github.com/users/wantedly/events{/privacy}","received_events_url":"https://api.github.com/users/wantedly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wantedly/risu","description":"Rapid Image Supply Unit","fork":false,"url":"https://api.github.com/repos/wantedly/risu","forks_url":"https://api.github.com/repos/wantedly/risu/forks","keys_url":"https://api.github.com/repos/wantedly/risu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wantedly/risu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wantedly/risu/teams","hooks_url":"https://api.github.com/repos/wantedly/risu/hooks","issue_events_url":"https://api.github.com/repos/wantedly/risu/issues/events{/number}","events_url":"https://api.github.com/repos/wantedly/risu/events","assignees_url":"https://api.github.com/repos/wantedly/risu/assignees{/user}","branches_url":"https://api.github.com/repos/wantedly/risu/branches{/branch}","tags_url":"https://api.github.com/repos/wantedly/risu/tags","blobs_url":"https://api.github.com/repos/wantedly/risu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wantedly/risu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wantedly/risu/git/refs{/sha}","trees_url":"https://api.github.com/repos/wantedly/risu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wantedly/risu/statuses/{sha}","languages_url":"https://api.github.com/repos/wantedly/risu/languages","stargazers_url":"https://api.github.com/repos/wantedly/risu/stargazers","contributors_url":"https://api.github.com/repos/wantedly/risu/contributors","subscribers_url":"https://api.github.com/repos/wantedly/risu/subscribers","subscription_url":"https://api.github.com/repos/wantedly/risu/subscription","commits_url":"https://api.github.com/repos/wantedly/risu/commits{/sha}","git_commits_url":"https://api.github.com/repos/wantedly/risu/git/commits{/sha}","comments_url":"https://api.github.com/repos/wantedly/risu/comments{/number}","issue_comment_url":"https://api.github.com/repos/wantedly/risu/issues/comments{/number}","contents_url":"https://api.github.com/repos/wantedly/risu/contents/{+path}","compare_url":"https://api.github.com/repos/wantedly/risu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wantedly/risu/merges","archive_url":"https://api.github.com/repos/wantedly/risu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wantedly/risu/downloads","issues_url":"https://api.github.com/repos/wantedly/risu/issues{/number}","pulls_url":"https://api.github.com/repos/wantedly/risu/pulls{/number}","milestones_url":"https://api.github.com/repos/wantedly/risu/milestones{/number}","notifications_url":"https://api.github.com/repos/wantedly/risu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wantedly/risu/labels{/name}","releases_url":"https://api.github.com/repos/wantedly/risu/releases{/id}","created_at":"2015-08-06T05:29:42Z","updated_at":"2015-08-10T07:40:39Z","pushed_at":"2015-08-13T12:59:48Z","git_url":"git://github.com/wantedly/risu.git","ssh_url":"git@github.com:wantedly/risu.git","clone_url":"https://github.com/wantedly/risu.git","svn_url":"https://github.com/wantedly/risu","homepage":"","size":378,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"wantedly:master","ref":"master","sha":"c9750257c87a27e73e44d95f605e16ae5a2dc5b0","user":{"login":"wantedly","id":1030053,"avatar_url":"https://avatars.githubusercontent.com/u/1030053?v=3","gravatar_id":"","url":"https://api.github.com/users/wantedly","html_url":"https://github.com/wantedly","followers_url":"https://api.github.com/users/wantedly/followers","following_url":"https://api.github.com/users/wantedly/following{/other_user}","gists_url":"https://api.github.com/users/wantedly/gists{/gist_id}","starred_url":"https://api.github.com/users/wantedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wantedly/subscriptions","organizations_url":"https://api.github.com/users/wantedly/orgs","repos_url":"https://api.github.com/users/wantedly/repos","events_url":"https://api.github.com/users/wantedly/events{/privacy}","received_events_url":"https://api.github.com/users/wantedly/received_events","type":"Organization","site_admin":false},"repo":{"id":40286373,"name":"risu","full_name":"wantedly/risu","owner":{"login":"wantedly","id":1030053,"avatar_url":"https://avatars.githubusercontent.com/u/1030053?v=3","gravatar_id":"","url":"https://api.github.com/users/wantedly","html_url":"https://github.com/wantedly","followers_url":"https://api.github.com/users/wantedly/followers","following_url":"https://api.github.com/users/wantedly/following{/other_user}","gists_url":"https://api.github.com/users/wantedly/gists{/gist_id}","starred_url":"https://api.github.com/users/wantedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wantedly/subscriptions","organizations_url":"https://api.github.com/users/wantedly/orgs","repos_url":"https://api.github.com/users/wantedly/repos","events_url":"https://api.github.com/users/wantedly/events{/privacy}","received_events_url":"https://api.github.com/users/wantedly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wantedly/risu","description":"Rapid Image Supply Unit","fork":false,"url":"https://api.github.com/repos/wantedly/risu","forks_url":"https://api.github.com/repos/wantedly/risu/forks","keys_url":"https://api.github.com/repos/wantedly/risu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wantedly/risu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wantedly/risu/teams","hooks_url":"https://api.github.com/repos/wantedly/risu/hooks","issue_events_url":"https://api.github.com/repos/wantedly/risu/issues/events{/number}","events_url":"https://api.github.com/repos/wantedly/risu/events","assignees_url":"https://api.github.com/repos/wantedly/risu/assignees{/user}","branches_url":"https://api.github.com/repos/wantedly/risu/branches{/branch}","tags_url":"https://api.github.com/repos/wantedly/risu/tags","blobs_url":"https://api.github.com/repos/wantedly/risu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wantedly/risu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wantedly/risu/git/refs{/sha}","trees_url":"https://api.github.com/repos/wantedly/risu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wantedly/risu/statuses/{sha}","languages_url":"https://api.github.com/repos/wantedly/risu/languages","stargazers_url":"https://api.github.com/repos/wantedly/risu/stargazers","contributors_url":"https://api.github.com/repos/wantedly/risu/contributors","subscribers_url":"https://api.github.com/repos/wantedly/risu/subscribers","subscription_url":"https://api.github.com/repos/wantedly/risu/subscription","commits_url":"https://api.github.com/repos/wantedly/risu/commits{/sha}","git_commits_url":"https://api.github.com/repos/wantedly/risu/git/commits{/sha}","comments_url":"https://api.github.com/repos/wantedly/risu/comments{/number}","issue_comment_url":"https://api.github.com/repos/wantedly/risu/issues/comments{/number}","contents_url":"https://api.github.com/repos/wantedly/risu/contents/{+path}","compare_url":"https://api.github.com/repos/wantedly/risu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wantedly/risu/merges","archive_url":"https://api.github.com/repos/wantedly/risu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wantedly/risu/downloads","issues_url":"https://api.github.com/repos/wantedly/risu/issues{/number}","pulls_url":"https://api.github.com/repos/wantedly/risu/pulls{/number}","milestones_url":"https://api.github.com/repos/wantedly/risu/milestones{/number}","notifications_url":"https://api.github.com/repos/wantedly/risu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wantedly/risu/labels{/name}","releases_url":"https://api.github.com/repos/wantedly/risu/releases{/id}","created_at":"2015-08-06T05:29:42Z","updated_at":"2015-08-10T07:40:39Z","pushed_at":"2015-08-13T12:59:48Z","git_url":"git://github.com/wantedly/risu.git","ssh_url":"git@github.com:wantedly/risu.git","clone_url":"https://github.com/wantedly/risu.git","svn_url":"https://github.com/wantedly/risu","homepage":"","size":378,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wantedly/risu/pulls/20"},"html":{"href":"https://github.com/wantedly/risu/pull/20"},"issue":{"href":"https://api.github.com/repos/wantedly/risu/issues/20"},"comments":{"href":"https://api.github.com/repos/wantedly/risu/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/wantedly/risu/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/wantedly/risu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wantedly/risu/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/wantedly/risu/statuses/1158e47ebfce2346c92a818a7bd28231531cccbe"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":3,"changed_files":1}}