{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/yucao24hours/tea/pulls/14","id":95362604,"html_url":"https://github.com/yucao24hours/tea/pull/14","diff_url":"https://github.com/yucao24hours/tea/pull/14.diff","patch_url":"https://github.com/yucao24hours/tea/pull/14.patch","issue_url":"https://api.github.com/repos/yucao24hours/tea/issues/14","number":14,"state":"open","locked":false,"title":"DB の設定値ファイルを Git トラッキングから外す","user":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"body":"一般的な Rails アプリケーション開発においては `config/database.yml` は Git にトラッキングさせないようにすると思うのだけど、fork 元のアプリケーションではそうなっていませんでした。\r\nあえてそうしていた理由があったのかもしれないけど、わたしが今使う際にはこの中の値を変えないといけなくて、そのまま push するのは厭だったので慣習に従って `.sample` ファイルを作るようにしました。\r\n同時に `.gitignore` でトラッキング対象外となるようにしました。\r\n\r\n全ての git tree から履歴をなくすほどのことではないだろう（だからこそ元からトラッキングさせていたのだろう）という想定のもと、「この時点で消した」というコミットを残すまでにします。","created_at":"2016-11-26T06:11:37Z","updated_at":"2016-11-26T06:11:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yucao24hours/tea/pulls/14/commits","review_comments_url":"https://api.github.com/repos/yucao24hours/tea/pulls/14/comments","review_comment_url":"https://api.github.com/repos/yucao24hours/tea/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yucao24hours/tea/issues/14/comments","statuses_url":"https://api.github.com/repos/yucao24hours/tea/statuses/37bd1c070e70241d2d437c0b3a9d457b608ab7b4","head":{"label":"yucao24hours:database-configuration","ref":"database-configuration","sha":"37bd1c070e70241d2d437c0b3a9d457b608ab7b4","user":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"repo":{"id":74101483,"name":"tea","full_name":"yucao24hours/tea","owner":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yucao24hours/tea","description":null,"fork":true,"url":"https://api.github.com/repos/yucao24hours/tea","forks_url":"https://api.github.com/repos/yucao24hours/tea/forks","keys_url":"https://api.github.com/repos/yucao24hours/tea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yucao24hours/tea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yucao24hours/tea/teams","hooks_url":"https://api.github.com/repos/yucao24hours/tea/hooks","issue_events_url":"https://api.github.com/repos/yucao24hours/tea/issues/events{/number}","events_url":"https://api.github.com/repos/yucao24hours/tea/events","assignees_url":"https://api.github.com/repos/yucao24hours/tea/assignees{/user}","branches_url":"https://api.github.com/repos/yucao24hours/tea/branches{/branch}","tags_url":"https://api.github.com/repos/yucao24hours/tea/tags","blobs_url":"https://api.github.com/repos/yucao24hours/tea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yucao24hours/tea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yucao24hours/tea/git/refs{/sha}","trees_url":"https://api.github.com/repos/yucao24hours/tea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yucao24hours/tea/statuses/{sha}","languages_url":"https://api.github.com/repos/yucao24hours/tea/languages","stargazers_url":"https://api.github.com/repos/yucao24hours/tea/stargazers","contributors_url":"https://api.github.com/repos/yucao24hours/tea/contributors","subscribers_url":"https://api.github.com/repos/yucao24hours/tea/subscribers","subscription_url":"https://api.github.com/repos/yucao24hours/tea/subscription","commits_url":"https://api.github.com/repos/yucao24hours/tea/commits{/sha}","git_commits_url":"https://api.github.com/repos/yucao24hours/tea/git/commits{/sha}","comments_url":"https://api.github.com/repos/yucao24hours/tea/comments{/number}","issue_comment_url":"https://api.github.com/repos/yucao24hours/tea/issues/comments{/number}","contents_url":"https://api.github.com/repos/yucao24hours/tea/contents/{+path}","compare_url":"https://api.github.com/repos/yucao24hours/tea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yucao24hours/tea/merges","archive_url":"https://api.github.com/repos/yucao24hours/tea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yucao24hours/tea/downloads","issues_url":"https://api.github.com/repos/yucao24hours/tea/issues{/number}","pulls_url":"https://api.github.com/repos/yucao24hours/tea/pulls{/number}","milestones_url":"https://api.github.com/repos/yucao24hours/tea/milestones{/number}","notifications_url":"https://api.github.com/repos/yucao24hours/tea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yucao24hours/tea/labels{/name}","releases_url":"https://api.github.com/repos/yucao24hours/tea/releases{/id}","deployments_url":"https://api.github.com/repos/yucao24hours/tea/deployments","created_at":"2016-11-18T06:23:43Z","updated_at":"2016-11-18T07:08:37Z","pushed_at":"2016-11-26T06:11:37Z","git_url":"git://github.com/yucao24hours/tea.git","ssh_url":"git@github.com:yucao24hours/tea.git","clone_url":"https://github.com/yucao24hours/tea.git","svn_url":"https://github.com/yucao24hours/tea","homepage":null,"size":711,"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":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"yucao24hours:master","ref":"master","sha":"e0511c2d5406d51dd93c9dabb6588649211b557d","user":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"repo":{"id":74101483,"name":"tea","full_name":"yucao24hours/tea","owner":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yucao24hours/tea","description":null,"fork":true,"url":"https://api.github.com/repos/yucao24hours/tea","forks_url":"https://api.github.com/repos/yucao24hours/tea/forks","keys_url":"https://api.github.com/repos/yucao24hours/tea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yucao24hours/tea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yucao24hours/tea/teams","hooks_url":"https://api.github.com/repos/yucao24hours/tea/hooks","issue_events_url":"https://api.github.com/repos/yucao24hours/tea/issues/events{/number}","events_url":"https://api.github.com/repos/yucao24hours/tea/events","assignees_url":"https://api.github.com/repos/yucao24hours/tea/assignees{/user}","branches_url":"https://api.github.com/repos/yucao24hours/tea/branches{/branch}","tags_url":"https://api.github.com/repos/yucao24hours/tea/tags","blobs_url":"https://api.github.com/repos/yucao24hours/tea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yucao24hours/tea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yucao24hours/tea/git/refs{/sha}","trees_url":"https://api.github.com/repos/yucao24hours/tea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yucao24hours/tea/statuses/{sha}","languages_url":"https://api.github.com/repos/yucao24hours/tea/languages","stargazers_url":"https://api.github.com/repos/yucao24hours/tea/stargazers","contributors_url":"https://api.github.com/repos/yucao24hours/tea/contributors","subscribers_url":"https://api.github.com/repos/yucao24hours/tea/subscribers","subscription_url":"https://api.github.com/repos/yucao24hours/tea/subscription","commits_url":"https://api.github.com/repos/yucao24hours/tea/commits{/sha}","git_commits_url":"https://api.github.com/repos/yucao24hours/tea/git/commits{/sha}","comments_url":"https://api.github.com/repos/yucao24hours/tea/comments{/number}","issue_comment_url":"https://api.github.com/repos/yucao24hours/tea/issues/comments{/number}","contents_url":"https://api.github.com/repos/yucao24hours/tea/contents/{+path}","compare_url":"https://api.github.com/repos/yucao24hours/tea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yucao24hours/tea/merges","archive_url":"https://api.github.com/repos/yucao24hours/tea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yucao24hours/tea/downloads","issues_url":"https://api.github.com/repos/yucao24hours/tea/issues{/number}","pulls_url":"https://api.github.com/repos/yucao24hours/tea/pulls{/number}","milestones_url":"https://api.github.com/repos/yucao24hours/tea/milestones{/number}","notifications_url":"https://api.github.com/repos/yucao24hours/tea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yucao24hours/tea/labels{/name}","releases_url":"https://api.github.com/repos/yucao24hours/tea/releases{/id}","deployments_url":"https://api.github.com/repos/yucao24hours/tea/deployments","created_at":"2016-11-18T06:23:43Z","updated_at":"2016-11-18T07:08:37Z","pushed_at":"2016-11-26T06:11:37Z","git_url":"git://github.com/yucao24hours/tea.git","ssh_url":"git@github.com:yucao24hours/tea.git","clone_url":"https://github.com/yucao24hours/tea.git","svn_url":"https://github.com/yucao24hours/tea","homepage":null,"size":711,"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":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yucao24hours/tea/pulls/14"},"html":{"href":"https://github.com/yucao24hours/tea/pull/14"},"issue":{"href":"https://api.github.com/repos/yucao24hours/tea/issues/14"},"comments":{"href":"https://api.github.com/repos/yucao24hours/tea/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/yucao24hours/tea/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/yucao24hours/tea/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yucao24hours/tea/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/yucao24hours/tea/statuses/37bd1c070e70241d2d437c0b3a9d457b608ab7b4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":3,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"yucao24hours"}}