{"action":"opened","number":439,"pull_request":{"url":"https://api.github.com/repos/acquia/blt/pulls/439","id":86285509,"html_url":"https://github.com/acquia/blt/pull/439","diff_url":"https://github.com/acquia/blt/pull/439.diff","patch_url":"https://github.com/acquia/blt/pull/439.patch","issue_url":"https://api.github.com/repos/acquia/blt/issues/439","number":439,"state":"open","locked":false,"title":"Adds targets phing task to allow target definitions in project.yml","user":{"login":"steveworley","id":1840912,"avatar_url":"https://avatars.githubusercontent.com/u/1840912?v=3","gravatar_id":"","url":"https://api.github.com/users/steveworley","html_url":"https://github.com/steveworley","followers_url":"https://api.github.com/users/steveworley/followers","following_url":"https://api.github.com/users/steveworley/following{/other_user}","gists_url":"https://api.github.com/users/steveworley/gists{/gist_id}","starred_url":"https://api.github.com/users/steveworley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveworley/subscriptions","organizations_url":"https://api.github.com/users/steveworley/orgs","repos_url":"https://api.github.com/users/steveworley/repos","events_url":"https://api.github.com/users/steveworley/events{/privacy}","received_events_url":"https://api.github.com/users/steveworley/received_events","type":"User","site_admin":false},"body":"Closes #290.\r\n\r\nAdds a new phing task `targets` that attempts to located defined targets for a particular key for a specified point in the process. \r\n\r\nProject.yml can be updated to include target definitions\r\n\r\n``` yml\r\ntargets:\r\n  ci:\r\n     validate:\r\n       composer: true\r\n       lint: true\r\n    drupal:\r\n       install: true\r\n```\r\n\r\nThe task will take a given key in the `targets` definition and flatten the yaml into phing targets which can then be called. In the example above `validate => composer => true` gets translated into `validate:composer`.\r\n\r\nWhen using the targets task you specify a key to look for in the targets yaml definition like:\r\n\r\n``` xml\r\n<targets\r\n      key=\"ci\"\r\n      property=\"targets\"\r\n      file=\"${repo.root}/project.yml\"\r\n      default=\"validate:all,ci:setup,tests:all\" />\r\n```\r\n\r\nIf `project.yml` doesn't contain the `key` specified, the targets listed in **default** will be used instead.\r\n\r\nThis PR only updates the `ci:build:validate:test` target.\r\n\r\n \r\n","created_at":"2016-09-22T06:37:34Z","updated_at":"2016-09-22T06:37:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42384c70b35a69bac85daaada292bce884ebd18a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/acquia/blt/pulls/439/commits","review_comments_url":"https://api.github.com/repos/acquia/blt/pulls/439/comments","review_comment_url":"https://api.github.com/repos/acquia/blt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/acquia/blt/issues/439/comments","statuses_url":"https://api.github.com/repos/acquia/blt/statuses/897bb1ff773d0dfc639ab40eb5a9d4de522b0530","head":{"label":"steveworley:feature/issue-290-allow-targets-in-project-yml","ref":"feature/issue-290-allow-targets-in-project-yml","sha":"897bb1ff773d0dfc639ab40eb5a9d4de522b0530","user":{"login":"steveworley","id":1840912,"avatar_url":"https://avatars.githubusercontent.com/u/1840912?v=3","gravatar_id":"","url":"https://api.github.com/users/steveworley","html_url":"https://github.com/steveworley","followers_url":"https://api.github.com/users/steveworley/followers","following_url":"https://api.github.com/users/steveworley/following{/other_user}","gists_url":"https://api.github.com/users/steveworley/gists{/gist_id}","starred_url":"https://api.github.com/users/steveworley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveworley/subscriptions","organizations_url":"https://api.github.com/users/steveworley/orgs","repos_url":"https://api.github.com/users/steveworley/repos","events_url":"https://api.github.com/users/steveworley/events{/privacy}","received_events_url":"https://api.github.com/users/steveworley/received_events","type":"User","site_admin":false},"repo":{"id":68762969,"name":"blt","full_name":"steveworley/blt","owner":{"login":"steveworley","id":1840912,"avatar_url":"https://avatars.githubusercontent.com/u/1840912?v=3","gravatar_id":"","url":"https://api.github.com/users/steveworley","html_url":"https://github.com/steveworley","followers_url":"https://api.github.com/users/steveworley/followers","following_url":"https://api.github.com/users/steveworley/following{/other_user}","gists_url":"https://api.github.com/users/steveworley/gists{/gist_id}","starred_url":"https://api.github.com/users/steveworley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveworley/subscriptions","organizations_url":"https://api.github.com/users/steveworley/orgs","repos_url":"https://api.github.com/users/steveworley/repos","events_url":"https://api.github.com/users/steveworley/events{/privacy}","received_events_url":"https://api.github.com/users/steveworley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steveworley/blt","description":"BLT is a tool that generates new Drupal projects using a standardized template derived from Acquia Professional Services' best practices.","fork":true,"url":"https://api.github.com/repos/steveworley/blt","forks_url":"https://api.github.com/repos/steveworley/blt/forks","keys_url":"https://api.github.com/repos/steveworley/blt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steveworley/blt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steveworley/blt/teams","hooks_url":"https://api.github.com/repos/steveworley/blt/hooks","issue_events_url":"https://api.github.com/repos/steveworley/blt/issues/events{/number}","events_url":"https://api.github.com/repos/steveworley/blt/events","assignees_url":"https://api.github.com/repos/steveworley/blt/assignees{/user}","branches_url":"https://api.github.com/repos/steveworley/blt/branches{/branch}","tags_url":"https://api.github.com/repos/steveworley/blt/tags","blobs_url":"https://api.github.com/repos/steveworley/blt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steveworley/blt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steveworley/blt/git/refs{/sha}","trees_url":"https://api.github.com/repos/steveworley/blt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steveworley/blt/statuses/{sha}","languages_url":"https://api.github.com/repos/steveworley/blt/languages","stargazers_url":"https://api.github.com/repos/steveworley/blt/stargazers","contributors_url":"https://api.github.com/repos/steveworley/blt/contributors","subscribers_url":"https://api.github.com/repos/steveworley/blt/subscribers","subscription_url":"https://api.github.com/repos/steveworley/blt/subscription","commits_url":"https://api.github.com/repos/steveworley/blt/commits{/sha}","git_commits_url":"https://api.github.com/repos/steveworley/blt/git/commits{/sha}","comments_url":"https://api.github.com/repos/steveworley/blt/comments{/number}","issue_comment_url":"https://api.github.com/repos/steveworley/blt/issues/comments{/number}","contents_url":"https://api.github.com/repos/steveworley/blt/contents/{+path}","compare_url":"https://api.github.com/repos/steveworley/blt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steveworley/blt/merges","archive_url":"https://api.github.com/repos/steveworley/blt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steveworley/blt/downloads","issues_url":"https://api.github.com/repos/steveworley/blt/issues{/number}","pulls_url":"https://api.github.com/repos/steveworley/blt/pulls{/number}","milestones_url":"https://api.github.com/repos/steveworley/blt/milestones{/number}","notifications_url":"https://api.github.com/repos/steveworley/blt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steveworley/blt/labels{/name}","releases_url":"https://api.github.com/repos/steveworley/blt/releases{/id}","deployments_url":"https://api.github.com/repos/steveworley/blt/deployments","created_at":"2016-09-21T00:02:35Z","updated_at":"2016-09-21T00:02:36Z","pushed_at":"2016-09-22T06:26:59Z","git_url":"git://github.com/steveworley/blt.git","ssh_url":"git@github.com:steveworley/blt.git","clone_url":"https://github.com/steveworley/blt.git","svn_url":"https://github.com/steveworley/blt","homepage":"","size":777,"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":"8.x"}},"base":{"label":"acquia:8.x","ref":"8.x","sha":"15878a444ff872fade164448ac7498ce8e75fb49","user":{"login":"acquia","id":514789,"avatar_url":"https://avatars.githubusercontent.com/u/514789?v=3","gravatar_id":"","url":"https://api.github.com/users/acquia","html_url":"https://github.com/acquia","followers_url":"https://api.github.com/users/acquia/followers","following_url":"https://api.github.com/users/acquia/following{/other_user}","gists_url":"https://api.github.com/users/acquia/gists{/gist_id}","starred_url":"https://api.github.com/users/acquia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquia/subscriptions","organizations_url":"https://api.github.com/users/acquia/orgs","repos_url":"https://api.github.com/users/acquia/repos","events_url":"https://api.github.com/users/acquia/events{/privacy}","received_events_url":"https://api.github.com/users/acquia/received_events","type":"Organization","site_admin":false},"repo":{"id":57239027,"name":"blt","full_name":"acquia/blt","owner":{"login":"acquia","id":514789,"avatar_url":"https://avatars.githubusercontent.com/u/514789?v=3","gravatar_id":"","url":"https://api.github.com/users/acquia","html_url":"https://github.com/acquia","followers_url":"https://api.github.com/users/acquia/followers","following_url":"https://api.github.com/users/acquia/following{/other_user}","gists_url":"https://api.github.com/users/acquia/gists{/gist_id}","starred_url":"https://api.github.com/users/acquia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquia/subscriptions","organizations_url":"https://api.github.com/users/acquia/orgs","repos_url":"https://api.github.com/users/acquia/repos","events_url":"https://api.github.com/users/acquia/events{/privacy}","received_events_url":"https://api.github.com/users/acquia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquia/blt","description":"BLT is a tool that generates new Drupal projects using a standardized template derived from Acquia Professional Services' best practices.","fork":false,"url":"https://api.github.com/repos/acquia/blt","forks_url":"https://api.github.com/repos/acquia/blt/forks","keys_url":"https://api.github.com/repos/acquia/blt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquia/blt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquia/blt/teams","hooks_url":"https://api.github.com/repos/acquia/blt/hooks","issue_events_url":"https://api.github.com/repos/acquia/blt/issues/events{/number}","events_url":"https://api.github.com/repos/acquia/blt/events","assignees_url":"https://api.github.com/repos/acquia/blt/assignees{/user}","branches_url":"https://api.github.com/repos/acquia/blt/branches{/branch}","tags_url":"https://api.github.com/repos/acquia/blt/tags","blobs_url":"https://api.github.com/repos/acquia/blt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquia/blt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquia/blt/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquia/blt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquia/blt/statuses/{sha}","languages_url":"https://api.github.com/repos/acquia/blt/languages","stargazers_url":"https://api.github.com/repos/acquia/blt/stargazers","contributors_url":"https://api.github.com/repos/acquia/blt/contributors","subscribers_url":"https://api.github.com/repos/acquia/blt/subscribers","subscription_url":"https://api.github.com/repos/acquia/blt/subscription","commits_url":"https://api.github.com/repos/acquia/blt/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquia/blt/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquia/blt/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquia/blt/issues/comments{/number}","contents_url":"https://api.github.com/repos/acquia/blt/contents/{+path}","compare_url":"https://api.github.com/repos/acquia/blt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquia/blt/merges","archive_url":"https://api.github.com/repos/acquia/blt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquia/blt/downloads","issues_url":"https://api.github.com/repos/acquia/blt/issues{/number}","pulls_url":"https://api.github.com/repos/acquia/blt/pulls{/number}","milestones_url":"https://api.github.com/repos/acquia/blt/milestones{/number}","notifications_url":"https://api.github.com/repos/acquia/blt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquia/blt/labels{/name}","releases_url":"https://api.github.com/repos/acquia/blt/releases{/id}","deployments_url":"https://api.github.com/repos/acquia/blt/deployments","created_at":"2016-04-27T19:04:48Z","updated_at":"2016-09-08T13:24:04Z","pushed_at":"2016-09-22T06:37:34Z","git_url":"git://github.com/acquia/blt.git","ssh_url":"git@github.com:acquia/blt.git","clone_url":"https://github.com/acquia/blt.git","svn_url":"https://github.com/acquia/blt","homepage":"","size":1771,"stargazers_count":96,"watchers_count":96,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":20,"forks":71,"open_issues":20,"watchers":96,"default_branch":"8.x"}},"_links":{"self":{"href":"https://api.github.com/repos/acquia/blt/pulls/439"},"html":{"href":"https://github.com/acquia/blt/pull/439"},"issue":{"href":"https://api.github.com/repos/acquia/blt/issues/439"},"comments":{"href":"https://api.github.com/repos/acquia/blt/issues/439/comments"},"review_comments":{"href":"https://api.github.com/repos/acquia/blt/pulls/439/comments"},"review_comment":{"href":"https://api.github.com/repos/acquia/blt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/acquia/blt/pulls/439/commits"},"statuses":{"href":"https://api.github.com/repos/acquia/blt/statuses/897bb1ff773d0dfc639ab40eb5a9d4de522b0530"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":260,"deletions":2,"changed_files":4}}
{"actor":{"display_login":"steveworley"}}