{"action":"opened","number":1247,"pull_request":{"url":"https://api.github.com/repos/scriptcs/scriptcs/pulls/1247","id":133138712,"html_url":"https://github.com/scriptcs/scriptcs/pull/1247","diff_url":"https://github.com/scriptcs/scriptcs/pull/1247.diff","patch_url":"https://github.com/scriptcs/scriptcs/pull/1247.patch","issue_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/1247","number":1247,"state":"open","locked":false,"title":"Fix \"using static\" imports","user":{"login":"filipw","id":1710369,"avatar_url":"https://avatars0.githubusercontent.com/u/1710369?v=4","gravatar_id":"","url":"https://api.github.com/users/filipw","html_url":"https://github.com/filipw","followers_url":"https://api.github.com/users/filipw/followers","following_url":"https://api.github.com/users/filipw/following{/other_user}","gists_url":"https://api.github.com/users/filipw/gists{/gist_id}","starred_url":"https://api.github.com/users/filipw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipw/subscriptions","organizations_url":"https://api.github.com/users/filipw/orgs","repos_url":"https://api.github.com/users/filipw/repos","events_url":"https://api.github.com/users/filipw/events{/privacy}","received_events_url":"https://api.github.com/users/filipw/received_events","type":"User","site_admin":false},"body":"Fixes #1184 \r\n\r\nIt's not the most elegant solution in the world, but given our current architecture it's OK.\r\nThe statements are still recognized as `usings` by our code (this ensures we don't break debugging), but we don't lift them out of the source code anymore. \r\n\r\nLong term we should probably just reference `Microsoft.CodeAnalysis.CSharp` from the core package and use Roslyn for all these parsings.\r\nI needed to tweak some script library injection code because it went into the wrong place.","created_at":"2017-07-30T18:48:43Z","updated_at":"2017-07-30T18:48:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/scriptcs/scriptcs/pulls/1247/commits","review_comments_url":"https://api.github.com/repos/scriptcs/scriptcs/pulls/1247/comments","review_comment_url":"https://api.github.com/repos/scriptcs/scriptcs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/1247/comments","statuses_url":"https://api.github.com/repos/scriptcs/scriptcs/statuses/1e4b09fd201b550e4155807141a794daed4b9fcb","head":{"label":"filipw:bugfix/1184","ref":"bugfix/1184","sha":"1e4b09fd201b550e4155807141a794daed4b9fcb","user":{"login":"filipw","id":1710369,"avatar_url":"https://avatars0.githubusercontent.com/u/1710369?v=4","gravatar_id":"","url":"https://api.github.com/users/filipw","html_url":"https://github.com/filipw","followers_url":"https://api.github.com/users/filipw/followers","following_url":"https://api.github.com/users/filipw/following{/other_user}","gists_url":"https://api.github.com/users/filipw/gists{/gist_id}","starred_url":"https://api.github.com/users/filipw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipw/subscriptions","organizations_url":"https://api.github.com/users/filipw/orgs","repos_url":"https://api.github.com/users/filipw/repos","events_url":"https://api.github.com/users/filipw/events{/privacy}","received_events_url":"https://api.github.com/users/filipw/received_events","type":"User","site_admin":false},"repo":{"id":8764553,"name":"scriptcs","full_name":"filipw/scriptcs","owner":{"login":"filipw","id":1710369,"avatar_url":"https://avatars0.githubusercontent.com/u/1710369?v=4","gravatar_id":"","url":"https://api.github.com/users/filipw","html_url":"https://github.com/filipw","followers_url":"https://api.github.com/users/filipw/followers","following_url":"https://api.github.com/users/filipw/following{/other_user}","gists_url":"https://api.github.com/users/filipw/gists{/gist_id}","starred_url":"https://api.github.com/users/filipw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipw/subscriptions","organizations_url":"https://api.github.com/users/filipw/orgs","repos_url":"https://api.github.com/users/filipw/repos","events_url":"https://api.github.com/users/filipw/events{/privacy}","received_events_url":"https://api.github.com/users/filipw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/filipw/scriptcs","description":"Write C# apps with a text editor, nuget and the power of Roslyn!","fork":true,"url":"https://api.github.com/repos/filipw/scriptcs","forks_url":"https://api.github.com/repos/filipw/scriptcs/forks","keys_url":"https://api.github.com/repos/filipw/scriptcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filipw/scriptcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filipw/scriptcs/teams","hooks_url":"https://api.github.com/repos/filipw/scriptcs/hooks","issue_events_url":"https://api.github.com/repos/filipw/scriptcs/issues/events{/number}","events_url":"https://api.github.com/repos/filipw/scriptcs/events","assignees_url":"https://api.github.com/repos/filipw/scriptcs/assignees{/user}","branches_url":"https://api.github.com/repos/filipw/scriptcs/branches{/branch}","tags_url":"https://api.github.com/repos/filipw/scriptcs/tags","blobs_url":"https://api.github.com/repos/filipw/scriptcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filipw/scriptcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filipw/scriptcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/filipw/scriptcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filipw/scriptcs/statuses/{sha}","languages_url":"https://api.github.com/repos/filipw/scriptcs/languages","stargazers_url":"https://api.github.com/repos/filipw/scriptcs/stargazers","contributors_url":"https://api.github.com/repos/filipw/scriptcs/contributors","subscribers_url":"https://api.github.com/repos/filipw/scriptcs/subscribers","subscription_url":"https://api.github.com/repos/filipw/scriptcs/subscription","commits_url":"https://api.github.com/repos/filipw/scriptcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/filipw/scriptcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/filipw/scriptcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/filipw/scriptcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/filipw/scriptcs/contents/{+path}","compare_url":"https://api.github.com/repos/filipw/scriptcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filipw/scriptcs/merges","archive_url":"https://api.github.com/repos/filipw/scriptcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filipw/scriptcs/downloads","issues_url":"https://api.github.com/repos/filipw/scriptcs/issues{/number}","pulls_url":"https://api.github.com/repos/filipw/scriptcs/pulls{/number}","milestones_url":"https://api.github.com/repos/filipw/scriptcs/milestones{/number}","notifications_url":"https://api.github.com/repos/filipw/scriptcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filipw/scriptcs/labels{/name}","releases_url":"https://api.github.com/repos/filipw/scriptcs/releases{/id}","deployments_url":"https://api.github.com/repos/filipw/scriptcs/deployments","created_at":"2013-03-14T00:16:00Z","updated_at":"2014-06-18T17:59:18Z","pushed_at":"2017-07-30T18:45:45Z","git_url":"git://github.com/filipw/scriptcs.git","ssh_url":"git@github.com:filipw/scriptcs.git","clone_url":"https://github.com/filipw/scriptcs.git","svn_url":"https://github.com/filipw/scriptcs","homepage":"http://scriptcs.net","size":18610,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_projects":true,"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":1,"default_branch":"master"}},"base":{"label":"scriptcs:dev","ref":"dev","sha":"a39cbf1e97180a352ff2d693d28185fcfb8d7896","user":{"login":"scriptcs","id":3758046,"avatar_url":"https://avatars3.githubusercontent.com/u/3758046?v=4","gravatar_id":"","url":"https://api.github.com/users/scriptcs","html_url":"https://github.com/scriptcs","followers_url":"https://api.github.com/users/scriptcs/followers","following_url":"https://api.github.com/users/scriptcs/following{/other_user}","gists_url":"https://api.github.com/users/scriptcs/gists{/gist_id}","starred_url":"https://api.github.com/users/scriptcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scriptcs/subscriptions","organizations_url":"https://api.github.com/users/scriptcs/orgs","repos_url":"https://api.github.com/users/scriptcs/repos","events_url":"https://api.github.com/users/scriptcs/events{/privacy}","received_events_url":"https://api.github.com/users/scriptcs/received_events","type":"Organization","site_admin":false},"repo":{"id":8473240,"name":"scriptcs","full_name":"scriptcs/scriptcs","owner":{"login":"scriptcs","id":3758046,"avatar_url":"https://avatars3.githubusercontent.com/u/3758046?v=4","gravatar_id":"","url":"https://api.github.com/users/scriptcs","html_url":"https://github.com/scriptcs","followers_url":"https://api.github.com/users/scriptcs/followers","following_url":"https://api.github.com/users/scriptcs/following{/other_user}","gists_url":"https://api.github.com/users/scriptcs/gists{/gist_id}","starred_url":"https://api.github.com/users/scriptcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scriptcs/subscriptions","organizations_url":"https://api.github.com/users/scriptcs/orgs","repos_url":"https://api.github.com/users/scriptcs/repos","events_url":"https://api.github.com/users/scriptcs/events{/privacy}","received_events_url":"https://api.github.com/users/scriptcs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scriptcs/scriptcs","description":"Write C# apps with a text editor, nuget and the power of Roslyn!","fork":false,"url":"https://api.github.com/repos/scriptcs/scriptcs","forks_url":"https://api.github.com/repos/scriptcs/scriptcs/forks","keys_url":"https://api.github.com/repos/scriptcs/scriptcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scriptcs/scriptcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scriptcs/scriptcs/teams","hooks_url":"https://api.github.com/repos/scriptcs/scriptcs/hooks","issue_events_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/events{/number}","events_url":"https://api.github.com/repos/scriptcs/scriptcs/events","assignees_url":"https://api.github.com/repos/scriptcs/scriptcs/assignees{/user}","branches_url":"https://api.github.com/repos/scriptcs/scriptcs/branches{/branch}","tags_url":"https://api.github.com/repos/scriptcs/scriptcs/tags","blobs_url":"https://api.github.com/repos/scriptcs/scriptcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scriptcs/scriptcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scriptcs/scriptcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/scriptcs/scriptcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scriptcs/scriptcs/statuses/{sha}","languages_url":"https://api.github.com/repos/scriptcs/scriptcs/languages","stargazers_url":"https://api.github.com/repos/scriptcs/scriptcs/stargazers","contributors_url":"https://api.github.com/repos/scriptcs/scriptcs/contributors","subscribers_url":"https://api.github.com/repos/scriptcs/scriptcs/subscribers","subscription_url":"https://api.github.com/repos/scriptcs/scriptcs/subscription","commits_url":"https://api.github.com/repos/scriptcs/scriptcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/scriptcs/scriptcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/scriptcs/scriptcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/scriptcs/scriptcs/contents/{+path}","compare_url":"https://api.github.com/repos/scriptcs/scriptcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scriptcs/scriptcs/merges","archive_url":"https://api.github.com/repos/scriptcs/scriptcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scriptcs/scriptcs/downloads","issues_url":"https://api.github.com/repos/scriptcs/scriptcs/issues{/number}","pulls_url":"https://api.github.com/repos/scriptcs/scriptcs/pulls{/number}","milestones_url":"https://api.github.com/repos/scriptcs/scriptcs/milestones{/number}","notifications_url":"https://api.github.com/repos/scriptcs/scriptcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scriptcs/scriptcs/labels{/name}","releases_url":"https://api.github.com/repos/scriptcs/scriptcs/releases{/id}","deployments_url":"https://api.github.com/repos/scriptcs/scriptcs/deployments","created_at":"2013-02-28T06:27:22Z","updated_at":"2017-07-30T12:41:16Z","pushed_at":"2017-07-28T14:00:23Z","git_url":"git://github.com/scriptcs/scriptcs.git","ssh_url":"git@github.com:scriptcs/scriptcs.git","clone_url":"https://github.com/scriptcs/scriptcs.git","svn_url":"https://github.com/scriptcs/scriptcs","homepage":"http://scriptcs.net","size":22857,"stargazers_count":1812,"watchers_count":1812,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":334,"mirror_url":null,"open_issues_count":163,"forks":334,"open_issues":163,"watchers":1812,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/scriptcs/scriptcs/pulls/1247"},"html":{"href":"https://github.com/scriptcs/scriptcs/pull/1247"},"issue":{"href":"https://api.github.com/repos/scriptcs/scriptcs/issues/1247"},"comments":{"href":"https://api.github.com/repos/scriptcs/scriptcs/issues/1247/comments"},"review_comments":{"href":"https://api.github.com/repos/scriptcs/scriptcs/pulls/1247/comments"},"review_comment":{"href":"https://api.github.com/repos/scriptcs/scriptcs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scriptcs/scriptcs/pulls/1247/commits"},"statuses":{"href":"https://api.github.com/repos/scriptcs/scriptcs/statuses/1e4b09fd201b550e4155807141a794daed4b9fcb"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":69,"deletions":20,"changed_files":7}}
{"actor":{"display_login":"filipw"}}