{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/comments/205111364","pull_request_review_id":140315157,"id":205111364,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTExMTM2NA==","diff_hunk":"@@ -0,0 +1,34 @@\n+/*\n+ * Copyright 2018 Google LLC.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package com.google.cloud.tools.opensource.dependencies;\n+\n+import org.eclipse.aether.artifact.Artifact;\n+\n+/**\n+ * Common utilities for operating on {@code org.eclipse.aether.artifact.Artifact} objects.\n+ */\n+public class Artifacts {\n+\n+  /**\n+   * Returns the artifact's Maven coordinates in the form groupId:artifactId:version.\n+   * Repo and packaging are not included.\n+   */\n+  public static String toCoordinates(Artifact artifact) {","path":"dependencies/src/main/java/com/google/cloud/tools/opensource/dependencies/Artifacts.java","position":30,"original_position":30,"commit_id":"45a134592b01f4401fd8abe02d5aa080a94d19f2","original_commit_id":"45a134592b01f4401fd8abe02d5aa080a94d19f2","user":{"login":"garrettjonesgoogle","id":13341017,"node_id":"MDQ6VXNlcjEzMzQxMDE3","avatar_url":"https://avatars2.githubusercontent.com/u/13341017?v=4","gravatar_id":"","url":"https://api.github.com/users/garrettjonesgoogle","html_url":"https://github.com/garrettjonesgoogle","followers_url":"https://api.github.com/users/garrettjonesgoogle/followers","following_url":"https://api.github.com/users/garrettjonesgoogle/following{/other_user}","gists_url":"https://api.github.com/users/garrettjonesgoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettjonesgoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettjonesgoogle/subscriptions","organizations_url":"https://api.github.com/users/garrettjonesgoogle/orgs","repos_url":"https://api.github.com/users/garrettjonesgoogle/repos","events_url":"https://api.github.com/users/garrettjonesgoogle/events{/privacy}","received_events_url":"https://api.github.com/users/garrettjonesgoogle/received_events","type":"User","site_admin":false},"body":"Maybe `toCoordinate` singular? If we use the plural for this, it gets awkward when you try to name a list of them. ","created_at":"2018-07-25T13:38:54Z","updated_at":"2018-07-25T13:44:00Z","html_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/32#discussion_r205111364","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/32","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/comments/205111364"},"html":{"href":"https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/32#discussion_r205111364"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/32","id":203682430,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNjgyNDMw","html_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/32","diff_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/32.diff","patch_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/32.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues/32","number":32,"state":"open","locked":false,"title":"Methods to get complete dependency graph","user":{"login":"elharo","id":1005544,"node_id":"MDQ6VXNlcjEwMDU1NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1005544?v=4","gravatar_id":"","url":"https://api.github.com/users/elharo","html_url":"https://github.com/elharo","followers_url":"https://api.github.com/users/elharo/followers","following_url":"https://api.github.com/users/elharo/following{/other_user}","gists_url":"https://api.github.com/users/elharo/gists{/gist_id}","starred_url":"https://api.github.com/users/elharo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elharo/subscriptions","organizations_url":"https://api.github.com/users/elharo/orgs","repos_url":"https://api.github.com/users/elharo/repos","events_url":"https://api.github.com/users/elharo/events{/privacy}","received_events_url":"https://api.github.com/users/elharo/received_events","type":"User","site_admin":false},"body":"@garrettjonesgoogle ","created_at":"2018-07-24T23:29:31Z","updated_at":"2018-07-25T13:44:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89b45aeb130f4076a4431f05ec98f9aac183b8ba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/32/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/32/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues/32/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/statuses/45a134592b01f4401fd8abe02d5aa080a94d19f2","head":{"label":"GoogleCloudPlatform:paths","ref":"paths","sha":"45a134592b01f4401fd8abe02d5aa080a94d19f2","user":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":134450682,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ0NTA2ODI=","name":"cloud-opensource-java","full_name":"GoogleCloudPlatform/cloud-opensource-java","owner":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java","description":"Code health dashboard for GCP open source projects","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/deployments","created_at":"2018-05-22T17:24:30Z","updated_at":"2018-07-24T23:18:55Z","pushed_at":"2018-07-25T11:36:25Z","git_url":"git://github.com/GoogleCloudPlatform/cloud-opensource-java.git","ssh_url":"git@github.com:GoogleCloudPlatform/cloud-opensource-java.git","clone_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java.git","svn_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java","homepage":"","size":71,"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":1,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"51aef57ac04616ff54e0e7c17b8213d6ddbf0d7f","user":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":134450682,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ0NTA2ODI=","name":"cloud-opensource-java","full_name":"GoogleCloudPlatform/cloud-opensource-java","owner":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java","description":"Code health dashboard for GCP open source projects","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/deployments","created_at":"2018-05-22T17:24:30Z","updated_at":"2018-07-24T23:18:55Z","pushed_at":"2018-07-25T11:36:25Z","git_url":"git://github.com/GoogleCloudPlatform/cloud-opensource-java.git","ssh_url":"git@github.com:GoogleCloudPlatform/cloud-opensource-java.git","clone_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java.git","svn_url":"https://github.com/GoogleCloudPlatform/cloud-opensource-java","homepage":"","size":71,"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":1,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/32"},"html":{"href":"https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/32"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues/32"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-opensource-java/statuses/45a134592b01f4401fd8abe02d5aa080a94d19f2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"garrettjonesgoogle"}}