{"action":"created","comment":{"url":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/comments/151390581","pull_request_review_id":77079995,"id":151390581,"diff_hunk":"@@ -161,4 +166,19 @@ public int hashCode() {\n         result = 31 * result + version.hashCode();\n         return result;\n     }\n+\n+    public String toGav() {\n+        return String.format(\"%s:%s:%s\", groupId, artifactId, version);\n+    }\n+\n+    private String toCommunityGav() {\n+        String gav = toGav();\n+        return gav.contains(\"redhat\") ?\n+                gav.replaceFirst(\".redhat.*$\", \"\")\n+                : gav;\n+    }\n+\n+    public boolean equalsIgnoringSuffix(DependencyElement dependencyElement) {","path":"src/main/java/org/jboss/snowdrop/licenses/xml/DependencyElement.java","position":52,"original_position":52,"commit_id":"a9580c691ec6e5b5c1d2bd05ea2ebe7fb82357e2","original_commit_id":"a9580c691ec6e5b5c1d2bd05ea2ebe7fb82357e2","user":{"login":"gytis","id":196395,"avatar_url":"https://avatars0.githubusercontent.com/u/196395?v=4","gravatar_id":"","url":"https://api.github.com/users/gytis","html_url":"https://github.com/gytis","followers_url":"https://api.github.com/users/gytis/followers","following_url":"https://api.github.com/users/gytis/following{/other_user}","gists_url":"https://api.github.com/users/gytis/gists{/gist_id}","starred_url":"https://api.github.com/users/gytis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gytis/subscriptions","organizations_url":"https://api.github.com/users/gytis/orgs","repos_url":"https://api.github.com/users/gytis/repos","events_url":"https://api.github.com/users/gytis/events{/privacy}","received_events_url":"https://api.github.com/users/gytis/received_events","type":"User","site_admin":false},"body":"Not needed as commented in ExceptionLicenseSanitiser","created_at":"2017-11-16T11:41:17Z","updated_at":"2017-11-16T12:02:39Z","html_url":"https://github.com/snowdrop/licenses-generator/pull/1#discussion_r151390581","pull_request_url":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/comments/151390581"},"html":{"href":"https://github.com/snowdrop/licenses-generator/pull/1#discussion_r151390581"},"pull_request":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/1","id":152873788,"html_url":"https://github.com/snowdrop/licenses-generator/pull/1","diff_url":"https://github.com/snowdrop/licenses-generator/pull/1.diff","patch_url":"https://github.com/snowdrop/licenses-generator/pull/1.patch","issue_url":"https://api.github.com/repos/snowdrop/licenses-generator/issues/1","number":1,"state":"open","locked":false,"title":"SB-300 added querying licenses service","user":{"login":"michalszynkiewicz","id":3901322,"avatar_url":"https://avatars0.githubusercontent.com/u/3901322?v=4","gravatar_id":"","url":"https://api.github.com/users/michalszynkiewicz","html_url":"https://github.com/michalszynkiewicz","followers_url":"https://api.github.com/users/michalszynkiewicz/followers","following_url":"https://api.github.com/users/michalszynkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/michalszynkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/michalszynkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalszynkiewicz/subscriptions","organizations_url":"https://api.github.com/users/michalszynkiewicz/orgs","repos_url":"https://api.github.com/users/michalszynkiewicz/repos","events_url":"https://api.github.com/users/michalszynkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/michalszynkiewicz/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-15T20:13:54Z","updated_at":"2017-11-16T12:02:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ef82baf69dada4d308e48003bbce6f731ab3fe6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/1/commits","review_comments_url":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/1/comments","review_comment_url":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/snowdrop/licenses-generator/issues/1/comments","statuses_url":"https://api.github.com/repos/snowdrop/licenses-generator/statuses/a9580c691ec6e5b5c1d2bd05ea2ebe7fb82357e2","head":{"label":"michalszynkiewicz:querying-licenses-server","ref":"querying-licenses-server","sha":"a9580c691ec6e5b5c1d2bd05ea2ebe7fb82357e2","user":{"login":"michalszynkiewicz","id":3901322,"avatar_url":"https://avatars0.githubusercontent.com/u/3901322?v=4","gravatar_id":"","url":"https://api.github.com/users/michalszynkiewicz","html_url":"https://github.com/michalszynkiewicz","followers_url":"https://api.github.com/users/michalszynkiewicz/followers","following_url":"https://api.github.com/users/michalszynkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/michalszynkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/michalszynkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalszynkiewicz/subscriptions","organizations_url":"https://api.github.com/users/michalszynkiewicz/orgs","repos_url":"https://api.github.com/users/michalszynkiewicz/repos","events_url":"https://api.github.com/users/michalszynkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/michalszynkiewicz/received_events","type":"User","site_admin":false},"repo":{"id":110880697,"name":"licenses-generator","full_name":"michalszynkiewicz/licenses-generator","owner":{"login":"michalszynkiewicz","id":3901322,"avatar_url":"https://avatars0.githubusercontent.com/u/3901322?v=4","gravatar_id":"","url":"https://api.github.com/users/michalszynkiewicz","html_url":"https://github.com/michalszynkiewicz","followers_url":"https://api.github.com/users/michalszynkiewicz/followers","following_url":"https://api.github.com/users/michalszynkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/michalszynkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/michalszynkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalszynkiewicz/subscriptions","organizations_url":"https://api.github.com/users/michalszynkiewicz/orgs","repos_url":"https://api.github.com/users/michalszynkiewicz/repos","events_url":"https://api.github.com/users/michalszynkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/michalszynkiewicz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michalszynkiewicz/licenses-generator","description":null,"fork":true,"url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator","forks_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/forks","keys_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/teams","hooks_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/hooks","issue_events_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/issues/events{/number}","events_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/events","assignees_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/assignees{/user}","branches_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/branches{/branch}","tags_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/tags","blobs_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/languages","stargazers_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/stargazers","contributors_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/contributors","subscribers_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/subscribers","subscription_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/subscription","commits_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/contents/{+path}","compare_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/merges","archive_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/downloads","issues_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/issues{/number}","pulls_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/labels{/name}","releases_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/releases{/id}","deployments_url":"https://api.github.com/repos/michalszynkiewicz/licenses-generator/deployments","created_at":"2017-11-15T20:04:58Z","updated_at":"2017-11-15T20:05:00Z","pushed_at":"2017-11-15T20:13:08Z","git_url":"git://github.com/michalszynkiewicz/licenses-generator.git","ssh_url":"git@github.com:michalszynkiewicz/licenses-generator.git","clone_url":"https://github.com/michalszynkiewicz/licenses-generator.git","svn_url":"https://github.com/michalszynkiewicz/licenses-generator","homepage":null,"size":255,"stargazers_count":0,"watchers_count":0,"language":"Java","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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"snowdrop:master","ref":"master","sha":"4ac378b71fcf7ff2182e481786b535443736f789","user":{"login":"snowdrop","id":558276,"avatar_url":"https://avatars0.githubusercontent.com/u/558276?v=4","gravatar_id":"","url":"https://api.github.com/users/snowdrop","html_url":"https://github.com/snowdrop","followers_url":"https://api.github.com/users/snowdrop/followers","following_url":"https://api.github.com/users/snowdrop/following{/other_user}","gists_url":"https://api.github.com/users/snowdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/snowdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowdrop/subscriptions","organizations_url":"https://api.github.com/users/snowdrop/orgs","repos_url":"https://api.github.com/users/snowdrop/repos","events_url":"https://api.github.com/users/snowdrop/events{/privacy}","received_events_url":"https://api.github.com/users/snowdrop/received_events","type":"Organization","site_admin":false},"repo":{"id":99938532,"name":"licenses-generator","full_name":"snowdrop/licenses-generator","owner":{"login":"snowdrop","id":558276,"avatar_url":"https://avatars0.githubusercontent.com/u/558276?v=4","gravatar_id":"","url":"https://api.github.com/users/snowdrop","html_url":"https://github.com/snowdrop","followers_url":"https://api.github.com/users/snowdrop/followers","following_url":"https://api.github.com/users/snowdrop/following{/other_user}","gists_url":"https://api.github.com/users/snowdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/snowdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowdrop/subscriptions","organizations_url":"https://api.github.com/users/snowdrop/orgs","repos_url":"https://api.github.com/users/snowdrop/repos","events_url":"https://api.github.com/users/snowdrop/events{/privacy}","received_events_url":"https://api.github.com/users/snowdrop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snowdrop/licenses-generator","description":null,"fork":false,"url":"https://api.github.com/repos/snowdrop/licenses-generator","forks_url":"https://api.github.com/repos/snowdrop/licenses-generator/forks","keys_url":"https://api.github.com/repos/snowdrop/licenses-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snowdrop/licenses-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snowdrop/licenses-generator/teams","hooks_url":"https://api.github.com/repos/snowdrop/licenses-generator/hooks","issue_events_url":"https://api.github.com/repos/snowdrop/licenses-generator/issues/events{/number}","events_url":"https://api.github.com/repos/snowdrop/licenses-generator/events","assignees_url":"https://api.github.com/repos/snowdrop/licenses-generator/assignees{/user}","branches_url":"https://api.github.com/repos/snowdrop/licenses-generator/branches{/branch}","tags_url":"https://api.github.com/repos/snowdrop/licenses-generator/tags","blobs_url":"https://api.github.com/repos/snowdrop/licenses-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snowdrop/licenses-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snowdrop/licenses-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/snowdrop/licenses-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snowdrop/licenses-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/snowdrop/licenses-generator/languages","stargazers_url":"https://api.github.com/repos/snowdrop/licenses-generator/stargazers","contributors_url":"https://api.github.com/repos/snowdrop/licenses-generator/contributors","subscribers_url":"https://api.github.com/repos/snowdrop/licenses-generator/subscribers","subscription_url":"https://api.github.com/repos/snowdrop/licenses-generator/subscription","commits_url":"https://api.github.com/repos/snowdrop/licenses-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/snowdrop/licenses-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/snowdrop/licenses-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/snowdrop/licenses-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/snowdrop/licenses-generator/contents/{+path}","compare_url":"https://api.github.com/repos/snowdrop/licenses-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snowdrop/licenses-generator/merges","archive_url":"https://api.github.com/repos/snowdrop/licenses-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snowdrop/licenses-generator/downloads","issues_url":"https://api.github.com/repos/snowdrop/licenses-generator/issues{/number}","pulls_url":"https://api.github.com/repos/snowdrop/licenses-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/snowdrop/licenses-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/snowdrop/licenses-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snowdrop/licenses-generator/labels{/name}","releases_url":"https://api.github.com/repos/snowdrop/licenses-generator/releases{/id}","deployments_url":"https://api.github.com/repos/snowdrop/licenses-generator/deployments","created_at":"2017-08-10T15:33:39Z","updated_at":"2017-08-31T15:11:06Z","pushed_at":"2017-11-15T20:13:54Z","git_url":"git://github.com/snowdrop/licenses-generator.git","ssh_url":"git@github.com:snowdrop/licenses-generator.git","clone_url":"https://github.com/snowdrop/licenses-generator.git","svn_url":"https://github.com/snowdrop/licenses-generator","homepage":null,"size":245,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/1"},"html":{"href":"https://github.com/snowdrop/licenses-generator/pull/1"},"issue":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/issues/1"},"comments":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/snowdrop/licenses-generator/statuses/a9580c691ec6e5b5c1d2bd05ea2ebe7fb82357e2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gytis"}}