{"action":"created","comment":{"url":"https://api.github.com/repos/habitat-sh/core-plans/pulls/comments/132677757","pull_request_review_id":55786335,"id":132677757,"diff_hunk":"@@ -0,0 +1,47 @@\n+pkg_name=telegraf\n+pkg_origin=core\n+pkg_version=\"1.3.5\"\n+pkg_license=('MIT')\n+pkg_description=\"telegraf - client for InfluxDB\"\n+pkg_upstream_url=\"https://github.com/influxdata/telegraf/\"\n+pkg_maintainer=\"The Habitat Maintainers <humans@habitat.sh>\"\n+pkg_scaffolding=\"core/scaffolding-go\"\n+pkg_svc_run=\"telegraf --config $pkg_svc_config_path/telegraf.conf\"\n+pkg_bin_dirs=(bin)\n+\n+do_prepare() {\n+  export GOPATH=\"${HAB_CACHE_SRC_PATH}/${pkg_dirname}\"\n+}\n+\n+do_download() {\n+  mkdir -p \"${GOPATH}\"\n+  pushd \"${GOPATH}\" > /dev/null\n+  build_line \"Downloading telegraf go package (github repository)\"\n+  go get github.com/influxdata/telegraf\n+  popd > /dev/null\n+}\n+\n+do_verify() {\n+  return 0\n+}\n+\n+do_unpack() {\n+  pushd \"${GOPATH}/src/github.com/influxdata/telegraf\" > /dev/null\n+  build_line \"Checking out telegraf version ${pkg_version} git tag\"\n+  git checkout ${pkg_version}\n+  popd > /dev/null\n+}\n+\n+do_build() {\n+  pushd \"${GOPATH}/src/github.com/influxdata/telegraf\" > /dev/null\n+  make\n+  popd > /dev/null\n+}\n+\n+do_install() {\n+  install -vD \"${GOPATH}/bin/telegraf\" \"${pkg_prefix}/bin\"\n+}\n+\n+do_clean() {","path":"telegraf/plan.sh","position":45,"original_position":45,"commit_id":"807791c0adfa6d0d40eedd218ea8157ff22bbb18","original_commit_id":"807791c0adfa6d0d40eedd218ea8157ff22bbb18","user":{"login":"elliott-davis","id":1130349,"avatar_url":"https://avatars2.githubusercontent.com/u/1130349?v=4","gravatar_id":"","url":"https://api.github.com/users/elliott-davis","html_url":"https://github.com/elliott-davis","followers_url":"https://api.github.com/users/elliott-davis/followers","following_url":"https://api.github.com/users/elliott-davis/following{/other_user}","gists_url":"https://api.github.com/users/elliott-davis/gists{/gist_id}","starred_url":"https://api.github.com/users/elliott-davis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliott-davis/subscriptions","organizations_url":"https://api.github.com/users/elliott-davis/orgs","repos_url":"https://api.github.com/users/elliott-davis/repos","events_url":"https://api.github.com/users/elliott-davis/events{/privacy}","received_events_url":"https://api.github.com/users/elliott-davis/received_events","type":"User","site_admin":false},"body":"Why are we killing the clean function here?","created_at":"2017-08-11T12:50:28Z","updated_at":"2017-08-11T12:55:16Z","html_url":"https://github.com/habitat-sh/core-plans/pull/700#discussion_r132677757","pull_request_url":"https://api.github.com/repos/habitat-sh/core-plans/pulls/700","_links":{"self":{"href":"https://api.github.com/repos/habitat-sh/core-plans/pulls/comments/132677757"},"html":{"href":"https://github.com/habitat-sh/core-plans/pull/700#discussion_r132677757"},"pull_request":{"href":"https://api.github.com/repos/habitat-sh/core-plans/pulls/700"}}},"pull_request":{"url":"https://api.github.com/repos/habitat-sh/core-plans/pulls/700","id":135240127,"html_url":"https://github.com/habitat-sh/core-plans/pull/700","diff_url":"https://github.com/habitat-sh/core-plans/pull/700.diff","patch_url":"https://github.com/habitat-sh/core-plans/pull/700.patch","issue_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/700","number":700,"state":"open","locked":false,"title":"Updated plan for telegraf","user":{"login":"jtimberman","id":12483,"avatar_url":"https://avatars2.githubusercontent.com/u/12483?v=4","gravatar_id":"","url":"https://api.github.com/users/jtimberman","html_url":"https://github.com/jtimberman","followers_url":"https://api.github.com/users/jtimberman/followers","following_url":"https://api.github.com/users/jtimberman/following{/other_user}","gists_url":"https://api.github.com/users/jtimberman/gists{/gist_id}","starred_url":"https://api.github.com/users/jtimberman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtimberman/subscriptions","organizations_url":"https://api.github.com/users/jtimberman/orgs","repos_url":"https://api.github.com/users/jtimberman/repos","events_url":"https://api.github.com/users/jtimberman/events{/privacy}","received_events_url":"https://api.github.com/users/jtimberman/received_events","type":"User","site_admin":false},"body":"This grabs @kplimack's changes and supersedes PR #639.","created_at":"2017-08-10T22:59:54Z","updated_at":"2017-08-11T12:55:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e22b38da6d8c0e2d68fd650661f54be87ba4512f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/habitat-sh/core-plans/pulls/700/commits","review_comments_url":"https://api.github.com/repos/habitat-sh/core-plans/pulls/700/comments","review_comment_url":"https://api.github.com/repos/habitat-sh/core-plans/pulls/comments{/number}","comments_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/700/comments","statuses_url":"https://api.github.com/repos/habitat-sh/core-plans/statuses/807791c0adfa6d0d40eedd218ea8157ff22bbb18","head":{"label":"habitat-sh:kplimack-telegraf","ref":"kplimack-telegraf","sha":"807791c0adfa6d0d40eedd218ea8157ff22bbb18","user":{"login":"habitat-sh","id":18171698,"avatar_url":"https://avatars0.githubusercontent.com/u/18171698?v=4","gravatar_id":"","url":"https://api.github.com/users/habitat-sh","html_url":"https://github.com/habitat-sh","followers_url":"https://api.github.com/users/habitat-sh/followers","following_url":"https://api.github.com/users/habitat-sh/following{/other_user}","gists_url":"https://api.github.com/users/habitat-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/habitat-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habitat-sh/subscriptions","organizations_url":"https://api.github.com/users/habitat-sh/orgs","repos_url":"https://api.github.com/users/habitat-sh/repos","events_url":"https://api.github.com/users/habitat-sh/events{/privacy}","received_events_url":"https://api.github.com/users/habitat-sh/received_events","type":"Organization","site_admin":false},"repo":{"id":46349776,"name":"core-plans","full_name":"habitat-sh/core-plans","owner":{"login":"habitat-sh","id":18171698,"avatar_url":"https://avatars0.githubusercontent.com/u/18171698?v=4","gravatar_id":"","url":"https://api.github.com/users/habitat-sh","html_url":"https://github.com/habitat-sh","followers_url":"https://api.github.com/users/habitat-sh/followers","following_url":"https://api.github.com/users/habitat-sh/following{/other_user}","gists_url":"https://api.github.com/users/habitat-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/habitat-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habitat-sh/subscriptions","organizations_url":"https://api.github.com/users/habitat-sh/orgs","repos_url":"https://api.github.com/users/habitat-sh/repos","events_url":"https://api.github.com/users/habitat-sh/events{/privacy}","received_events_url":"https://api.github.com/users/habitat-sh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/habitat-sh/core-plans","description":"Core Habitat Plan definitions","fork":false,"url":"https://api.github.com/repos/habitat-sh/core-plans","forks_url":"https://api.github.com/repos/habitat-sh/core-plans/forks","keys_url":"https://api.github.com/repos/habitat-sh/core-plans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/habitat-sh/core-plans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/habitat-sh/core-plans/teams","hooks_url":"https://api.github.com/repos/habitat-sh/core-plans/hooks","issue_events_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/events{/number}","events_url":"https://api.github.com/repos/habitat-sh/core-plans/events","assignees_url":"https://api.github.com/repos/habitat-sh/core-plans/assignees{/user}","branches_url":"https://api.github.com/repos/habitat-sh/core-plans/branches{/branch}","tags_url":"https://api.github.com/repos/habitat-sh/core-plans/tags","blobs_url":"https://api.github.com/repos/habitat-sh/core-plans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/habitat-sh/core-plans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/habitat-sh/core-plans/git/refs{/sha}","trees_url":"https://api.github.com/repos/habitat-sh/core-plans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/habitat-sh/core-plans/statuses/{sha}","languages_url":"https://api.github.com/repos/habitat-sh/core-plans/languages","stargazers_url":"https://api.github.com/repos/habitat-sh/core-plans/stargazers","contributors_url":"https://api.github.com/repos/habitat-sh/core-plans/contributors","subscribers_url":"https://api.github.com/repos/habitat-sh/core-plans/subscribers","subscription_url":"https://api.github.com/repos/habitat-sh/core-plans/subscription","commits_url":"https://api.github.com/repos/habitat-sh/core-plans/commits{/sha}","git_commits_url":"https://api.github.com/repos/habitat-sh/core-plans/git/commits{/sha}","comments_url":"https://api.github.com/repos/habitat-sh/core-plans/comments{/number}","issue_comment_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/comments{/number}","contents_url":"https://api.github.com/repos/habitat-sh/core-plans/contents/{+path}","compare_url":"https://api.github.com/repos/habitat-sh/core-plans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/habitat-sh/core-plans/merges","archive_url":"https://api.github.com/repos/habitat-sh/core-plans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/habitat-sh/core-plans/downloads","issues_url":"https://api.github.com/repos/habitat-sh/core-plans/issues{/number}","pulls_url":"https://api.github.com/repos/habitat-sh/core-plans/pulls{/number}","milestones_url":"https://api.github.com/repos/habitat-sh/core-plans/milestones{/number}","notifications_url":"https://api.github.com/repos/habitat-sh/core-plans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/habitat-sh/core-plans/labels{/name}","releases_url":"https://api.github.com/repos/habitat-sh/core-plans/releases{/id}","deployments_url":"https://api.github.com/repos/habitat-sh/core-plans/deployments","created_at":"2015-11-17T13:45:46Z","updated_at":"2017-08-08T01:48:23Z","pushed_at":"2017-08-11T10:28:11Z","git_url":"git://github.com/habitat-sh/core-plans.git","ssh_url":"git@github.com:habitat-sh/core-plans.git","clone_url":"https://github.com/habitat-sh/core-plans.git","svn_url":"https://github.com/habitat-sh/core-plans","homepage":"","size":12417,"stargazers_count":42,"watchers_count":42,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":98,"mirror_url":null,"open_issues_count":95,"forks":98,"open_issues":95,"watchers":42,"default_branch":"master"}},"base":{"label":"habitat-sh:master","ref":"master","sha":"80c9c0ec967bbbc0bf56d4751e0d9317861e779e","user":{"login":"habitat-sh","id":18171698,"avatar_url":"https://avatars0.githubusercontent.com/u/18171698?v=4","gravatar_id":"","url":"https://api.github.com/users/habitat-sh","html_url":"https://github.com/habitat-sh","followers_url":"https://api.github.com/users/habitat-sh/followers","following_url":"https://api.github.com/users/habitat-sh/following{/other_user}","gists_url":"https://api.github.com/users/habitat-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/habitat-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habitat-sh/subscriptions","organizations_url":"https://api.github.com/users/habitat-sh/orgs","repos_url":"https://api.github.com/users/habitat-sh/repos","events_url":"https://api.github.com/users/habitat-sh/events{/privacy}","received_events_url":"https://api.github.com/users/habitat-sh/received_events","type":"Organization","site_admin":false},"repo":{"id":46349776,"name":"core-plans","full_name":"habitat-sh/core-plans","owner":{"login":"habitat-sh","id":18171698,"avatar_url":"https://avatars0.githubusercontent.com/u/18171698?v=4","gravatar_id":"","url":"https://api.github.com/users/habitat-sh","html_url":"https://github.com/habitat-sh","followers_url":"https://api.github.com/users/habitat-sh/followers","following_url":"https://api.github.com/users/habitat-sh/following{/other_user}","gists_url":"https://api.github.com/users/habitat-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/habitat-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habitat-sh/subscriptions","organizations_url":"https://api.github.com/users/habitat-sh/orgs","repos_url":"https://api.github.com/users/habitat-sh/repos","events_url":"https://api.github.com/users/habitat-sh/events{/privacy}","received_events_url":"https://api.github.com/users/habitat-sh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/habitat-sh/core-plans","description":"Core Habitat Plan definitions","fork":false,"url":"https://api.github.com/repos/habitat-sh/core-plans","forks_url":"https://api.github.com/repos/habitat-sh/core-plans/forks","keys_url":"https://api.github.com/repos/habitat-sh/core-plans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/habitat-sh/core-plans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/habitat-sh/core-plans/teams","hooks_url":"https://api.github.com/repos/habitat-sh/core-plans/hooks","issue_events_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/events{/number}","events_url":"https://api.github.com/repos/habitat-sh/core-plans/events","assignees_url":"https://api.github.com/repos/habitat-sh/core-plans/assignees{/user}","branches_url":"https://api.github.com/repos/habitat-sh/core-plans/branches{/branch}","tags_url":"https://api.github.com/repos/habitat-sh/core-plans/tags","blobs_url":"https://api.github.com/repos/habitat-sh/core-plans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/habitat-sh/core-plans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/habitat-sh/core-plans/git/refs{/sha}","trees_url":"https://api.github.com/repos/habitat-sh/core-plans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/habitat-sh/core-plans/statuses/{sha}","languages_url":"https://api.github.com/repos/habitat-sh/core-plans/languages","stargazers_url":"https://api.github.com/repos/habitat-sh/core-plans/stargazers","contributors_url":"https://api.github.com/repos/habitat-sh/core-plans/contributors","subscribers_url":"https://api.github.com/repos/habitat-sh/core-plans/subscribers","subscription_url":"https://api.github.com/repos/habitat-sh/core-plans/subscription","commits_url":"https://api.github.com/repos/habitat-sh/core-plans/commits{/sha}","git_commits_url":"https://api.github.com/repos/habitat-sh/core-plans/git/commits{/sha}","comments_url":"https://api.github.com/repos/habitat-sh/core-plans/comments{/number}","issue_comment_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/comments{/number}","contents_url":"https://api.github.com/repos/habitat-sh/core-plans/contents/{+path}","compare_url":"https://api.github.com/repos/habitat-sh/core-plans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/habitat-sh/core-plans/merges","archive_url":"https://api.github.com/repos/habitat-sh/core-plans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/habitat-sh/core-plans/downloads","issues_url":"https://api.github.com/repos/habitat-sh/core-plans/issues{/number}","pulls_url":"https://api.github.com/repos/habitat-sh/core-plans/pulls{/number}","milestones_url":"https://api.github.com/repos/habitat-sh/core-plans/milestones{/number}","notifications_url":"https://api.github.com/repos/habitat-sh/core-plans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/habitat-sh/core-plans/labels{/name}","releases_url":"https://api.github.com/repos/habitat-sh/core-plans/releases{/id}","deployments_url":"https://api.github.com/repos/habitat-sh/core-plans/deployments","created_at":"2015-11-17T13:45:46Z","updated_at":"2017-08-08T01:48:23Z","pushed_at":"2017-08-11T10:28:11Z","git_url":"git://github.com/habitat-sh/core-plans.git","ssh_url":"git@github.com:habitat-sh/core-plans.git","clone_url":"https://github.com/habitat-sh/core-plans.git","svn_url":"https://github.com/habitat-sh/core-plans","homepage":"","size":12417,"stargazers_count":42,"watchers_count":42,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":98,"mirror_url":null,"open_issues_count":95,"forks":98,"open_issues":95,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/habitat-sh/core-plans/pulls/700"},"html":{"href":"https://github.com/habitat-sh/core-plans/pull/700"},"issue":{"href":"https://api.github.com/repos/habitat-sh/core-plans/issues/700"},"comments":{"href":"https://api.github.com/repos/habitat-sh/core-plans/issues/700/comments"},"review_comments":{"href":"https://api.github.com/repos/habitat-sh/core-plans/pulls/700/comments"},"review_comment":{"href":"https://api.github.com/repos/habitat-sh/core-plans/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/habitat-sh/core-plans/pulls/700/commits"},"statuses":{"href":"https://api.github.com/repos/habitat-sh/core-plans/statuses/807791c0adfa6d0d40eedd218ea8157ff22bbb18"}}}}
{"actor":{"display_login":"elliott-davis"}}