{"action":"created","comment":{"url":"https://api.github.com/repos/gradle/gradle/pulls/comments/136582975","pull_request_review_id":60137943,"id":136582975,"diff_hunk":"@@ -0,0 +1,250 @@\n+/*\n+ * Copyright 2017 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.nativeplatform.fixtures.app;\n+\n+import org.gradle.integtests.fixtures.SourceFile;\n+import org.gradle.test.fixtures.file.TestFile;\n+\n+import java.util.ArrayList;\n+import java.util.HashSet;\n+import java.util.List;\n+import java.util.Set;\n+\n+public abstract class IncrementalElement {\n+    public final OriginalElement original = new OriginalElement();\n+    public final AlternateElement alternate = new AlternateElement();\n+\n+    protected abstract List<Transform> getTransforms();\n+\n+    /**\n+     * Transforms the app element into the alternate app element in the given project.\n+     */\n+    public void applyChangesToProject(TestFile projectDir) {\n+        for (Transform transform : getTransforms()) {\n+            transform.applyChangesToProject(projectDir);\n+        }\n+    }\n+\n+    /**\n+     * Writes the source files of the app element to the given project.\n+     */\n+    public void writeToProject(TestFile projectDir) {\n+        original.writeToProject(projectDir);\n+    }\n+\n+    public Set<String> getExpectedIntermediateFilenames() {\n+        return toExpectedAlternateIntermediateFilenames(original.getFiles());\n+    }\n+\n+    public Set<String> getExpectedAlternateIntermediateFilenames() {\n+        return toExpectedAlternateIntermediateFilenames(alternate.getFiles());\n+    }\n+\n+    private Set<String> toExpectedAlternateIntermediateFilenames(List<SourceFile> sourceFiles) {\n+        Set<String> result = new HashSet<String>();\n+        for (SourceFile file : sourceFiles) {\n+            result.addAll(intermediateFilenames(file));\n+        }\n+\n+        return result;\n+    }\n+\n+    protected abstract Set<String> intermediateFilenames(SourceFile sourceFile);\n+\n+    public interface Transform {\n+        void applyChangesToProject(TestFile projectDir);\n+\n+        void populateBefore(List<SourceFile> beforeSourceFiles);\n+\n+        void populateAfter(List<SourceFile> afterSourceFiles);\n+    }\n+\n+    /**\n+     * Returns a transform that keep the before element intact.\n+     */\n+    protected Transform identity(final SourceFileElement element) {\n+        assert element.getFiles().size() == 1;\n+\n+        return new Transform() {\n+            @Override\n+            public void applyChangesToProject(TestFile projectDir) {}\n+\n+            @Override\n+            public void populateBefore(List<SourceFile> beforeSourceFiles) {\n+                beforeSourceFiles.add(element.getSourceFile());\n+            }\n+\n+            @Override\n+            public void populateAfter(List<SourceFile> afterSourceFiles) {\n+                afterSourceFiles.add(element.getSourceFile());\n+            }\n+        };\n+    }\n+\n+    /**\n+     * Returns a transform that replace the content of the before element with the content of the after element.\n+     * Both elements must have the same location.\n+     */\n+    protected Transform modify(final SourceFileElement beforeElement, SourceFileElement afterElement) {\n+        assert beforeElement.getFiles().size() == 1;\n+        assert afterElement.getFiles().size() == 1;\n+        assert beforeElement.getSourceSetName().equals(afterElement.getSourceSetName());\n+        final String sourceSetName = beforeElement.getSourceSetName();\n+        final SourceFile beforeFile = beforeElement.getSourceFile();\n+        final SourceFile afterFile = afterElement.getSourceFile();\n+        assert beforeFile.getPath().equals(afterFile.getPath());\n+        assert beforeFile.getName().equals(afterFile.getName());\n+        assert !beforeFile.getContent().equals(afterFile.getContent());\n+\n+        return new Transform() {\n+            @Override\n+            public void applyChangesToProject(TestFile projectDir) {\n+                TestFile file = projectDir.file(beforeFile.withPath(\"src/\" + sourceSetName));\n+                file.assertExists();\n+\n+                file.write(afterFile.getContent());\n+            }\n+\n+            @Override\n+            public void populateBefore(List<SourceFile> beforeSourceFiles) {\n+                beforeSourceFiles.add(beforeFile);\n+            }\n+\n+            @Override\n+            public void populateAfter(List<SourceFile> afterSourceFiles) {\n+                afterSourceFiles.add(afterFile);\n+            }\n+        };\n+    }\n+\n+    /**\n+     * Returns a transform that delete the before element.\n+     */\n+    protected Transform delete(SourceFileElement beforeElement) {\n+        assert beforeElement.getFiles().size() == 1;\n+        final String sourceSetName = beforeElement.getSourceSetName();\n+        final SourceFile beforeFile = beforeElement.getSourceFile();\n+\n+        return new Transform() {\n+            @Override\n+            public void applyChangesToProject(TestFile projectDir) {\n+                TestFile file = projectDir.file(beforeFile.withPath(\"src/\" + sourceSetName));\n+                file.assertExists();\n+\n+                file.delete();\n+            }\n+\n+            @Override\n+            public void populateBefore(List<SourceFile> beforeSourceFiles) {\n+                beforeSourceFiles.add(beforeFile);\n+            }\n+\n+            @Override\n+            public void populateAfter(List<SourceFile> afterSourceFiles) {}\n+        };\n+    }\n+\n+    /**\n+     * Returns a transform that add the after element.\n+     */\n+    protected Transform add(SourceFileElement afterElement) {\n+        assert afterElement.getFiles().size() == 1;\n+        final String sourceSetName = afterElement.getSourceSetName();\n+        final SourceFile afterFile = afterElement.getSourceFile();\n+\n+\n+        return new Transform() {\n+            @Override\n+            public void applyChangesToProject(TestFile projectDir) {\n+                TestFile file = projectDir.file(afterFile.withPath(\"src/\" + sourceSetName));\n+\n+                file.assertDoesNotExist();\n+\n+                afterFile.writeToDir(projectDir);\n+            }\n+\n+            @Override\n+            public void populateBefore(List<SourceFile> beforeSourceFiles) {}\n+\n+            @Override\n+            public void populateAfter(List<SourceFile> afterSourceFiles) {\n+                afterSourceFiles.add(afterFile);\n+            }\n+        };\n+    }\n+\n+    /**\n+     * Returns a transform that rename the before element to {@code renamed-} followed by the original name.\n+     */\n+    protected Transform rename(SourceFileElement beforeElement) {\n+        assert beforeElement.getFiles().size() == 1;\n+        final String sourceSetName = beforeElement.getSourceSetName();\n+        final SourceFile beforeFile = beforeElement.getSourceFile();\n+        final SourceFile afterFile = new SourceFile(beforeFile.getPath(), \"renamed-\" + beforeFile.getName(), beforeFile.getContent());","path":"subprojects/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalElement.java","position":null,"original_position":197,"commit_id":"7ec92cd210f9c50d906e9906fdd208059df86840","original_commit_id":"8e2226f07f50de8388ba2868c20667175192e212","user":{"login":"lacasseio","id":22181740,"avatar_url":"https://avatars2.githubusercontent.com/u/22181740?v=4","gravatar_id":"","url":"https://api.github.com/users/lacasseio","html_url":"https://github.com/lacasseio","followers_url":"https://api.github.com/users/lacasseio/followers","following_url":"https://api.github.com/users/lacasseio/following{/other_user}","gists_url":"https://api.github.com/users/lacasseio/gists{/gist_id}","starred_url":"https://api.github.com/users/lacasseio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacasseio/subscriptions","organizations_url":"https://api.github.com/users/lacasseio/orgs","repos_url":"https://api.github.com/users/lacasseio/repos","events_url":"https://api.github.com/users/lacasseio/events{/privacy}","received_events_url":"https://api.github.com/users/lacasseio/received_events","type":"User","site_admin":false},"body":"I added an overload to choose the rename prefix.","created_at":"2017-09-01T14:07:55Z","updated_at":"2017-09-01T14:24:39Z","html_url":"https://github.com/gradle/gradle/pull/2831#discussion_r136582975","pull_request_url":"https://api.github.com/repos/gradle/gradle/pulls/2831","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gradle/gradle/pulls/comments/136582975"},"html":{"href":"https://github.com/gradle/gradle/pull/2831#discussion_r136582975"},"pull_request":{"href":"https://api.github.com/repos/gradle/gradle/pulls/2831"}},"in_reply_to_id":136436106},"pull_request":{"url":"https://api.github.com/repos/gradle/gradle/pulls/2831","id":138549571,"html_url":"https://github.com/gradle/gradle/pull/2831","diff_url":"https://github.com/gradle/gradle/pull/2831.diff","patch_url":"https://github.com/gradle/gradle/pull/2831.patch","issue_url":"https://api.github.com/repos/gradle/gradle/issues/2831","number":2831,"state":"open","locked":false,"title":"Improve incremental app test fixture","user":{"login":"lacasseio","id":22181740,"avatar_url":"https://avatars2.githubusercontent.com/u/22181740?v=4","gravatar_id":"","url":"https://api.github.com/users/lacasseio","html_url":"https://github.com/lacasseio","followers_url":"https://api.github.com/users/lacasseio/followers","following_url":"https://api.github.com/users/lacasseio/following{/other_user}","gists_url":"https://api.github.com/users/lacasseio/gists{/gist_id}","starred_url":"https://api.github.com/users/lacasseio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacasseio/subscriptions","organizations_url":"https://api.github.com/users/lacasseio/orgs","repos_url":"https://api.github.com/users/lacasseio/repos","events_url":"https://api.github.com/users/lacasseio/events{/privacy}","received_events_url":"https://api.github.com/users/lacasseio/received_events","type":"User","site_admin":false},"body":"### Context\r\nImprovement to test fixture for incremental test coverage to come.\r\n\r\n### Gradle Core Team Checklist\r\n- [ ] Verify design and implementation \r\n- [ ] Verify test coverage and [CI build status](https://builds.gradle.org/project.html?projectId=Gradle_Check&tab=projectOverview&branch_Gradle_Check=dl%2Fincremental-test-fixture)\r\n- [ ] Verify documentation including proper use of `@since` and `@Incubating` annotations for all public APIs\r\n- [x] Recognize contributor in release notes\r\n","created_at":"2017-08-30T23:17:35Z","updated_at":"2017-09-01T14:24:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"035804f9afd7ede3dc62627f1fd7ce11a2ccb303","assignee":{"login":"lacasseio","id":22181740,"avatar_url":"https://avatars2.githubusercontent.com/u/22181740?v=4","gravatar_id":"","url":"https://api.github.com/users/lacasseio","html_url":"https://github.com/lacasseio","followers_url":"https://api.github.com/users/lacasseio/followers","following_url":"https://api.github.com/users/lacasseio/following{/other_user}","gists_url":"https://api.github.com/users/lacasseio/gists{/gist_id}","starred_url":"https://api.github.com/users/lacasseio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacasseio/subscriptions","organizations_url":"https://api.github.com/users/lacasseio/orgs","repos_url":"https://api.github.com/users/lacasseio/repos","events_url":"https://api.github.com/users/lacasseio/events{/privacy}","received_events_url":"https://api.github.com/users/lacasseio/received_events","type":"User","site_admin":false},"assignees":[{"login":"lacasseio","id":22181740,"avatar_url":"https://avatars2.githubusercontent.com/u/22181740?v=4","gravatar_id":"","url":"https://api.github.com/users/lacasseio","html_url":"https://github.com/lacasseio","followers_url":"https://api.github.com/users/lacasseio/followers","following_url":"https://api.github.com/users/lacasseio/following{/other_user}","gists_url":"https://api.github.com/users/lacasseio/gists{/gist_id}","starred_url":"https://api.github.com/users/lacasseio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacasseio/subscriptions","organizations_url":"https://api.github.com/users/lacasseio/orgs","repos_url":"https://api.github.com/users/lacasseio/repos","events_url":"https://api.github.com/users/lacasseio/events{/privacy}","received_events_url":"https://api.github.com/users/lacasseio/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/gradle/gradle/milestones/38","html_url":"https://github.com/gradle/gradle/milestone/38","labels_url":"https://api.github.com/repos/gradle/gradle/milestones/38/labels","id":2658317,"number":38,"title":"4.3 RC1","description":"","creator":{"login":"eriwen","id":51534,"avatar_url":"https://avatars2.githubusercontent.com/u/51534?v=4","gravatar_id":"","url":"https://api.github.com/users/eriwen","html_url":"https://github.com/eriwen","followers_url":"https://api.github.com/users/eriwen/followers","following_url":"https://api.github.com/users/eriwen/following{/other_user}","gists_url":"https://api.github.com/users/eriwen/gists{/gist_id}","starred_url":"https://api.github.com/users/eriwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriwen/subscriptions","organizations_url":"https://api.github.com/users/eriwen/orgs","repos_url":"https://api.github.com/users/eriwen/repos","events_url":"https://api.github.com/users/eriwen/events{/privacy}","received_events_url":"https://api.github.com/users/eriwen/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":2,"state":"open","created_at":"2017-07-24T14:19:39Z","updated_at":"2017-09-01T12:24:48Z","due_on":"2017-10-16T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/gradle/gradle/pulls/2831/commits","review_comments_url":"https://api.github.com/repos/gradle/gradle/pulls/2831/comments","review_comment_url":"https://api.github.com/repos/gradle/gradle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/2831/comments","statuses_url":"https://api.github.com/repos/gradle/gradle/statuses/7ec92cd210f9c50d906e9906fdd208059df86840","head":{"label":"gradle:dl/incremental-test-fixture","ref":"dl/incremental-test-fixture","sha":"7ec92cd210f9c50d906e9906fdd208059df86840","user":{"login":"gradle","id":124156,"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,"name":"gradle","full_name":"gradle/gradle","owner":{"login":"gradle","id":124156,"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":"2017-09-01T14:07:12Z","pushed_at":"2017-09-01T14:24:25Z","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":177841,"stargazers_count":5367,"watchers_count":5367,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":1856,"mirror_url":null,"open_issues_count":744,"forks":1856,"open_issues":744,"watchers":5367,"default_branch":"master"}},"base":{"label":"gradle:master","ref":"master","sha":"8583d59f51f1ef2cf20c0630738668faa7dd7335","user":{"login":"gradle","id":124156,"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,"name":"gradle","full_name":"gradle/gradle","owner":{"login":"gradle","id":124156,"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":"2017-09-01T14:07:12Z","pushed_at":"2017-09-01T14:24:25Z","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":177841,"stargazers_count":5367,"watchers_count":5367,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":1856,"mirror_url":null,"open_issues_count":744,"forks":1856,"open_issues":744,"watchers":5367,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gradle/gradle/pulls/2831"},"html":{"href":"https://github.com/gradle/gradle/pull/2831"},"issue":{"href":"https://api.github.com/repos/gradle/gradle/issues/2831"},"comments":{"href":"https://api.github.com/repos/gradle/gradle/issues/2831/comments"},"review_comments":{"href":"https://api.github.com/repos/gradle/gradle/pulls/2831/comments"},"review_comment":{"href":"https://api.github.com/repos/gradle/gradle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gradle/gradle/pulls/2831/commits"},"statuses":{"href":"https://api.github.com/repos/gradle/gradle/statuses/7ec92cd210f9c50d906e9906fdd208059df86840"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"lacasseio"}}