{"action":"created","comment":{"url":"https://api.github.com/repos/ceph/cn/pulls/comments/156955186","pull_request_review_id":83516502,"id":156955186,"diff_hunk":"@@ -0,0 +1,158 @@\n+#!/bin/bash\n+# Functional tests\n+err_file=\"\"\n+tmp_dir=/tmp\n+\n+function fatal() {\n+  echo \"$@\"\n+  if [ -e $err_file ]; then\n+    cat $err_file\n+    deleteFile $err_file\n+  fi\n+  exit 1\n+}\n+\n+function getTempFile() {\n+  filename=$tmp_dir/$1.XXXXX\n+  filename=$(mktemp $filename) &>/dev/null || fatal \"Cannot create $filename\"\n+  echo $filename\n+}\n+\n+function deleteFile() {\n+  if [ -e \"$1\" ]; then\n+    rm -f $1 || fatal \"Cannot delete $1\"\n+  fi\n+}\n+\n+function run_cn() {","path":"tests/functional-tests.sh","position":null,"original_position":27,"commit_id":"1ee93952bc6badfb8c1ee1d5751ab1bedba6cb45","original_commit_id":"adbd9aaf5c54808ce8288e5e35e370254c20ef33","user":{"login":"ErwanAliasr1","id":4539421,"avatar_url":"https://avatars3.githubusercontent.com/u/4539421?v=4","gravatar_id":"","url":"https://api.github.com/users/ErwanAliasr1","html_url":"https://github.com/ErwanAliasr1","followers_url":"https://api.github.com/users/ErwanAliasr1/followers","following_url":"https://api.github.com/users/ErwanAliasr1/following{/other_user}","gists_url":"https://api.github.com/users/ErwanAliasr1/gists{/gist_id}","starred_url":"https://api.github.com/users/ErwanAliasr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErwanAliasr1/subscriptions","organizations_url":"https://api.github.com/users/ErwanAliasr1/orgs","repos_url":"https://api.github.com/users/ErwanAliasr1/repos","events_url":"https://api.github.com/users/ErwanAliasr1/events{/privacy}","received_events_url":"https://api.github.com/users/ErwanAliasr1/received_events","type":"User","site_admin":false},"body":"done","created_at":"2017-12-14T14:20:03Z","updated_at":"2017-12-14T14:20:03Z","html_url":"https://github.com/ceph/cn/pull/12#discussion_r156955186","pull_request_url":"https://api.github.com/repos/ceph/cn/pulls/12","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ceph/cn/pulls/comments/156955186"},"html":{"href":"https://github.com/ceph/cn/pull/12#discussion_r156955186"},"pull_request":{"href":"https://api.github.com/repos/ceph/cn/pulls/12"}},"in_reply_to_id":156741734},"pull_request":{"url":"https://api.github.com/repos/ceph/cn/pulls/12","id":158106418,"html_url":"https://github.com/ceph/cn/pull/12","diff_url":"https://github.com/ceph/cn/pull/12.diff","patch_url":"https://github.com/ceph/cn/pull/12.patch","issue_url":"https://api.github.com/repos/ceph/cn/issues/12","number":12,"state":"open","locked":false,"title":"travis: Adding travis support","user":{"login":"ErwanAliasr1","id":4539421,"avatar_url":"https://avatars3.githubusercontent.com/u/4539421?v=4","gravatar_id":"","url":"https://api.github.com/users/ErwanAliasr1","html_url":"https://github.com/ErwanAliasr1","followers_url":"https://api.github.com/users/ErwanAliasr1/followers","following_url":"https://api.github.com/users/ErwanAliasr1/following{/other_user}","gists_url":"https://api.github.com/users/ErwanAliasr1/gists{/gist_id}","starred_url":"https://api.github.com/users/ErwanAliasr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErwanAliasr1/subscriptions","organizations_url":"https://api.github.com/users/ErwanAliasr1/orgs","repos_url":"https://api.github.com/users/ErwanAliasr1/repos","events_url":"https://api.github.com/users/ErwanAliasr1/events{/privacy}","received_events_url":"https://api.github.com/users/ErwanAliasr1/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-13T14:23:25Z","updated_at":"2017-12-14T14:20:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6c1659d1adc3a63a11307975681f65f4a773a50","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ceph/cn/pulls/12/commits","review_comments_url":"https://api.github.com/repos/ceph/cn/pulls/12/comments","review_comment_url":"https://api.github.com/repos/ceph/cn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/cn/issues/12/comments","statuses_url":"https://api.github.com/repos/ceph/cn/statuses/1ee93952bc6badfb8c1ee1d5751ab1bedba6cb45","head":{"label":"ceph:evelu-travis","ref":"evelu-travis","sha":"1ee93952bc6badfb8c1ee1d5751ab1bedba6cb45","user":{"login":"ceph","id":1015767,"avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":112131383,"name":"cn","full_name":"ceph/cn","owner":{"login":"ceph","id":1015767,"avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/cn","description":"Ceph Nano - One step S3 in container with Ceph.","fork":false,"url":"https://api.github.com/repos/ceph/cn","forks_url":"https://api.github.com/repos/ceph/cn/forks","keys_url":"https://api.github.com/repos/ceph/cn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/cn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/cn/teams","hooks_url":"https://api.github.com/repos/ceph/cn/hooks","issue_events_url":"https://api.github.com/repos/ceph/cn/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/cn/events","assignees_url":"https://api.github.com/repos/ceph/cn/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/cn/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/cn/tags","blobs_url":"https://api.github.com/repos/ceph/cn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/cn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/cn/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/cn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/cn/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/cn/languages","stargazers_url":"https://api.github.com/repos/ceph/cn/stargazers","contributors_url":"https://api.github.com/repos/ceph/cn/contributors","subscribers_url":"https://api.github.com/repos/ceph/cn/subscribers","subscription_url":"https://api.github.com/repos/ceph/cn/subscription","commits_url":"https://api.github.com/repos/ceph/cn/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/cn/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/cn/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/cn/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceph/cn/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/cn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/cn/merges","archive_url":"https://api.github.com/repos/ceph/cn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/cn/downloads","issues_url":"https://api.github.com/repos/ceph/cn/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/cn/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/cn/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/cn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/cn/labels{/name}","releases_url":"https://api.github.com/repos/ceph/cn/releases{/id}","deployments_url":"https://api.github.com/repos/ceph/cn/deployments","created_at":"2017-11-27T01:19:15Z","updated_at":"2017-12-13T12:24:39Z","pushed_at":"2017-12-14T14:19:40Z","git_url":"git://github.com/ceph/cn.git","ssh_url":"git@github.com:ceph/cn.git","clone_url":"https://github.com/ceph/cn.git","svn_url":"https://github.com/ceph/cn","homepage":"","size":47,"stargazers_count":20,"watchers_count":20,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":3,"open_issues":3,"watchers":20,"default_branch":"master"}},"base":{"label":"ceph:master","ref":"master","sha":"9da7bc6ee8457b4c3fa73b59111e7ed4a167dae6","user":{"login":"ceph","id":1015767,"avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":112131383,"name":"cn","full_name":"ceph/cn","owner":{"login":"ceph","id":1015767,"avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/cn","description":"Ceph Nano - One step S3 in container with Ceph.","fork":false,"url":"https://api.github.com/repos/ceph/cn","forks_url":"https://api.github.com/repos/ceph/cn/forks","keys_url":"https://api.github.com/repos/ceph/cn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/cn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/cn/teams","hooks_url":"https://api.github.com/repos/ceph/cn/hooks","issue_events_url":"https://api.github.com/repos/ceph/cn/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/cn/events","assignees_url":"https://api.github.com/repos/ceph/cn/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/cn/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/cn/tags","blobs_url":"https://api.github.com/repos/ceph/cn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/cn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/cn/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/cn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/cn/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/cn/languages","stargazers_url":"https://api.github.com/repos/ceph/cn/stargazers","contributors_url":"https://api.github.com/repos/ceph/cn/contributors","subscribers_url":"https://api.github.com/repos/ceph/cn/subscribers","subscription_url":"https://api.github.com/repos/ceph/cn/subscription","commits_url":"https://api.github.com/repos/ceph/cn/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/cn/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/cn/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/cn/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceph/cn/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/cn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/cn/merges","archive_url":"https://api.github.com/repos/ceph/cn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/cn/downloads","issues_url":"https://api.github.com/repos/ceph/cn/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/cn/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/cn/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/cn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/cn/labels{/name}","releases_url":"https://api.github.com/repos/ceph/cn/releases{/id}","deployments_url":"https://api.github.com/repos/ceph/cn/deployments","created_at":"2017-11-27T01:19:15Z","updated_at":"2017-12-13T12:24:39Z","pushed_at":"2017-12-14T14:19:40Z","git_url":"git://github.com/ceph/cn.git","ssh_url":"git@github.com:ceph/cn.git","clone_url":"https://github.com/ceph/cn.git","svn_url":"https://github.com/ceph/cn","homepage":"","size":47,"stargazers_count":20,"watchers_count":20,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":3,"open_issues":3,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/cn/pulls/12"},"html":{"href":"https://github.com/ceph/cn/pull/12"},"issue":{"href":"https://api.github.com/repos/ceph/cn/issues/12"},"comments":{"href":"https://api.github.com/repos/ceph/cn/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/cn/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/cn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/cn/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/cn/statuses/1ee93952bc6badfb8c1ee1d5751ab1bedba6cb45"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ErwanAliasr1"}}