{"action":"closed","number":185,"pull_request":{"url":"https://api.github.com/repos/basho/cuttlefish/pulls/185","id":29675831,"html_url":"https://github.com/basho/cuttlefish/pull/185","diff_url":"https://github.com/basho/cuttlefish/pull/185.diff","patch_url":"https://github.com/basho/cuttlefish/pull/185.patch","issue_url":"https://api.github.com/repos/basho/cuttlefish/issues/185","number":185,"state":"closed","locked":false,"title":"Don't create log directory and empty crash.log under PWD","user":{"login":"shino","id":10225,"avatar_url":"https://avatars.githubusercontent.com/u/10225?v=3","gravatar_id":"","url":"https://api.github.com/users/shino","html_url":"https://github.com/shino","followers_url":"https://api.github.com/users/shino/followers","following_url":"https://api.github.com/users/shino/following{/other_user}","gists_url":"https://api.github.com/users/shino/gists{/gist_id}","starred_url":"https://api.github.com/users/shino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shino/subscriptions","organizations_url":"https://api.github.com/users/shino/orgs","repos_url":"https://api.github.com/users/shino/repos","events_url":"https://api.github.com/users/shino/events{/privacy}","received_events_url":"https://api.github.com/users/shino/received_events","type":"User","site_admin":false},"body":"Executing `cuttlefish` escript creates empty `log/crash.log` file under\r\nworking directory.\r\n\r\n```\r\n% ls\r\nMakefile  README.md  cuttlefish  deps  ebin  priv  rebar  rebar.config  src  test  test_fixtures  tools.mk\r\n% ./cuttlefish -h\r\nUsage: ./cuttlefish [-h] [-e <etc_dir>] [-d <dest_dir>] [-f <dest_file>] [-s <schema_dir>] [-i <schema_file>] [-c <conf_file>] [-a <app_config>] [-l <log_level>] [-p] [-m <max_history>]\r\n[snip more output]\r\n% ls\r\nMakefile  README.md  cuttlefish  deps  ebin  log  priv  rebar  rebar.config  src  test  test_fixtures  tools.mk\r\n```\r\n\r\nBackground:\r\n\r\nAfter installing `riak-cs` package and execute `riak-cs start`, there is a\r\nfile `/usr/lib/riak-cs/log/crash.log`. It is almost harmless but unconfortable\r\nbecause `/usr/lib/riak-cs/` is usually considered as read only.\r\n\r\n","created_at":"2015-02-20T06:33:26Z","updated_at":"2015-08-04T03:36:10Z","closed_at":"2015-08-04T03:36:10Z","merged_at":"2015-08-04T03:36:10Z","merge_commit_sha":"815b3822f59acdf194259ed5f78661347facbbf5","assignee":{"login":"macintux","id":2141278,"avatar_url":"https://avatars.githubusercontent.com/u/2141278?v=3","gravatar_id":"","url":"https://api.github.com/users/macintux","html_url":"https://github.com/macintux","followers_url":"https://api.github.com/users/macintux/followers","following_url":"https://api.github.com/users/macintux/following{/other_user}","gists_url":"https://api.github.com/users/macintux/gists{/gist_id}","starred_url":"https://api.github.com/users/macintux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macintux/subscriptions","organizations_url":"https://api.github.com/users/macintux/orgs","repos_url":"https://api.github.com/users/macintux/repos","events_url":"https://api.github.com/users/macintux/events{/privacy}","received_events_url":"https://api.github.com/users/macintux/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/basho/cuttlefish/pulls/185/commits","review_comments_url":"https://api.github.com/repos/basho/cuttlefish/pulls/185/comments","review_comment_url":"https://api.github.com/repos/basho/cuttlefish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/basho/cuttlefish/issues/185/comments","statuses_url":"https://api.github.com/repos/basho/cuttlefish/statuses/8662c465aaa315e2d7ea0db8ea4de74eb67e03b2","head":{"label":"basho:bugfix/ss/log-dir-creation","ref":"bugfix/ss/log-dir-creation","sha":"8662c465aaa315e2d7ea0db8ea4de74eb67e03b2","user":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?v=3","gravatar_id":"","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"repo":{"id":11346454,"name":"cuttlefish","full_name":"basho/cuttlefish","owner":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?v=3","gravatar_id":"","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basho/cuttlefish","description":" never lose your childlike sense of wonder baby cuttlefish, promise me?","fork":false,"url":"https://api.github.com/repos/basho/cuttlefish","forks_url":"https://api.github.com/repos/basho/cuttlefish/forks","keys_url":"https://api.github.com/repos/basho/cuttlefish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basho/cuttlefish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basho/cuttlefish/teams","hooks_url":"https://api.github.com/repos/basho/cuttlefish/hooks","issue_events_url":"https://api.github.com/repos/basho/cuttlefish/issues/events{/number}","events_url":"https://api.github.com/repos/basho/cuttlefish/events","assignees_url":"https://api.github.com/repos/basho/cuttlefish/assignees{/user}","branches_url":"https://api.github.com/repos/basho/cuttlefish/branches{/branch}","tags_url":"https://api.github.com/repos/basho/cuttlefish/tags","blobs_url":"https://api.github.com/repos/basho/cuttlefish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basho/cuttlefish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basho/cuttlefish/git/refs{/sha}","trees_url":"https://api.github.com/repos/basho/cuttlefish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basho/cuttlefish/statuses/{sha}","languages_url":"https://api.github.com/repos/basho/cuttlefish/languages","stargazers_url":"https://api.github.com/repos/basho/cuttlefish/stargazers","contributors_url":"https://api.github.com/repos/basho/cuttlefish/contributors","subscribers_url":"https://api.github.com/repos/basho/cuttlefish/subscribers","subscription_url":"https://api.github.com/repos/basho/cuttlefish/subscription","commits_url":"https://api.github.com/repos/basho/cuttlefish/commits{/sha}","git_commits_url":"https://api.github.com/repos/basho/cuttlefish/git/commits{/sha}","comments_url":"https://api.github.com/repos/basho/cuttlefish/comments{/number}","issue_comment_url":"https://api.github.com/repos/basho/cuttlefish/issues/comments{/number}","contents_url":"https://api.github.com/repos/basho/cuttlefish/contents/{+path}","compare_url":"https://api.github.com/repos/basho/cuttlefish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basho/cuttlefish/merges","archive_url":"https://api.github.com/repos/basho/cuttlefish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basho/cuttlefish/downloads","issues_url":"https://api.github.com/repos/basho/cuttlefish/issues{/number}","pulls_url":"https://api.github.com/repos/basho/cuttlefish/pulls{/number}","milestones_url":"https://api.github.com/repos/basho/cuttlefish/milestones{/number}","notifications_url":"https://api.github.com/repos/basho/cuttlefish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basho/cuttlefish/labels{/name}","releases_url":"https://api.github.com/repos/basho/cuttlefish/releases{/id}","created_at":"2013-07-11T16:06:33Z","updated_at":"2015-07-30T14:33:38Z","pushed_at":"2015-08-04T03:36:10Z","git_url":"git://github.com/basho/cuttlefish.git","ssh_url":"git@github.com:basho/cuttlefish.git","clone_url":"https://github.com/basho/cuttlefish.git","svn_url":"https://github.com/basho/cuttlefish","homepage":"","size":3217,"stargazers_count":105,"watchers_count":105,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":38,"forks":32,"open_issues":38,"watchers":105,"default_branch":"develop"}},"base":{"label":"basho:develop","ref":"develop","sha":"c92c8325aeaea6b6ba7516bbd434f8e408f87d60","user":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?v=3","gravatar_id":"","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"repo":{"id":11346454,"name":"cuttlefish","full_name":"basho/cuttlefish","owner":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?v=3","gravatar_id":"","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basho/cuttlefish","description":" never lose your childlike sense of wonder baby cuttlefish, promise me?","fork":false,"url":"https://api.github.com/repos/basho/cuttlefish","forks_url":"https://api.github.com/repos/basho/cuttlefish/forks","keys_url":"https://api.github.com/repos/basho/cuttlefish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basho/cuttlefish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basho/cuttlefish/teams","hooks_url":"https://api.github.com/repos/basho/cuttlefish/hooks","issue_events_url":"https://api.github.com/repos/basho/cuttlefish/issues/events{/number}","events_url":"https://api.github.com/repos/basho/cuttlefish/events","assignees_url":"https://api.github.com/repos/basho/cuttlefish/assignees{/user}","branches_url":"https://api.github.com/repos/basho/cuttlefish/branches{/branch}","tags_url":"https://api.github.com/repos/basho/cuttlefish/tags","blobs_url":"https://api.github.com/repos/basho/cuttlefish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basho/cuttlefish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basho/cuttlefish/git/refs{/sha}","trees_url":"https://api.github.com/repos/basho/cuttlefish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basho/cuttlefish/statuses/{sha}","languages_url":"https://api.github.com/repos/basho/cuttlefish/languages","stargazers_url":"https://api.github.com/repos/basho/cuttlefish/stargazers","contributors_url":"https://api.github.com/repos/basho/cuttlefish/contributors","subscribers_url":"https://api.github.com/repos/basho/cuttlefish/subscribers","subscription_url":"https://api.github.com/repos/basho/cuttlefish/subscription","commits_url":"https://api.github.com/repos/basho/cuttlefish/commits{/sha}","git_commits_url":"https://api.github.com/repos/basho/cuttlefish/git/commits{/sha}","comments_url":"https://api.github.com/repos/basho/cuttlefish/comments{/number}","issue_comment_url":"https://api.github.com/repos/basho/cuttlefish/issues/comments{/number}","contents_url":"https://api.github.com/repos/basho/cuttlefish/contents/{+path}","compare_url":"https://api.github.com/repos/basho/cuttlefish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basho/cuttlefish/merges","archive_url":"https://api.github.com/repos/basho/cuttlefish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basho/cuttlefish/downloads","issues_url":"https://api.github.com/repos/basho/cuttlefish/issues{/number}","pulls_url":"https://api.github.com/repos/basho/cuttlefish/pulls{/number}","milestones_url":"https://api.github.com/repos/basho/cuttlefish/milestones{/number}","notifications_url":"https://api.github.com/repos/basho/cuttlefish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basho/cuttlefish/labels{/name}","releases_url":"https://api.github.com/repos/basho/cuttlefish/releases{/id}","created_at":"2013-07-11T16:06:33Z","updated_at":"2015-07-30T14:33:38Z","pushed_at":"2015-08-04T03:36:10Z","git_url":"git://github.com/basho/cuttlefish.git","ssh_url":"git@github.com:basho/cuttlefish.git","clone_url":"https://github.com/basho/cuttlefish.git","svn_url":"https://github.com/basho/cuttlefish","homepage":"","size":3217,"stargazers_count":105,"watchers_count":105,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":38,"forks":32,"open_issues":38,"watchers":105,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/basho/cuttlefish/pulls/185"},"html":{"href":"https://github.com/basho/cuttlefish/pull/185"},"issue":{"href":"https://api.github.com/repos/basho/cuttlefish/issues/185"},"comments":{"href":"https://api.github.com/repos/basho/cuttlefish/issues/185/comments"},"review_comments":{"href":"https://api.github.com/repos/basho/cuttlefish/pulls/185/comments"},"review_comment":{"href":"https://api.github.com/repos/basho/cuttlefish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/basho/cuttlefish/pulls/185/commits"},"statuses":{"href":"https://api.github.com/repos/basho/cuttlefish/statuses/8662c465aaa315e2d7ea0db8ea4de74eb67e03b2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"borshop","id":6749250,"avatar_url":"https://avatars.githubusercontent.com/u/6749250?v=3","gravatar_id":"","url":"https://api.github.com/users/borshop","html_url":"https://github.com/borshop","followers_url":"https://api.github.com/users/borshop/followers","following_url":"https://api.github.com/users/borshop/following{/other_user}","gists_url":"https://api.github.com/users/borshop/gists{/gist_id}","starred_url":"https://api.github.com/users/borshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borshop/subscriptions","organizations_url":"https://api.github.com/users/borshop/orgs","repos_url":"https://api.github.com/users/borshop/repos","events_url":"https://api.github.com/users/borshop/events{/privacy}","received_events_url":"https://api.github.com/users/borshop/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}