{"action":"created","comment":{"url":"https://api.github.com/repos/apcera/kurma/pulls/comments/68863036","id":68863036,"diff_hunk":"@@ -232,6 +232,38 @@ release-to-resources-darwin:\n \t@tar -czf ./resources/kurma-cli-$(VERSION)-darwin-amd64.tar.gz -C ./resources LICENSE kurma-cli\n \t@rm ./resources/LICENSE\n \n+.PHONY: debpkg debpkg-linux\n+\n+ifeq ($(UNAMES),Linux)\n+debpkg: debpkg-linux\n+else\n+debpkg:\n+endif\n+\n+PACKAGE_DIR := ./build/package\n+\n+debpkg-linux: kurma-cli kurmad stager/container kurma-init\n+debpkg-linux: kurma-api bin/console.aci bin/kurma-init.tar.gz kurma-upgrader\n+debpkg-linux: busybox-aci cni-netplugin-aci\n+debpkg-linux:\n+\t@rm -rf $(PACKAGE_DIR)","path":"Makefile","position":18,"original_position":18,"commit_id":"7f61659dd03765bc09ba868777a817f3f879eb7e","original_commit_id":"7f61659dd03765bc09ba868777a817f3f879eb7e","user":{"login":"krobertson","id":1809,"avatar_url":"https://avatars.githubusercontent.com/u/1809?v=3","gravatar_id":"","url":"https://api.github.com/users/krobertson","html_url":"https://github.com/krobertson","followers_url":"https://api.github.com/users/krobertson/followers","following_url":"https://api.github.com/users/krobertson/following{/other_user}","gists_url":"https://api.github.com/users/krobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/krobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krobertson/subscriptions","organizations_url":"https://api.github.com/users/krobertson/orgs","repos_url":"https://api.github.com/users/krobertson/repos","events_url":"https://api.github.com/users/krobertson/events{/privacy}","received_events_url":"https://api.github.com/users/krobertson/received_events","type":"User","site_admin":false},"body":"Part of this may be better served as a bash script in the `build` directory... then you could use `mktemp -d` to create a temporary directory for creating the structure, setting it to a variable, and cleaning it up at the end of the script.  This avoids needing a `rm -rf` call to something.  Simple example is here: https://github.com/apcera/kurma/blob/master/build/run.sh#L14","created_at":"2016-06-28T23:36:36Z","updated_at":"2016-06-28T23:36:36Z","html_url":"https://github.com/apcera/kurma/pull/88#discussion_r68863036","pull_request_url":"https://api.github.com/repos/apcera/kurma/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/apcera/kurma/pulls/comments/68863036"},"html":{"href":"https://github.com/apcera/kurma/pull/88#discussion_r68863036"},"pull_request":{"href":"https://api.github.com/repos/apcera/kurma/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/apcera/kurma/pulls/88","id":75553849,"html_url":"https://github.com/apcera/kurma/pull/88","diff_url":"https://github.com/apcera/kurma/pull/88.diff","patch_url":"https://github.com/apcera/kurma/pull/88.patch","issue_url":"https://api.github.com/repos/apcera/kurma/issues/88","number":88,"state":"open","locked":false,"title":"Debpkg","user":{"login":"jpoler","id":5551484,"avatar_url":"https://avatars.githubusercontent.com/u/5551484?v=3","gravatar_id":"","url":"https://api.github.com/users/jpoler","html_url":"https://github.com/jpoler","followers_url":"https://api.github.com/users/jpoler/followers","following_url":"https://api.github.com/users/jpoler/following{/other_user}","gists_url":"https://api.github.com/users/jpoler/gists{/gist_id}","starred_url":"https://api.github.com/users/jpoler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpoler/subscriptions","organizations_url":"https://api.github.com/users/jpoler/orgs","repos_url":"https://api.github.com/users/jpoler/repos","events_url":"https://api.github.com/users/jpoler/events{/privacy}","received_events_url":"https://api.github.com/users/jpoler/received_events","type":"User","site_admin":false},"body":"@krobertson @mbhinder @wallyqs \r\n\r\nAfter this is merged, I'll follow up with a PR to get packages building in TC.","created_at":"2016-06-28T21:29:11Z","updated_at":"2016-06-28T23:36:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b552fb91ae60ab10f8543a6769a806598d22464a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apcera/kurma/pulls/88/commits","review_comments_url":"https://api.github.com/repos/apcera/kurma/pulls/88/comments","review_comment_url":"https://api.github.com/repos/apcera/kurma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apcera/kurma/issues/88/comments","statuses_url":"https://api.github.com/repos/apcera/kurma/statuses/7f61659dd03765bc09ba868777a817f3f879eb7e","head":{"label":"apcera:debpkg","ref":"debpkg","sha":"7f61659dd03765bc09ba868777a817f3f879eb7e","user":{"login":"apcera","id":1637964,"avatar_url":"https://avatars.githubusercontent.com/u/1637964?v=3","gravatar_id":"","url":"https://api.github.com/users/apcera","html_url":"https://github.com/apcera","followers_url":"https://api.github.com/users/apcera/followers","following_url":"https://api.github.com/users/apcera/following{/other_user}","gists_url":"https://api.github.com/users/apcera/gists{/gist_id}","starred_url":"https://api.github.com/users/apcera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apcera/subscriptions","organizations_url":"https://api.github.com/users/apcera/orgs","repos_url":"https://api.github.com/users/apcera/repos","events_url":"https://api.github.com/users/apcera/events{/privacy}","received_events_url":"https://api.github.com/users/apcera/received_events","type":"Organization","site_admin":false},"repo":{"id":31934212,"name":"kurma","full_name":"apcera/kurma","owner":{"login":"apcera","id":1637964,"avatar_url":"https://avatars.githubusercontent.com/u/1637964?v=3","gravatar_id":"","url":"https://api.github.com/users/apcera","html_url":"https://github.com/apcera","followers_url":"https://api.github.com/users/apcera/followers","following_url":"https://api.github.com/users/apcera/following{/other_user}","gists_url":"https://api.github.com/users/apcera/gists{/gist_id}","starred_url":"https://api.github.com/users/apcera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apcera/subscriptions","organizations_url":"https://api.github.com/users/apcera/orgs","repos_url":"https://api.github.com/users/apcera/repos","events_url":"https://api.github.com/users/apcera/events{/privacy}","received_events_url":"https://api.github.com/users/apcera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apcera/kurma","description":"Kurma - Containers all the way down","fork":false,"url":"https://api.github.com/repos/apcera/kurma","forks_url":"https://api.github.com/repos/apcera/kurma/forks","keys_url":"https://api.github.com/repos/apcera/kurma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apcera/kurma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apcera/kurma/teams","hooks_url":"https://api.github.com/repos/apcera/kurma/hooks","issue_events_url":"https://api.github.com/repos/apcera/kurma/issues/events{/number}","events_url":"https://api.github.com/repos/apcera/kurma/events","assignees_url":"https://api.github.com/repos/apcera/kurma/assignees{/user}","branches_url":"https://api.github.com/repos/apcera/kurma/branches{/branch}","tags_url":"https://api.github.com/repos/apcera/kurma/tags","blobs_url":"https://api.github.com/repos/apcera/kurma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apcera/kurma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apcera/kurma/git/refs{/sha}","trees_url":"https://api.github.com/repos/apcera/kurma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apcera/kurma/statuses/{sha}","languages_url":"https://api.github.com/repos/apcera/kurma/languages","stargazers_url":"https://api.github.com/repos/apcera/kurma/stargazers","contributors_url":"https://api.github.com/repos/apcera/kurma/contributors","subscribers_url":"https://api.github.com/repos/apcera/kurma/subscribers","subscription_url":"https://api.github.com/repos/apcera/kurma/subscription","commits_url":"https://api.github.com/repos/apcera/kurma/commits{/sha}","git_commits_url":"https://api.github.com/repos/apcera/kurma/git/commits{/sha}","comments_url":"https://api.github.com/repos/apcera/kurma/comments{/number}","issue_comment_url":"https://api.github.com/repos/apcera/kurma/issues/comments{/number}","contents_url":"https://api.github.com/repos/apcera/kurma/contents/{+path}","compare_url":"https://api.github.com/repos/apcera/kurma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apcera/kurma/merges","archive_url":"https://api.github.com/repos/apcera/kurma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apcera/kurma/downloads","issues_url":"https://api.github.com/repos/apcera/kurma/issues{/number}","pulls_url":"https://api.github.com/repos/apcera/kurma/pulls{/number}","milestones_url":"https://api.github.com/repos/apcera/kurma/milestones{/number}","notifications_url":"https://api.github.com/repos/apcera/kurma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apcera/kurma/labels{/name}","releases_url":"https://api.github.com/repos/apcera/kurma/releases{/id}","deployments_url":"https://api.github.com/repos/apcera/kurma/deployments","created_at":"2015-03-10T02:29:32Z","updated_at":"2016-06-26T04:24:29Z","pushed_at":"2016-06-28T23:28:00Z","git_url":"git://github.com/apcera/kurma.git","ssh_url":"git@github.com:apcera/kurma.git","clone_url":"https://github.com/apcera/kurma.git","svn_url":"https://github.com/apcera/kurma","homepage":"https://kurma.io","size":13172,"stargazers_count":150,"watchers_count":150,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":22,"forks":10,"open_issues":22,"watchers":150,"default_branch":"master"}},"base":{"label":"apcera:master","ref":"master","sha":"551a8a08b1da40b1f01b337ff6f0372fc6771176","user":{"login":"apcera","id":1637964,"avatar_url":"https://avatars.githubusercontent.com/u/1637964?v=3","gravatar_id":"","url":"https://api.github.com/users/apcera","html_url":"https://github.com/apcera","followers_url":"https://api.github.com/users/apcera/followers","following_url":"https://api.github.com/users/apcera/following{/other_user}","gists_url":"https://api.github.com/users/apcera/gists{/gist_id}","starred_url":"https://api.github.com/users/apcera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apcera/subscriptions","organizations_url":"https://api.github.com/users/apcera/orgs","repos_url":"https://api.github.com/users/apcera/repos","events_url":"https://api.github.com/users/apcera/events{/privacy}","received_events_url":"https://api.github.com/users/apcera/received_events","type":"Organization","site_admin":false},"repo":{"id":31934212,"name":"kurma","full_name":"apcera/kurma","owner":{"login":"apcera","id":1637964,"avatar_url":"https://avatars.githubusercontent.com/u/1637964?v=3","gravatar_id":"","url":"https://api.github.com/users/apcera","html_url":"https://github.com/apcera","followers_url":"https://api.github.com/users/apcera/followers","following_url":"https://api.github.com/users/apcera/following{/other_user}","gists_url":"https://api.github.com/users/apcera/gists{/gist_id}","starred_url":"https://api.github.com/users/apcera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apcera/subscriptions","organizations_url":"https://api.github.com/users/apcera/orgs","repos_url":"https://api.github.com/users/apcera/repos","events_url":"https://api.github.com/users/apcera/events{/privacy}","received_events_url":"https://api.github.com/users/apcera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apcera/kurma","description":"Kurma - Containers all the way down","fork":false,"url":"https://api.github.com/repos/apcera/kurma","forks_url":"https://api.github.com/repos/apcera/kurma/forks","keys_url":"https://api.github.com/repos/apcera/kurma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apcera/kurma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apcera/kurma/teams","hooks_url":"https://api.github.com/repos/apcera/kurma/hooks","issue_events_url":"https://api.github.com/repos/apcera/kurma/issues/events{/number}","events_url":"https://api.github.com/repos/apcera/kurma/events","assignees_url":"https://api.github.com/repos/apcera/kurma/assignees{/user}","branches_url":"https://api.github.com/repos/apcera/kurma/branches{/branch}","tags_url":"https://api.github.com/repos/apcera/kurma/tags","blobs_url":"https://api.github.com/repos/apcera/kurma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apcera/kurma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apcera/kurma/git/refs{/sha}","trees_url":"https://api.github.com/repos/apcera/kurma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apcera/kurma/statuses/{sha}","languages_url":"https://api.github.com/repos/apcera/kurma/languages","stargazers_url":"https://api.github.com/repos/apcera/kurma/stargazers","contributors_url":"https://api.github.com/repos/apcera/kurma/contributors","subscribers_url":"https://api.github.com/repos/apcera/kurma/subscribers","subscription_url":"https://api.github.com/repos/apcera/kurma/subscription","commits_url":"https://api.github.com/repos/apcera/kurma/commits{/sha}","git_commits_url":"https://api.github.com/repos/apcera/kurma/git/commits{/sha}","comments_url":"https://api.github.com/repos/apcera/kurma/comments{/number}","issue_comment_url":"https://api.github.com/repos/apcera/kurma/issues/comments{/number}","contents_url":"https://api.github.com/repos/apcera/kurma/contents/{+path}","compare_url":"https://api.github.com/repos/apcera/kurma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apcera/kurma/merges","archive_url":"https://api.github.com/repos/apcera/kurma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apcera/kurma/downloads","issues_url":"https://api.github.com/repos/apcera/kurma/issues{/number}","pulls_url":"https://api.github.com/repos/apcera/kurma/pulls{/number}","milestones_url":"https://api.github.com/repos/apcera/kurma/milestones{/number}","notifications_url":"https://api.github.com/repos/apcera/kurma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apcera/kurma/labels{/name}","releases_url":"https://api.github.com/repos/apcera/kurma/releases{/id}","deployments_url":"https://api.github.com/repos/apcera/kurma/deployments","created_at":"2015-03-10T02:29:32Z","updated_at":"2016-06-26T04:24:29Z","pushed_at":"2016-06-28T23:28:00Z","git_url":"git://github.com/apcera/kurma.git","ssh_url":"git@github.com:apcera/kurma.git","clone_url":"https://github.com/apcera/kurma.git","svn_url":"https://github.com/apcera/kurma","homepage":"https://kurma.io","size":13172,"stargazers_count":150,"watchers_count":150,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":22,"forks":10,"open_issues":22,"watchers":150,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apcera/kurma/pulls/88"},"html":{"href":"https://github.com/apcera/kurma/pull/88"},"issue":{"href":"https://api.github.com/repos/apcera/kurma/issues/88"},"comments":{"href":"https://api.github.com/repos/apcera/kurma/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/apcera/kurma/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/apcera/kurma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apcera/kurma/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/apcera/kurma/statuses/7f61659dd03765bc09ba868777a817f3f879eb7e"}}}}
{"actor":{"display_login":"krobertson"}}