{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/xcbuild/issues/141","repository_url":"https://api.github.com/repos/facebook/xcbuild","labels_url":"https://api.github.com/repos/facebook/xcbuild/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/facebook/xcbuild/issues/141/comments","events_url":"https://api.github.com/repos/facebook/xcbuild/issues/141/events","html_url":"https://github.com/facebook/xcbuild/pull/141","id":181306371,"number":141,"title":"[process] Default context creation now uses main's argv and argc directly","user":{"login":"Ktwu","id":470651,"avatar_url":"https://avatars.githubusercontent.com/u/470651?v=3","gravatar_id":"","url":"https://api.github.com/users/Ktwu","html_url":"https://github.com/Ktwu","followers_url":"https://api.github.com/users/Ktwu/followers","following_url":"https://api.github.com/users/Ktwu/following{/other_user}","gists_url":"https://api.github.com/users/Ktwu/gists{/gist_id}","starred_url":"https://api.github.com/users/Ktwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ktwu/subscriptions","organizations_url":"https://api.github.com/users/Ktwu/orgs","repos_url":"https://api.github.com/users/Ktwu/repos","events_url":"https://api.github.com/users/Ktwu/events{/privacy}","received_events_url":"https://api.github.com/users/Ktwu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/xcbuild/labels/CLA%20Signed","name":"CLA Signed","color":"009900"}],"state":"open","locked":false,"assignee":{"login":"sas","id":51052,"avatar_url":"https://avatars.githubusercontent.com/u/51052?v=3","gravatar_id":"","url":"https://api.github.com/users/sas","html_url":"https://github.com/sas","followers_url":"https://api.github.com/users/sas/followers","following_url":"https://api.github.com/users/sas/following{/other_user}","gists_url":"https://api.github.com/users/sas/gists{/gist_id}","starred_url":"https://api.github.com/users/sas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sas/subscriptions","organizations_url":"https://api.github.com/users/sas/orgs","repos_url":"https://api.github.com/users/sas/repos","events_url":"https://api.github.com/users/sas/events{/privacy}","received_events_url":"https://api.github.com/users/sas/received_events","type":"User","site_admin":false},"assignees":[{"login":"sas","id":51052,"avatar_url":"https://avatars.githubusercontent.com/u/51052?v=3","gravatar_id":"","url":"https://api.github.com/users/sas","html_url":"https://github.com/sas","followers_url":"https://api.github.com/users/sas/followers","following_url":"https://api.github.com/users/sas/following{/other_user}","gists_url":"https://api.github.com/users/sas/gists{/gist_id}","starred_url":"https://api.github.com/users/sas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sas/subscriptions","organizations_url":"https://api.github.com/users/sas/orgs","repos_url":"https://api.github.com/users/sas/repos","events_url":"https://api.github.com/users/sas/events{/privacy}","received_events_url":"https://api.github.com/users/sas/received_events","type":"User","site_admin":false},{"login":"grp","id":163390,"avatar_url":"https://avatars.githubusercontent.com/u/163390?v=3","gravatar_id":"","url":"https://api.github.com/users/grp","html_url":"https://github.com/grp","followers_url":"https://api.github.com/users/grp/followers","following_url":"https://api.github.com/users/grp/following{/other_user}","gists_url":"https://api.github.com/users/grp/gists{/gist_id}","starred_url":"https://api.github.com/users/grp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grp/subscriptions","organizations_url":"https://api.github.com/users/grp/orgs","repos_url":"https://api.github.com/users/grp/repos","events_url":"https://api.github.com/users/grp/events{/privacy}","received_events_url":"https://api.github.com/users/grp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-10-06T01:44:29Z","updated_at":"2016-10-06T05:57:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/xcbuild/pulls/141","html_url":"https://github.com/facebook/xcbuild/pull/141","diff_url":"https://github.com/facebook/xcbuild/pull/141.diff","patch_url":"https://github.com/facebook/xcbuild/pull/141.patch"},"body":"Instead of relying on a constructor to grab the argc/argv (which doesn't\r\nwork on my Centos7 machine), use the argc/argv passed in from main().\r\n\r\nThis also defines the global default context to whatever is created in\r\neach executable's main() function instead of creating a new object.\r\n\r\nTest plan:\r\n- run 'plutil' on my Linux machine (after adding \"-lpthread\" added to the build invocation)\r\n- run 'plutil' on my OSX machine\r\n\r\nSee https://github.com/facebook/xcbuild/issues/138\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/xcbuild/issues/comments/251873782","html_url":"https://github.com/facebook/xcbuild/pull/141#issuecomment-251873782","issue_url":"https://api.github.com/repos/facebook/xcbuild/issues/141","id":251873782,"user":{"login":"grp","id":163390,"avatar_url":"https://avatars.githubusercontent.com/u/163390?v=3","gravatar_id":"","url":"https://api.github.com/users/grp","html_url":"https://github.com/grp","followers_url":"https://api.github.com/users/grp/followers","following_url":"https://api.github.com/users/grp/following{/other_user}","gists_url":"https://api.github.com/users/grp/gists{/gist_id}","starred_url":"https://api.github.com/users/grp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grp/subscriptions","organizations_url":"https://api.github.com/users/grp/orgs","repos_url":"https://api.github.com/users/grp/repos","events_url":"https://api.github.com/users/grp/events{/privacy}","received_events_url":"https://api.github.com/users/grp/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T05:57:10Z","updated_at":"2016-10-06T05:57:10Z","body":"macOS has `_NSGetArgc` and `_NSGetArgv` in `crt_externs.h` AFAIK"}}
{"actor":{"display_login":"grp"}}