{"action":"created","comment":{"url":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/comments/79588323","id":79588323,"diff_hunk":"@@ -125,6 +125,69 @@ def printReportAlign(data):\n         for dependency in module['gavs']:\n             print \"    \" + getGAV(dependency)\n \n+def fancyProductItem(data, element):\n+    tablen = 4\n+    tmp = \"    \" + element + \" : \" + str(data['leftProduct'][element])\n+    sys.stdout.write(tmp) \n+    tmplen = len(tmp)\n+    \n+    for num in range (tmplen,40):\n+        sys.stdout.write(\" \")\n+    print \"    \" + element + \" : \" + str(data['leftProduct'][element])\n+\n+def printDifference(data):\n+    tablen = 4\n+\n+    sys.stdout.write(\"Left Product:\")\n+    for num in range (len(\"Left Product:\"),40):\n+        sys.stdout.write(\" \")\n+    print \"Right Product:\"\n+\n+    fancyProductItem(data,\"id\") \n+    fancyProductItem(data,\"name\")\n+    fancyProductItem(data,\"version\")\n+    fancyProductItem(data,\"supportStatus\")\n+    \n+\n+    if len(data['added']) == 0:\n+        print \"added : NONE\"\n+    else:\n+        print \"added :\"\n+        for module in data['added']:\n+            print \"    groupId : \" + module['groupId'] \n+            print \"    artifactId : \" + module['artifactId']\n+            print \"    version : \" + module['version']\n+","path":"cli-wrap/src/main/resources/cli/pretty.py","position":36,"original_position":36,"commit_id":"0845a458f73ad6e3c5a259b8ad37a2c48d2c6a6d","original_commit_id":"0845a458f73ad6e3c5a259b8ad37a2c48d2c6a6d","user":{"login":"janinko","id":644267,"avatar_url":"https://avatars.githubusercontent.com/u/644267?v=3","gravatar_id":"","url":"https://api.github.com/users/janinko","html_url":"https://github.com/janinko","followers_url":"https://api.github.com/users/janinko/followers","following_url":"https://api.github.com/users/janinko/following{/other_user}","gists_url":"https://api.github.com/users/janinko/gists{/gist_id}","starred_url":"https://api.github.com/users/janinko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janinko/subscriptions","organizations_url":"https://api.github.com/users/janinko/orgs","repos_url":"https://api.github.com/users/janinko/repos","events_url":"https://api.github.com/users/janinko/events{/privacy}","received_events_url":"https://api.github.com/users/janinko/received_events","type":"User","site_admin":false},"body":"Here isn't blankline separator?","created_at":"2016-09-20T11:23:51Z","updated_at":"2016-09-20T11:25:10Z","html_url":"https://github.com/project-ncl/dependency-analysis/pull/349#discussion_r79588323","pull_request_url":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/349","_links":{"self":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/comments/79588323"},"html":{"href":"https://github.com/project-ncl/dependency-analysis/pull/349#discussion_r79588323"},"pull_request":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/349"}}},"pull_request":{"url":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/349","id":85234701,"html_url":"https://github.com/project-ncl/dependency-analysis/pull/349","diff_url":"https://github.com/project-ncl/dependency-analysis/pull/349.diff","patch_url":"https://github.com/project-ncl/dependency-analysis/pull/349.patch","issue_url":"https://api.github.com/repos/project-ncl/dependency-analysis/issues/349","number":349,"state":"open","locked":false,"title":"[NCL-2211] Add new option to show difference of two products","user":{"login":"stanlyDoge","id":19408098,"avatar_url":"https://avatars.githubusercontent.com/u/19408098?v=3","gravatar_id":"","url":"https://api.github.com/users/stanlyDoge","html_url":"https://github.com/stanlyDoge","followers_url":"https://api.github.com/users/stanlyDoge/followers","following_url":"https://api.github.com/users/stanlyDoge/following{/other_user}","gists_url":"https://api.github.com/users/stanlyDoge/gists{/gist_id}","starred_url":"https://api.github.com/users/stanlyDoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanlyDoge/subscriptions","organizations_url":"https://api.github.com/users/stanlyDoge/orgs","repos_url":"https://api.github.com/users/stanlyDoge/repos","events_url":"https://api.github.com/users/stanlyDoge/events{/privacy}","received_events_url":"https://api.github.com/users/stanlyDoge/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-14T14:09:35Z","updated_at":"2016-09-20T11:25:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f00dda24ed7c9ce2acad52f7a56ea36bd3dd2715","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/349/commits","review_comments_url":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/349/comments","review_comment_url":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/project-ncl/dependency-analysis/issues/349/comments","statuses_url":"https://api.github.com/repos/project-ncl/dependency-analysis/statuses/0845a458f73ad6e3c5a259b8ad37a2c48d2c6a6d","head":{"label":"stanlyDoge:NCL2211","ref":"NCL2211","sha":"0845a458f73ad6e3c5a259b8ad37a2c48d2c6a6d","user":{"login":"stanlyDoge","id":19408098,"avatar_url":"https://avatars.githubusercontent.com/u/19408098?v=3","gravatar_id":"","url":"https://api.github.com/users/stanlyDoge","html_url":"https://github.com/stanlyDoge","followers_url":"https://api.github.com/users/stanlyDoge/followers","following_url":"https://api.github.com/users/stanlyDoge/following{/other_user}","gists_url":"https://api.github.com/users/stanlyDoge/gists{/gist_id}","starred_url":"https://api.github.com/users/stanlyDoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanlyDoge/subscriptions","organizations_url":"https://api.github.com/users/stanlyDoge/orgs","repos_url":"https://api.github.com/users/stanlyDoge/repos","events_url":"https://api.github.com/users/stanlyDoge/events{/privacy}","received_events_url":"https://api.github.com/users/stanlyDoge/received_events","type":"User","site_admin":false},"repo":{"id":59018943,"name":"dependency-analysis","full_name":"stanlyDoge/dependency-analysis","owner":{"login":"stanlyDoge","id":19408098,"avatar_url":"https://avatars.githubusercontent.com/u/19408098?v=3","gravatar_id":"","url":"https://api.github.com/users/stanlyDoge","html_url":"https://github.com/stanlyDoge","followers_url":"https://api.github.com/users/stanlyDoge/followers","following_url":"https://api.github.com/users/stanlyDoge/following{/other_user}","gists_url":"https://api.github.com/users/stanlyDoge/gists{/gist_id}","starred_url":"https://api.github.com/users/stanlyDoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanlyDoge/subscriptions","organizations_url":"https://api.github.com/users/stanlyDoge/orgs","repos_url":"https://api.github.com/users/stanlyDoge/repos","events_url":"https://api.github.com/users/stanlyDoge/events{/privacy}","received_events_url":"https://api.github.com/users/stanlyDoge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stanlyDoge/dependency-analysis","description":"","fork":true,"url":"https://api.github.com/repos/stanlyDoge/dependency-analysis","forks_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/forks","keys_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/teams","hooks_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/hooks","issue_events_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/issues/events{/number}","events_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/events","assignees_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/assignees{/user}","branches_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/branches{/branch}","tags_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/tags","blobs_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/git/refs{/sha}","trees_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/statuses/{sha}","languages_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/languages","stargazers_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/stargazers","contributors_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/contributors","subscribers_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/subscribers","subscription_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/subscription","commits_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/commits{/sha}","git_commits_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/git/commits{/sha}","comments_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/comments{/number}","issue_comment_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/issues/comments{/number}","contents_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/contents/{+path}","compare_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/merges","archive_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/downloads","issues_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/issues{/number}","pulls_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/pulls{/number}","milestones_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/milestones{/number}","notifications_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/labels{/name}","releases_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/releases{/id}","deployments_url":"https://api.github.com/repos/stanlyDoge/dependency-analysis/deployments","created_at":"2016-05-17T12:07:23Z","updated_at":"2016-05-17T12:07:26Z","pushed_at":"2016-09-20T07:42:30Z","git_url":"git://github.com/stanlyDoge/dependency-analysis.git","ssh_url":"git@github.com:stanlyDoge/dependency-analysis.git","clone_url":"https://github.com/stanlyDoge/dependency-analysis.git","svn_url":"https://github.com/stanlyDoge/dependency-analysis","homepage":null,"size":2587,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"project-ncl:master","ref":"master","sha":"48932e6698facdb6a892fdd4261a4ea9e689e5f0","user":{"login":"project-ncl","id":9921139,"avatar_url":"https://avatars.githubusercontent.com/u/9921139?v=3","gravatar_id":"","url":"https://api.github.com/users/project-ncl","html_url":"https://github.com/project-ncl","followers_url":"https://api.github.com/users/project-ncl/followers","following_url":"https://api.github.com/users/project-ncl/following{/other_user}","gists_url":"https://api.github.com/users/project-ncl/gists{/gist_id}","starred_url":"https://api.github.com/users/project-ncl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-ncl/subscriptions","organizations_url":"https://api.github.com/users/project-ncl/orgs","repos_url":"https://api.github.com/users/project-ncl/repos","events_url":"https://api.github.com/users/project-ncl/events{/privacy}","received_events_url":"https://api.github.com/users/project-ncl/received_events","type":"Organization","site_admin":false},"repo":{"id":37196945,"name":"dependency-analysis","full_name":"project-ncl/dependency-analysis","owner":{"login":"project-ncl","id":9921139,"avatar_url":"https://avatars.githubusercontent.com/u/9921139?v=3","gravatar_id":"","url":"https://api.github.com/users/project-ncl","html_url":"https://github.com/project-ncl","followers_url":"https://api.github.com/users/project-ncl/followers","following_url":"https://api.github.com/users/project-ncl/following{/other_user}","gists_url":"https://api.github.com/users/project-ncl/gists{/gist_id}","starred_url":"https://api.github.com/users/project-ncl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-ncl/subscriptions","organizations_url":"https://api.github.com/users/project-ncl/orgs","repos_url":"https://api.github.com/users/project-ncl/repos","events_url":"https://api.github.com/users/project-ncl/events{/privacy}","received_events_url":"https://api.github.com/users/project-ncl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/project-ncl/dependency-analysis","description":"","fork":false,"url":"https://api.github.com/repos/project-ncl/dependency-analysis","forks_url":"https://api.github.com/repos/project-ncl/dependency-analysis/forks","keys_url":"https://api.github.com/repos/project-ncl/dependency-analysis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/project-ncl/dependency-analysis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/project-ncl/dependency-analysis/teams","hooks_url":"https://api.github.com/repos/project-ncl/dependency-analysis/hooks","issue_events_url":"https://api.github.com/repos/project-ncl/dependency-analysis/issues/events{/number}","events_url":"https://api.github.com/repos/project-ncl/dependency-analysis/events","assignees_url":"https://api.github.com/repos/project-ncl/dependency-analysis/assignees{/user}","branches_url":"https://api.github.com/repos/project-ncl/dependency-analysis/branches{/branch}","tags_url":"https://api.github.com/repos/project-ncl/dependency-analysis/tags","blobs_url":"https://api.github.com/repos/project-ncl/dependency-analysis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/project-ncl/dependency-analysis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/project-ncl/dependency-analysis/git/refs{/sha}","trees_url":"https://api.github.com/repos/project-ncl/dependency-analysis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/project-ncl/dependency-analysis/statuses/{sha}","languages_url":"https://api.github.com/repos/project-ncl/dependency-analysis/languages","stargazers_url":"https://api.github.com/repos/project-ncl/dependency-analysis/stargazers","contributors_url":"https://api.github.com/repos/project-ncl/dependency-analysis/contributors","subscribers_url":"https://api.github.com/repos/project-ncl/dependency-analysis/subscribers","subscription_url":"https://api.github.com/repos/project-ncl/dependency-analysis/subscription","commits_url":"https://api.github.com/repos/project-ncl/dependency-analysis/commits{/sha}","git_commits_url":"https://api.github.com/repos/project-ncl/dependency-analysis/git/commits{/sha}","comments_url":"https://api.github.com/repos/project-ncl/dependency-analysis/comments{/number}","issue_comment_url":"https://api.github.com/repos/project-ncl/dependency-analysis/issues/comments{/number}","contents_url":"https://api.github.com/repos/project-ncl/dependency-analysis/contents/{+path}","compare_url":"https://api.github.com/repos/project-ncl/dependency-analysis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/project-ncl/dependency-analysis/merges","archive_url":"https://api.github.com/repos/project-ncl/dependency-analysis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/project-ncl/dependency-analysis/downloads","issues_url":"https://api.github.com/repos/project-ncl/dependency-analysis/issues{/number}","pulls_url":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls{/number}","milestones_url":"https://api.github.com/repos/project-ncl/dependency-analysis/milestones{/number}","notifications_url":"https://api.github.com/repos/project-ncl/dependency-analysis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/project-ncl/dependency-analysis/labels{/name}","releases_url":"https://api.github.com/repos/project-ncl/dependency-analysis/releases{/id}","deployments_url":"https://api.github.com/repos/project-ncl/dependency-analysis/deployments","created_at":"2015-06-10T12:52:57Z","updated_at":"2016-09-12T20:25:54Z","pushed_at":"2016-09-20T07:42:29Z","git_url":"git://github.com/project-ncl/dependency-analysis.git","ssh_url":"git@github.com:project-ncl/dependency-analysis.git","clone_url":"https://github.com/project-ncl/dependency-analysis.git","svn_url":"https://github.com/project-ncl/dependency-analysis","homepage":null,"size":2691,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":6,"forks":15,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/349"},"html":{"href":"https://github.com/project-ncl/dependency-analysis/pull/349"},"issue":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/issues/349"},"comments":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/issues/349/comments"},"review_comments":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/349/comments"},"review_comment":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/pulls/349/commits"},"statuses":{"href":"https://api.github.com/repos/project-ncl/dependency-analysis/statuses/0845a458f73ad6e3c5a259b8ad37a2c48d2c6a6d"}}}}
{"actor":{"display_login":"janinko"}}