{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls/12","id":62315202,"html_url":"https://github.com/saltstack-formulas/uwsgi-formula/pull/12","diff_url":"https://github.com/saltstack-formulas/uwsgi-formula/pull/12.diff","patch_url":"https://github.com/saltstack-formulas/uwsgi-formula/pull/12.patch","issue_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/issues/12","number":12,"state":"open","locked":false,"title":"Add support for config blocks as lists","user":{"login":"lgunsch","id":493645,"avatar_url":"https://avatars.githubusercontent.com/u/493645?v=3","gravatar_id":"","url":"https://api.github.com/users/lgunsch","html_url":"https://github.com/lgunsch","followers_url":"https://api.github.com/users/lgunsch/followers","following_url":"https://api.github.com/users/lgunsch/following{/other_user}","gists_url":"https://api.github.com/users/lgunsch/gists{/gist_id}","starred_url":"https://api.github.com/users/lgunsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgunsch/subscriptions","organizations_url":"https://api.github.com/users/lgunsch/orgs","repos_url":"https://api.github.com/users/lgunsch/repos","events_url":"https://api.github.com/users/lgunsch/events{/privacy}","received_events_url":"https://api.github.com/users/lgunsch/received_events","type":"User","site_admin":false},"body":"Dictionary only support for config blocks does not allow for the `env` setting, or other settings, to be repeated. This is required, for example, if multiple environmental variables is necessary. Also for many configuration options ordering is important, and lists will allow for ordering to be preserved.\r\n\r\nFor example, this config would now be possible:\r\n\r\n```yaml\r\napplications:\r\n    managed:\r\n        config:\r\n          - master: True\r\n            uid: 'www-data'\r\n            gid: 'www-data'\r\n            plugins: 'logfile,python3'\r\n            module: myproject.wsgi:application\r\n            chdir: '/var/www/public'\r\n            venv: '/usr/share/python/myproject/'\r\n            log-master: True\r\n            log-reopen: True\r\n          - env: 'SECRET_KEY=secret-key'\r\n          - env: DATABASE_NAME=project\r\n          - env: DATABASE_HOST=db.example.com\r\n          - env: DATABASE_USER=project_user\r\n          - env: 'DATABASE_PASSWORD=secret-password'\r\n```","created_at":"2016-03-09T23:34:40Z","updated_at":"2016-03-09T23:34:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls/12/commits","review_comments_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls/12/comments","review_comment_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/issues/12/comments","statuses_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/statuses/97c3be7909c279fae32718fe70bbeaf1b4c19e50","head":{"label":"lgunsch:master","ref":"master","sha":"97c3be7909c279fae32718fe70bbeaf1b4c19e50","user":{"login":"lgunsch","id":493645,"avatar_url":"https://avatars.githubusercontent.com/u/493645?v=3","gravatar_id":"","url":"https://api.github.com/users/lgunsch","html_url":"https://github.com/lgunsch","followers_url":"https://api.github.com/users/lgunsch/followers","following_url":"https://api.github.com/users/lgunsch/following{/other_user}","gists_url":"https://api.github.com/users/lgunsch/gists{/gist_id}","starred_url":"https://api.github.com/users/lgunsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgunsch/subscriptions","organizations_url":"https://api.github.com/users/lgunsch/orgs","repos_url":"https://api.github.com/users/lgunsch/repos","events_url":"https://api.github.com/users/lgunsch/events{/privacy}","received_events_url":"https://api.github.com/users/lgunsch/received_events","type":"User","site_admin":false},"repo":{"id":52369145,"name":"uwsgi-formula","full_name":"lgunsch/uwsgi-formula","owner":{"login":"lgunsch","id":493645,"avatar_url":"https://avatars.githubusercontent.com/u/493645?v=3","gravatar_id":"","url":"https://api.github.com/users/lgunsch","html_url":"https://github.com/lgunsch","followers_url":"https://api.github.com/users/lgunsch/followers","following_url":"https://api.github.com/users/lgunsch/following{/other_user}","gists_url":"https://api.github.com/users/lgunsch/gists{/gist_id}","starred_url":"https://api.github.com/users/lgunsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgunsch/subscriptions","organizations_url":"https://api.github.com/users/lgunsch/orgs","repos_url":"https://api.github.com/users/lgunsch/repos","events_url":"https://api.github.com/users/lgunsch/events{/privacy}","received_events_url":"https://api.github.com/users/lgunsch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lgunsch/uwsgi-formula","description":"Salt formula to manage uwsgi","fork":true,"url":"https://api.github.com/repos/lgunsch/uwsgi-formula","forks_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/forks","keys_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/teams","hooks_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/hooks","issue_events_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/issues/events{/number}","events_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/events","assignees_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/assignees{/user}","branches_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/branches{/branch}","tags_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/tags","blobs_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/languages","stargazers_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/stargazers","contributors_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/contributors","subscribers_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/subscribers","subscription_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/subscription","commits_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/issues/comments{/number}","contents_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/contents/{+path}","compare_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/merges","archive_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/downloads","issues_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/issues{/number}","pulls_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/labels{/name}","releases_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/releases{/id}","deployments_url":"https://api.github.com/repos/lgunsch/uwsgi-formula/deployments","created_at":"2016-02-23T15:28:40Z","updated_at":"2016-02-23T15:28:40Z","pushed_at":"2016-03-09T23:21:00Z","git_url":"git://github.com/lgunsch/uwsgi-formula.git","ssh_url":"git@github.com:lgunsch/uwsgi-formula.git","clone_url":"https://github.com/lgunsch/uwsgi-formula.git","svn_url":"https://github.com/lgunsch/uwsgi-formula","homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","size":28,"stargazers_count":0,"watchers_count":0,"language":"SaltStack","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":"saltstack-formulas:master","ref":"master","sha":"82eff471b8a359c4f1a19287960df6b534e82a09","user":{"login":"saltstack-formulas","id":4683350,"avatar_url":"https://avatars.githubusercontent.com/u/4683350?v=3","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":31991302,"name":"uwsgi-formula","full_name":"saltstack-formulas/uwsgi-formula","owner":{"login":"saltstack-formulas","id":4683350,"avatar_url":"https://avatars.githubusercontent.com/u/4683350?v=3","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/uwsgi-formula","description":"Salt formula to manage uwsgi","fork":false,"url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula","forks_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/forks","keys_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/teams","hooks_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/hooks","issue_events_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/events","assignees_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/tags","blobs_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/languages","stargazers_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/stargazers","contributors_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/contributors","subscribers_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/subscribers","subscription_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/subscription","commits_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/issues/comments{/number}","contents_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/merges","archive_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/downloads","issues_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/labels{/name}","releases_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/releases{/id}","deployments_url":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/deployments","created_at":"2015-03-11T01:20:30Z","updated_at":"2015-11-29T19:50:23Z","pushed_at":"2015-12-01T00:12:15Z","git_url":"git://github.com/saltstack-formulas/uwsgi-formula.git","ssh_url":"git@github.com:saltstack-formulas/uwsgi-formula.git","clone_url":"https://github.com/saltstack-formulas/uwsgi-formula.git","svn_url":"https://github.com/saltstack-formulas/uwsgi-formula","homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","size":176,"stargazers_count":4,"watchers_count":4,"language":"SaltStack","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":5,"forks":16,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls/12"},"html":{"href":"https://github.com/saltstack-formulas/uwsgi-formula/pull/12"},"issue":{"href":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/issues/12"},"comments":{"href":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack-formulas/uwsgi-formula/statuses/97c3be7909c279fae32718fe70bbeaf1b4c19e50"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":24,"deletions":36,"changed_files":3}}