{"action":"created","comment":{"url":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/comments/320809375","pull_request_review_id":283681923,"id":320809375,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyMDgwOTM3NQ==","diff_hunk":"@@ -82,6 +82,23 @@ def test_generate_file_jsonify_filter(env):\n         assert json.loads(generated_text) == data\n \n \n+@pytest.mark.usefixtures('remove_cheese_file')\n+@pytest.mark.parametrize(\"length\", (10, 40))","path":"tests/test_generate_file.py","position":5,"original_position":5,"commit_id":"6bcca39981fe9eb3d3d3616a14455713a56bf937","original_commit_id":"5ae804c7a323ab49182db812d663ec3178225ca2","user":{"login":"orf","id":1027207,"node_id":"MDQ6VXNlcjEwMjcyMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1027207?v=4","gravatar_id":"","url":"https://api.github.com/users/orf","html_url":"https://github.com/orf","followers_url":"https://api.github.com/users/orf/followers","following_url":"https://api.github.com/users/orf/following{/other_user}","gists_url":"https://api.github.com/users/orf/gists{/gist_id}","starred_url":"https://api.github.com/users/orf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orf/subscriptions","organizations_url":"https://api.github.com/users/orf/orgs","repos_url":"https://api.github.com/users/orf/repos","events_url":"https://api.github.com/users/orf/events{/privacy}","received_events_url":"https://api.github.com/users/orf/received_events","type":"User","site_admin":false},"body":"Done 👍 ","created_at":"2019-09-04T14:59:45Z","updated_at":"2019-09-04T14:59:46Z","html_url":"https://github.com/cookiecutter/cookiecutter/pull/1200#discussion_r320809375","pull_request_url":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/1200","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/comments/320809375"},"html":{"href":"https://github.com/cookiecutter/cookiecutter/pull/1200#discussion_r320809375"},"pull_request":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/1200"}},"in_reply_to_id":320520454},"pull_request":{"url":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/1200","id":305197383,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA1MTk3Mzgz","html_url":"https://github.com/cookiecutter/cookiecutter/pull/1200","diff_url":"https://github.com/cookiecutter/cookiecutter/pull/1200.diff","patch_url":"https://github.com/cookiecutter/cookiecutter/pull/1200.patch","issue_url":"https://api.github.com/repos/cookiecutter/cookiecutter/issues/1200","number":1200,"state":"open","locked":false,"title":"Add a random_ascii_string() global function.","user":{"login":"orf","id":1027207,"node_id":"MDQ6VXNlcjEwMjcyMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1027207?v=4","gravatar_id":"","url":"https://api.github.com/users/orf","html_url":"https://github.com/orf","followers_url":"https://api.github.com/users/orf/followers","following_url":"https://api.github.com/users/orf/following{/other_user}","gists_url":"https://api.github.com/users/orf/gists{/gist_id}","starred_url":"https://api.github.com/users/orf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orf/subscriptions","organizations_url":"https://api.github.com/users/orf/orgs","repos_url":"https://api.github.com/users/orf/repos","events_url":"https://api.github.com/users/orf/events{/privacy}","received_events_url":"https://api.github.com/users/orf/received_events","type":"User","site_admin":false},"body":"Including a random string of some kind in a template is often a use case. Currently the workarounds are really quite annoying: You can use a post_hook to replace tokens in a file, but this is super hacky.\r\n\r\nThis feature has been requested a number of times, and I really think including a `random_ascii_string` global function would be really useful.","created_at":"2019-08-07T15:11:20Z","updated_at":"2019-09-04T14:59:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16702f87af5d29e81699a24a3e8f2120a6279e50","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":47798247,"node_id":"MDU6TGFiZWw0Nzc5ODI0Nw==","url":"https://api.github.com/repos/cookiecutter/cookiecutter/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":52076416,"node_id":"MDU6TGFiZWw1MjA3NjQxNg==","url":"https://api.github.com/repos/cookiecutter/cookiecutter/labels/needs-docs","name":"needs-docs","color":"0052cc","default":false},{"id":360452682,"node_id":"MDU6TGFiZWwzNjA0NTI2ODI=","url":"https://api.github.com/repos/cookiecutter/cookiecutter/labels/waiting-for-contributor","name":"waiting-for-contributor","color":"75a6ce","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/1200/commits","review_comments_url":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/1200/comments","review_comment_url":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cookiecutter/cookiecutter/issues/1200/comments","statuses_url":"https://api.github.com/repos/cookiecutter/cookiecutter/statuses/6bcca39981fe9eb3d3d3616a14455713a56bf937","head":{"label":"orf:patch-1","ref":"patch-1","sha":"6bcca39981fe9eb3d3d3616a14455713a56bf937","user":{"login":"orf","id":1027207,"node_id":"MDQ6VXNlcjEwMjcyMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1027207?v=4","gravatar_id":"","url":"https://api.github.com/users/orf","html_url":"https://github.com/orf","followers_url":"https://api.github.com/users/orf/followers","following_url":"https://api.github.com/users/orf/following{/other_user}","gists_url":"https://api.github.com/users/orf/gists{/gist_id}","starred_url":"https://api.github.com/users/orf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orf/subscriptions","organizations_url":"https://api.github.com/users/orf/orgs","repos_url":"https://api.github.com/users/orf/repos","events_url":"https://api.github.com/users/orf/events{/privacy}","received_events_url":"https://api.github.com/users/orf/received_events","type":"User","site_admin":false},"repo":{"id":201073952,"node_id":"MDEwOlJlcG9zaXRvcnkyMDEwNzM5NTI=","name":"cookiecutter","full_name":"orf/cookiecutter","private":false,"owner":{"login":"orf","id":1027207,"node_id":"MDQ6VXNlcjEwMjcyMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1027207?v=4","gravatar_id":"","url":"https://api.github.com/users/orf","html_url":"https://github.com/orf","followers_url":"https://api.github.com/users/orf/followers","following_url":"https://api.github.com/users/orf/following{/other_user}","gists_url":"https://api.github.com/users/orf/gists{/gist_id}","starred_url":"https://api.github.com/users/orf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orf/subscriptions","organizations_url":"https://api.github.com/users/orf/orgs","repos_url":"https://api.github.com/users/orf/repos","events_url":"https://api.github.com/users/orf/events{/privacy}","received_events_url":"https://api.github.com/users/orf/received_events","type":"User","site_admin":false},"html_url":"https://github.com/orf/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/orf/cookiecutter","forks_url":"https://api.github.com/repos/orf/cookiecutter/forks","keys_url":"https://api.github.com/repos/orf/cookiecutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orf/cookiecutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orf/cookiecutter/teams","hooks_url":"https://api.github.com/repos/orf/cookiecutter/hooks","issue_events_url":"https://api.github.com/repos/orf/cookiecutter/issues/events{/number}","events_url":"https://api.github.com/repos/orf/cookiecutter/events","assignees_url":"https://api.github.com/repos/orf/cookiecutter/assignees{/user}","branches_url":"https://api.github.com/repos/orf/cookiecutter/branches{/branch}","tags_url":"https://api.github.com/repos/orf/cookiecutter/tags","blobs_url":"https://api.github.com/repos/orf/cookiecutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orf/cookiecutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orf/cookiecutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/orf/cookiecutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orf/cookiecutter/statuses/{sha}","languages_url":"https://api.github.com/repos/orf/cookiecutter/languages","stargazers_url":"https://api.github.com/repos/orf/cookiecutter/stargazers","contributors_url":"https://api.github.com/repos/orf/cookiecutter/contributors","subscribers_url":"https://api.github.com/repos/orf/cookiecutter/subscribers","subscription_url":"https://api.github.com/repos/orf/cookiecutter/subscription","commits_url":"https://api.github.com/repos/orf/cookiecutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/orf/cookiecutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/orf/cookiecutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/orf/cookiecutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/orf/cookiecutter/contents/{+path}","compare_url":"https://api.github.com/repos/orf/cookiecutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orf/cookiecutter/merges","archive_url":"https://api.github.com/repos/orf/cookiecutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orf/cookiecutter/downloads","issues_url":"https://api.github.com/repos/orf/cookiecutter/issues{/number}","pulls_url":"https://api.github.com/repos/orf/cookiecutter/pulls{/number}","milestones_url":"https://api.github.com/repos/orf/cookiecutter/milestones{/number}","notifications_url":"https://api.github.com/repos/orf/cookiecutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orf/cookiecutter/labels{/name}","releases_url":"https://api.github.com/repos/orf/cookiecutter/releases{/id}","deployments_url":"https://api.github.com/repos/orf/cookiecutter/deployments","created_at":"2019-08-07T15:07:33Z","updated_at":"2019-08-07T15:07:36Z","pushed_at":"2019-09-04T14:59:38Z","git_url":"git://github.com/orf/cookiecutter.git","ssh_url":"git@github.com:orf/cookiecutter.git","clone_url":"https://github.com/orf/cookiecutter.git","svn_url":"https://github.com/orf/cookiecutter","homepage":"","size":2338,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cookiecutter:master","ref":"master","sha":"5c282f020a8db7e5e7c4e7b51b010556ca31fb7f","user":{"login":"cookiecutter","id":12502901,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTAyOTAx","avatar_url":"https://avatars0.githubusercontent.com/u/12502901?v=4","gravatar_id":"","url":"https://api.github.com/users/cookiecutter","html_url":"https://github.com/cookiecutter","followers_url":"https://api.github.com/users/cookiecutter/followers","following_url":"https://api.github.com/users/cookiecutter/following{/other_user}","gists_url":"https://api.github.com/users/cookiecutter/gists{/gist_id}","starred_url":"https://api.github.com/users/cookiecutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookiecutter/subscriptions","organizations_url":"https://api.github.com/users/cookiecutter/orgs","repos_url":"https://api.github.com/users/cookiecutter/repos","events_url":"https://api.github.com/users/cookiecutter/events{/privacy}","received_events_url":"https://api.github.com/users/cookiecutter/received_events","type":"Organization","site_admin":false},"repo":{"id":11407242,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQwNzI0Mg==","name":"cookiecutter","full_name":"cookiecutter/cookiecutter","private":false,"owner":{"login":"cookiecutter","id":12502901,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTAyOTAx","avatar_url":"https://avatars0.githubusercontent.com/u/12502901?v=4","gravatar_id":"","url":"https://api.github.com/users/cookiecutter","html_url":"https://github.com/cookiecutter","followers_url":"https://api.github.com/users/cookiecutter/followers","following_url":"https://api.github.com/users/cookiecutter/following{/other_user}","gists_url":"https://api.github.com/users/cookiecutter/gists{/gist_id}","starred_url":"https://api.github.com/users/cookiecutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookiecutter/subscriptions","organizations_url":"https://api.github.com/users/cookiecutter/orgs","repos_url":"https://api.github.com/users/cookiecutter/repos","events_url":"https://api.github.com/users/cookiecutter/events{/privacy}","received_events_url":"https://api.github.com/users/cookiecutter/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cookiecutter/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/cookiecutter/cookiecutter","forks_url":"https://api.github.com/repos/cookiecutter/cookiecutter/forks","keys_url":"https://api.github.com/repos/cookiecutter/cookiecutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cookiecutter/cookiecutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cookiecutter/cookiecutter/teams","hooks_url":"https://api.github.com/repos/cookiecutter/cookiecutter/hooks","issue_events_url":"https://api.github.com/repos/cookiecutter/cookiecutter/issues/events{/number}","events_url":"https://api.github.com/repos/cookiecutter/cookiecutter/events","assignees_url":"https://api.github.com/repos/cookiecutter/cookiecutter/assignees{/user}","branches_url":"https://api.github.com/repos/cookiecutter/cookiecutter/branches{/branch}","tags_url":"https://api.github.com/repos/cookiecutter/cookiecutter/tags","blobs_url":"https://api.github.com/repos/cookiecutter/cookiecutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cookiecutter/cookiecutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cookiecutter/cookiecutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/cookiecutter/cookiecutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cookiecutter/cookiecutter/statuses/{sha}","languages_url":"https://api.github.com/repos/cookiecutter/cookiecutter/languages","stargazers_url":"https://api.github.com/repos/cookiecutter/cookiecutter/stargazers","contributors_url":"https://api.github.com/repos/cookiecutter/cookiecutter/contributors","subscribers_url":"https://api.github.com/repos/cookiecutter/cookiecutter/subscribers","subscription_url":"https://api.github.com/repos/cookiecutter/cookiecutter/subscription","commits_url":"https://api.github.com/repos/cookiecutter/cookiecutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/cookiecutter/cookiecutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/cookiecutter/cookiecutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/cookiecutter/cookiecutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/cookiecutter/cookiecutter/contents/{+path}","compare_url":"https://api.github.com/repos/cookiecutter/cookiecutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cookiecutter/cookiecutter/merges","archive_url":"https://api.github.com/repos/cookiecutter/cookiecutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cookiecutter/cookiecutter/downloads","issues_url":"https://api.github.com/repos/cookiecutter/cookiecutter/issues{/number}","pulls_url":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls{/number}","milestones_url":"https://api.github.com/repos/cookiecutter/cookiecutter/milestones{/number}","notifications_url":"https://api.github.com/repos/cookiecutter/cookiecutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cookiecutter/cookiecutter/labels{/name}","releases_url":"https://api.github.com/repos/cookiecutter/cookiecutter/releases{/id}","deployments_url":"https://api.github.com/repos/cookiecutter/cookiecutter/deployments","created_at":"2013-07-14T18:31:22Z","updated_at":"2019-09-04T13:58:46Z","pushed_at":"2019-09-04T14:59:39Z","git_url":"git://github.com/cookiecutter/cookiecutter.git","ssh_url":"git@github.com:cookiecutter/cookiecutter.git","clone_url":"https://github.com/cookiecutter/cookiecutter.git","svn_url":"https://github.com/cookiecutter/cookiecutter","homepage":"","size":2328,"stargazers_count":10177,"watchers_count":10177,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1119,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":196,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1119,"open_issues":196,"watchers":10177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/1200"},"html":{"href":"https://github.com/cookiecutter/cookiecutter/pull/1200"},"issue":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/issues/1200"},"comments":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/issues/1200/comments"},"review_comments":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/1200/comments"},"review_comment":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/pulls/1200/commits"},"statuses":{"href":"https://api.github.com/repos/cookiecutter/cookiecutter/statuses/6bcca39981fe9eb3d3d3616a14455713a56bf937"}},"author_association":"NONE"}}
{"actor":{"display_login":"orf"}}