{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls/1","id":44947642,"html_url":"https://github.com/Cube-Solutions/composer-dist-installer/pull/1","diff_url":"https://github.com/Cube-Solutions/composer-dist-installer/pull/1.diff","patch_url":"https://github.com/Cube-Solutions/composer-dist-installer/pull/1.patch","issue_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/issues/1","number":1,"state":"closed","locked":false,"title":"Add the capacity to recurse among default values","user":{"login":"vincentlepot","id":11851527,"avatar_url":"https://avatars.githubusercontent.com/u/11851527?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentlepot","html_url":"https://github.com/vincentlepot","followers_url":"https://api.github.com/users/vincentlepot/followers","following_url":"https://api.github.com/users/vincentlepot/following{/other_user}","gists_url":"https://api.github.com/users/vincentlepot/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentlepot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentlepot/subscriptions","organizations_url":"https://api.github.com/users/vincentlepot/orgs","repos_url":"https://api.github.com/users/vincentlepot/repos","events_url":"https://api.github.com/users/vincentlepot/events{/privacy}","received_events_url":"https://api.github.com/users/vincentlepot/received_events","type":"User","site_admin":false},"body":"Instead of having only one default value possible in the template (eg `{{Question|default}}`), this PR add the ability to chain multiple default values.\r\n\r\nThis can be useful to use env variables as a first default if available and, if not, fall back to a string.\r\neg:\r\n```\r\n{{My param []?|=ENV[MY_PARAM_ENV]|default}}\r\n```\r\nIf MY_PARAM_ENV variable is set, use it as default, else use \"default\" hardcoded string.\r\n\r\nIn a deployment process, as a non-interactive execution, you can have you secrets set as env variables (and fall back to default values if not set).","created_at":"2015-09-14T15:57:27Z","updated_at":"2015-09-18T08:16:44Z","closed_at":"2015-09-18T08:16:44Z","merged_at":"2015-09-18T08:16:44Z","merge_commit_sha":"7006467b4540246c3927ca138564fd1a985ae271","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/issues/1/comments","statuses_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/statuses/67932b8e3718de4a49c87c675c27e49f5d79ed43","head":{"label":"vincentlepot:recursive_processor","ref":"recursive_processor","sha":"67932b8e3718de4a49c87c675c27e49f5d79ed43","user":{"login":"vincentlepot","id":11851527,"avatar_url":"https://avatars.githubusercontent.com/u/11851527?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentlepot","html_url":"https://github.com/vincentlepot","followers_url":"https://api.github.com/users/vincentlepot/followers","following_url":"https://api.github.com/users/vincentlepot/following{/other_user}","gists_url":"https://api.github.com/users/vincentlepot/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentlepot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentlepot/subscriptions","organizations_url":"https://api.github.com/users/vincentlepot/orgs","repos_url":"https://api.github.com/users/vincentlepot/repos","events_url":"https://api.github.com/users/vincentlepot/events{/privacy}","received_events_url":"https://api.github.com/users/vincentlepot/received_events","type":"User","site_admin":false},"repo":{"id":42452465,"name":"composer-dist-installer","full_name":"vincentlepot/composer-dist-installer","owner":{"login":"vincentlepot","id":11851527,"avatar_url":"https://avatars.githubusercontent.com/u/11851527?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentlepot","html_url":"https://github.com/vincentlepot","followers_url":"https://api.github.com/users/vincentlepot/followers","following_url":"https://api.github.com/users/vincentlepot/following{/other_user}","gists_url":"https://api.github.com/users/vincentlepot/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentlepot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentlepot/subscriptions","organizations_url":"https://api.github.com/users/vincentlepot/orgs","repos_url":"https://api.github.com/users/vincentlepot/repos","events_url":"https://api.github.com/users/vincentlepot/events{/privacy}","received_events_url":"https://api.github.com/users/vincentlepot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vincentlepot/composer-dist-installer","description":"Install template files (.dist) automatically on project setup with Composer. Framework-agnostic.","fork":true,"url":"https://api.github.com/repos/vincentlepot/composer-dist-installer","forks_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/forks","keys_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/teams","hooks_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/hooks","issue_events_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/issues/events{/number}","events_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/events","assignees_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/assignees{/user}","branches_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/branches{/branch}","tags_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/tags","blobs_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/languages","stargazers_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/stargazers","contributors_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/contributors","subscribers_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/subscribers","subscription_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/subscription","commits_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/contents/{+path}","compare_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/merges","archive_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/downloads","issues_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/issues{/number}","pulls_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/labels{/name}","releases_url":"https://api.github.com/repos/vincentlepot/composer-dist-installer/releases{/id}","created_at":"2015-09-14T14:07:44Z","updated_at":"2015-09-14T14:07:44Z","pushed_at":"2015-09-18T08:12:56Z","git_url":"git://github.com/vincentlepot/composer-dist-installer.git","ssh_url":"git@github.com:vincentlepot/composer-dist-installer.git","clone_url":"https://github.com/vincentlepot/composer-dist-installer.git","svn_url":"https://github.com/vincentlepot/composer-dist-installer","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"Cube-Solutions:master","ref":"master","sha":"7a2f258bd3acb8fb31dc4aae65384aba6b6364de","user":{"login":"Cube-Solutions","id":1331118,"avatar_url":"https://avatars.githubusercontent.com/u/1331118?v=3","gravatar_id":"","url":"https://api.github.com/users/Cube-Solutions","html_url":"https://github.com/Cube-Solutions","followers_url":"https://api.github.com/users/Cube-Solutions/followers","following_url":"https://api.github.com/users/Cube-Solutions/following{/other_user}","gists_url":"https://api.github.com/users/Cube-Solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/Cube-Solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cube-Solutions/subscriptions","organizations_url":"https://api.github.com/users/Cube-Solutions/orgs","repos_url":"https://api.github.com/users/Cube-Solutions/repos","events_url":"https://api.github.com/users/Cube-Solutions/events{/privacy}","received_events_url":"https://api.github.com/users/Cube-Solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":30108577,"name":"composer-dist-installer","full_name":"Cube-Solutions/composer-dist-installer","owner":{"login":"Cube-Solutions","id":1331118,"avatar_url":"https://avatars.githubusercontent.com/u/1331118?v=3","gravatar_id":"","url":"https://api.github.com/users/Cube-Solutions","html_url":"https://github.com/Cube-Solutions","followers_url":"https://api.github.com/users/Cube-Solutions/followers","following_url":"https://api.github.com/users/Cube-Solutions/following{/other_user}","gists_url":"https://api.github.com/users/Cube-Solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/Cube-Solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cube-Solutions/subscriptions","organizations_url":"https://api.github.com/users/Cube-Solutions/orgs","repos_url":"https://api.github.com/users/Cube-Solutions/repos","events_url":"https://api.github.com/users/Cube-Solutions/events{/privacy}","received_events_url":"https://api.github.com/users/Cube-Solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cube-Solutions/composer-dist-installer","description":"Install template files (.dist) automatically on project setup with Composer. Framework-agnostic.","fork":false,"url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer","forks_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/forks","keys_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/teams","hooks_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/hooks","issue_events_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/issues/events{/number}","events_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/events","assignees_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/assignees{/user}","branches_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/branches{/branch}","tags_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/tags","blobs_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/languages","stargazers_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/stargazers","contributors_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/contributors","subscribers_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/subscribers","subscription_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/subscription","commits_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/contents/{+path}","compare_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/merges","archive_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/downloads","issues_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/issues{/number}","pulls_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/labels{/name}","releases_url":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/releases{/id}","created_at":"2015-01-31T09:54:51Z","updated_at":"2015-09-17T14:38:47Z","pushed_at":"2015-09-18T08:16:44Z","git_url":"git://github.com/Cube-Solutions/composer-dist-installer.git","ssh_url":"git@github.com:Cube-Solutions/composer-dist-installer.git","clone_url":"https://github.com/Cube-Solutions/composer-dist-installer.git","svn_url":"https://github.com/Cube-Solutions/composer-dist-installer","homepage":null,"size":468,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls/1"},"html":{"href":"https://github.com/Cube-Solutions/composer-dist-installer/pull/1"},"issue":{"href":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/issues/1"},"comments":{"href":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Cube-Solutions/composer-dist-installer/statuses/67932b8e3718de4a49c87c675c27e49f5d79ed43"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gabrielsomoza","id":106219,"avatar_url":"https://avatars.githubusercontent.com/u/106219?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielsomoza","html_url":"https://github.com/gabrielsomoza","followers_url":"https://api.github.com/users/gabrielsomoza/followers","following_url":"https://api.github.com/users/gabrielsomoza/following{/other_user}","gists_url":"https://api.github.com/users/gabrielsomoza/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielsomoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielsomoza/subscriptions","organizations_url":"https://api.github.com/users/gabrielsomoza/orgs","repos_url":"https://api.github.com/users/gabrielsomoza/repos","events_url":"https://api.github.com/users/gabrielsomoza/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielsomoza/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":2,"additions":46,"deletions":8,"changed_files":3}}