{"action":"created","comment":{"url":"https://api.github.com/repos/gradle/gradle/pulls/comments/202925461","pull_request_review_id":137712171,"id":202925461,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjkyNTQ2MQ==","diff_hunk":"@@ -0,0 +1,37 @@\n+/*\n+ * Copyright 2018 the original author or authors.\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 org.gradle.api.internal.artifacts.result;\n+\n+import org.gradle.api.artifacts.result.ResolvedComponentResult;\n+\n+import javax.annotation.Nullable;\n+\n+/**\n+ * Represents a component instance in the resolved dependency graph. Provides some basic identity and dependency information about the component.\n+ */\n+public interface ResolvedComponentResultInternal extends ResolvedComponentResult {\n+\n+\n+    /**\n+     * <p>Returns the identifier of the repository used to source this component.\n+     *\n+     * @return the identifier of the repository used to source this component , or {@code null} if this component was not resolved from a repository.\n+     */\n+    @Nullable\n+    String getRepositoryId();","path":"subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/ResolvedComponentResultInternal.java","position":null,"original_position":35,"commit_id":"4cfa75b56b61f09deec736863e3fb8a8ceb49152","original_commit_id":"3ab59357ccef1098c09caacee86c34221ab5df11","user":{"login":"facewindu","id":5922961,"node_id":"MDQ6VXNlcjU5MjI5NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/5922961?v=4","gravatar_id":"","url":"https://api.github.com/users/facewindu","html_url":"https://github.com/facewindu","followers_url":"https://api.github.com/users/facewindu/followers","following_url":"https://api.github.com/users/facewindu/following{/other_user}","gists_url":"https://api.github.com/users/facewindu/gists{/gist_id}","starred_url":"https://api.github.com/users/facewindu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facewindu/subscriptions","organizations_url":"https://api.github.com/users/facewindu/orgs","repos_url":"https://api.github.com/users/facewindu/repos","events_url":"https://api.github.com/users/facewindu/events{/privacy}","received_events_url":"https://api.github.com/users/facewindu/received_events","type":"User","site_admin":false},"body":"Discussing with @melix led to the creation of this internal interface.\r\nThe repo Id does not really make sense on the public API at the moment, as the user cannot do anything with it.","created_at":"2018-07-17T07:56:34Z","updated_at":"2018-07-17T07:56:34Z","html_url":"https://github.com/gradle/gradle/pull/5959#discussion_r202925461","pull_request_url":"https://api.github.com/repos/gradle/gradle/pulls/5959","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gradle/gradle/pulls/comments/202925461"},"html":{"href":"https://github.com/gradle/gradle/pull/5959#discussion_r202925461"},"pull_request":{"href":"https://api.github.com/repos/gradle/gradle/pulls/5959"}},"in_reply_to_id":202838874},"pull_request":{"url":"https://api.github.com/repos/gradle/gradle/pulls/5959","id":201125725,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMTI1NzI1","html_url":"https://github.com/gradle/gradle/pull/5959","diff_url":"https://github.com/gradle/gradle/pull/5959.diff","patch_url":"https://github.com/gradle/gradle/pull/5959.patch","issue_url":"https://api.github.com/repos/gradle/gradle/issues/5959","number":5959,"state":"open","locked":false,"title":"Add support for emitting information about repositories used during configuration resolution process, and sourced repository for a component","user":{"login":"facewindu","id":5922961,"node_id":"MDQ6VXNlcjU5MjI5NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/5922961?v=4","gravatar_id":"","url":"https://api.github.com/users/facewindu","html_url":"https://github.com/facewindu","followers_url":"https://api.github.com/users/facewindu/followers","following_url":"https://api.github.com/users/facewindu/following{/other_user}","gists_url":"https://api.github.com/users/facewindu/gists{/gist_id}","starred_url":"https://api.github.com/users/facewindu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facewindu/subscriptions","organizations_url":"https://api.github.com/users/facewindu/orgs","repos_url":"https://api.github.com/users/facewindu/repos","events_url":"https://api.github.com/users/facewindu/events{/privacy}","received_events_url":"https://api.github.com/users/facewindu/received_events","type":"User","site_admin":false},"body":"### Context\r\nExpose information to be captured by the build scan plugin to convey repositories information and component source repository.\r\n\r\n### Contributor Checklist\r\n- [x] Provide integration tests (under `<subproject>/src/integTest`) to verify changes from a user perspective\r\n- [x] Provide unit tests (under `<subproject>/src/test`) to verify logic\r\n- [x] Update User Guide, DSL Reference, and Javadoc for public-facing changes\r\n- [x] Ensure that tests pass locally: `./gradlew <changed-subproject>:check`\r\n\r\nBranch Build Accept job: https://builds.gradle.org/viewType.html?buildTypeId=Gradle_Check_Stage_BranchBuildAccept_Trigger&branch_Gradle_Check=alf%2Fdependency-stuff&tab=buildTypeStatusDiv\r\n\r\n### Gradle Core Team Checklist\r\n- [ ] Verify design and implementation \r\n- [ ] Verify test coverage and CI build status\r\n- [ ] Verify documentation\r\n- [ ] Recognize contributor in release notes\r\n","created_at":"2018-07-12T21:05:28Z","updated_at":"2018-07-17T07:56:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3077d9cbae932fbd7cc3125066cbba8929a1578","assignee":{"login":"facewindu","id":5922961,"node_id":"MDQ6VXNlcjU5MjI5NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/5922961?v=4","gravatar_id":"","url":"https://api.github.com/users/facewindu","html_url":"https://github.com/facewindu","followers_url":"https://api.github.com/users/facewindu/followers","following_url":"https://api.github.com/users/facewindu/following{/other_user}","gists_url":"https://api.github.com/users/facewindu/gists{/gist_id}","starred_url":"https://api.github.com/users/facewindu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facewindu/subscriptions","organizations_url":"https://api.github.com/users/facewindu/orgs","repos_url":"https://api.github.com/users/facewindu/repos","events_url":"https://api.github.com/users/facewindu/events{/privacy}","received_events_url":"https://api.github.com/users/facewindu/received_events","type":"User","site_admin":false},"assignees":[{"login":"facewindu","id":5922961,"node_id":"MDQ6VXNlcjU5MjI5NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/5922961?v=4","gravatar_id":"","url":"https://api.github.com/users/facewindu","html_url":"https://github.com/facewindu","followers_url":"https://api.github.com/users/facewindu/followers","following_url":"https://api.github.com/users/facewindu/following{/other_user}","gists_url":"https://api.github.com/users/facewindu/gists{/gist_id}","starred_url":"https://api.github.com/users/facewindu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facewindu/subscriptions","organizations_url":"https://api.github.com/users/facewindu/orgs","repos_url":"https://api.github.com/users/facewindu/repos","events_url":"https://api.github.com/users/facewindu/events{/privacy}","received_events_url":"https://api.github.com/users/facewindu/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gradle/gradle/pulls/5959/commits","review_comments_url":"https://api.github.com/repos/gradle/gradle/pulls/5959/comments","review_comment_url":"https://api.github.com/repos/gradle/gradle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/5959/comments","statuses_url":"https://api.github.com/repos/gradle/gradle/statuses/4cfa75b56b61f09deec736863e3fb8a8ceb49152","head":{"label":"gradle:alf/dependency-stuff","ref":"alf/dependency-stuff","sha":"4cfa75b56b61f09deec736863e3fb8a8ceb49152","user":{"login":"gradle","id":124156,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDE1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/124156?v=4","gravatar_id":"","url":"https://api.github.com/users/gradle","html_url":"https://github.com/gradle","followers_url":"https://api.github.com/users/gradle/followers","following_url":"https://api.github.com/users/gradle/following{/other_user}","gists_url":"https://api.github.com/users/gradle/gists{/gist_id}","starred_url":"https://api.github.com/users/gradle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradle/subscriptions","organizations_url":"https://api.github.com/users/gradle/orgs","repos_url":"https://api.github.com/users/gradle/repos","events_url":"https://api.github.com/users/gradle/events{/privacy}","received_events_url":"https://api.github.com/users/gradle/received_events","type":"Organization","site_admin":false},"repo":{"id":302322,"node_id":"MDEwOlJlcG9zaXRvcnkzMDIzMjI=","name":"gradle","full_name":"gradle/gradle","owner":{"login":"gradle","id":124156,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDE1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/124156?v=4","gravatar_id":"","url":"https://api.github.com/users/gradle","html_url":"https://github.com/gradle","followers_url":"https://api.github.com/users/gradle/followers","following_url":"https://api.github.com/users/gradle/following{/other_user}","gists_url":"https://api.github.com/users/gradle/gists{/gist_id}","starred_url":"https://api.github.com/users/gradle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradle/subscriptions","organizations_url":"https://api.github.com/users/gradle/orgs","repos_url":"https://api.github.com/users/gradle/repos","events_url":"https://api.github.com/users/gradle/events{/privacy}","received_events_url":"https://api.github.com/users/gradle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gradle/gradle","description":"Adaptable, fast automation for all","fork":false,"url":"https://api.github.com/repos/gradle/gradle","forks_url":"https://api.github.com/repos/gradle/gradle/forks","keys_url":"https://api.github.com/repos/gradle/gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gradle/gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gradle/gradle/teams","hooks_url":"https://api.github.com/repos/gradle/gradle/hooks","issue_events_url":"https://api.github.com/repos/gradle/gradle/issues/events{/number}","events_url":"https://api.github.com/repos/gradle/gradle/events","assignees_url":"https://api.github.com/repos/gradle/gradle/assignees{/user}","branches_url":"https://api.github.com/repos/gradle/gradle/branches{/branch}","tags_url":"https://api.github.com/repos/gradle/gradle/tags","blobs_url":"https://api.github.com/repos/gradle/gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gradle/gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gradle/gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/gradle/gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gradle/gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/gradle/gradle/languages","stargazers_url":"https://api.github.com/repos/gradle/gradle/stargazers","contributors_url":"https://api.github.com/repos/gradle/gradle/contributors","subscribers_url":"https://api.github.com/repos/gradle/gradle/subscribers","subscription_url":"https://api.github.com/repos/gradle/gradle/subscription","commits_url":"https://api.github.com/repos/gradle/gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/gradle/gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/gradle/gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/gradle/gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/gradle/gradle/contents/{+path}","compare_url":"https://api.github.com/repos/gradle/gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gradle/gradle/merges","archive_url":"https://api.github.com/repos/gradle/gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gradle/gradle/downloads","issues_url":"https://api.github.com/repos/gradle/gradle/issues{/number}","pulls_url":"https://api.github.com/repos/gradle/gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/gradle/gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/gradle/gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gradle/gradle/labels{/name}","releases_url":"https://api.github.com/repos/gradle/gradle/releases{/id}","deployments_url":"https://api.github.com/repos/gradle/gradle/deployments","created_at":"2009-09-09T18:27:19Z","updated_at":"2018-07-17T06:58:10Z","pushed_at":"2018-07-17T07:38:58Z","git_url":"git://github.com/gradle/gradle.git","ssh_url":"git@github.com:gradle/gradle.git","clone_url":"https://github.com/gradle/gradle.git","svn_url":"https://github.com/gradle/gradle","homepage":"https://gradle.org","size":220316,"stargazers_count":7127,"watchers_count":7127,"language":"Groovy","has_issues":true,"has_projects":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":2230,"mirror_url":null,"archived":false,"open_issues_count":1156,"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":2230,"open_issues":1156,"watchers":7127,"default_branch":"master"}},"base":{"label":"gradle:master","ref":"master","sha":"439644319fdff0572b440ebb23bccaf6ab198ecb","user":{"login":"gradle","id":124156,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDE1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/124156?v=4","gravatar_id":"","url":"https://api.github.com/users/gradle","html_url":"https://github.com/gradle","followers_url":"https://api.github.com/users/gradle/followers","following_url":"https://api.github.com/users/gradle/following{/other_user}","gists_url":"https://api.github.com/users/gradle/gists{/gist_id}","starred_url":"https://api.github.com/users/gradle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradle/subscriptions","organizations_url":"https://api.github.com/users/gradle/orgs","repos_url":"https://api.github.com/users/gradle/repos","events_url":"https://api.github.com/users/gradle/events{/privacy}","received_events_url":"https://api.github.com/users/gradle/received_events","type":"Organization","site_admin":false},"repo":{"id":302322,"node_id":"MDEwOlJlcG9zaXRvcnkzMDIzMjI=","name":"gradle","full_name":"gradle/gradle","owner":{"login":"gradle","id":124156,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDE1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/124156?v=4","gravatar_id":"","url":"https://api.github.com/users/gradle","html_url":"https://github.com/gradle","followers_url":"https://api.github.com/users/gradle/followers","following_url":"https://api.github.com/users/gradle/following{/other_user}","gists_url":"https://api.github.com/users/gradle/gists{/gist_id}","starred_url":"https://api.github.com/users/gradle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradle/subscriptions","organizations_url":"https://api.github.com/users/gradle/orgs","repos_url":"https://api.github.com/users/gradle/repos","events_url":"https://api.github.com/users/gradle/events{/privacy}","received_events_url":"https://api.github.com/users/gradle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gradle/gradle","description":"Adaptable, fast automation for all","fork":false,"url":"https://api.github.com/repos/gradle/gradle","forks_url":"https://api.github.com/repos/gradle/gradle/forks","keys_url":"https://api.github.com/repos/gradle/gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gradle/gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gradle/gradle/teams","hooks_url":"https://api.github.com/repos/gradle/gradle/hooks","issue_events_url":"https://api.github.com/repos/gradle/gradle/issues/events{/number}","events_url":"https://api.github.com/repos/gradle/gradle/events","assignees_url":"https://api.github.com/repos/gradle/gradle/assignees{/user}","branches_url":"https://api.github.com/repos/gradle/gradle/branches{/branch}","tags_url":"https://api.github.com/repos/gradle/gradle/tags","blobs_url":"https://api.github.com/repos/gradle/gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gradle/gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gradle/gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/gradle/gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gradle/gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/gradle/gradle/languages","stargazers_url":"https://api.github.com/repos/gradle/gradle/stargazers","contributors_url":"https://api.github.com/repos/gradle/gradle/contributors","subscribers_url":"https://api.github.com/repos/gradle/gradle/subscribers","subscription_url":"https://api.github.com/repos/gradle/gradle/subscription","commits_url":"https://api.github.com/repos/gradle/gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/gradle/gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/gradle/gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/gradle/gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/gradle/gradle/contents/{+path}","compare_url":"https://api.github.com/repos/gradle/gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gradle/gradle/merges","archive_url":"https://api.github.com/repos/gradle/gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gradle/gradle/downloads","issues_url":"https://api.github.com/repos/gradle/gradle/issues{/number}","pulls_url":"https://api.github.com/repos/gradle/gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/gradle/gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/gradle/gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gradle/gradle/labels{/name}","releases_url":"https://api.github.com/repos/gradle/gradle/releases{/id}","deployments_url":"https://api.github.com/repos/gradle/gradle/deployments","created_at":"2009-09-09T18:27:19Z","updated_at":"2018-07-17T06:58:10Z","pushed_at":"2018-07-17T07:38:58Z","git_url":"git://github.com/gradle/gradle.git","ssh_url":"git@github.com:gradle/gradle.git","clone_url":"https://github.com/gradle/gradle.git","svn_url":"https://github.com/gradle/gradle","homepage":"https://gradle.org","size":220316,"stargazers_count":7127,"watchers_count":7127,"language":"Groovy","has_issues":true,"has_projects":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":2230,"mirror_url":null,"archived":false,"open_issues_count":1156,"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":2230,"open_issues":1156,"watchers":7127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gradle/gradle/pulls/5959"},"html":{"href":"https://github.com/gradle/gradle/pull/5959"},"issue":{"href":"https://api.github.com/repos/gradle/gradle/issues/5959"},"comments":{"href":"https://api.github.com/repos/gradle/gradle/issues/5959/comments"},"review_comments":{"href":"https://api.github.com/repos/gradle/gradle/pulls/5959/comments"},"review_comment":{"href":"https://api.github.com/repos/gradle/gradle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gradle/gradle/pulls/5959/commits"},"statuses":{"href":"https://api.github.com/repos/gradle/gradle/statuses/4cfa75b56b61f09deec736863e3fb8a8ceb49152"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"facewindu"}}