GitHub PullRequestEvent at 2014-01-28 19:07:57
Repository: istanbul
Actor: bixdeng
Payload: {"action":"opened","number":145,"pull_request":{"url":"https://api.github.com/repos/gotwarlost/istanbul/pulls/145","id":11960277,"html_url":"https://github.com/gotwarlost/istanbul/pull/145","diff_url":"https://github.com/gotwarlost/istanbul/pull/145.diff","patch_url":"https://github.com/gotwarlost/istanbul/pull/145.patch","issue_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/145","number":145,"state":"open","title":"Istanbul Clover report output","user":{"login":"bixdeng","id":1712154,"avatar_url":"https://gravatar.com/avatar/fa5af4d6c199c7f6084906f5103f19bb?d=https%3A%2F%2Fidenticons.github.com%2F8321f0f6caf1013222d63ee1c559fc97.png&r=x","gravatar_id":"fa5af4d6c199c7f6084906f5103f19bb","url":"https://api.github.com/users/bixdeng","html_url":"https://github.com/bixdeng","followers_url":"https://api.github.com/users/bixdeng/followers","following_url":"https://api.github.com/users/bixdeng/following{/other_user}","gists_url":"https://api.github.com/users/bixdeng/gists{/gist_id}","starred_url":"https://api.github.com/users/bixdeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bixdeng/subscriptions","organizations_url":"https://api.github.com/users/bixdeng/orgs","repos_url":"https://api.github.com/users/bixdeng/repos","events_url":"https://api.github.com/users/bixdeng/events{/privacy}","received_events_url":"https://api.github.com/users/bixdeng/received_events","type":"User","site_admin":false},"body":"For this pull request, we have implemented a Clover reporter that is compatible with Atlassian Bamboo Continuous Integration server. Bamboo CI only accepts NCover or Clover format metrics, and this posed as an issue in our workflow. Others have also encountered the same issue documented here:\r\n\r\nhttps://groups.google.com/forum/#!topic/karma-users/yww1YRdMi_s\r\n\r\nI used a sample clover.xml output file as reference and implemented the clover.js file, which is a cloned and modified version of the cobertura.js file. The output format is tailored for Bamboo to capture all the necessary metrics for proper code coverage integration. It has solved an issue in our workflow and I believe this will be beneficial to anyone else who uses Karma and Bamboo CI.\r\n\r\nI did not get a chance to create unit tests for our changes, as I ran into trouble running ‘npm test’ in the root directory and did not succeed. For now I just want to share this implementation to the public, but I would be glad to cooperate to get that done.","created_at":"2014-01-28T19:07:57Z","updated_at":"2014-01-28T19:07:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gotwarlost/istanbul/pulls/145/commits","review_comments_url":"https://api.github.com/repos/gotwarlost/istanbul/pulls/145/comments","review_comment_url":"/repos/gotwarlost/istanbul/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/145/comments","statuses_url":"https://api.github.com/repos/gotwarlost/istanbul/statuses/43da4c569da4b657ac464b1010535684ed2bb2ca","head":{"label":"seeq12:clover-report","ref":"clover-report","sha":"43da4c569da4b657ac464b1010535684ed2bb2ca","user":{"login":"seeq12","id":6518495,"avatar_url":"https://identicons.github.com/86b00709db75db60e480390f02297583.png","gravatar_id":null,"url":"https://api.github.com/users/seeq12","html_url":"https://github.com/seeq12","followers_url":"https://api.github.com/users/seeq12/followers","following_url":"https://api.github.com/users/seeq12/following{/other_user}","gists_url":"https://api.github.com/users/seeq12/gists{/gist_id}","starred_url":"https://api.github.com/users/seeq12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seeq12/subscriptions","organizations_url":"https://api.github.com/users/seeq12/orgs","repos_url":"https://api.github.com/users/seeq12/repos","events_url":"https://api.github.com/users/seeq12/events{/privacy}","received_events_url":"https://api.github.com/users/seeq12/received_events","type":"Organization","site_admin":false},"repo":{"id":16292614,"name":"istanbul","full_name":"seeq12/istanbul","owner":{"login":"seeq12","id":6518495,"avatar_url":"https://identicons.github.com/86b00709db75db60e480390f02297583.png","gravatar_id":null,"url":"https://api.github.com/users/seeq12","html_url":"https://github.com/seeq12","followers_url":"https://api.github.com/users/seeq12/followers","following_url":"https://api.github.com/users/seeq12/following{/other_user}","gists_url":"https://api.github.com/users/seeq12/gists{/gist_id}","starred_url":"https://api.github.com/users/seeq12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seeq12/subscriptions","organizations_url":"https://api.github.com/users/seeq12/orgs","repos_url":"https://api.github.com/users/seeq12/repos","events_url":"https://api.github.com/users/seeq12/events{/privacy}","received_events_url":"https://api.github.com/users/seeq12/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seeq12/istanbul","description":"Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.","fork":true,"url":"https://api.github.com/repos/seeq12/istanbul","forks_url":"https://api.github.com/repos/seeq12/istanbul/forks","keys_url":"https://api.github.com/repos/seeq12/istanbul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seeq12/istanbul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seeq12/istanbul/teams","hooks_url":"https://api.github.com/repos/seeq12/istanbul/hooks","issue_events_url":"https://api.github.com/repos/seeq12/istanbul/issues/events{/number}","events_url":"https://api.github.com/repos/seeq12/istanbul/events","assignees_url":"https://api.github.com/repos/seeq12/istanbul/assignees{/user}","branches_url":"https://api.github.com/repos/seeq12/istanbul/branches{/branch}","tags_url":"https://api.github.com/repos/seeq12/istanbul/tags","blobs_url":"https://api.github.com/repos/seeq12/istanbul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seeq12/istanbul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seeq12/istanbul/git/refs{/sha}","trees_url":"https://api.github.com/repos/seeq12/istanbul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seeq12/istanbul/statuses/{sha}","languages_url":"https://api.github.com/repos/seeq12/istanbul/languages","stargazers_url":"https://api.github.com/repos/seeq12/istanbul/stargazers","contributors_url":"https://api.github.com/repos/seeq12/istanbul/contributors","subscribers_url":"https://api.github.com/repos/seeq12/istanbul/subscribers","subscription_url":"https://api.github.com/repos/seeq12/istanbul/subscription","commits_url":"https://api.github.com/repos/seeq12/istanbul/commits{/sha}","git_commits_url":"https://api.github.com/repos/seeq12/istanbul/git/commits{/sha}","comments_url":"https://api.github.com/repos/seeq12/istanbul/comments{/number}","issue_comment_url":"https://api.github.com/repos/seeq12/istanbul/issues/comments/{number}","contents_url":"https://api.github.com/repos/seeq12/istanbul/contents/{+path}","compare_url":"https://api.github.com/repos/seeq12/istanbul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seeq12/istanbul/merges","archive_url":"https://api.github.com/repos/seeq12/istanbul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seeq12/istanbul/downloads","issues_url":"https://api.github.com/repos/seeq12/istanbul/issues{/number}","pulls_url":"https://api.github.com/repos/seeq12/istanbul/pulls{/number}","milestones_url":"https://api.github.com/repos/seeq12/istanbul/milestones{/number}","notifications_url":"https://api.github.com/repos/seeq12/istanbul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seeq12/istanbul/labels{/name}","releases_url":"https://api.github.com/repos/seeq12/istanbul/releases{/id}","created_at":"2014-01-27T21:02:24Z","updated_at":"2014-01-28T19:07:57Z","pushed_at":"2014-01-28T00:42:21Z","git_url":"git://github.com/seeq12/istanbul.git","ssh_url":"git@github.com:seeq12/istanbul.git","clone_url":"https://github.com/seeq12/istanbul.git","svn_url":"https://github.com/seeq12/istanbul","homepage":null,"size":2748,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"gotwarlost:master","ref":"master","sha":"9d89dd46cb2c43e3d460f4f252eeed58bbed70b2","user":{"login":"gotwarlost","id":1056819,"avatar_url":"https://gravatar.com/avatar/ea7edc32b93708197fa49de746d18a3e?d=https%3A%2F%2Fidenticons.github.com%2F9483dc9c38f598eb0331deb187211089.png&r=x","gravatar_id":"ea7edc32b93708197fa49de746d18a3e","url":"https://api.github.com/users/gotwarlost","html_url":"https://github.com/gotwarlost","followers_url":"https://api.github.com/users/gotwarlost/followers","following_url":"https://api.github.com/users/gotwarlost/following{/other_user}","gists_url":"https://api.github.com/users/gotwarlost/gists{/gist_id}","starred_url":"https://api.github.com/users/gotwarlost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gotwarlost/subscriptions","organizations_url":"https://api.github.com/users/gotwarlost/orgs","repos_url":"https://api.github.com/users/gotwarlost/repos","events_url":"https://api.github.com/users/gotwarlost/events{/privacy}","received_events_url":"https://api.github.com/users/gotwarlost/received_events","type":"User","site_admin":false},"repo":{"id":5775917,"name":"istanbul","full_name":"gotwarlost/istanbul","owner":{"login":"gotwarlost","id":1056819,"avatar_url":"https://gravatar.com/avatar/ea7edc32b93708197fa49de746d18a3e?d=https%3A%2F%2Fidenticons.github.com%2F9483dc9c38f598eb0331deb187211089.png&r=x","gravatar_id":"ea7edc32b93708197fa49de746d18a3e","url":"https://api.github.com/users/gotwarlost","html_url":"https://github.com/gotwarlost","followers_url":"https://api.github.com/users/gotwarlost/followers","following_url":"https://api.github.com/users/gotwarlost/following{/other_user}","gists_url":"https://api.github.com/users/gotwarlost/gists{/gist_id}","starred_url":"https://api.github.com/users/gotwarlost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gotwarlost/subscriptions","organizations_url":"https://api.github.com/users/gotwarlost/orgs","repos_url":"https://api.github.com/users/gotwarlost/repos","events_url":"https://api.github.com/users/gotwarlost/events{/privacy}","received_events_url":"https://api.github.com/users/gotwarlost/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gotwarlost/istanbul","description":"Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.","fork":false,"url":"https://api.github.com/repos/gotwarlost/istanbul","forks_url":"https://api.github.com/repos/gotwarlost/istanbul/forks","keys_url":"https://api.github.com/repos/gotwarlost/istanbul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gotwarlost/istanbul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gotwarlost/istanbul/teams","hooks_url":"https://api.github.com/repos/gotwarlost/istanbul/hooks","issue_events_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/events{/number}","events_url":"https://api.github.com/repos/gotwarlost/istanbul/events","assignees_url":"https://api.github.com/repos/gotwarlost/istanbul/assignees{/user}","branches_url":"https://api.github.com/repos/gotwarlost/istanbul/branches{/branch}","tags_url":"https://api.github.com/repos/gotwarlost/istanbul/tags","blobs_url":"https://api.github.com/repos/gotwarlost/istanbul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gotwarlost/istanbul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gotwarlost/istanbul/git/refs{/sha}","trees_url":"https://api.github.com/repos/gotwarlost/istanbul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gotwarlost/istanbul/statuses/{sha}","languages_url":"https://api.github.com/repos/gotwarlost/istanbul/languages","stargazers_url":"https://api.github.com/repos/gotwarlost/istanbul/stargazers","contributors_url":"https://api.github.com/repos/gotwarlost/istanbul/contributors","subscribers_url":"https://api.github.com/repos/gotwarlost/istanbul/subscribers","subscription_url":"https://api.github.com/repos/gotwarlost/istanbul/subscription","commits_url":"https://api.github.com/repos/gotwarlost/istanbul/commits{/sha}","git_commits_url":"https://api.github.com/repos/gotwarlost/istanbul/git/commits{/sha}","comments_url":"https://api.github.com/repos/gotwarlost/istanbul/comments{/number}","issue_comment_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/comments/{number}","contents_url":"https://api.github.com/repos/gotwarlost/istanbul/contents/{+path}","compare_url":"https://api.github.com/repos/gotwarlost/istanbul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gotwarlost/istanbul/merges","archive_url":"https://api.github.com/repos/gotwarlost/istanbul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gotwarlost/istanbul/downloads","issues_url":"https://api.github.com/repos/gotwarlost/istanbul/issues{/number}","pulls_url":"https://api.github.com/repos/gotwarlost/istanbul/pulls{/number}","milestones_url":"https://api.github.com/repos/gotwarlost/istanbul/milestones{/number}","notifications_url":"https://api.github.com/repos/gotwarlost/istanbul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gotwarlost/istanbul/labels{/name}","releases_url":"https://api.github.com/repos/gotwarlost/istanbul/releases{/id}","created_at":"2012-09-12T06:36:32Z","updated_at":"2014-01-21T06:26:08Z","pushed_at":"2014-01-21T06:26:08Z","git_url":"git://github.com/gotwarlost/istanbul.git","ssh_url":"git@github.com:gotwarlost/istanbul.git","clone_url":"https://github.com/gotwarlost/istanbul.git","svn_url":"https://github.com/gotwarlost/istanbul","homepage":null,"size":2748,"stargazers_count":944,"watchers_count":944,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":75,"mirror_url":null,"open_issues_count":30,"forks":75,"open_issues":30,"watchers":944,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gotwarlost/istanbul/pulls/145"},"html":{"href":"https://github.com/gotwarlost/istanbul/pull/145"},"issue":{"href":"https://api.github.com/repos/gotwarlost/istanbul/issues/145"},"comments":{"href":"https://api.github.com/repos/gotwarlost/istanbul/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/gotwarlost/istanbul/pulls/145/comments"},"commits":{"href":"https://api.github.com/repos/gotwarlost/istanbul/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/gotwarlost/istanbul/statuses/43da4c569da4b657ac464b1010535684ed2bb2ca"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":198,"deletions":0,"changed_files":1}}