{"action":"opened","number":170,"pull_request":{"url":"https://api.github.com/repos/FMCorz/mdk/pulls/170","id":186596898,"html_url":"https://github.com/FMCorz/mdk/pull/170","diff_url":"https://github.com/FMCorz/mdk/pull/170.diff","patch_url":"https://github.com/FMCorz/mdk/pull/170.patch","issue_url":"https://api.github.com/repos/FMCorz/mdk/issues/170","number":170,"state":"open","locked":false,"title":"Automatically build distributed phpunit.xml files for each component","user":{"login":"mudrd8mz","id":85831,"avatar_url":"https://avatars3.githubusercontent.com/u/85831?v=4","gravatar_id":"","url":"https://api.github.com/users/mudrd8mz","html_url":"https://github.com/mudrd8mz","followers_url":"https://api.github.com/users/mudrd8mz/followers","following_url":"https://api.github.com/users/mudrd8mz/following{/other_user}","gists_url":"https://api.github.com/users/mudrd8mz/gists{/gist_id}","starred_url":"https://api.github.com/users/mudrd8mz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudrd8mz/subscriptions","organizations_url":"https://api.github.com/users/mudrd8mz/orgs","repos_url":"https://api.github.com/users/mudrd8mz/repos","events_url":"https://api.github.com/users/mudrd8mz/events{/privacy}","received_events_url":"https://api.github.com/users/mudrd8mz/received_events","type":"User","site_admin":false},"body":"I often make use of the buildcomponentconfigs feature allowing me to run all unit tests for the given component, such as\r\n\r\n    vendor/bin/phpunit -c mod/workshop/\r\n\r\nTo be able to do so, I have to manually run `admin/tool/phpunit/cli/util.php --buildcomponentconfigs` every time. It makes sense to let mdk do it automatically.\r\n\r\nAdding this feature was already discussed with @FMCorz at https://moodle.org/local/chatlogs/index.php?conversationid=19150#c605808 who has alternate way to achieve the same. However, I fail to remember that one. Also, there are cases when I simply run the phpunit manually without mdk.\r\n\r\nSo I still think it is worth considering to add this as an option, enabled by default as it does not hurt.\r\n\r\nFurther references: https://moodle.org/local/chatlogs/index.php?q=buildcomponentconfigs","created_at":"2018-05-08T10:54:31Z","updated_at":"2018-05-08T10:54:31Z","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/FMCorz/mdk/pulls/170/commits","review_comments_url":"https://api.github.com/repos/FMCorz/mdk/pulls/170/comments","review_comment_url":"https://api.github.com/repos/FMCorz/mdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FMCorz/mdk/issues/170/comments","statuses_url":"https://api.github.com/repos/FMCorz/mdk/statuses/431f66ccbb2ebdb77db2f0a9e0505873c2b4fb1a","head":{"label":"mudrd8mz:buildcomponentconfigs","ref":"buildcomponentconfigs","sha":"431f66ccbb2ebdb77db2f0a9e0505873c2b4fb1a","user":{"login":"mudrd8mz","id":85831,"avatar_url":"https://avatars3.githubusercontent.com/u/85831?v=4","gravatar_id":"","url":"https://api.github.com/users/mudrd8mz","html_url":"https://github.com/mudrd8mz","followers_url":"https://api.github.com/users/mudrd8mz/followers","following_url":"https://api.github.com/users/mudrd8mz/following{/other_user}","gists_url":"https://api.github.com/users/mudrd8mz/gists{/gist_id}","starred_url":"https://api.github.com/users/mudrd8mz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudrd8mz/subscriptions","organizations_url":"https://api.github.com/users/mudrd8mz/orgs","repos_url":"https://api.github.com/users/mudrd8mz/repos","events_url":"https://api.github.com/users/mudrd8mz/events{/privacy}","received_events_url":"https://api.github.com/users/mudrd8mz/received_events","type":"User","site_admin":false},"repo":{"id":9834270,"name":"mdk","full_name":"mudrd8mz/mdk","owner":{"login":"mudrd8mz","id":85831,"avatar_url":"https://avatars3.githubusercontent.com/u/85831?v=4","gravatar_id":"","url":"https://api.github.com/users/mudrd8mz","html_url":"https://github.com/mudrd8mz","followers_url":"https://api.github.com/users/mudrd8mz/followers","following_url":"https://api.github.com/users/mudrd8mz/following{/other_user}","gists_url":"https://api.github.com/users/mudrd8mz/gists{/gist_id}","starred_url":"https://api.github.com/users/mudrd8mz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudrd8mz/subscriptions","organizations_url":"https://api.github.com/users/mudrd8mz/orgs","repos_url":"https://api.github.com/users/mudrd8mz/repos","events_url":"https://api.github.com/users/mudrd8mz/events{/privacy}","received_events_url":"https://api.github.com/users/mudrd8mz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mudrd8mz/mdk","description":"Moodle Development Kit. A collection of tools meant to make developers' lives easier.","fork":true,"url":"https://api.github.com/repos/mudrd8mz/mdk","forks_url":"https://api.github.com/repos/mudrd8mz/mdk/forks","keys_url":"https://api.github.com/repos/mudrd8mz/mdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mudrd8mz/mdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mudrd8mz/mdk/teams","hooks_url":"https://api.github.com/repos/mudrd8mz/mdk/hooks","issue_events_url":"https://api.github.com/repos/mudrd8mz/mdk/issues/events{/number}","events_url":"https://api.github.com/repos/mudrd8mz/mdk/events","assignees_url":"https://api.github.com/repos/mudrd8mz/mdk/assignees{/user}","branches_url":"https://api.github.com/repos/mudrd8mz/mdk/branches{/branch}","tags_url":"https://api.github.com/repos/mudrd8mz/mdk/tags","blobs_url":"https://api.github.com/repos/mudrd8mz/mdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mudrd8mz/mdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mudrd8mz/mdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/mudrd8mz/mdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mudrd8mz/mdk/statuses/{sha}","languages_url":"https://api.github.com/repos/mudrd8mz/mdk/languages","stargazers_url":"https://api.github.com/repos/mudrd8mz/mdk/stargazers","contributors_url":"https://api.github.com/repos/mudrd8mz/mdk/contributors","subscribers_url":"https://api.github.com/repos/mudrd8mz/mdk/subscribers","subscription_url":"https://api.github.com/repos/mudrd8mz/mdk/subscription","commits_url":"https://api.github.com/repos/mudrd8mz/mdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/mudrd8mz/mdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/mudrd8mz/mdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/mudrd8mz/mdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/mudrd8mz/mdk/contents/{+path}","compare_url":"https://api.github.com/repos/mudrd8mz/mdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mudrd8mz/mdk/merges","archive_url":"https://api.github.com/repos/mudrd8mz/mdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mudrd8mz/mdk/downloads","issues_url":"https://api.github.com/repos/mudrd8mz/mdk/issues{/number}","pulls_url":"https://api.github.com/repos/mudrd8mz/mdk/pulls{/number}","milestones_url":"https://api.github.com/repos/mudrd8mz/mdk/milestones{/number}","notifications_url":"https://api.github.com/repos/mudrd8mz/mdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mudrd8mz/mdk/labels{/name}","releases_url":"https://api.github.com/repos/mudrd8mz/mdk/releases{/id}","deployments_url":"https://api.github.com/repos/mudrd8mz/mdk/deployments","created_at":"2013-05-03T10:56:48Z","updated_at":"2018-05-08T09:33:52Z","pushed_at":"2018-05-08T10:12:11Z","git_url":"git://github.com/mudrd8mz/mdk.git","ssh_url":"git@github.com:mudrd8mz/mdk.git","clone_url":"https://github.com/mudrd8mz/mdk.git","svn_url":"https://github.com/mudrd8mz/mdk","homepage":null,"size":1102,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FMCorz:master","ref":"master","sha":"1d81fb3031325274d6d2976c105ca5f8779bb792","user":{"login":"FMCorz","id":240112,"avatar_url":"https://avatars3.githubusercontent.com/u/240112?v=4","gravatar_id":"","url":"https://api.github.com/users/FMCorz","html_url":"https://github.com/FMCorz","followers_url":"https://api.github.com/users/FMCorz/followers","following_url":"https://api.github.com/users/FMCorz/following{/other_user}","gists_url":"https://api.github.com/users/FMCorz/gists{/gist_id}","starred_url":"https://api.github.com/users/FMCorz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FMCorz/subscriptions","organizations_url":"https://api.github.com/users/FMCorz/orgs","repos_url":"https://api.github.com/users/FMCorz/repos","events_url":"https://api.github.com/users/FMCorz/events{/privacy}","received_events_url":"https://api.github.com/users/FMCorz/received_events","type":"User","site_admin":false},"repo":{"id":5367290,"name":"mdk","full_name":"FMCorz/mdk","owner":{"login":"FMCorz","id":240112,"avatar_url":"https://avatars3.githubusercontent.com/u/240112?v=4","gravatar_id":"","url":"https://api.github.com/users/FMCorz","html_url":"https://github.com/FMCorz","followers_url":"https://api.github.com/users/FMCorz/followers","following_url":"https://api.github.com/users/FMCorz/following{/other_user}","gists_url":"https://api.github.com/users/FMCorz/gists{/gist_id}","starred_url":"https://api.github.com/users/FMCorz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FMCorz/subscriptions","organizations_url":"https://api.github.com/users/FMCorz/orgs","repos_url":"https://api.github.com/users/FMCorz/repos","events_url":"https://api.github.com/users/FMCorz/events{/privacy}","received_events_url":"https://api.github.com/users/FMCorz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FMCorz/mdk","description":"Moodle Development Kit. A collection of tools meant to make developers' lives easier.","fork":false,"url":"https://api.github.com/repos/FMCorz/mdk","forks_url":"https://api.github.com/repos/FMCorz/mdk/forks","keys_url":"https://api.github.com/repos/FMCorz/mdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FMCorz/mdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FMCorz/mdk/teams","hooks_url":"https://api.github.com/repos/FMCorz/mdk/hooks","issue_events_url":"https://api.github.com/repos/FMCorz/mdk/issues/events{/number}","events_url":"https://api.github.com/repos/FMCorz/mdk/events","assignees_url":"https://api.github.com/repos/FMCorz/mdk/assignees{/user}","branches_url":"https://api.github.com/repos/FMCorz/mdk/branches{/branch}","tags_url":"https://api.github.com/repos/FMCorz/mdk/tags","blobs_url":"https://api.github.com/repos/FMCorz/mdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FMCorz/mdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FMCorz/mdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/FMCorz/mdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FMCorz/mdk/statuses/{sha}","languages_url":"https://api.github.com/repos/FMCorz/mdk/languages","stargazers_url":"https://api.github.com/repos/FMCorz/mdk/stargazers","contributors_url":"https://api.github.com/repos/FMCorz/mdk/contributors","subscribers_url":"https://api.github.com/repos/FMCorz/mdk/subscribers","subscription_url":"https://api.github.com/repos/FMCorz/mdk/subscription","commits_url":"https://api.github.com/repos/FMCorz/mdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/FMCorz/mdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/FMCorz/mdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/FMCorz/mdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/FMCorz/mdk/contents/{+path}","compare_url":"https://api.github.com/repos/FMCorz/mdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FMCorz/mdk/merges","archive_url":"https://api.github.com/repos/FMCorz/mdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FMCorz/mdk/downloads","issues_url":"https://api.github.com/repos/FMCorz/mdk/issues{/number}","pulls_url":"https://api.github.com/repos/FMCorz/mdk/pulls{/number}","milestones_url":"https://api.github.com/repos/FMCorz/mdk/milestones{/number}","notifications_url":"https://api.github.com/repos/FMCorz/mdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FMCorz/mdk/labels{/name}","releases_url":"https://api.github.com/repos/FMCorz/mdk/releases{/id}","deployments_url":"https://api.github.com/repos/FMCorz/mdk/deployments","created_at":"2012-08-10T09:23:53Z","updated_at":"2018-04-13T12:03:11Z","pushed_at":"2018-04-13T12:03:08Z","git_url":"git://github.com/FMCorz/mdk.git","ssh_url":"git@github.com:FMCorz/mdk.git","clone_url":"https://github.com/FMCorz/mdk.git","svn_url":"https://github.com/FMCorz/mdk","homepage":null,"size":1098,"stargazers_count":47,"watchers_count":47,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":34,"open_issues":41,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FMCorz/mdk/pulls/170"},"html":{"href":"https://github.com/FMCorz/mdk/pull/170"},"issue":{"href":"https://api.github.com/repos/FMCorz/mdk/issues/170"},"comments":{"href":"https://api.github.com/repos/FMCorz/mdk/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/FMCorz/mdk/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/FMCorz/mdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FMCorz/mdk/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/FMCorz/mdk/statuses/431f66ccbb2ebdb77db2f0a9e0505873c2b4fb1a"}},"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":18,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"mudrd8mz"}}