{"action":"created","comment":{"url":"https://api.github.com/repos/audreyr/cookiecutter/pulls/comments/42323188","id":42323188,"diff_hunk":"@@ -212,7 +212,16 @@ def choices(self):\n     def context(self, choices):\n         return {\n             'cookiecutter': {\n-                'orientation': choices\n+                'orientation': choices,\n+                'is_alive': True,","path":"tests/test_prompt.py","position":6,"original_position":6,"commit_id":"24dee3b79aba9f22386496dc3d5ee9099865392a","original_commit_id":"24dee3b79aba9f22386496dc3d5ee9099865392a","user":{"login":"hackebrot","id":6024445,"avatar_url":"https://avatars.githubusercontent.com/u/6024445?v=3","gravatar_id":"","url":"https://api.github.com/users/hackebrot","html_url":"https://github.com/hackebrot","followers_url":"https://api.github.com/users/hackebrot/followers","following_url":"https://api.github.com/users/hackebrot/following{/other_user}","gists_url":"https://api.github.com/users/hackebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hackebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackebrot/subscriptions","organizations_url":"https://api.github.com/users/hackebrot/orgs","repos_url":"https://api.github.com/users/hackebrot/repos","events_url":"https://api.github.com/users/hackebrot/events{/privacy}","received_events_url":"https://api.github.com/users/hackebrot/received_events","type":"User","site_admin":false},"body":"``context`` does not need to change, if I am not mistaken.","created_at":"2015-10-18T17:12:26Z","updated_at":"2015-10-18T17:12:26Z","html_url":"https://github.com/audreyr/cookiecutter/pull/548#discussion_r42323188","pull_request_url":"https://api.github.com/repos/audreyr/cookiecutter/pulls/548","_links":{"self":{"href":"https://api.github.com/repos/audreyr/cookiecutter/pulls/comments/42323188"},"html":{"href":"https://github.com/audreyr/cookiecutter/pull/548#discussion_r42323188"},"pull_request":{"href":"https://api.github.com/repos/audreyr/cookiecutter/pulls/548"}}},"pull_request":{"url":"https://api.github.com/repos/audreyr/cookiecutter/pulls/548","id":46971168,"html_url":"https://github.com/audreyr/cookiecutter/pull/548","diff_url":"https://github.com/audreyr/cookiecutter/pull/548.diff","patch_url":"https://github.com/audreyr/cookiecutter/pull/548.patch","issue_url":"https://api.github.com/repos/audreyr/cookiecutter/issues/548","number":548,"state":"open","locked":false,"title":"Bool config","user":{"login":"sbuss","id":494522,"avatar_url":"https://avatars.githubusercontent.com/u/494522?v=3","gravatar_id":"","url":"https://api.github.com/users/sbuss","html_url":"https://github.com/sbuss","followers_url":"https://api.github.com/users/sbuss/followers","following_url":"https://api.github.com/users/sbuss/following{/other_user}","gists_url":"https://api.github.com/users/sbuss/gists{/gist_id}","starred_url":"https://api.github.com/users/sbuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbuss/subscriptions","organizations_url":"https://api.github.com/users/sbuss/orgs","repos_url":"https://api.github.com/users/sbuss/repos","events_url":"https://api.github.com/users/sbuss/events{/privacy}","received_events_url":"https://api.github.com/users/sbuss/received_events","type":"User","site_admin":false},"body":"If the default value of an entry in `cookiecutter.json` is a boolean then preserve further user input as boolean using read_user_yes_no.\r\n\r\nFor example, the json:\r\n\r\n```json\r\n{\r\n    \"is_foo\": true\r\n}\r\n```\r\n\r\nwould result in a prompt like\r\n\r\n```sh\r\nis_foo [True]:\r\n```\r\n\r\nThen if a user input \"false\", \"False\", \"n\", etc it would result in a False value in python.\r\n\r\nFixes #126","created_at":"2015-10-06T23:27:30Z","updated_at":"2015-10-18T17:12:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1df97bc6afa696486358887003be7e5d4838806","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/audreyr/cookiecutter/pulls/548/commits","review_comments_url":"https://api.github.com/repos/audreyr/cookiecutter/pulls/548/comments","review_comment_url":"https://api.github.com/repos/audreyr/cookiecutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/audreyr/cookiecutter/issues/548/comments","statuses_url":"https://api.github.com/repos/audreyr/cookiecutter/statuses/24dee3b79aba9f22386496dc3d5ee9099865392a","head":{"label":"sbuss:bool-config","ref":"bool-config","sha":"24dee3b79aba9f22386496dc3d5ee9099865392a","user":{"login":"sbuss","id":494522,"avatar_url":"https://avatars.githubusercontent.com/u/494522?v=3","gravatar_id":"","url":"https://api.github.com/users/sbuss","html_url":"https://github.com/sbuss","followers_url":"https://api.github.com/users/sbuss/followers","following_url":"https://api.github.com/users/sbuss/following{/other_user}","gists_url":"https://api.github.com/users/sbuss/gists{/gist_id}","starred_url":"https://api.github.com/users/sbuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbuss/subscriptions","organizations_url":"https://api.github.com/users/sbuss/orgs","repos_url":"https://api.github.com/users/sbuss/repos","events_url":"https://api.github.com/users/sbuss/events{/privacy}","received_events_url":"https://api.github.com/users/sbuss/received_events","type":"User","site_admin":false},"repo":{"id":43779238,"name":"cookiecutter","full_name":"sbuss/cookiecutter","owner":{"login":"sbuss","id":494522,"avatar_url":"https://avatars.githubusercontent.com/u/494522?v=3","gravatar_id":"","url":"https://api.github.com/users/sbuss","html_url":"https://github.com/sbuss","followers_url":"https://api.github.com/users/sbuss/followers","following_url":"https://api.github.com/users/sbuss/following{/other_user}","gists_url":"https://api.github.com/users/sbuss/gists{/gist_id}","starred_url":"https://api.github.com/users/sbuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbuss/subscriptions","organizations_url":"https://api.github.com/users/sbuss/orgs","repos_url":"https://api.github.com/users/sbuss/repos","events_url":"https://api.github.com/users/sbuss/events{/privacy}","received_events_url":"https://api.github.com/users/sbuss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbuss/cookiecutter","description":"A command-line utility that creates projects from cookiecutters (project templates). E.g. Python package projects, jQuery plugin projects.","fork":true,"url":"https://api.github.com/repos/sbuss/cookiecutter","forks_url":"https://api.github.com/repos/sbuss/cookiecutter/forks","keys_url":"https://api.github.com/repos/sbuss/cookiecutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbuss/cookiecutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbuss/cookiecutter/teams","hooks_url":"https://api.github.com/repos/sbuss/cookiecutter/hooks","issue_events_url":"https://api.github.com/repos/sbuss/cookiecutter/issues/events{/number}","events_url":"https://api.github.com/repos/sbuss/cookiecutter/events","assignees_url":"https://api.github.com/repos/sbuss/cookiecutter/assignees{/user}","branches_url":"https://api.github.com/repos/sbuss/cookiecutter/branches{/branch}","tags_url":"https://api.github.com/repos/sbuss/cookiecutter/tags","blobs_url":"https://api.github.com/repos/sbuss/cookiecutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbuss/cookiecutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbuss/cookiecutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbuss/cookiecutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbuss/cookiecutter/statuses/{sha}","languages_url":"https://api.github.com/repos/sbuss/cookiecutter/languages","stargazers_url":"https://api.github.com/repos/sbuss/cookiecutter/stargazers","contributors_url":"https://api.github.com/repos/sbuss/cookiecutter/contributors","subscribers_url":"https://api.github.com/repos/sbuss/cookiecutter/subscribers","subscription_url":"https://api.github.com/repos/sbuss/cookiecutter/subscription","commits_url":"https://api.github.com/repos/sbuss/cookiecutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbuss/cookiecutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbuss/cookiecutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbuss/cookiecutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbuss/cookiecutter/contents/{+path}","compare_url":"https://api.github.com/repos/sbuss/cookiecutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbuss/cookiecutter/merges","archive_url":"https://api.github.com/repos/sbuss/cookiecutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbuss/cookiecutter/downloads","issues_url":"https://api.github.com/repos/sbuss/cookiecutter/issues{/number}","pulls_url":"https://api.github.com/repos/sbuss/cookiecutter/pulls{/number}","milestones_url":"https://api.github.com/repos/sbuss/cookiecutter/milestones{/number}","notifications_url":"https://api.github.com/repos/sbuss/cookiecutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbuss/cookiecutter/labels{/name}","releases_url":"https://api.github.com/repos/sbuss/cookiecutter/releases{/id}","created_at":"2015-10-06T21:16:36Z","updated_at":"2015-10-06T21:16:37Z","pushed_at":"2015-10-13T21:31:16Z","git_url":"git://github.com/sbuss/cookiecutter.git","ssh_url":"git@github.com:sbuss/cookiecutter.git","clone_url":"https://github.com/sbuss/cookiecutter.git","svn_url":"https://github.com/sbuss/cookiecutter","homepage":"","size":1299,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"audreyr:master","ref":"master","sha":"ae16ac35fe0ff680b39221067389f8e9da694f01","user":{"login":"audreyr","id":74739,"avatar_url":"https://avatars.githubusercontent.com/u/74739?v=3","gravatar_id":"","url":"https://api.github.com/users/audreyr","html_url":"https://github.com/audreyr","followers_url":"https://api.github.com/users/audreyr/followers","following_url":"https://api.github.com/users/audreyr/following{/other_user}","gists_url":"https://api.github.com/users/audreyr/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyr/subscriptions","organizations_url":"https://api.github.com/users/audreyr/orgs","repos_url":"https://api.github.com/users/audreyr/repos","events_url":"https://api.github.com/users/audreyr/events{/privacy}","received_events_url":"https://api.github.com/users/audreyr/received_events","type":"User","site_admin":false},"repo":{"id":11407242,"name":"cookiecutter","full_name":"audreyr/cookiecutter","owner":{"login":"audreyr","id":74739,"avatar_url":"https://avatars.githubusercontent.com/u/74739?v=3","gravatar_id":"","url":"https://api.github.com/users/audreyr","html_url":"https://github.com/audreyr","followers_url":"https://api.github.com/users/audreyr/followers","following_url":"https://api.github.com/users/audreyr/following{/other_user}","gists_url":"https://api.github.com/users/audreyr/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyr/subscriptions","organizations_url":"https://api.github.com/users/audreyr/orgs","repos_url":"https://api.github.com/users/audreyr/repos","events_url":"https://api.github.com/users/audreyr/events{/privacy}","received_events_url":"https://api.github.com/users/audreyr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/audreyr/cookiecutter","description":"A command-line utility that creates projects from cookiecutters (project templates). E.g. Python package projects, jQuery plugin projects.","fork":false,"url":"https://api.github.com/repos/audreyr/cookiecutter","forks_url":"https://api.github.com/repos/audreyr/cookiecutter/forks","keys_url":"https://api.github.com/repos/audreyr/cookiecutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/audreyr/cookiecutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/audreyr/cookiecutter/teams","hooks_url":"https://api.github.com/repos/audreyr/cookiecutter/hooks","issue_events_url":"https://api.github.com/repos/audreyr/cookiecutter/issues/events{/number}","events_url":"https://api.github.com/repos/audreyr/cookiecutter/events","assignees_url":"https://api.github.com/repos/audreyr/cookiecutter/assignees{/user}","branches_url":"https://api.github.com/repos/audreyr/cookiecutter/branches{/branch}","tags_url":"https://api.github.com/repos/audreyr/cookiecutter/tags","blobs_url":"https://api.github.com/repos/audreyr/cookiecutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/audreyr/cookiecutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/audreyr/cookiecutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/audreyr/cookiecutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/audreyr/cookiecutter/statuses/{sha}","languages_url":"https://api.github.com/repos/audreyr/cookiecutter/languages","stargazers_url":"https://api.github.com/repos/audreyr/cookiecutter/stargazers","contributors_url":"https://api.github.com/repos/audreyr/cookiecutter/contributors","subscribers_url":"https://api.github.com/repos/audreyr/cookiecutter/subscribers","subscription_url":"https://api.github.com/repos/audreyr/cookiecutter/subscription","commits_url":"https://api.github.com/repos/audreyr/cookiecutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/audreyr/cookiecutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/audreyr/cookiecutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/audreyr/cookiecutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/audreyr/cookiecutter/contents/{+path}","compare_url":"https://api.github.com/repos/audreyr/cookiecutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/audreyr/cookiecutter/merges","archive_url":"https://api.github.com/repos/audreyr/cookiecutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/audreyr/cookiecutter/downloads","issues_url":"https://api.github.com/repos/audreyr/cookiecutter/issues{/number}","pulls_url":"https://api.github.com/repos/audreyr/cookiecutter/pulls{/number}","milestones_url":"https://api.github.com/repos/audreyr/cookiecutter/milestones{/number}","notifications_url":"https://api.github.com/repos/audreyr/cookiecutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/audreyr/cookiecutter/labels{/name}","releases_url":"https://api.github.com/repos/audreyr/cookiecutter/releases{/id}","created_at":"2013-07-14T18:31:22Z","updated_at":"2015-10-18T13:37:32Z","pushed_at":"2015-10-18T16:14:04Z","git_url":"git://github.com/audreyr/cookiecutter.git","ssh_url":"git@github.com:audreyr/cookiecutter.git","clone_url":"https://github.com/audreyr/cookiecutter.git","svn_url":"https://github.com/audreyr/cookiecutter","homepage":"","size":4818,"stargazers_count":2424,"watchers_count":2424,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":289,"mirror_url":null,"open_issues_count":115,"forks":289,"open_issues":115,"watchers":2424,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/audreyr/cookiecutter/pulls/548"},"html":{"href":"https://github.com/audreyr/cookiecutter/pull/548"},"issue":{"href":"https://api.github.com/repos/audreyr/cookiecutter/issues/548"},"comments":{"href":"https://api.github.com/repos/audreyr/cookiecutter/issues/548/comments"},"review_comments":{"href":"https://api.github.com/repos/audreyr/cookiecutter/pulls/548/comments"},"review_comment":{"href":"https://api.github.com/repos/audreyr/cookiecutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/audreyr/cookiecutter/pulls/548/commits"},"statuses":{"href":"https://api.github.com/repos/audreyr/cookiecutter/statuses/24dee3b79aba9f22386496dc3d5ee9099865392a"}}}}