{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/corert/pulls/comments/46360333","id":46360333,"diff_hunk":"@@ -0,0 +1,113 @@\n+#!/usr/bin/env bash\n+\n+usage()\n+{\n+    echo \"Usage: $0 [dbg^|rel] [x86^|amd64^|arm] [-?]\"\n+    exit -8\n+}\n+\n+\n+source $(cd \"$(dirname \"$0\")\"; pwd -P)/testenv.sh\n+\n+if [ -z ${__CoreRT_BuildOS} ]; then","path":"tests/restore.sh","position":12,"original_position":12,"commit_id":"a1ecaaa1131ce5f6ac9cd2b5c462b593a88d5151","original_commit_id":"a1ecaaa1131ce5f6ac9cd2b5c462b593a88d5151","user":{"login":"kangaroo","id":151532,"avatar_url":"https://avatars.githubusercontent.com/u/151532?v=3","gravatar_id":"","url":"https://api.github.com/users/kangaroo","html_url":"https://github.com/kangaroo","followers_url":"https://api.github.com/users/kangaroo/followers","following_url":"https://api.github.com/users/kangaroo/following{/other_user}","gists_url":"https://api.github.com/users/kangaroo/gists{/gist_id}","starred_url":"https://api.github.com/users/kangaroo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kangaroo/subscriptions","organizations_url":"https://api.github.com/users/kangaroo/orgs","repos_url":"https://api.github.com/users/kangaroo/repos","events_url":"https://api.github.com/users/kangaroo/events{/privacy}","received_events_url":"https://api.github.com/users/kangaroo/received_events","type":"User","site_admin":false},"body":"For the record, we're not consistent between coreclr/corefx/corert.  I would prefer __ on both sides to denote the 'internalness' of the variable, but thats just a personal preference.","created_at":"2015-12-02T00:10:31Z","updated_at":"2015-12-02T00:10:31Z","html_url":"https://github.com/dotnet/corert/pull/425#discussion_r46360333","pull_request_url":"https://api.github.com/repos/dotnet/corert/pulls/425","_links":{"self":{"href":"https://api.github.com/repos/dotnet/corert/pulls/comments/46360333"},"html":{"href":"https://github.com/dotnet/corert/pull/425#discussion_r46360333"},"pull_request":{"href":"https://api.github.com/repos/dotnet/corert/pulls/425"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/corert/pulls/425","id":51854260,"html_url":"https://github.com/dotnet/corert/pull/425","diff_url":"https://github.com/dotnet/corert/pull/425.diff","patch_url":"https://github.com/dotnet/corert/pull/425.patch","issue_url":"https://api.github.com/repos/dotnet/corert/issues/425","number":425,"state":"open","locked":false,"title":"Switch to dotnet tools and add unix testing","user":{"login":"schellap","id":10644403,"avatar_url":"https://avatars.githubusercontent.com/u/10644403?v=3","gravatar_id":"","url":"https://api.github.com/users/schellap","html_url":"https://github.com/schellap","followers_url":"https://api.github.com/users/schellap/followers","following_url":"https://api.github.com/users/schellap/following{/other_user}","gists_url":"https://api.github.com/users/schellap/gists{/gist_id}","starred_url":"https://api.github.com/users/schellap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schellap/subscriptions","organizations_url":"https://api.github.com/users/schellap/orgs","repos_url":"https://api.github.com/users/schellap/repos","events_url":"https://api.github.com/users/schellap/events{/privacy}","received_events_url":"https://api.github.com/users/schellap/received_events","type":"User","site_admin":false},"body":"Enables RyuJIT/CPP modes for Windows/Linux/OSX and switches restoration and testing to \"latest\" dotnet tools from dotnet/cli repo. Disabled OSX JIT tests as CLI doesn't support it yet.","created_at":"2015-11-25T22:42:33Z","updated_at":"2015-12-02T00:10:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a83babd41580092c3c621bdfd22570ecced16ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/corert/pulls/425/commits","review_comments_url":"https://api.github.com/repos/dotnet/corert/pulls/425/comments","review_comment_url":"https://api.github.com/repos/dotnet/corert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corert/issues/425/comments","statuses_url":"https://api.github.com/repos/dotnet/corert/statuses/a1ecaaa1131ce5f6ac9cd2b5c462b593a88d5151","head":{"label":"schellap:master","ref":"master","sha":"a1ecaaa1131ce5f6ac9cd2b5c462b593a88d5151","user":{"login":"schellap","id":10644403,"avatar_url":"https://avatars.githubusercontent.com/u/10644403?v=3","gravatar_id":"","url":"https://api.github.com/users/schellap","html_url":"https://github.com/schellap","followers_url":"https://api.github.com/users/schellap/followers","following_url":"https://api.github.com/users/schellap/following{/other_user}","gists_url":"https://api.github.com/users/schellap/gists{/gist_id}","starred_url":"https://api.github.com/users/schellap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schellap/subscriptions","organizations_url":"https://api.github.com/users/schellap/orgs","repos_url":"https://api.github.com/users/schellap/repos","events_url":"https://api.github.com/users/schellap/events{/privacy}","received_events_url":"https://api.github.com/users/schellap/received_events","type":"User","site_admin":false},"repo":{"id":46459928,"name":"corert","full_name":"schellap/corert","owner":{"login":"schellap","id":10644403,"avatar_url":"https://avatars.githubusercontent.com/u/10644403?v=3","gravatar_id":"","url":"https://api.github.com/users/schellap","html_url":"https://github.com/schellap","followers_url":"https://api.github.com/users/schellap/followers","following_url":"https://api.github.com/users/schellap/following{/other_user}","gists_url":"https://api.github.com/users/schellap/gists{/gist_id}","starred_url":"https://api.github.com/users/schellap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schellap/subscriptions","organizations_url":"https://api.github.com/users/schellap/orgs","repos_url":"https://api.github.com/users/schellap/repos","events_url":"https://api.github.com/users/schellap/events{/privacy}","received_events_url":"https://api.github.com/users/schellap/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schellap/corert","description":"This repo contains CoreRT, a .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying .NET Native compiler toolchain.","fork":true,"url":"https://api.github.com/repos/schellap/corert","forks_url":"https://api.github.com/repos/schellap/corert/forks","keys_url":"https://api.github.com/repos/schellap/corert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schellap/corert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schellap/corert/teams","hooks_url":"https://api.github.com/repos/schellap/corert/hooks","issue_events_url":"https://api.github.com/repos/schellap/corert/issues/events{/number}","events_url":"https://api.github.com/repos/schellap/corert/events","assignees_url":"https://api.github.com/repos/schellap/corert/assignees{/user}","branches_url":"https://api.github.com/repos/schellap/corert/branches{/branch}","tags_url":"https://api.github.com/repos/schellap/corert/tags","blobs_url":"https://api.github.com/repos/schellap/corert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schellap/corert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schellap/corert/git/refs{/sha}","trees_url":"https://api.github.com/repos/schellap/corert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schellap/corert/statuses/{sha}","languages_url":"https://api.github.com/repos/schellap/corert/languages","stargazers_url":"https://api.github.com/repos/schellap/corert/stargazers","contributors_url":"https://api.github.com/repos/schellap/corert/contributors","subscribers_url":"https://api.github.com/repos/schellap/corert/subscribers","subscription_url":"https://api.github.com/repos/schellap/corert/subscription","commits_url":"https://api.github.com/repos/schellap/corert/commits{/sha}","git_commits_url":"https://api.github.com/repos/schellap/corert/git/commits{/sha}","comments_url":"https://api.github.com/repos/schellap/corert/comments{/number}","issue_comment_url":"https://api.github.com/repos/schellap/corert/issues/comments{/number}","contents_url":"https://api.github.com/repos/schellap/corert/contents/{+path}","compare_url":"https://api.github.com/repos/schellap/corert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schellap/corert/merges","archive_url":"https://api.github.com/repos/schellap/corert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schellap/corert/downloads","issues_url":"https://api.github.com/repos/schellap/corert/issues{/number}","pulls_url":"https://api.github.com/repos/schellap/corert/pulls{/number}","milestones_url":"https://api.github.com/repos/schellap/corert/milestones{/number}","notifications_url":"https://api.github.com/repos/schellap/corert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schellap/corert/labels{/name}","releases_url":"https://api.github.com/repos/schellap/corert/releases{/id}","created_at":"2015-11-19T01:46:15Z","updated_at":"2015-11-19T01:46:19Z","pushed_at":"2015-12-01T19:35:34Z","git_url":"git://github.com/schellap/corert.git","ssh_url":"git@github.com:schellap/corert.git","clone_url":"https://github.com/schellap/corert.git","svn_url":"https://github.com/schellap/corert","homepage":"http://dotnet.github.io/","size":4186,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"dotnet:master","ref":"master","sha":"87fc116236d67b0c1cb9c1e5241078c48d877d23","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":42552143,"name":"corert","full_name":"dotnet/corert","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/corert","description":"This repo contains CoreRT, a .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying .NET Native compiler toolchain.","fork":false,"url":"https://api.github.com/repos/dotnet/corert","forks_url":"https://api.github.com/repos/dotnet/corert/forks","keys_url":"https://api.github.com/repos/dotnet/corert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/corert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/corert/teams","hooks_url":"https://api.github.com/repos/dotnet/corert/hooks","issue_events_url":"https://api.github.com/repos/dotnet/corert/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/corert/events","assignees_url":"https://api.github.com/repos/dotnet/corert/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/corert/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/corert/tags","blobs_url":"https://api.github.com/repos/dotnet/corert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/corert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/corert/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/corert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/corert/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/corert/languages","stargazers_url":"https://api.github.com/repos/dotnet/corert/stargazers","contributors_url":"https://api.github.com/repos/dotnet/corert/contributors","subscribers_url":"https://api.github.com/repos/dotnet/corert/subscribers","subscription_url":"https://api.github.com/repos/dotnet/corert/subscription","commits_url":"https://api.github.com/repos/dotnet/corert/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/corert/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/corert/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/corert/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/corert/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/corert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/corert/merges","archive_url":"https://api.github.com/repos/dotnet/corert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/corert/downloads","issues_url":"https://api.github.com/repos/dotnet/corert/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/corert/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/corert/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/corert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/corert/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/corert/releases{/id}","created_at":"2015-09-15T23:10:53Z","updated_at":"2015-12-01T13:38:04Z","pushed_at":"2015-12-01T23:51:54Z","git_url":"git://github.com/dotnet/corert.git","ssh_url":"git@github.com:dotnet/corert.git","clone_url":"https://github.com/dotnet/corert.git","svn_url":"https://github.com/dotnet/corert","homepage":"http://dotnet.github.io/","size":4320,"stargazers_count":97,"watchers_count":97,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":96,"forks":41,"open_issues":96,"watchers":97,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corert/pulls/425"},"html":{"href":"https://github.com/dotnet/corert/pull/425"},"issue":{"href":"https://api.github.com/repos/dotnet/corert/issues/425"},"comments":{"href":"https://api.github.com/repos/dotnet/corert/issues/425/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corert/pulls/425/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corert/pulls/425/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corert/statuses/a1ecaaa1131ce5f6ac9cd2b5c462b593a88d5151"}}}}