{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/47813","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/47813/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/47813/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/47813/events","html_url":"https://github.com/saltstack/salt/pull/47813","id":325947122,"number":47813,"title":"state pkg.latest always uses pkg.install pkg={[pkgname: version], ...}","user":{"login":"damon-atkins","id":9368124,"avatar_url":"https://avatars1.githubusercontent.com/u/9368124?v=4","gravatar_id":"","url":"https://api.github.com/users/damon-atkins","html_url":"https://github.com/damon-atkins","followers_url":"https://api.github.com/users/damon-atkins/followers","following_url":"https://api.github.com/users/damon-atkins/following{/other_user}","gists_url":"https://api.github.com/users/damon-atkins/gists{/gist_id}","starred_url":"https://api.github.com/users/damon-atkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damon-atkins/subscriptions","organizations_url":"https://api.github.com/users/damon-atkins/orgs","repos_url":"https://api.github.com/users/damon-atkins/repos","events_url":"https://api.github.com/users/damon-atkins/events{/privacy}","received_events_url":"https://api.github.com/users/damon-atkins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-24T03:02:58Z","updated_at":"2018-05-29T15:40:30Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/47813","html_url":"https://github.com/saltstack/salt/pull/47813","diff_url":"https://github.com/saltstack/salt/pull/47813.diff","patch_url":"https://github.com/saltstack/salt/pull/47813.patch"},"body":"### What does this PR do?\r\nstate pkg.latest always uses `pkg.install pkg=[{pkgname: version}, ...]`\r\n\r\n### What issues does this PR fix or reference?\r\n#47484 `Windows: pkg.latest state not updating packages`\r\nThe fix applied to 2017.7.6 and 2018.3.1 only used `pkg.install pkg={[pkgname: version], ...}` for windows otherwise it was `pkg=[pkgname, ...]`\r\n\r\n### Previous Behavior\r\nUsed `pkg.install pkg=[{pkgname: version}, ...]` for windows otherwise it was `pkg=[pkgname, ...]`\r\n\r\n### New Behavior\r\nUse `pkg.install pkg=[{pkgname: version}, ...]` for all platforms/pkg execution modules.\r\n\r\n### Tests written?\r\n\r\nExisting\r\n\r\n### Commits signed with GPG?\r\n\r\nYes\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/392824734","html_url":"https://github.com/saltstack/salt/pull/47813#issuecomment-392824734","issue_url":"https://api.github.com/repos/saltstack/salt/issues/47813","id":392824734,"user":{"login":"damon-atkins","id":9368124,"avatar_url":"https://avatars1.githubusercontent.com/u/9368124?v=4","gravatar_id":"","url":"https://api.github.com/users/damon-atkins","html_url":"https://github.com/damon-atkins","followers_url":"https://api.github.com/users/damon-atkins/followers","following_url":"https://api.github.com/users/damon-atkins/following{/other_user}","gists_url":"https://api.github.com/users/damon-atkins/gists{/gist_id}","starred_url":"https://api.github.com/users/damon-atkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damon-atkins/subscriptions","organizations_url":"https://api.github.com/users/damon-atkins/orgs","repos_url":"https://api.github.com/users/damon-atkins/repos","events_url":"https://api.github.com/users/damon-atkins/events{/privacy}","received_events_url":"https://api.github.com/users/damon-atkins/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T15:40:30Z","updated_at":"2018-05-29T15:40:30Z","author_association":"CONTRIBUTOR","body":"@rallytime Why are these tests failling?"}}
{"actor":{"display_login":"damon-atkins"}}