{"action":"opened","number":458,"pull_request":{"url":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls/458","id":72316707,"html_url":"https://github.com/ContainerSolutions/minimesos/pull/458","diff_url":"https://github.com/ContainerSolutions/minimesos/pull/458.diff","patch_url":"https://github.com/ContainerSolutions/minimesos/pull/458.patch","issue_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/458","number":458,"state":"open","locked":false,"title":"Prevent a partially downloaded script from running.","user":{"login":"moretea","id":99988,"avatar_url":"https://avatars.githubusercontent.com/u/99988?v=3","gravatar_id":"","url":"https://api.github.com/users/moretea","html_url":"https://github.com/moretea","followers_url":"https://api.github.com/users/moretea/followers","following_url":"https://api.github.com/users/moretea/following{/other_user}","gists_url":"https://api.github.com/users/moretea/gists{/gist_id}","starred_url":"https://api.github.com/users/moretea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moretea/subscriptions","organizations_url":"https://api.github.com/users/moretea/orgs","repos_url":"https://api.github.com/users/moretea/repos","events_url":"https://api.github.com/users/moretea/events{/privacy}","received_events_url":"https://api.github.com/users/moretea/received_events","type":"User","site_admin":false},"body":"By wrapping the content of the script in '{', '}', sh will not start\r\nexecuting any commands until the closing '}' is encountered.\r\n\r\n<hr>\r\nProof:\r\n```\r\n$ cat test1.sh\r\necho hello world\r\nMISSING STUFF\r\n\r\n$ sh test1.sh \r\nhello world\r\ntest1.sh: line 2: MISSING: command not found\r\n\r\n$ cat test2.sh \r\n{\r\necho hello world\r\nMISSING STUFF\r\n\r\n$ sh test2.sh \r\ntest2.sh: line 4: syntax error: unexpected end of file\r\n```","created_at":"2016-06-02T09:42:53Z","updated_at":"2016-06-02T09:42:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c118d26b73dce38133b1a546c5dd864794495a4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls/458/commits","review_comments_url":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls/458/comments","review_comment_url":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/458/comments","statuses_url":"https://api.github.com/repos/ContainerSolutions/minimesos/statuses/cdaea5e91f4dea1348242da5b459791f86ee2171","head":{"label":"moretea:safe_download","ref":"safe_download","sha":"cdaea5e91f4dea1348242da5b459791f86ee2171","user":{"login":"moretea","id":99988,"avatar_url":"https://avatars.githubusercontent.com/u/99988?v=3","gravatar_id":"","url":"https://api.github.com/users/moretea","html_url":"https://github.com/moretea","followers_url":"https://api.github.com/users/moretea/followers","following_url":"https://api.github.com/users/moretea/following{/other_user}","gists_url":"https://api.github.com/users/moretea/gists{/gist_id}","starred_url":"https://api.github.com/users/moretea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moretea/subscriptions","organizations_url":"https://api.github.com/users/moretea/orgs","repos_url":"https://api.github.com/users/moretea/repos","events_url":"https://api.github.com/users/moretea/events{/privacy}","received_events_url":"https://api.github.com/users/moretea/received_events","type":"User","site_admin":false},"repo":{"id":60094329,"name":"minimesos","full_name":"moretea/minimesos","owner":{"login":"moretea","id":99988,"avatar_url":"https://avatars.githubusercontent.com/u/99988?v=3","gravatar_id":"","url":"https://api.github.com/users/moretea","html_url":"https://github.com/moretea","followers_url":"https://api.github.com/users/moretea/followers","following_url":"https://api.github.com/users/moretea/following{/other_user}","gists_url":"https://api.github.com/users/moretea/gists{/gist_id}","starred_url":"https://api.github.com/users/moretea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moretea/subscriptions","organizations_url":"https://api.github.com/users/moretea/orgs","repos_url":"https://api.github.com/users/moretea/repos","events_url":"https://api.github.com/users/moretea/events{/privacy}","received_events_url":"https://api.github.com/users/moretea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moretea/minimesos","description":"The experimentation and testing tool for Apache Mesos","fork":true,"url":"https://api.github.com/repos/moretea/minimesos","forks_url":"https://api.github.com/repos/moretea/minimesos/forks","keys_url":"https://api.github.com/repos/moretea/minimesos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moretea/minimesos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moretea/minimesos/teams","hooks_url":"https://api.github.com/repos/moretea/minimesos/hooks","issue_events_url":"https://api.github.com/repos/moretea/minimesos/issues/events{/number}","events_url":"https://api.github.com/repos/moretea/minimesos/events","assignees_url":"https://api.github.com/repos/moretea/minimesos/assignees{/user}","branches_url":"https://api.github.com/repos/moretea/minimesos/branches{/branch}","tags_url":"https://api.github.com/repos/moretea/minimesos/tags","blobs_url":"https://api.github.com/repos/moretea/minimesos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moretea/minimesos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moretea/minimesos/git/refs{/sha}","trees_url":"https://api.github.com/repos/moretea/minimesos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moretea/minimesos/statuses/{sha}","languages_url":"https://api.github.com/repos/moretea/minimesos/languages","stargazers_url":"https://api.github.com/repos/moretea/minimesos/stargazers","contributors_url":"https://api.github.com/repos/moretea/minimesos/contributors","subscribers_url":"https://api.github.com/repos/moretea/minimesos/subscribers","subscription_url":"https://api.github.com/repos/moretea/minimesos/subscription","commits_url":"https://api.github.com/repos/moretea/minimesos/commits{/sha}","git_commits_url":"https://api.github.com/repos/moretea/minimesos/git/commits{/sha}","comments_url":"https://api.github.com/repos/moretea/minimesos/comments{/number}","issue_comment_url":"https://api.github.com/repos/moretea/minimesos/issues/comments{/number}","contents_url":"https://api.github.com/repos/moretea/minimesos/contents/{+path}","compare_url":"https://api.github.com/repos/moretea/minimesos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moretea/minimesos/merges","archive_url":"https://api.github.com/repos/moretea/minimesos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moretea/minimesos/downloads","issues_url":"https://api.github.com/repos/moretea/minimesos/issues{/number}","pulls_url":"https://api.github.com/repos/moretea/minimesos/pulls{/number}","milestones_url":"https://api.github.com/repos/moretea/minimesos/milestones{/number}","notifications_url":"https://api.github.com/repos/moretea/minimesos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moretea/minimesos/labels{/name}","releases_url":"https://api.github.com/repos/moretea/minimesos/releases{/id}","deployments_url":"https://api.github.com/repos/moretea/minimesos/deployments","created_at":"2016-05-31T13:59:31Z","updated_at":"2016-05-31T13:59:32Z","pushed_at":"2016-06-02T09:41:06Z","git_url":"git://github.com/moretea/minimesos.git","ssh_url":"git@github.com:moretea/minimesos.git","clone_url":"https://github.com/moretea/minimesos.git","svn_url":"https://github.com/moretea/minimesos","homepage":"https://www.minimesos.org","size":4026,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ContainerSolutions:master","ref":"master","sha":"2c23883cc86803e632e3f21258c17e096a90b68c","user":{"login":"ContainerSolutions","id":9009380,"avatar_url":"https://avatars.githubusercontent.com/u/9009380?v=3","gravatar_id":"","url":"https://api.github.com/users/ContainerSolutions","html_url":"https://github.com/ContainerSolutions","followers_url":"https://api.github.com/users/ContainerSolutions/followers","following_url":"https://api.github.com/users/ContainerSolutions/following{/other_user}","gists_url":"https://api.github.com/users/ContainerSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/ContainerSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ContainerSolutions/subscriptions","organizations_url":"https://api.github.com/users/ContainerSolutions/orgs","repos_url":"https://api.github.com/users/ContainerSolutions/repos","events_url":"https://api.github.com/users/ContainerSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/ContainerSolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":38307113,"name":"minimesos","full_name":"ContainerSolutions/minimesos","owner":{"login":"ContainerSolutions","id":9009380,"avatar_url":"https://avatars.githubusercontent.com/u/9009380?v=3","gravatar_id":"","url":"https://api.github.com/users/ContainerSolutions","html_url":"https://github.com/ContainerSolutions","followers_url":"https://api.github.com/users/ContainerSolutions/followers","following_url":"https://api.github.com/users/ContainerSolutions/following{/other_user}","gists_url":"https://api.github.com/users/ContainerSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/ContainerSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ContainerSolutions/subscriptions","organizations_url":"https://api.github.com/users/ContainerSolutions/orgs","repos_url":"https://api.github.com/users/ContainerSolutions/repos","events_url":"https://api.github.com/users/ContainerSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/ContainerSolutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ContainerSolutions/minimesos","description":"The experimentation and testing tool for Apache Mesos","fork":false,"url":"https://api.github.com/repos/ContainerSolutions/minimesos","forks_url":"https://api.github.com/repos/ContainerSolutions/minimesos/forks","keys_url":"https://api.github.com/repos/ContainerSolutions/minimesos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ContainerSolutions/minimesos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ContainerSolutions/minimesos/teams","hooks_url":"https://api.github.com/repos/ContainerSolutions/minimesos/hooks","issue_events_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/events{/number}","events_url":"https://api.github.com/repos/ContainerSolutions/minimesos/events","assignees_url":"https://api.github.com/repos/ContainerSolutions/minimesos/assignees{/user}","branches_url":"https://api.github.com/repos/ContainerSolutions/minimesos/branches{/branch}","tags_url":"https://api.github.com/repos/ContainerSolutions/minimesos/tags","blobs_url":"https://api.github.com/repos/ContainerSolutions/minimesos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ContainerSolutions/minimesos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ContainerSolutions/minimesos/git/refs{/sha}","trees_url":"https://api.github.com/repos/ContainerSolutions/minimesos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ContainerSolutions/minimesos/statuses/{sha}","languages_url":"https://api.github.com/repos/ContainerSolutions/minimesos/languages","stargazers_url":"https://api.github.com/repos/ContainerSolutions/minimesos/stargazers","contributors_url":"https://api.github.com/repos/ContainerSolutions/minimesos/contributors","subscribers_url":"https://api.github.com/repos/ContainerSolutions/minimesos/subscribers","subscription_url":"https://api.github.com/repos/ContainerSolutions/minimesos/subscription","commits_url":"https://api.github.com/repos/ContainerSolutions/minimesos/commits{/sha}","git_commits_url":"https://api.github.com/repos/ContainerSolutions/minimesos/git/commits{/sha}","comments_url":"https://api.github.com/repos/ContainerSolutions/minimesos/comments{/number}","issue_comment_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/comments{/number}","contents_url":"https://api.github.com/repos/ContainerSolutions/minimesos/contents/{+path}","compare_url":"https://api.github.com/repos/ContainerSolutions/minimesos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ContainerSolutions/minimesos/merges","archive_url":"https://api.github.com/repos/ContainerSolutions/minimesos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ContainerSolutions/minimesos/downloads","issues_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues{/number}","pulls_url":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls{/number}","milestones_url":"https://api.github.com/repos/ContainerSolutions/minimesos/milestones{/number}","notifications_url":"https://api.github.com/repos/ContainerSolutions/minimesos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ContainerSolutions/minimesos/labels{/name}","releases_url":"https://api.github.com/repos/ContainerSolutions/minimesos/releases{/id}","deployments_url":"https://api.github.com/repos/ContainerSolutions/minimesos/deployments","created_at":"2015-06-30T12:08:26Z","updated_at":"2016-05-28T08:56:42Z","pushed_at":"2016-06-02T09:42:53Z","git_url":"git://github.com/ContainerSolutions/minimesos.git","ssh_url":"git@github.com:ContainerSolutions/minimesos.git","clone_url":"https://github.com/ContainerSolutions/minimesos.git","svn_url":"https://github.com/ContainerSolutions/minimesos","homepage":"https://www.minimesos.org","size":4132,"stargazers_count":325,"watchers_count":325,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":46,"forks":36,"open_issues":46,"watchers":325,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls/458"},"html":{"href":"https://github.com/ContainerSolutions/minimesos/pull/458"},"issue":{"href":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/458"},"comments":{"href":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/458/comments"},"review_comments":{"href":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls/458/comments"},"review_comment":{"href":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ContainerSolutions/minimesos/pulls/458/commits"},"statuses":{"href":"https://api.github.com/repos/ContainerSolutions/minimesos/statuses/cdaea5e91f4dea1348242da5b459791f86ee2171"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"moretea"}}