{"action":"opened","number":9770,"pull_request":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/9770","id":26781664,"html_url":"https://github.com/cocos2d/cocos2d-x/pull/9770","diff_url":"https://github.com/cocos2d/cocos2d-x/pull/9770.diff","patch_url":"https://github.com/cocos2d/cocos2d-x/pull/9770.patch","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9770","number":9770,"state":"open","locked":false,"title":"add portrait setting to cpp-default-template","user":{"login":"toriumi0118","id":2346203,"avatar_url":"https://avatars.githubusercontent.com/u/2346203?v=3","gravatar_id":"","url":"https://api.github.com/users/toriumi0118","html_url":"https://github.com/toriumi0118","followers_url":"https://api.github.com/users/toriumi0118/followers","following_url":"https://api.github.com/users/toriumi0118/following{/other_user}","gists_url":"https://api.github.com/users/toriumi0118/gists{/gist_id}","starred_url":"https://api.github.com/users/toriumi0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toriumi0118/subscriptions","organizations_url":"https://api.github.com/users/toriumi0118/orgs","repos_url":"https://api.github.com/users/toriumi0118/repos","events_url":"https://api.github.com/users/toriumi0118/events{/privacy}","received_events_url":"https://api.github.com/users/toriumi0118/received_events","type":"User","site_admin":false},"body":"```sh\r\ncocos new --portrait Foo\r\n```\r\n\r\nThe *--portrait* setting didn't work for cpp-default-template.\r\n\r\nI added option settings using current cocos-console method.","created_at":"2015-01-03T10:45:46Z","updated_at":"2015-01-03T10:45:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/9770/commits","review_comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/9770/comments","review_comment_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9770/comments","statuses_url":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/d037367a2448fae3ab000ba84726a17364b08693","head":{"label":"toriumi0118:add-portrait-template","ref":"add-portrait-template","sha":"d037367a2448fae3ab000ba84726a17364b08693","user":{"login":"toriumi0118","id":2346203,"avatar_url":"https://avatars.githubusercontent.com/u/2346203?v=3","gravatar_id":"","url":"https://api.github.com/users/toriumi0118","html_url":"https://github.com/toriumi0118","followers_url":"https://api.github.com/users/toriumi0118/followers","following_url":"https://api.github.com/users/toriumi0118/following{/other_user}","gists_url":"https://api.github.com/users/toriumi0118/gists{/gist_id}","starred_url":"https://api.github.com/users/toriumi0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toriumi0118/subscriptions","organizations_url":"https://api.github.com/users/toriumi0118/orgs","repos_url":"https://api.github.com/users/toriumi0118/repos","events_url":"https://api.github.com/users/toriumi0118/events{/privacy}","received_events_url":"https://api.github.com/users/toriumi0118/received_events","type":"User","site_admin":false},"repo":{"id":22959695,"name":"cocos2d-x","full_name":"toriumi0118/cocos2d-x","owner":{"login":"toriumi0118","id":2346203,"avatar_url":"https://avatars.githubusercontent.com/u/2346203?v=3","gravatar_id":"","url":"https://api.github.com/users/toriumi0118","html_url":"https://github.com/toriumi0118","followers_url":"https://api.github.com/users/toriumi0118/followers","following_url":"https://api.github.com/users/toriumi0118/following{/other_user}","gists_url":"https://api.github.com/users/toriumi0118/gists{/gist_id}","starred_url":"https://api.github.com/users/toriumi0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toriumi0118/subscriptions","organizations_url":"https://api.github.com/users/toriumi0118/orgs","repos_url":"https://api.github.com/users/toriumi0118/repos","events_url":"https://api.github.com/users/toriumi0118/events{/privacy}","received_events_url":"https://api.github.com/users/toriumi0118/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toriumi0118/cocos2d-x","description":"cocos2d-x for C++","fork":true,"url":"https://api.github.com/repos/toriumi0118/cocos2d-x","forks_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/forks","keys_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/teams","hooks_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/hooks","issue_events_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/issues/events{/number}","events_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/events","assignees_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/assignees{/user}","branches_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/branches{/branch}","tags_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/tags","blobs_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/git/refs{/sha}","trees_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/statuses/{sha}","languages_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/languages","stargazers_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/stargazers","contributors_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/contributors","subscribers_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/subscribers","subscription_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/subscription","commits_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/commits{/sha}","git_commits_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/git/commits{/sha}","comments_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/comments{/number}","issue_comment_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/issues/comments/{number}","contents_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/contents/{+path}","compare_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/merges","archive_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/downloads","issues_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/issues{/number}","pulls_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/pulls{/number}","milestones_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/milestones{/number}","notifications_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/labels{/name}","releases_url":"https://api.github.com/repos/toriumi0118/cocos2d-x/releases{/id}","created_at":"2014-08-14T15:55:07Z","updated_at":"2015-01-01T14:05:52Z","pushed_at":"2015-01-03T10:41:24Z","git_url":"git://github.com/toriumi0118/cocos2d-x.git","ssh_url":"git@github.com:toriumi0118/cocos2d-x.git","clone_url":"https://github.com/toriumi0118/cocos2d-x.git","svn_url":"https://github.com/toriumi0118/cocos2d-x","homepage":"http://www.cocos2d-x.org","size":156643,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"v3"}},"base":{"label":"cocos2d:v3","ref":"v3","sha":"4d5d5c5a5db531ddda8dd1652fe2fb0f87e87c43","user":{"login":"cocos2d","id":234324,"avatar_url":"https://avatars.githubusercontent.com/u/234324?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos2d","html_url":"https://github.com/cocos2d","followers_url":"https://api.github.com/users/cocos2d/followers","following_url":"https://api.github.com/users/cocos2d/following{/other_user}","gists_url":"https://api.github.com/users/cocos2d/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos2d/subscriptions","organizations_url":"https://api.github.com/users/cocos2d/orgs","repos_url":"https://api.github.com/users/cocos2d/repos","events_url":"https://api.github.com/users/cocos2d/events{/privacy}","received_events_url":"https://api.github.com/users/cocos2d/received_events","type":"Organization","site_admin":false},"repo":{"id":1093228,"name":"cocos2d-x","full_name":"cocos2d/cocos2d-x","owner":{"login":"cocos2d","id":234324,"avatar_url":"https://avatars.githubusercontent.com/u/234324?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos2d","html_url":"https://github.com/cocos2d","followers_url":"https://api.github.com/users/cocos2d/followers","following_url":"https://api.github.com/users/cocos2d/following{/other_user}","gists_url":"https://api.github.com/users/cocos2d/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos2d/subscriptions","organizations_url":"https://api.github.com/users/cocos2d/orgs","repos_url":"https://api.github.com/users/cocos2d/repos","events_url":"https://api.github.com/users/cocos2d/events{/privacy}","received_events_url":"https://api.github.com/users/cocos2d/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocos2d/cocos2d-x","description":"cocos2d-x for C++","fork":false,"url":"https://api.github.com/repos/cocos2d/cocos2d-x","forks_url":"https://api.github.com/repos/cocos2d/cocos2d-x/forks","keys_url":"https://api.github.com/repos/cocos2d/cocos2d-x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocos2d/cocos2d-x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocos2d/cocos2d-x/teams","hooks_url":"https://api.github.com/repos/cocos2d/cocos2d-x/hooks","issue_events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/events{/number}","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/events","assignees_url":"https://api.github.com/repos/cocos2d/cocos2d-x/assignees{/user}","branches_url":"https://api.github.com/repos/cocos2d/cocos2d-x/branches{/branch}","tags_url":"https://api.github.com/repos/cocos2d/cocos2d-x/tags","blobs_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/{sha}","languages_url":"https://api.github.com/repos/cocos2d/cocos2d-x/languages","stargazers_url":"https://api.github.com/repos/cocos2d/cocos2d-x/stargazers","contributors_url":"https://api.github.com/repos/cocos2d/cocos2d-x/contributors","subscribers_url":"https://api.github.com/repos/cocos2d/cocos2d-x/subscribers","subscription_url":"https://api.github.com/repos/cocos2d/cocos2d-x/subscription","commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments/{number}","contents_url":"https://api.github.com/repos/cocos2d/cocos2d-x/contents/{+path}","compare_url":"https://api.github.com/repos/cocos2d/cocos2d-x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocos2d/cocos2d-x/merges","archive_url":"https://api.github.com/repos/cocos2d/cocos2d-x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocos2d/cocos2d-x/downloads","issues_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues{/number}","pulls_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls{/number}","milestones_url":"https://api.github.com/repos/cocos2d/cocos2d-x/milestones{/number}","notifications_url":"https://api.github.com/repos/cocos2d/cocos2d-x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/labels{/name}","releases_url":"https://api.github.com/repos/cocos2d/cocos2d-x/releases{/id}","created_at":"2010-11-18T23:17:00Z","updated_at":"2015-01-02T17:12:40Z","pushed_at":"2014-12-31T14:34:44Z","git_url":"git://github.com/cocos2d/cocos2d-x.git","ssh_url":"git@github.com:cocos2d/cocos2d-x.git","clone_url":"https://github.com/cocos2d/cocos2d-x.git","svn_url":"https://github.com/cocos2d/cocos2d-x","homepage":"http://www.cocos2d-x.org","size":1315422,"stargazers_count":4945,"watchers_count":4945,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3687,"mirror_url":null,"open_issues_count":556,"forks":3687,"open_issues":556,"watchers":4945,"default_branch":"v3"}},"_links":{"self":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/9770"},"html":{"href":"https://github.com/cocos2d/cocos2d-x/pull/9770"},"issue":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9770"},"comments":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9770/comments"},"review_comments":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/9770/comments"},"review_comment":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/9770/commits"},"statuses":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/d037367a2448fae3ab000ba84726a17364b08693"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":0,"changed_files":1}}