{"action":"opened","number":150,"pull_request":{"url":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls/150","id":186271619,"html_url":"https://github.com/saltstack-formulas/php-formula/pull/150","diff_url":"https://github.com/saltstack-formulas/php-formula/pull/150.diff","patch_url":"https://github.com/saltstack-formulas/php-formula/pull/150.patch","issue_url":"https://api.github.com/repos/saltstack-formulas/php-formula/issues/150","number":150,"state":"open","locked":false,"title":"Remove sorting of php.ini files to support Python3","user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars1.githubusercontent.com/u/183678?v=4","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"body":"As per https://github.com/saltstack/salt/issues/39009 - and the following error message:\r\n\r\n```\r\n          ID: php_fpm_pool_conf_0                                                                                          \r\n    Function: file.managed                                                                                                 \r\n        Name: /etc/php/7.2/fpm/pool.d/www.conf                                                                             \r\n      Result: False                                                                                                        \r\n     Comment: Unable to manage file: Jinja error: '<' not supported between instances of 'OrderedDict' and 'OrderedDict'   \r\n              Traceback (most recent call last):                                                                           \r\n                File \"/usr/lib/python3/dist-packages/salt/utils/templates.py\", line 418, in render_jinja_tmpl              \r\n                  output = template.render(**decoded_context)                                                              \r\n                File \"/usr/lib/python3/dist-packages/jinja2/asyncsupport.py\", line 76, in render                           \r\n                  return original_render(self, *args, **kwargs)                                                            \r\n                File \"/usr/lib/python3/dist-packages/jinja2/environment.py\", line 1008, in render                          \r\n                  return self.environment.handle_exception(exc_info, True)                                                 \r\n                File \"/usr/lib/python3/dist-packages/jinja2/environment.py\", line 780, in handle_exception                 \r\n                  reraise(exc_type, exc_value, tb)                                                                         \r\n                File \"/usr/lib/python3/dist-packages/jinja2/_compat.py\", line 37, in reraise                               \r\n                  raise value.with_traceback(tb)                                                                           \r\n                File \"<template>\", line 33, in top-level template code                                                     \r\n                File \"/usr/lib/python3/dist-packages/jinja2/runtime.py\", line 579, in _invoke                              \r\n                  rv = self._func(*arguments)                                                                              \r\n                File \"<template>\", line 8, in template                                                                     \r\n                File \"/usr/lib/python3/dist-packages/jinja2/filters.py\", line 278, in do_sort                              \r\n                  return sorted(value, key=key_func, reverse=reverse)                                                      \r\n              TypeError: '<' not supported between instances of 'OrderedDict' and 'OrderedDict'                            \r\n                                                                                                                           \r\n              ; line 8                                                                                                     \r\n                                                                                                                           \r\n              ---                                                                                                          \r\n              [...]                                                                                                        \r\n                      {%- for section, settings in sections.items() -%}                                                    \r\n                          {%- if settings is number or settings is string %}                                               \r\n              {{ section }} = {{ settings }}                                                                               \r\n                          {%- else %}                                                                                      \r\n              [{{ section }}]                                                                                              \r\n                              {%- for setting in settings|sort -%}    <======================                              \r\n                                  {%- for key, value in setting.items() %}\r\n                                      {%- if value is number or value is string %}\r\n                  {{ key }} = {{ value }}\r\n                                      {%- elif value is iterable -%}\r\n                                          {%- if key == 'error_reporting' %}\r\n              [...]\r\n```\r\n\r\nPython3's OrderedDict does not support being sorted. I don't know exactly why the sorting was done, as far as I can tell it doesn't necessarily need to be sorted to make sense to PHP.","created_at":"2018-05-07T07:07:58Z","updated_at":"2018-05-07T07:07:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls/150/commits","review_comments_url":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls/150/comments","review_comment_url":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saltstack-formulas/php-formula/issues/150/comments","statuses_url":"https://api.github.com/repos/saltstack-formulas/php-formula/statuses/57d1ecd7cc51402acff3076de85508e9dfae4e34","head":{"label":"Seldaek:patch-1","ref":"patch-1","sha":"57d1ecd7cc51402acff3076de85508e9dfae4e34","user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars1.githubusercontent.com/u/183678?v=4","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"repo":{"id":34563960,"name":"php-formula","full_name":"Seldaek/php-formula","owner":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars1.githubusercontent.com/u/183678?v=4","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Seldaek/php-formula","description":null,"fork":true,"url":"https://api.github.com/repos/Seldaek/php-formula","forks_url":"https://api.github.com/repos/Seldaek/php-formula/forks","keys_url":"https://api.github.com/repos/Seldaek/php-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Seldaek/php-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Seldaek/php-formula/teams","hooks_url":"https://api.github.com/repos/Seldaek/php-formula/hooks","issue_events_url":"https://api.github.com/repos/Seldaek/php-formula/issues/events{/number}","events_url":"https://api.github.com/repos/Seldaek/php-formula/events","assignees_url":"https://api.github.com/repos/Seldaek/php-formula/assignees{/user}","branches_url":"https://api.github.com/repos/Seldaek/php-formula/branches{/branch}","tags_url":"https://api.github.com/repos/Seldaek/php-formula/tags","blobs_url":"https://api.github.com/repos/Seldaek/php-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Seldaek/php-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Seldaek/php-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/Seldaek/php-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Seldaek/php-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/Seldaek/php-formula/languages","stargazers_url":"https://api.github.com/repos/Seldaek/php-formula/stargazers","contributors_url":"https://api.github.com/repos/Seldaek/php-formula/contributors","subscribers_url":"https://api.github.com/repos/Seldaek/php-formula/subscribers","subscription_url":"https://api.github.com/repos/Seldaek/php-formula/subscription","commits_url":"https://api.github.com/repos/Seldaek/php-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/Seldaek/php-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/Seldaek/php-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/Seldaek/php-formula/issues/comments{/number}","contents_url":"https://api.github.com/repos/Seldaek/php-formula/contents/{+path}","compare_url":"https://api.github.com/repos/Seldaek/php-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Seldaek/php-formula/merges","archive_url":"https://api.github.com/repos/Seldaek/php-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Seldaek/php-formula/downloads","issues_url":"https://api.github.com/repos/Seldaek/php-formula/issues{/number}","pulls_url":"https://api.github.com/repos/Seldaek/php-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/Seldaek/php-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/Seldaek/php-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Seldaek/php-formula/labels{/name}","releases_url":"https://api.github.com/repos/Seldaek/php-formula/releases{/id}","deployments_url":"https://api.github.com/repos/Seldaek/php-formula/deployments","created_at":"2015-04-25T10:11:32Z","updated_at":"2015-04-26T22:55:43Z","pushed_at":"2018-05-07T07:06:43Z","git_url":"git://github.com/Seldaek/php-formula.git","ssh_url":"git@github.com:Seldaek/php-formula.git","clone_url":"https://github.com/Seldaek/php-formula.git","svn_url":"https://github.com/Seldaek/php-formula","homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","size":103,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"saltstack-formulas:master","ref":"master","sha":"55de1005c46c95ae90eabe70aae2796176c0d395","user":{"login":"saltstack-formulas","id":4683350,"avatar_url":"https://avatars3.githubusercontent.com/u/4683350?v=4","gravatar_id":"","url":"https://api.github.com/users/saltstack-formulas","html_url":"https://github.com/saltstack-formulas","followers_url":"https://api.github.com/users/saltstack-formulas/followers","following_url":"https://api.github.com/users/saltstack-formulas/following{/other_user}","gists_url":"https://api.github.com/users/saltstack-formulas/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack-formulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack-formulas/subscriptions","organizations_url":"https://api.github.com/users/saltstack-formulas/orgs","repos_url":"https://api.github.com/users/saltstack-formulas/repos","events_url":"https://api.github.com/users/saltstack-formulas/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack-formulas/received_events","type":"Organization","site_admin":false},"repo":{"id":10653490,"name":"php-formula","full_name":"saltstack-formulas/php-formula","owner":{"login":"saltstack-formulas","id":4683350,"avatar_url":"https://avatars3.githubusercontent.com/u/4683350?v=4","gravatar_id":"","url":"https://api.github.com/users/saltstack-formulas","html_url":"https://github.com/saltstack-formulas","followers_url":"https://api.github.com/users/saltstack-formulas/followers","following_url":"https://api.github.com/users/saltstack-formulas/following{/other_user}","gists_url":"https://api.github.com/users/saltstack-formulas/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack-formulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack-formulas/subscriptions","organizations_url":"https://api.github.com/users/saltstack-formulas/orgs","repos_url":"https://api.github.com/users/saltstack-formulas/repos","events_url":"https://api.github.com/users/saltstack-formulas/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack-formulas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack-formulas/php-formula","description":null,"fork":false,"url":"https://api.github.com/repos/saltstack-formulas/php-formula","forks_url":"https://api.github.com/repos/saltstack-formulas/php-formula/forks","keys_url":"https://api.github.com/repos/saltstack-formulas/php-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack-formulas/php-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack-formulas/php-formula/teams","hooks_url":"https://api.github.com/repos/saltstack-formulas/php-formula/hooks","issue_events_url":"https://api.github.com/repos/saltstack-formulas/php-formula/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack-formulas/php-formula/events","assignees_url":"https://api.github.com/repos/saltstack-formulas/php-formula/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack-formulas/php-formula/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack-formulas/php-formula/tags","blobs_url":"https://api.github.com/repos/saltstack-formulas/php-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack-formulas/php-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack-formulas/php-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack-formulas/php-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack-formulas/php-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack-formulas/php-formula/languages","stargazers_url":"https://api.github.com/repos/saltstack-formulas/php-formula/stargazers","contributors_url":"https://api.github.com/repos/saltstack-formulas/php-formula/contributors","subscribers_url":"https://api.github.com/repos/saltstack-formulas/php-formula/subscribers","subscription_url":"https://api.github.com/repos/saltstack-formulas/php-formula/subscription","commits_url":"https://api.github.com/repos/saltstack-formulas/php-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack-formulas/php-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack-formulas/php-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack-formulas/php-formula/issues/comments{/number}","contents_url":"https://api.github.com/repos/saltstack-formulas/php-formula/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack-formulas/php-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack-formulas/php-formula/merges","archive_url":"https://api.github.com/repos/saltstack-formulas/php-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack-formulas/php-formula/downloads","issues_url":"https://api.github.com/repos/saltstack-formulas/php-formula/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack-formulas/php-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack-formulas/php-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack-formulas/php-formula/labels{/name}","releases_url":"https://api.github.com/repos/saltstack-formulas/php-formula/releases{/id}","deployments_url":"https://api.github.com/repos/saltstack-formulas/php-formula/deployments","created_at":"2013-06-12T22:09:56Z","updated_at":"2018-05-03T20:29:05Z","pushed_at":"2018-05-03T20:29:03Z","git_url":"git://github.com/saltstack-formulas/php-formula.git","ssh_url":"git@github.com:saltstack-formulas/php-formula.git","clone_url":"https://github.com/saltstack-formulas/php-formula.git","svn_url":"https://github.com/saltstack-formulas/php-formula","homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","size":241,"stargazers_count":43,"watchers_count":43,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":218,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":218,"open_issues":18,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls/150"},"html":{"href":"https://github.com/saltstack-formulas/php-formula/pull/150"},"issue":{"href":"https://api.github.com/repos/saltstack-formulas/php-formula/issues/150"},"comments":{"href":"https://api.github.com/repos/saltstack-formulas/php-formula/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saltstack-formulas/php-formula/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack-formulas/php-formula/statuses/57d1ecd7cc51402acff3076de85508e9dfae4e34"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Seldaek"}}