{"action":"opened","number":15581,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/15581","id":67749862,"html_url":"https://github.com/ansible/ansible/pull/15581","diff_url":"https://github.com/ansible/ansible/pull/15581.diff","patch_url":"https://github.com/ansible/ansible/pull/15581.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/15581","number":15581,"state":"open","locked":false,"title":"Convert byte strings to unicode strings in our task results","user":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"body":"##### ISSUE TYPE\r\n\r\n - Bugfix Pull Request\r\n\r\n\r\n##### SUMMARY\r\nbyte strings received from the worker process's results weren't being transformed into a text type when they came back to the main process.  This could lead to problems later (in this case, in a callback) where code assumes everything is a text type unless specifically working with byte strings.\r\n\r\nFixes #15367","created_at":"2016-04-25T16:34:03Z","updated_at":"2016-04-25T16:34:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/15581/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/15581/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/15581/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/77c4a8cf2352969b0096b25c5093eaa799123605","head":{"label":"abadger:task-results-to-unicode","ref":"task-results-to-unicode","sha":"77c4a8cf2352969b0096b25c5093eaa799123605","user":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"repo":{"id":17755774,"name":"ansible","full_name":"abadger/ansible","owner":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abadger/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":true,"url":"https://api.github.com/repos/abadger/ansible","forks_url":"https://api.github.com/repos/abadger/ansible/forks","keys_url":"https://api.github.com/repos/abadger/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abadger/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abadger/ansible/teams","hooks_url":"https://api.github.com/repos/abadger/ansible/hooks","issue_events_url":"https://api.github.com/repos/abadger/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/abadger/ansible/events","assignees_url":"https://api.github.com/repos/abadger/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/abadger/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/abadger/ansible/tags","blobs_url":"https://api.github.com/repos/abadger/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abadger/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abadger/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/abadger/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abadger/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/abadger/ansible/languages","stargazers_url":"https://api.github.com/repos/abadger/ansible/stargazers","contributors_url":"https://api.github.com/repos/abadger/ansible/contributors","subscribers_url":"https://api.github.com/repos/abadger/ansible/subscribers","subscription_url":"https://api.github.com/repos/abadger/ansible/subscription","commits_url":"https://api.github.com/repos/abadger/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/abadger/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/abadger/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/abadger/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/abadger/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/abadger/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abadger/ansible/merges","archive_url":"https://api.github.com/repos/abadger/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abadger/ansible/downloads","issues_url":"https://api.github.com/repos/abadger/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/abadger/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/abadger/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/abadger/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abadger/ansible/labels{/name}","releases_url":"https://api.github.com/repos/abadger/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/abadger/ansible/deployments","created_at":"2014-03-14T18:20:10Z","updated_at":"2016-03-10T15:07:40Z","pushed_at":"2016-04-25T16:30:33Z","git_url":"git://github.com/abadger/ansible.git","ssh_url":"git@github.com:abadger/ansible.git","clone_url":"https://github.com/abadger/ansible.git","svn_url":"https://github.com/abadger/ansible","homepage":"http://ansible.com/","size":34102,"stargazers_count":1,"watchers_count":1,"language":"Python","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":1,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"3b96861b7c3910c7c1ad6bb3f12a6874b317c784","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible/deployments","created_at":"2012-03-06T14:58:02Z","updated_at":"2016-04-25T15:26:24Z","pushed_at":"2016-04-25T16:16:29Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"http://ansible.com/","size":60749,"stargazers_count":16465,"watchers_count":16465,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4926,"mirror_url":null,"open_issues_count":1323,"forks":4926,"open_issues":1323,"watchers":16465,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15581"},"html":{"href":"https://github.com/ansible/ansible/pull/15581"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/15581"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/15581/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15581/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15581/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/77c4a8cf2352969b0096b25c5093eaa799123605"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}