diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a4adf1abf..e4234f5f6 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,15 +1,16 @@ -# Description -** Describe your change here** +# Description + + # Before submitting a PR: -We love getting PRs, but we hate asking people for the same basic changes every time. +We love getting PRs, but we hate asking people for the same basic changes every time. -- [ ] Push your changes to a branch other than `master`. Create your PR from that branch. +- [ ] Push your changes to a branch other than `main`. Create your PR from that branch. - [ ] Add JavaDocs and other comments - [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data. -- [ ] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI. +- [ ] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI. # When creating a PR: -- [ ] Fill in the "Description" above. -- [ ] Enable "Allow edits from maintainers". +- [ ] Fill in the "Description" above. +- [ ] Enable "Allow edits from maintainers". diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 375212241..ddc1e952e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,10 +13,10 @@ name: "CodeQL" on: push: - branches: [ master, gh-pages ] + branches: [ main, gh-pages ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] schedule: - cron: '20 0 * * 6' diff --git a/README.md b/README.md index cd64cc20c..ef05b44f3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/org.kohsuke/github-api?server=https%3A%2F%2Foss.sonatype.org)](https://mvnrepository.com/artifact/org.kohsuke/github-api) [![Join the chat at https://gitter.im/hub4j/github-api](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/hub4j/github-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -![CI](https://github.com/hub4j/github-api/workflows/CI/badge.svg?branch=master) +![CI](https://github.com/hub4j/github-api/workflows/CI/badge.svg?branch=main) diff --git a/src/main/java/org/kohsuke/github/GHEventPayload.java b/src/main/java/org/kohsuke/github/GHEventPayload.java index 68aeddd51..4503d09cb 100644 --- a/src/main/java/org/kohsuke/github/GHEventPayload.java +++ b/src/main/java/org/kohsuke/github/GHEventPayload.java @@ -711,9 +711,11 @@ public class GHEventPayload extends GitHubInteractiveObject { } /** - * Gets master branch. + * Gets default branch. * - * @return the master branch + * Name is an artifact of when "master" was the most common default. + * + * @return the default branch */ @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "Comes from JSON deserialization") public String getMasterBranch() { @@ -959,7 +961,7 @@ public class GHEventPayload extends GitHubInteractiveObject { } /** - * The full Git ref that was pushed. Example: “refs/heads/master” + * The full Git ref that was pushed. Example: “refs/heads/main” * * @return the ref */ diff --git a/src/main/java/org/kohsuke/github/GHReleaseBuilder.java b/src/main/java/org/kohsuke/github/GHReleaseBuilder.java index 6c0914def..e5bd7ae89 100644 --- a/src/main/java/org/kohsuke/github/GHReleaseBuilder.java +++ b/src/main/java/org/kohsuke/github/GHReleaseBuilder.java @@ -41,7 +41,7 @@ public class GHReleaseBuilder { * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. * * @param commitish - * Defaults to the repository’s default branch (usually "master"). Unused if the Git tag already exists. + * Defaults to the repository’s default branch (usually "main"). Unused if the Git tag already exists. * @return the gh release builder */ public GHReleaseBuilder commitish(String commitish) { diff --git a/src/main/java/org/kohsuke/github/GHReleaseUpdater.java b/src/main/java/org/kohsuke/github/GHReleaseUpdater.java index 5aad46c1b..9bfd61ae4 100644 --- a/src/main/java/org/kohsuke/github/GHReleaseUpdater.java +++ b/src/main/java/org/kohsuke/github/GHReleaseUpdater.java @@ -45,7 +45,7 @@ public class GHReleaseUpdater { * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. * * @param commitish - * Defaults to the repository’s default branch (usually "master"). Unused if the Git tag already exists. + * Defaults to the repository’s default branch (usually "main"). Unused if the Git tag already exists. * @return the gh release updater */ public GHReleaseUpdater commitish(String commitish) { diff --git a/src/main/java/org/kohsuke/github/GHRepository.java b/src/main/java/org/kohsuke/github/GHRepository.java index 1fb7b747d..a9543ae43 100644 --- a/src/main/java/org/kohsuke/github/GHRepository.java +++ b/src/main/java/org/kohsuke/github/GHRepository.java @@ -461,7 +461,7 @@ public class GHRepository extends GHObject { * Creates a named ref, such as tag, branch, etc. * * @param name - * The name of the fully qualified reference (ie: refs/heads/master). If it doesn't start with 'refs' and + * The name of the fully qualified reference (ie: refs/heads/main). If it doesn't start with 'refs' and * have at least two slashes, it will be rejected. * @param sha * The SHA1 value to set this reference to @@ -848,16 +848,18 @@ public class GHRepository extends GHObject { /** * Returns the primary branch you'll configure in the "Admin > Options" config page. * - * @return This field is null until the user explicitly configures the master branch. + * @return This field is null until the user explicitly configures the default branch. */ public String getDefaultBranch() { return default_branch; } /** - * Gets master branch. + * Gets default branch. * - * @return the master branch + * Name is an artifact of when "master" was the most common default. + * + * @return the default branch * @deprecated Renamed to {@link #getDefaultBranch()} */ @Deprecated @@ -1775,7 +1777,7 @@ public class GHRepository extends GHObject { * Retrive a tree of the given type for the current GitHub repository. * * @param sha - * sha number or branch name ex: "master" + * sha number or branch name ex: "main" * @return refs matching the request type * @throws IOException * on failure communicating with GitHub, potentially due to an invalid tree type being requested @@ -1799,7 +1801,7 @@ public class GHRepository extends GHObject { * https://developer.github.com/v3/git/trees/#get-a-tree-recursively * * @param sha - * sha number or branch name ex: "master" + * sha number or branch name ex: "main" * @param recursive * use 1 * @return the tree recursive @@ -3150,7 +3152,7 @@ public class GHRepository extends GHObject { * @param streamFunction * The {@link InputStreamFunction} that will process the stream * @param ref - * if null the repository's default branch, usually master, + * if null the repository's default branch, usually main, * @throws IOException * The IO exception. * @return the result of reading the stream. @@ -3167,7 +3169,7 @@ public class GHRepository extends GHObject { * @param streamFunction * The {@link InputStreamFunction} that will process the stream * @param ref - * if null the repository's default branch, usually master, + * if null the repository's default branch, usually main, * @throws IOException * The IO exception. * @return the result of reading the stream. diff --git a/src/test/java/org/kohsuke/github/AppTest.java b/src/test/java/org/kohsuke/github/AppTest.java index 334de72f0..9de6d4ac4 100755 --- a/src/test/java/org/kohsuke/github/AppTest.java +++ b/src/test/java/org/kohsuke/github/AppTest.java @@ -368,7 +368,8 @@ public class AppTest extends AbstractGitHubWireMockTest { @Test public void testFetchPullRequest() throws Exception { GHRepository r = gitHub.getOrganization("jenkinsci").getRepository("jenkins"); - assertEquals("master", r.getMasterBranch()); + assertEquals("main", r.getMasterBranch()); + assertEquals("main", r.getDefaultBranch()); r.getPullRequest(1); r.getPullRequests(GHIssueState.OPEN); } @@ -377,7 +378,7 @@ public class AppTest extends AbstractGitHubWireMockTest { @Test public void testFetchPullRequestAsList() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); - assertEquals("master", r.getMasterBranch()); + assertEquals("main", r.getMasterBranch()); PagedIterable i = r.listPullRequests(GHIssueState.CLOSED); List prs = i.toList(); assertNotNull(prs); @@ -816,9 +817,9 @@ public class AppTest extends AbstractGitHubWireMockTest { @Test public void testRef() throws IOException { - GHRef masterRef = gitHub.getRepository("jenkinsci/jenkins").getRef("heads/master"); - assertEquals(mockGitHub.apiServer().baseUrl() + "/repos/jenkinsci/jenkins/git/refs/heads/master", - masterRef.getUrl().toString()); + GHRef mainRef = gitHub.getRepository("jenkinsci/jenkins").getRef("heads/main"); + assertEquals(mockGitHub.apiServer().baseUrl() + "/repos/jenkinsci/jenkins/git/refs/heads/main", + mainRef.getUrl().toString()); } @Test @@ -858,8 +859,8 @@ public class AppTest extends AbstractGitHubWireMockTest { @Test public void testCommitStatusContext() throws IOException { GHRepository myRepository = getTestRepository(); - GHRef masterRef = myRepository.getRef("heads/master"); - GHCommitStatus commitStatus = myRepository.createCommitStatus(masterRef.getObject() + GHRef mainRef = myRepository.getRef("heads/main"); + GHCommitStatus commitStatus = myRepository.createCommitStatus(mainRef.getObject() .getSha(), GHCommitState.SUCCESS, "http://www.example.com", "test", "test/context"); assertEquals("test/context", commitStatus.getContext()); @@ -917,9 +918,9 @@ public class AppTest extends AbstractGitHubWireMockTest { @Ignore("Needs mocking check") @Test public void testTrees() throws IOException { - GHTree masterTree = gitHub.getRepository("hub4j/github-api").getTree("master"); + GHTree mainTree = gitHub.getRepository("hub4j/github-api").getTree("main"); boolean foundReadme = false; - for (GHTreeEntry e : masterTree.getTree()) { + for (GHTreeEntry e : mainTree.getTree()) { if ("readme".equalsIgnoreCase(e.getPath().replaceAll("\\.md", ""))) { foundReadme = true; break; @@ -930,9 +931,9 @@ public class AppTest extends AbstractGitHubWireMockTest { @Test public void testTreesRecursive() throws IOException { - GHTree masterTree = gitHub.getRepository("hub4j/github-api").getTreeRecursive("master", 1); + GHTree mainTree = gitHub.getRepository("hub4j/github-api").getTreeRecursive("main", 1); boolean foundThisFile = false; - for (GHTreeEntry e : masterTree.getTree()) { + for (GHTreeEntry e : mainTree.getTree()) { if (e.getPath().endsWith(AppTest.class.getSimpleName() + ".java")) { foundThisFile = true; assertThat(e.getPath(), equalTo("src/test/java/org/kohsuke/github/AppTest.java")); diff --git a/src/test/java/org/kohsuke/github/CommitTest.java b/src/test/java/org/kohsuke/github/CommitTest.java index 060c6821b..2f2b882da 100644 --- a/src/test/java/org/kohsuke/github/CommitTest.java +++ b/src/test/java/org/kohsuke/github/CommitTest.java @@ -157,12 +157,12 @@ public class CommitTest extends AbstractGitHubWireMockTest { GHCommit commit = repo.getCommit("ab92e13c0fc844fd51a379a48a3ad0b18231215c"); - assertThat("Commit which was supposed to be HEAD in the \"master\" branch was not found.", + assertThat("Commit which was supposed to be HEAD in the \"main\" branch was not found.", commit.listBranchesWhereHead() .toList() .stream() .findFirst() - .filter(it -> it.getName().equals("master")) + .filter(it -> it.getName().equals("main")) .isPresent()); } diff --git a/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java b/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java index d0182fc27..e09a17ff0 100755 --- a/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java +++ b/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java @@ -9,7 +9,7 @@ import org.kohsuke.github.GHBranchProtection.RequiredStatusChecks; import static org.hamcrest.CoreMatchers.*; public class GHBranchProtectionTest extends AbstractGitHubWireMockTest { - private static final String BRANCH = "master"; + private static final String BRANCH = "main"; private static final String BRANCH_REF = "heads/" + BRANCH; private GHBranch branch; diff --git a/src/test/java/org/kohsuke/github/GHBranchTest.java b/src/test/java/org/kohsuke/github/GHBranchTest.java index 2bffd8d05..67455a94e 100644 --- a/src/test/java/org/kohsuke/github/GHBranchTest.java +++ b/src/test/java/org/kohsuke/github/GHBranchTest.java @@ -16,9 +16,9 @@ public class GHBranchTest extends AbstractGitHubWireMockTest { public void testMergeBranch() throws Exception { repository = getTempRepository(); - String masterHead = repository.getRef("heads/master").getObject().getSha(); - createRefAndPostContent(BRANCH_1, masterHead); - createRefAndPostContent(BRANCH_2, masterHead); + String mainHead = repository.getRef("heads/main").getObject().getSha(); + createRefAndPostContent(BRANCH_1, mainHead); + createRefAndPostContent(BRANCH_2, mainHead); GHBranch otherBranch = repository.getBranch(BRANCH_2); String commitMessage = "merging " + BRANCH_2; @@ -28,13 +28,13 @@ public class GHBranchTest extends AbstractGitHubWireMockTest { // Merging commit sha should work commitMessage = "merging from " + mergeCommit.getSHA1(); - GHBranch master = repository.getBranch("master"); - mergeCommit = master.merge(mergeCommit.getSHA1(), commitMessage); + GHBranch main = repository.getBranch("main"); + mergeCommit = main.merge(mergeCommit.getSHA1(), commitMessage); assertThat(mergeCommit, notNullValue()); assertThat(mergeCommit.getCommitShortInfo().getMessage(), equalTo(commitMessage)); - mergeCommit = master.merge(mergeCommit.getSHA1(), commitMessage); + mergeCommit = main.merge(mergeCommit.getSHA1(), commitMessage); // Should be null since all changes already merged assertThat(mergeCommit, nullValue()); } diff --git a/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java b/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java index 65d116fd5..26ebdfa76 100644 --- a/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java +++ b/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java @@ -79,10 +79,10 @@ public class GHContentIntegrationTest extends AbstractGitHubWireMockTest { @Test public void testGetDirectoryContentTrailingSlash() throws Exception { - // Used to truncate the ?ref=master, see gh-224 https://github.com/kohsuke/github-api/pull/224 - List entries = repo.getDirectoryContent("ghcontent-ro/a-dir-with-3-entries/", "master"); + // Used to truncate the ?ref=main, see gh-224 https://github.com/kohsuke/github-api/pull/224 + List entries = repo.getDirectoryContent("ghcontent-ro/a-dir-with-3-entries/", "main"); - assertTrue(entries.get(0).getUrl().endsWith("?ref=master")); + assertTrue(entries.get(0).getUrl().endsWith("?ref=main")); } @Test diff --git a/src/test/java/org/kohsuke/github/GHDeploymentTest.java b/src/test/java/org/kohsuke/github/GHDeploymentTest.java index 4fa7cac71..22653c590 100644 --- a/src/test/java/org/kohsuke/github/GHDeploymentTest.java +++ b/src/test/java/org/kohsuke/github/GHDeploymentTest.java @@ -20,7 +20,7 @@ public class GHDeploymentTest extends AbstractGitHubWireMockTest { assertEquals("production", deployment.getEnvironment()); assertEquals("custom", deployment.getPayload()); assertEquals("custom", deployment.getPayloadObject()); - assertEquals("master", deployment.getRef()); + assertEquals("main", deployment.getRef()); assertEquals("3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", deployment.getSha()); assertEquals("deploy", deployment.getTask()); assertEquals("production", deployment.getOriginalEnvironment()); @@ -35,7 +35,7 @@ public class GHDeploymentTest extends AbstractGitHubWireMockTest { assertNotNull(deployment); assertEquals(178653229, deployment.getId()); assertEquals("production", deployment.getEnvironment()); - assertEquals("master", deployment.getRef()); + assertEquals("main", deployment.getRef()); assertEquals("3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", deployment.getSha()); assertEquals("deploy", deployment.getTask()); final Map payload = deployment.getPayloadMap(); diff --git a/src/test/java/org/kohsuke/github/GHEventPayloadTest.java b/src/test/java/org/kohsuke/github/GHEventPayloadTest.java index 81b3270a9..8eb685e24 100644 --- a/src/test/java/org/kohsuke/github/GHEventPayloadTest.java +++ b/src/test/java/org/kohsuke/github/GHEventPayloadTest.java @@ -50,7 +50,7 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest { .parseEventPayload(payload.asReader(), GHEventPayload.Create.class); assertThat(event.getRef(), is("0.0.1")); assertThat(event.getRefType(), is("tag")); - assertThat(event.getMasterBranch(), is("master")); + assertThat(event.getMasterBranch(), is("main")); assertThat(event.getDescription(), is("")); assertThat(event.getRepository().getName(), is("public-repo")); assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker")); @@ -241,15 +241,15 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest { assertThat(event.getPullRequest().getNumber(), is(1)); assertThat(event.getPullRequest().getTitle(), is("Update the README with new information")); assertThat(event.getPullRequest().getBody(), - is("This is a pretty simple change that we need to pull into " + "master.")); + is("This is a pretty simple change that we need to pull into " + "main.")); assertThat(event.getPullRequest().getUser().getLogin(), is("baxterthehacker")); assertThat(event.getPullRequest().getHead().getUser().getLogin(), is("baxterthehacker")); assertThat(event.getPullRequest().getHead().getRef(), is("changes")); assertThat(event.getPullRequest().getHead().getLabel(), is("baxterthehacker:changes")); assertThat(event.getPullRequest().getHead().getSha(), is("0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c")); assertThat(event.getPullRequest().getBase().getUser().getLogin(), is("baxterthehacker")); - assertThat(event.getPullRequest().getBase().getRef(), is("master")); - assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:master")); + assertThat(event.getPullRequest().getBase().getRef(), is("main")); + assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:main")); assertThat(event.getPullRequest().getBase().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); assertThat(event.getPullRequest().isMerged(), is(false)); assertThat(event.getPullRequest().getMergeable(), nullValue()); @@ -355,8 +355,8 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest { assertThat(event.getPullRequest().getHead().getLabel(), is("skalnik:patch-2")); assertThat(event.getPullRequest().getHead().getSha(), is("b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63")); assertThat(event.getPullRequest().getBase().getUser().getLogin(), is("baxterthehacker")); - assertThat(event.getPullRequest().getBase().getRef(), is("master")); - assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:master")); + assertThat(event.getPullRequest().getBase().getRef(), is("main")); + assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:main")); assertThat(event.getPullRequest().getBase().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); assertThat(event.getRepository().getName(), is("public-repo")); @@ -376,15 +376,15 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest { assertThat(event.getPullRequest().getNumber(), is(1)); assertThat(event.getPullRequest().getTitle(), is("Update the README with new information")); assertThat(event.getPullRequest().getBody(), - is("This is a pretty simple change that we need to pull into master.")); + is("This is a pretty simple change that we need to pull into main.")); assertThat(event.getPullRequest().getUser().getLogin(), is("baxterthehacker")); assertThat(event.getPullRequest().getHead().getUser().getLogin(), is("baxterthehacker")); assertThat(event.getPullRequest().getHead().getRef(), is("changes")); assertThat(event.getPullRequest().getHead().getLabel(), is("baxterthehacker:changes")); assertThat(event.getPullRequest().getHead().getSha(), is("0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c")); assertThat(event.getPullRequest().getBase().getUser().getLogin(), is("baxterthehacker")); - assertThat(event.getPullRequest().getBase().getRef(), is("master")); - assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:master")); + assertThat(event.getPullRequest().getBase().getRef(), is("main")); + assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:main")); assertThat(event.getPullRequest().getBase().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b")); assertThat(event.getRepository().getName(), is("public-repo")); @@ -477,8 +477,8 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest { assertThat(event.getRepository().getHttpTransportUrl(), is("https://github.com/hub4j-test-org/github-api.git")); // ensure that root has been bound after populate - event.getRepository().getSource().getRef("heads/master"); - event.getRepository().getParent().getRef("heads/master"); + event.getRepository().getSource().getRef("heads/main"); + event.getRepository().getParent().getRef("heads/main"); // Source event = gitHub.parseEventPayload(payload.asReader(mockGitHub::mapToMockGitHub), GHEventPayload.Push.class); @@ -559,7 +559,7 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest { int expectedRequestCount = mockGitHub.isUseProxy() ? 3 : 2; assertThat("pull body should be populated", checkRun.getPullRequests().get(0).getBody(), - equalTo("This is a pretty simple change that we need to pull into master.")); + equalTo("This is a pretty simple change that we need to pull into main.")); assertThat("multiple getPullRequests() calls are made, the pull is populated only once", mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); @@ -624,7 +624,7 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest { int expectedRequestCount = mockGitHub.isUseProxy() ? 3 : 2; assertThat("pull body should be populated", checkSuite.getPullRequests().get(0).getBody(), - equalTo("This is a pretty simple change that we need to pull into master.")); + equalTo("This is a pretty simple change that we need to pull into main.")); assertThat("multiple getPullRequests() calls are made, the pull is populated only once", mockGitHub.getRequestCount(), lessThanOrEqualTo(expectedRequestCount)); diff --git a/src/test/java/org/kohsuke/github/GHMilestoneTest.java b/src/test/java/org/kohsuke/github/GHMilestoneTest.java index 1c3542c64..f76a8e501 100644 --- a/src/test/java/org/kohsuke/github/GHMilestoneTest.java +++ b/src/test/java/org/kohsuke/github/GHMilestoneTest.java @@ -74,10 +74,8 @@ public class GHMilestoneTest extends AbstractGitHubWireMockTest { public void testUnsetMilestoneFromPullRequest() throws IOException { GHRepository repo = getRepository(); GHMilestone milestone = repo.createMilestone("Unset Test Milestone", "For testUnsetMilestone"); - GHPullRequest p = repo.createPullRequest("testUnsetMilestoneFromPullRequest", - "test/stable", - "master", - "## test pull request"); + GHPullRequest p = repo + .createPullRequest("testUnsetMilestoneFromPullRequest", "test/stable", "main", "## test pull request"); // set the milestone p.setMilestone(milestone); diff --git a/src/test/java/org/kohsuke/github/GHPullRequestTest.java b/src/test/java/org/kohsuke/github/GHPullRequestTest.java index 26c33cb8b..570ed2e6e 100644 --- a/src/test/java/org/kohsuke/github/GHPullRequestTest.java +++ b/src/test/java/org/kohsuke/github/GHPullRequestTest.java @@ -40,7 +40,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { public void createPullRequest() throws Exception { String name = "createPullRequest"; GHRepository repo = getRepository(); - GHPullRequest p = repo.createPullRequest(name, "test/stable", "master", "## test"); + GHPullRequest p = repo.createPullRequest(name, "test/stable", "main", "## test"); assertEquals(name, p.getTitle()); assertThat(p.canMaintainerModify(), is(false)); assertThat(p.isDraft(), is(false)); @@ -50,7 +50,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { public void createDraftPullRequest() throws Exception { String name = "createDraftPullRequest"; GHRepository repo = getRepository(); - GHPullRequest p = repo.createPullRequest(name, "test/stable", "master", "## test", false, true); + GHPullRequest p = repo.createPullRequest(name, "test/stable", "main", "## test", false, true); assertEquals(name, p.getTitle()); assertThat(p.canMaintainerModify(), is(false)); assertThat(p.isDraft(), is(true)); @@ -73,14 +73,14 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void createPullRequestComment() throws Exception { String name = "createPullRequestComment"; - GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "main", "## test"); p.comment("Some comment"); } @Test public void closePullRequest() throws Exception { String name = "closePullRequest"; - GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "main", "## test"); // System.out.println(p.getUrl()); assertEquals(name, p.getTitle()); assertEquals(GHIssueState.OPEN, getRepository().getPullRequest(p.getNumber()).getState()); @@ -91,7 +91,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void pullRequestReviews() throws Exception { String name = "testPullRequestReviews"; - GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "main", "## test"); GHPullRequestReview draftReview = p.createReview() .body("Some draft review") .comment("Some niggle", "README.md", 1) @@ -117,7 +117,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void pullRequestReviewComments() throws Exception { String name = "pullRequestReviewComments"; - GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "main", "## test"); try { // System.out.println(p.getUrl()); assertTrue(p.listReviewComments().toList().isEmpty()); @@ -169,7 +169,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void testPullRequestReviewRequests() throws Exception { String name = "testPullRequestReviewRequests"; - GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "main", "## test"); // System.out.println(p.getUrl()); assertTrue(p.getRequestedReviewers().isEmpty()); @@ -182,7 +182,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void testPullRequestTeamReviewRequests() throws Exception { String name = "testPullRequestTeamReviewRequests"; - GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "main", "## test"); // System.out.println(p.getUrl()); assertTrue(p.getRequestedReviewers().isEmpty()); @@ -212,7 +212,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { public void mergeCommitSHA() throws Exception { String name = "mergeCommitSHA"; GHRepository repo = getRepository(); - GHPullRequest p = repo.createPullRequest(name, "test/mergeable_branch", "master", "## test"); + GHPullRequest p = repo.createPullRequest(name, "test/mergeable_branch", "main", "## test"); int baseRequestCount = mockGitHub.getRequestCount(); assertThat(p.getMergeableNoRefresh(), nullValue()); assertThat("Used existing value", mockGitHub.getRequestCount() - baseRequestCount, equalTo(0)); @@ -244,10 +244,10 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void setBaseBranch() throws Exception { String prName = "testSetBaseBranch"; - String originalBaseBranch = "master"; + String originalBaseBranch = "main"; String newBaseBranch = "gh-pages"; - GHPullRequest pullRequest = getRepository().createPullRequest(prName, "test/stable", "master", "## test"); + GHPullRequest pullRequest = getRepository().createPullRequest(prName, "test/stable", "main", "## test"); assertEquals("Pull request base branch is supposed to be " + originalBaseBranch, originalBaseBranch, @@ -263,10 +263,10 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void setBaseBranchNonExisting() throws Exception { String prName = "testSetBaseBranchNonExisting"; - String originalBaseBranch = "master"; + String originalBaseBranch = "main"; String newBaseBranch = "non-existing"; - GHPullRequest pullRequest = getRepository().createPullRequest(prName, "test/stable", "master", "## test"); + GHPullRequest pullRequest = getRepository().createPullRequest(prName, "test/stable", "main", "## test"); assertEquals("Pull request base branch is supposed to be " + originalBaseBranch, originalBaseBranch, @@ -291,7 +291,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { GHRef outdatedRef = repository.getRef(outdatedRefName); outdatedRef.updateTo("6440189369f9f33b2366556a94dbc26f2cfdd969", true); - GHPullRequest outdatedPullRequest = repository.createPullRequest(prName, "outdated", "master", "## test"); + GHPullRequest outdatedPullRequest = repository.createPullRequest(prName, "outdated", "main", "## test"); do { Thread.sleep(5000); @@ -322,7 +322,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { repository.getRef(outdatedRefName).updateTo("6440189369f9f33b2366556a94dbc26f2cfdd969", true); - GHPullRequest outdatedPullRequest = repository.createPullRequest(prName, "outdated", "master", "## test"); + GHPullRequest outdatedPullRequest = repository.createPullRequest(prName, "outdated", "main", "## test"); do { Thread.sleep(5000); @@ -345,12 +345,12 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { public void squashMerge() throws Exception { String name = "squashMerge"; String branchName = "test/" + name; - GHRef masterRef = getRepository().getRef("heads/master"); - GHRef branchRef = getRepository().createRef("refs/heads/" + branchName, masterRef.getObject().getSha()); + GHRef mainRef = getRepository().getRef("heads/main"); + GHRef branchRef = getRepository().createRef("refs/heads/" + branchName, mainRef.getObject().getSha()); getRepository().createContent(name, name, name, branchName); Thread.sleep(1000); - GHPullRequest p = getRepository().createPullRequest(name, branchName, "master", "## test squash"); + GHPullRequest p = getRepository().createPullRequest(name, branchName, "main", "## test squash"); Thread.sleep(1000); p.merge("squash merge", null, GHPullRequest.MergeMethod.SQUASH); } @@ -360,8 +360,8 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { String name = "updateContentSquashMerge"; String branchName = "test/" + name; - GHRef masterRef = getRepository().getRef("heads/master"); - GHRef branchRef = getRepository().createRef("refs/heads/" + branchName, masterRef.getObject().getSha()); + GHRef mainRef = getRepository().getRef("heads/main"); + GHRef branchRef = getRepository().createRef("refs/heads/" + branchName, mainRef.getObject().getSha()); GHContentUpdateResponse response = getRepository().createContent(name, name, name, branchName); Thread.sleep(1000); @@ -373,7 +373,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { .message(name) .sha(response.getContent().getSha()) .commit(); - GHPullRequest p = getRepository().createPullRequest(name, branchName, "master", "## test squash"); + GHPullRequest p = getRepository().createPullRequest(name, branchName, "main", "## test squash"); Thread.sleep(1000); p.merge("squash merge", null, GHPullRequest.MergeMethod.SQUASH); } @@ -381,15 +381,15 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void queryPullRequestsQualifiedHead() throws Exception { GHRepository repo = getRepository(); - // Create PRs from two different branches to master - repo.createPullRequest("queryPullRequestsQualifiedHead_stable", "test/stable", "master", null); - repo.createPullRequest("queryPullRequestsQualifiedHead_rc", "test/rc", "master", null); + // Create PRs from two different branches to main + repo.createPullRequest("queryPullRequestsQualifiedHead_stable", "test/stable", "main", null); + repo.createPullRequest("queryPullRequestsQualifiedHead_rc", "test/rc", "main", null); // Query by one of the heads and make sure we only get that branch's PR back. List prs = repo.queryPullRequests() .state(GHIssueState.OPEN) .head("hub4j-test-org:test/stable") - .base("master") + .base("main") .list() .toList(); assertNotNull(prs); @@ -400,15 +400,15 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void queryPullRequestsUnqualifiedHead() throws Exception { GHRepository repo = getRepository(); - // Create PRs from two different branches to master - repo.createPullRequest("queryPullRequestsUnqualifiedHead_stable", "test/stable", "master", null); - repo.createPullRequest("queryPullRequestsUnqualifiedHead_rc", "test/rc", "master", null); + // Create PRs from two different branches to main + repo.createPullRequest("queryPullRequestsUnqualifiedHead_stable", "test/stable", "main", null); + repo.createPullRequest("queryPullRequestsUnqualifiedHead_rc", "test/rc", "main", null); // Query by one of the heads and make sure we only get that branch's PR back. List prs = repo.queryPullRequests() .state(GHIssueState.OPEN) .head("test/stable") - .base("master") + .base("main") .list() .toList(); assertNotNull(prs); @@ -419,7 +419,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test // Requires push access to the test repo to pass public void setLabels() throws Exception { - GHPullRequest p = getRepository().createPullRequest("setLabels", "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest("setLabels", "test/stable", "main", "## test"); String label = "setLabels_label_name"; p.setLabels(label); @@ -435,7 +435,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test // Requires push access to the test repo to pass public void addLabels() throws Exception { - GHPullRequest p = getRepository().createPullRequest("addLabels", "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest("addLabels", "test/stable", "main", "## test"); String addedLabel1 = "addLabels_label_name_1"; String addedLabel2 = "addLabels_label_name_2"; String addedLabel3 = "addLabels_label_name_3"; @@ -468,7 +468,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { String addedLabel2 = "addLabelsConcurrencyIssue_label_name_2"; GHPullRequest p1 = getRepository() - .createPullRequest("addLabelsConcurrencyIssue", "test/stable", "master", "## test"); + .createPullRequest("addLabelsConcurrencyIssue", "test/stable", "main", "## test"); p1.getLabels(); GHPullRequest p2 = getRepository().getPullRequest(p1.getNumber()); @@ -485,7 +485,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test // Requires push access to the test repo to pass public void removeLabels() throws Exception { - GHPullRequest p = getRepository().createPullRequest("removeLabels", "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest("removeLabels", "test/stable", "main", "## test"); String label1 = "removeLabels_label_name_1"; String label2 = "removeLabels_label_name_2"; String label3 = "removeLabels_label_name_3"; @@ -519,7 +519,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test // Requires push access to the test repo to pass public void setAssignee() throws Exception { - GHPullRequest p = getRepository().createPullRequest("setAssignee", "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest("setAssignee", "test/stable", "main", "## test"); GHMyself user = gitHub.getMyself(); p.assignTo(user); @@ -528,7 +528,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest { @Test public void getUserTest() throws IOException { - GHPullRequest p = getRepository().createPullRequest("getUserTest", "test/stable", "master", "## test"); + GHPullRequest p = getRepository().createPullRequest("getUserTest", "test/stable", "main", "## test"); GHPullRequest prSingle = getRepository().getPullRequest(p.getNumber()); assertNotNull(prSingle.getUser().getRoot()); prSingle.getMergeable(); diff --git a/src/test/java/org/kohsuke/github/GHRepositoryTest.java b/src/test/java/org/kohsuke/github/GHRepositoryTest.java index 9c51b51c7..9867b6cce 100644 --- a/src/test/java/org/kohsuke/github/GHRepositoryTest.java +++ b/src/test/java/org/kohsuke/github/GHRepositoryTest.java @@ -579,7 +579,7 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest { GHRef[] refs = repo.getRefs(); assertThat(refs, notNullValue()); assertThat(refs.length, equalTo(1)); - assertThat(refs[0].getRef(), equalTo("refs/heads/master")); + assertThat(refs[0].getRef(), equalTo("refs/heads/main")); } @Test @@ -588,7 +588,7 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest { GHRef[] refs = repo.getRefs("heads"); assertThat(refs, notNullValue()); assertThat(refs.length, equalTo(1)); - assertThat(refs[0].getRef(), equalTo("refs/heads/master")); + assertThat(refs[0].getRef(), equalTo("refs/heads/main")); } @Test @@ -697,7 +697,7 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest { List refs = repo.listRefs("heads").toList(); assertThat(refs, notNullValue()); assertThat(refs.size(), equalTo(1)); - assertThat(refs.get(0).getRef(), equalTo("refs/heads/master")); + assertThat(refs.get(0).getRef(), equalTo("refs/heads/main")); } @Test diff --git a/src/test/java/org/kohsuke/github/GHTreeBuilderTest.java b/src/test/java/org/kohsuke/github/GHTreeBuilderTest.java index 05efe2508..ed2add01b 100644 --- a/src/test/java/org/kohsuke/github/GHTreeBuilderTest.java +++ b/src/test/java/org/kohsuke/github/GHTreeBuilderTest.java @@ -28,7 +28,7 @@ public class GHTreeBuilderTest extends AbstractGitHubWireMockTest { private static byte[] CONTENT_DATA2 = { 0x04, 0x05, 0x06, 0x07 }; private GHRepository repo; - private GHRef masterRef; + private GHRef mainRef; private GHTreeBuilder treeBuilder; @Before @@ -51,9 +51,9 @@ public class GHTreeBuilderTest extends AbstractGitHubWireMockTest { @Before public void setUp() throws Exception { repo = gitHub.getRepository(REPO_NAME); - masterRef = repo.getRef("heads/master"); - String masterTreeSha = repo.getTreeRecursive("master", 1).getSha(); - treeBuilder = repo.createTree().baseTree(masterTreeSha); + mainRef = repo.getRef("heads/main"); + String mainTreeSha = repo.getTreeRecursive("main", 1).getSha(); + treeBuilder = repo.createTree().baseTree(mainTreeSha); } @Test @@ -107,11 +107,11 @@ public class GHTreeBuilderTest extends AbstractGitHubWireMockTest { .tree(treeSha) .author("author", "author@author.com", new Date(1611433225969L)) .committer("committer", "committer@committer.com", new Date(1611433225968L)) - .parent(masterRef.getObject().getSha()) + .parent(mainRef.getObject().getSha()) .create(); String commitSha = commit.getSHA1(); - masterRef.updateTo(commitSha); + mainRef.updateTo(commitSha); return commit; } diff --git a/src/test/java/org/kohsuke/github/LifecycleTest.java b/src/test/java/org/kohsuke/github/LifecycleTest.java index ea6f869fe..33ea1266b 100644 --- a/src/test/java/org/kohsuke/github/LifecycleTest.java +++ b/src/test/java/org/kohsuke/github/LifecycleTest.java @@ -87,7 +87,7 @@ public class LifecycleTest extends AbstractGitHubWireMockTest { endsWith("/repos/hub4j-test-org/temp-testCreateRepository/zipball/release_tag")); assertThat(release.getTarballUrl(), endsWith("/repos/hub4j-test-org/temp-testCreateRepository/tarball/release_tag")); - assertThat(release.getTargetCommitish(), equalTo("master")); + assertThat(release.getTargetCommitish(), equalTo("main")); assertThat(release.getHtmlUrl().toString(), endsWith("/hub4j-test-org/temp-testCreateRepository/releases/tag/release_tag")); diff --git a/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json b/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json index c19917a6d..93efc6f72 100644 --- a/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json +++ b/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_HttpStatus_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json b/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_HttpStatus_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json index c19917a6d..93efc6f72 100644 --- a/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_HttpStatus_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json +++ b/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_HttpStatus_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_Wait/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json b/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_Wait/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json index bd45d73c8..59d27cff7 100644 --- a/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_Wait/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json +++ b/src/test/resources/org/kohsuke/github/AbuseLimitHandlerTest/wiremock/testHandler_Wait/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/blob/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/blob/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/blob/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/blob/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins-2.json index 5f1a035df..9a9bd17d1 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins-2.json @@ -96,7 +96,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins_contents_core-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins_contents_core-3.json index 58fb4ae95..0c816e835 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins_contents_core-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins_contents_core-3.json @@ -4,15 +4,15 @@ "path": "core/move-l10n.groovy", "sha": "8d002348827a6c76ec3b4832278384c74a91d692", "size": 1560, - "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/move-l10n.groovy?ref=master", - "html_url": "https://github.com/jenkinsci/jenkins/blob/master/core/move-l10n.groovy", + "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/move-l10n.groovy?ref=main", + "html_url": "https://github.com/jenkinsci/jenkins/blob/main/core/move-l10n.groovy", "git_url": "https://api.github.com/repos/jenkinsci/jenkins/git/blobs/8d002348827a6c76ec3b4832278384c74a91d692", - "download_url": "https://raw.githubusercontent.com/jenkinsci/jenkins/master/core/move-l10n.groovy", + "download_url": "https://raw.githubusercontent.com/jenkinsci/jenkins/main/core/move-l10n.groovy", "type": "file", "_links": { - "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/move-l10n.groovy?ref=master", + "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/move-l10n.groovy?ref=main", "git": "https://api.github.com/repos/jenkinsci/jenkins/git/blobs/8d002348827a6c76ec3b4832278384c74a91d692", - "html": "https://github.com/jenkinsci/jenkins/blob/master/core/move-l10n.groovy" + "html": "https://github.com/jenkinsci/jenkins/blob/main/core/move-l10n.groovy" } }, { @@ -20,15 +20,15 @@ "path": "core/pom.xml", "sha": "0402553742ec270b65e5ea4c0851088659987183", "size": 28950, - "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/pom.xml?ref=master", - "html_url": "https://github.com/jenkinsci/jenkins/blob/master/core/pom.xml", + "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/pom.xml?ref=main", + "html_url": "https://github.com/jenkinsci/jenkins/blob/main/core/pom.xml", "git_url": "https://api.github.com/repos/jenkinsci/jenkins/git/blobs/0402553742ec270b65e5ea4c0851088659987183", - "download_url": "https://raw.githubusercontent.com/jenkinsci/jenkins/master/core/pom.xml", + "download_url": "https://raw.githubusercontent.com/jenkinsci/jenkins/main/core/pom.xml", "type": "file", "_links": { - "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/pom.xml?ref=master", + "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/pom.xml?ref=main", "git": "https://api.github.com/repos/jenkinsci/jenkins/git/blobs/0402553742ec270b65e5ea4c0851088659987183", - "html": "https://github.com/jenkinsci/jenkins/blob/master/core/pom.xml" + "html": "https://github.com/jenkinsci/jenkins/blob/main/core/pom.xml" } }, { @@ -36,15 +36,15 @@ "path": "core/report-l10n.rb", "sha": "d48bf4d2f9ed5de92f6d4a9864ecc168d15e3420", "size": 17290, - "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/report-l10n.rb?ref=master", - "html_url": "https://github.com/jenkinsci/jenkins/blob/master/core/report-l10n.rb", + "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/report-l10n.rb?ref=main", + "html_url": "https://github.com/jenkinsci/jenkins/blob/main/core/report-l10n.rb", "git_url": "https://api.github.com/repos/jenkinsci/jenkins/git/blobs/d48bf4d2f9ed5de92f6d4a9864ecc168d15e3420", - "download_url": "https://raw.githubusercontent.com/jenkinsci/jenkins/master/core/report-l10n.rb", + "download_url": "https://raw.githubusercontent.com/jenkinsci/jenkins/main/core/report-l10n.rb", "type": "file", "_links": { - "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/report-l10n.rb?ref=master", + "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/report-l10n.rb?ref=main", "git": "https://api.github.com/repos/jenkinsci/jenkins/git/blobs/d48bf4d2f9ed5de92f6d4a9864ecc168d15e3420", - "html": "https://github.com/jenkinsci/jenkins/blob/master/core/report-l10n.rb" + "html": "https://github.com/jenkinsci/jenkins/blob/main/core/report-l10n.rb" } }, { @@ -52,15 +52,15 @@ "path": "core/src", "sha": "11d50acb5fba7764e8ef1c230aac16aa9aa0ef31", "size": 0, - "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src?ref=master", - "html_url": "https://github.com/jenkinsci/jenkins/tree/master/core/src", + "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src?ref=main", + "html_url": "https://github.com/jenkinsci/jenkins/tree/main/core/src", "git_url": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/11d50acb5fba7764e8ef1c230aac16aa9aa0ef31", "download_url": null, "type": "dir", "_links": { - "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src?ref=master", + "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src?ref=main", "git": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/11d50acb5fba7764e8ef1c230aac16aa9aa0ef31", - "html": "https://github.com/jenkinsci/jenkins/tree/master/core/src" + "html": "https://github.com/jenkinsci/jenkins/tree/main/core/src" } } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins_contents_core_src-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins_contents_core_src-4.json index d3dcb30c4..0d7fdef2d 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins_contents_core_src-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/__files/repos_jenkinsci_jenkins_contents_core_src-4.json @@ -4,15 +4,15 @@ "path": "core/src/filter", "sha": "5f087f4c3dd2690948371b4f867087d36fdbb19d", "size": 0, - "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/filter?ref=master", - "html_url": "https://github.com/jenkinsci/jenkins/tree/master/core/src/filter", + "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/filter?ref=main", + "html_url": "https://github.com/jenkinsci/jenkins/tree/main/core/src/filter", "git_url": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/5f087f4c3dd2690948371b4f867087d36fdbb19d", "download_url": null, "type": "dir", "_links": { - "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/filter?ref=master", + "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/filter?ref=main", "git": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/5f087f4c3dd2690948371b4f867087d36fdbb19d", - "html": "https://github.com/jenkinsci/jenkins/tree/master/core/src/filter" + "html": "https://github.com/jenkinsci/jenkins/tree/main/core/src/filter" } }, { @@ -20,15 +20,15 @@ "path": "core/src/main", "sha": "7334485bc5155447be2692f1d4acf9c717335d7b", "size": 0, - "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/main?ref=master", - "html_url": "https://github.com/jenkinsci/jenkins/tree/master/core/src/main", + "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/main?ref=main", + "html_url": "https://github.com/jenkinsci/jenkins/tree/main/core/src/main", "git_url": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/7334485bc5155447be2692f1d4acf9c717335d7b", "download_url": null, "type": "dir", "_links": { - "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/main?ref=master", + "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/main?ref=main", "git": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/7334485bc5155447be2692f1d4acf9c717335d7b", - "html": "https://github.com/jenkinsci/jenkins/tree/master/core/src/main" + "html": "https://github.com/jenkinsci/jenkins/tree/main/core/src/main" } }, { @@ -36,15 +36,15 @@ "path": "core/src/site", "sha": "59d5107eeacdac5a50a2e2eb3592d79c9a8f8743", "size": 0, - "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/site?ref=master", - "html_url": "https://github.com/jenkinsci/jenkins/tree/master/core/src/site", + "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/site?ref=main", + "html_url": "https://github.com/jenkinsci/jenkins/tree/main/core/src/site", "git_url": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/59d5107eeacdac5a50a2e2eb3592d79c9a8f8743", "download_url": null, "type": "dir", "_links": { - "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/site?ref=master", + "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/site?ref=main", "git": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/59d5107eeacdac5a50a2e2eb3592d79c9a8f8743", - "html": "https://github.com/jenkinsci/jenkins/tree/master/core/src/site" + "html": "https://github.com/jenkinsci/jenkins/tree/main/core/src/site" } }, { @@ -52,15 +52,15 @@ "path": "core/src/test", "sha": "d600ddfd8eebaf8b605d9f99d3a9f117fac2eb2b", "size": 0, - "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/test?ref=master", - "html_url": "https://github.com/jenkinsci/jenkins/tree/master/core/src/test", + "url": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/test?ref=main", + "html_url": "https://github.com/jenkinsci/jenkins/tree/main/core/src/test", "git_url": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/d600ddfd8eebaf8b605d9f99d3a9f117fac2eb2b", "download_url": null, "type": "dir", "_links": { - "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/test?ref=master", + "self": "https://api.github.com/repos/jenkinsci/jenkins/contents/core/src/test?ref=main", "git": "https://api.github.com/repos/jenkinsci/jenkins/git/trees/d600ddfd8eebaf8b605d9f99d3a9f117fac2eb2b", - "html": "https://github.com/jenkinsci/jenkins/tree/master/core/src/test" + "html": "https://github.com/jenkinsci/jenkins/tree/main/core/src/test" } } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/mappings/repos_jenkinsci_jenkins_contents_core_src-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/mappings/repos_jenkinsci_jenkins_contents_core_src-4.json index cb6a53b59..707c2698b 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/mappings/repos_jenkinsci_jenkins_contents_core_src-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/directoryListing/mappings/repos_jenkinsci_jenkins_contents_core_src-4.json @@ -2,7 +2,7 @@ "id": "0566ab8b-d260-47cb-a6e6-fafa6fc2836c", "name": "repos_jenkinsci_jenkins_contents_core_src", "request": { - "url": "/repos/jenkinsci/jenkins/contents/core/src?ref=master", + "url": "/repos/jenkinsci/jenkins/contents/core/src?ref=main", "method": "GET", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/notifications/__files/notifications-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/notifications/__files/notifications-16.json index 38f05d4cd..21376f70f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/notifications/__files/notifications-16.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/notifications/__files/notifications-16.json @@ -827,15 +827,15 @@ "last_read_at": "2019-09-11T00:03:20Z", "subject": { "title": "[CPLT2-5785] Define jenkins.hook.url when appropriate", - "url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/pulls/15", - "latest_comment_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/pulls/15", + "url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/pulls/15", + "latest_comment_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/pulls/15", "type": "PullRequest" }, "repository": { "id": 202214807, "node_id": "MDEwOlJlcG9zaXRvcnkyMDIyMTQ4MDc=", - "name": "managed-master-hibernation-plugin", - "full_name": "cloudbees/managed-master-hibernation-plugin", + "name": "managed-main-hibernation-plugin", + "full_name": "cloudbees/managed-main-hibernation-plugin", "private": true, "owner": { "login": "cloudbees", @@ -857,46 +857,46 @@ "type": "Organization", "site_admin": false }, - "html_url": "https://github.com/cloudbees/managed-master-hibernation-plugin", - "description": "CPLT2-5737: Allows a managed master to indicate that it is ready to be hibernated.", + "html_url": "https://github.com/cloudbees/managed-main-hibernation-plugin", + "description": "CPLT2-5737: Allows a managed main to indicate that it is ready to be hibernated.", "fork": false, - "url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin", - "forks_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/forks", - "keys_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/teams", - "hooks_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/hooks", - "issue_events_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/issues/events{/number}", - "events_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/events", - "assignees_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/assignees{/user}", - "branches_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/branches{/branch}", - "tags_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/tags", - "blobs_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/statuses/{sha}", - "languages_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/languages", - "stargazers_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/stargazers", - "contributors_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/contributors", - "subscribers_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/subscribers", - "subscription_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/subscription", - "commits_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/contents/{+path}", - "compare_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/merges", - "archive_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/downloads", - "issues_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/issues{/number}", - "pulls_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/pulls{/number}", - "milestones_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/milestones{/number}", - "notifications_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/labels{/name}", - "releases_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/releases{/id}", - "deployments_url": "https://api.github.com/repos/cloudbees/managed-master-hibernation-plugin/deployments" + "url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin", + "forks_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/forks", + "keys_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/teams", + "hooks_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/events", + "assignees_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/tags", + "blobs_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/subscription", + "commits_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/merges", + "archive_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/downloads", + "issues_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees/managed-main-hibernation-plugin/deployments" }, "url": "https://api.github.com/notifications/threads/581645707", "subscription_url": "https://api.github.com/notifications/threads/581645707/subscription" diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/notifications/__files/notifications-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/notifications/__files/notifications-6.json index 4055c9a5f..9fe804078 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/notifications/__files/notifications-6.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/notifications/__files/notifications-6.json @@ -4024,7 +4024,7 @@ "updated_at": "2019-10-14T21:06:40Z", "last_read_at": "2019-10-18T20:02:08Z", "subject": { - "title": "CSDOCS-206 - Adjust Jenkinsfile to only deploy master commits", + "title": "CSDOCS-206 - Adjust Jenkinsfile to only deploy main commits", "url": "https://api.github.com/repos/cloudbees/docsite-engine/pulls/121", "latest_comment_url": "https://api.github.com/repos/cloudbees/docsite-engine/issues/comments/541921810", "type": "PullRequest" diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-2.json index 60b48ad00..df6bca44d 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 57, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommit/__files/repos_jenkinsci_jenkins-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommit/__files/repos_jenkinsci_jenkins-3.json index 5f1a035df..9a9bd17d1 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommit/__files/repos_jenkinsci_jenkins-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommit/__files/repos_jenkinsci_jenkins-3.json @@ -96,7 +96,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitComment/__files/repos_jenkinsci_jenkins-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitComment/__files/repos_jenkinsci_jenkins-3.json index 5f1a035df..9a9bd17d1 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitComment/__files/repos_jenkinsci_jenkins-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitComment/__files/repos_jenkinsci_jenkins-3.json @@ -96,7 +96,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitComment/__files/repos_jenkinsci_jenkins_comments-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitComment/__files/repos_jenkinsci_jenkins_comments-4.json index 518c34865..6f3d41390 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitComment/__files/repos_jenkinsci_jenkins_comments-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitComment/__files/repos_jenkinsci_jenkins_comments-4.json @@ -779,7 +779,7 @@ "created_at": "2011-02-10T14:10:23Z", "updated_at": "2011-02-10T14:10:23Z", "author_association": "MEMBER", - "body": "We are not forgetting to merge this, JENKINS-8592, branch into master?\n" + "body": "We are not forgetting to merge this, JENKINS-8592, branch into main?\n" }, { "url": "https://api.github.com/repos/jenkinsci/jenkins/comments/267069", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-10.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-10.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-10.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-11.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-11.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-11.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-12.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-12.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-12.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-13.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-13.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-13.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-14.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-14.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-14.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-15.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-15.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-15.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-16.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-16.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-16.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-17.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-17.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-17.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-18.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-18.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-18.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-18.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-19.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-19.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-19.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-19.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-20.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-20.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-20.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-20.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-21.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-21.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-21.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-21.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-22.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-22.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-22.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-22.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-23.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-23.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-23.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-23.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-24.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-24.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-24.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-24.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-25.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-25.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-25.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-25.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-26.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-26.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-26.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-26.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-27.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-27.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-27.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-27.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-28.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-28.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-28.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-28.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-29.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-29.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-29.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-29.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-3.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-3.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-30.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-30.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-30.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-30.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-31.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-31.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-31.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-31.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-32.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-32.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-32.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-32.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-34.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-34.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-34.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-34.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-35.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-35.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-35.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-35.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-36.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-36.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-36.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-36.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-37.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-37.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-37.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-37.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-38.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-38.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-38.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-38.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-39.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-39.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-39.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-39.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-4.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-4.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-40.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-40.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-40.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-40.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-41.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-41.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-41.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-41.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-42.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-42.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-42.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-42.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-43.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-43.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-43.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-43.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-44.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-44.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-44.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-44.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-45.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-45.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-45.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-45.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-46.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-46.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-46.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-46.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-47.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-47.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-47.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-47.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-48.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-48.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-48.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-48.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-49.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-49.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-49.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-49.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-5.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-5.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-50.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-50.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-50.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-50.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-51.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-51.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-51.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-51.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-52.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-52.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-52.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-52.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-53.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-53.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-53.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-53.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-54.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-54.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-54.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-54.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-55.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-55.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-55.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-55.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-56.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-56.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-56.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-56.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-57.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-57.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-57.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-57.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-58.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-58.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-58.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-58.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-59.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-59.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-59.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-59.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-6.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-6.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-60.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-60.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-60.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-60.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-61.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-61.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-61.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-61.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-62.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-62.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-62.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-62.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-63.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-63.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-63.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-63.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-7.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-7.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-8.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-8.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-8.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-9.json index 14925099e..b5ae9d93f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/repos_hub4j_github-api-9.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 58, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/search_commits-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/search_commits-2.json index 14523051c..f81ca46d8 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/search_commits-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/search_commits-2.json @@ -443,7 +443,7 @@ "name": "Kohsuke Kawaguchi", "email": "kk@kohsuke.org" }, - "message": "Merge branch 'master' of github.com:kohsuke/github-api", + "message": "Merge branch 'main' of github.com:kohsuke/github-api", "tree": { "url": "https://api.github.com/repos/hub4j/github-api/git/trees/76d86aa0103be48e4dde3b1263c3ead31709c04e", "sha": "76d86aa0103be48e4dde3b1263c3ead31709c04e" @@ -2301,7 +2301,7 @@ "name": "GitHub", "email": "noreply@github.com" }, - "message": "Merge pull request #411 from tadfisher/master\n\nAdd GHRepository.getRelease and GHRepository.getReleaseByTagName", + "message": "Merge pull request #411 from tadfisher/main\n\nAdd GHRepository.getRelease and GHRepository.getReleaseByTagName", "tree": { "url": "https://api.github.com/repos/hub4j/github-api/git/trees/1c7cdc463be852d52019e264162a8fbcdb280678", "sha": "1c7cdc463be852d52019e264162a8fbcdb280678" @@ -3031,7 +3031,7 @@ "name": "GitHub", "email": "noreply@github.com" }, - "message": "Merge pull request #439 from l3ender/master\n\nAdd support for repository searching by \"topic\"", + "message": "Merge pull request #439 from l3ender/main\n\nAdd support for repository searching by \"topic\"", "tree": { "url": "https://api.github.com/repos/hub4j/github-api/git/trees/bff00c66f979c96203d466601499a76d13d0b711", "sha": "bff00c66f979c96203d466601499a76d13d0b711" @@ -3177,7 +3177,7 @@ "name": "Kohsuke Kawaguchi", "email": "kk@kohsuke.org" }, - "message": "Merge remote-tracking branch 'origin/master'", + "message": "Merge remote-tracking branch 'origin/main'", "tree": { "url": "https://api.github.com/repos/hub4j/github-api/git/trees/936eeedfad781d857e393b3c2f6d5fa7a6804438", "sha": "936eeedfad781d857e393b3c2f6d5fa7a6804438" diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/search_commits-33.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/search_commits-33.json index 14523051c..f81ca46d8 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/search_commits-33.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitSearch/__files/search_commits-33.json @@ -443,7 +443,7 @@ "name": "Kohsuke Kawaguchi", "email": "kk@kohsuke.org" }, - "message": "Merge branch 'master' of github.com:kohsuke/github-api", + "message": "Merge branch 'main' of github.com:kohsuke/github-api", "tree": { "url": "https://api.github.com/repos/hub4j/github-api/git/trees/76d86aa0103be48e4dde3b1263c3ead31709c04e", "sha": "76d86aa0103be48e4dde3b1263c3ead31709c04e" @@ -2301,7 +2301,7 @@ "name": "GitHub", "email": "noreply@github.com" }, - "message": "Merge pull request #411 from tadfisher/master\n\nAdd GHRepository.getRelease and GHRepository.getReleaseByTagName", + "message": "Merge pull request #411 from tadfisher/main\n\nAdd GHRepository.getRelease and GHRepository.getReleaseByTagName", "tree": { "url": "https://api.github.com/repos/hub4j/github-api/git/trees/1c7cdc463be852d52019e264162a8fbcdb280678", "sha": "1c7cdc463be852d52019e264162a8fbcdb280678" @@ -3031,7 +3031,7 @@ "name": "GitHub", "email": "noreply@github.com" }, - "message": "Merge pull request #439 from l3ender/master\n\nAdd support for repository searching by \"topic\"", + "message": "Merge pull request #439 from l3ender/main\n\nAdd support for repository searching by \"topic\"", "tree": { "url": "https://api.github.com/repos/hub4j/github-api/git/trees/bff00c66f979c96203d466601499a76d13d0b711", "sha": "bff00c66f979c96203d466601499a76d13d0b711" @@ -3177,7 +3177,7 @@ "name": "Kohsuke Kawaguchi", "email": "kk@kohsuke.org" }, - "message": "Merge remote-tracking branch 'origin/master'", + "message": "Merge remote-tracking branch 'origin/main'", "tree": { "url": "https://api.github.com/repos/hub4j/github-api/git/trees/936eeedfad781d857e393b3c2f6d5fa7a6804438", "sha": "936eeedfad781d857e393b3c2f6d5fa7a6804438" diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitShortInfo/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitShortInfo/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitShortInfo/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitShortInfo/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitStatus/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitStatus/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitStatus/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCommitStatus/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-3.json index 264ca5a0f..60041489a 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-3.json @@ -90,7 +90,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -189,7 +189,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 3231216, @@ -283,7 +283,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master" + "default_branch": "main" }, "network_count": 4, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_hub4j-test-org_github-api-test-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_hub4j-test-org_github-api-test-2.json index d0c7e5fb2..3a48705da 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_hub4j-test-org_github-api-test-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateIssue/__files/repos_hub4j-test-org_github-api-test-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-10.json index 986493202..eb0b964b5 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-10.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-10.json @@ -18,7 +18,7 @@ "payload": { "ref": "branch-8855a329", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -222,7 +222,7 @@ "payload": { "ref": "branch-e08f46fa", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -249,7 +249,7 @@ "push_id": 4176854891, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "d3108b1a65697a4d495da409b90c01949487a028", "before": "b6149875bc527d31618a9e49513966cd52129ada", "commits": [ @@ -523,12 +523,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "gridu:master", - "ref": "master", + "label": "gridu:main", + "ref": "main", "sha": "b3b4fd9e4a2e1aa505cb9d3b7f019f8431e495da", "user": { "login": "gridu", @@ -642,7 +642,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -716,7 +716,7 @@ "push_id": 4176854890, "size": 11, "distinct_size": 11, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "6c05258cfd1a6156ee587923fb2ac0f55d84e482", "before": "e63bc6b2efce3bc6525e020fba6085654ddd3f49", "commits": [ @@ -736,7 +736,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming\n\ndone", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming\n\ndone", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/7807e29af8106aa4a6c01538c9a745c52db52155" }, @@ -746,7 +746,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming\n\ndone", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming\n\ndone", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/c19074a391ed36dd451f792c3f003d6bff670a70" }, @@ -766,7 +766,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming\n\naaa", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming\n\naaa", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/2812192ddc013f7e75b3f1845649eb5ccb8baaea" }, @@ -786,7 +786,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/07ea94f84ae40ae341de1158f0a5c1c4804dae8c" }, @@ -806,7 +806,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/9d9d8e3ff80b91b6fe30732b36dee7b5b88196d5" }, @@ -904,7 +904,7 @@ "push_id": 4176854889, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "30555b249ec8d391669c5e0986633c81ae0074e4", "before": "be176ad97e275562df0352855aa7d1f0d06786ce", "commits": [ @@ -950,7 +950,7 @@ "push_id": 4176854884, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "61a4f6c6a093379eb8a5c8212c4fd59c2b6583f4", "before": "371b9b4cc0a641cb7dd1b1c5e67b920ff267e6ee", "commits": [ @@ -1069,7 +1069,7 @@ "updated_at": "2019-10-21T21:54:48Z", "closed_at": null, "author_association": "NONE", - "body": "## Welcome!\n\nHello and welcome! In this course you will learn how you can get your best work done in pull requests. You'll learn when and how to request a review, how to review someone else's code, and how to respond to reviews. To do this, we'll be playing around with the code in this repository that makes a simple Tetris game.\n\nIf you'd like, you can use [GitHub Pages](https://pages.github.com/) to host your Tetris game. Just go to the **Settings** tab of this repository. Scroll down to **GitHub Pages**. Select `master` as a **Source**, and click **Save**. \n\n### New to GitHub?\n\nFor this course, you'll need some background knowledge. If you need a refresher on the GitHub flow, check out [the Introduction to GitHub course](https://lab.github.com/courses/introduction-to-github).\n\n## Pull Requests Reviews 101\n\nReviewing a pull request is an opportunity to examine another contributor's changes. While reviewing a pull request, you can extrapolate how someone else solved a problem. It's an awesome opportunity to learn more about how the code works and how others solve problems. Reviewing a pull request is a great learning opportunity!\n\n## Step 1: Add assignees for issues and pull requests\n\nAssignees on issues and pull requests let other team members know who is responsible. The assignee oversees the issue or pull request in an accessible and visible way.\n\n### :keyboard: Activity: Assign yourself to this issue\n\n1. On the right side of the screen, click the `assign yourself` text under the **Assignees** section\n\n
\n

I'll respond below for your next step

\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps._\n" + "body": "## Welcome!\n\nHello and welcome! In this course you will learn how you can get your best work done in pull requests. You'll learn when and how to request a review, how to review someone else's code, and how to respond to reviews. To do this, we'll be playing around with the code in this repository that makes a simple Tetris game.\n\nIf you'd like, you can use [GitHub Pages](https://pages.github.com/) to host your Tetris game. Just go to the **Settings** tab of this repository. Scroll down to **GitHub Pages**. Select `main` as a **Source**, and click **Save**. \n\n### New to GitHub?\n\nFor this course, you'll need some background knowledge. If you need a refresher on the GitHub flow, check out [the Introduction to GitHub course](https://lab.github.com/courses/introduction-to-github).\n\n## Pull Requests Reviews 101\n\nReviewing a pull request is an opportunity to examine another contributor's changes. While reviewing a pull request, you can extrapolate how someone else solved a problem. It's an awesome opportunity to learn more about how the code works and how others solve problems. Reviewing a pull request is a great learning opportunity!\n\n## Step 1: Add assignees for issues and pull requests\n\nAssignees on issues and pull requests let other team members know who is responsible. The assignee oversees the issue or pull request in an accessible and visible way.\n\n### :keyboard: Activity: Assign yourself to this issue\n\n1. On the right side of the screen, click the `assign yourself` text under the **Assignees** section\n\n
\n

I'll respond below for your next step

\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps._\n" }, "comment": { "url": "https://api.github.com/repos/rcordeirotmu/reviewing-a-pull-request/issues/comments/544724566", @@ -1296,12 +1296,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "dekkerglen:master", - "ref": "master", + "label": "dekkerglen:main", + "ref": "main", "sha": "f25ddd94644152d3bb6f2641e552b05108d13475", "user": { "login": "dekkerglen", @@ -1421,7 +1421,7 @@ "forks": 28, "open_issues": 126, "watchers": 39, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1507,7 +1507,7 @@ "push_id": 4176854881, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "b826329617c6f44caaac3be82a3147d082e404b7", "before": "4ff7211da7ee2bfa13e742c6332d78b228a4f4dc", "commits": [ @@ -1553,7 +1553,7 @@ "push_id": 4176854876, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f4b6567d15dfe6709d3eecd304877e4ca32ac308", "before": "0d0b5abb37eae9421cf0cbdcc63e37e2cd0f1a06", "commits": [ @@ -1573,7 +1573,7 @@ "email": "adrir@adrir.com", "name": "Adrir" }, - "message": "Merge branch 'master' of https://github.com/Adrir/comp120-tinkering-graphics", + "message": "Merge branch 'main' of https://github.com/Adrir/comp120-tinkering-graphics", "distinct": true, "url": "https://api.github.com/repos/Adrir/comp120-tinkering-graphics/commits/f4b6567d15dfe6709d3eecd304877e4ca32ac308" } @@ -1602,7 +1602,7 @@ "push_id": 4176854871, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "ccc9ca4e384c48c6543b66801cb9dc8df3fd2178", "before": "6bcfc18c475e5ab4de1f89a5a588ea628367ea38", "commits": [ @@ -1805,12 +1805,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "dm-group-trakd:master", - "ref": "master", + "label": "dm-group-trakd:main", + "ref": "main", "sha": "4586bdd4aba94009ee60a2d01710f50493f60fd7", "user": { "login": "dm-group-trakd", @@ -1924,7 +1924,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2017,7 +2017,7 @@ "push_id": 4176854878, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "6ce7de98689be2a91f3455f0fe83754252658073", "before": "2d14bcf9d9906d1ef9aa124b3ed168e926b45334", "commits": [ @@ -2226,12 +2226,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "envoyproxy:master", - "ref": "master", + "label": "envoyproxy:main", + "ref": "main", "sha": "4bd38639fe0332c55961505d4e091f72895b7f73", "user": { "login": "envoyproxy", @@ -2351,7 +2351,7 @@ "forks": 26, "open_issues": 66, "watchers": 61, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2608,8 +2608,8 @@ "comments_url": "https://api.github.com/repos/cyberark/conjur/issues/1209/comments", "statuses_url": "https://api.github.com/repos/cyberark/conjur/statuses/d16c40c290d4f1ac139b101cd089a1635f20db29", "head": { - "label": "AndrewCopeland:master", - "ref": "master", + "label": "AndrewCopeland:main", + "ref": "main", "sha": "d16c40c290d4f1ac139b101cd089a1635f20db29", "user": { "login": "AndrewCopeland", @@ -2729,12 +2729,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "cyberark:master", - "ref": "master", + "label": "cyberark:main", + "ref": "main", "sha": "ccf74318168be925bd62753926ae6b46ccce67aa", "user": { "login": "cyberark", @@ -2854,7 +2854,7 @@ "forks": 63, "open_issues": 260, "watchers": 320, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2916,7 +2916,7 @@ "push_id": 4176854863, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "2282592b49f3c60b07f84135ddfd8d7199d93e2a", "before": "f393ac03494aa2e71988f93d73243c6887bf1541", "commits": [ @@ -2954,7 +2954,7 @@ "payload": { "ref": "steveDesktop", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -2981,7 +2981,7 @@ "push_id": 4176854859, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "908784246be05f222167f3f463e1423885f54ac5", "before": "9e030787665d1dbf6f75f4020c52cb842d3cd17b", "commits": [ @@ -3109,7 +3109,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "public": true } }, @@ -3165,7 +3165,7 @@ "push_id": 4176854855, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "c8c067d90454baf99eb4cb1f02306b6de748a2b7", "before": "35f44d43437cfe431fc2ee4ad42cb2a790c9a789", "commits": [ @@ -3452,12 +3452,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "ampproject:master", - "ref": "master", + "label": "ampproject:main", + "ref": "main", "sha": "9e8a075958f4a7995ba8190c5becc32ef3108f89", "user": { "login": "ampproject", @@ -3577,7 +3577,7 @@ "forks": 3217, "open_issues": 1641, "watchers": 13177, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -3803,12 +3803,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "AvalancheOfFox:master", - "ref": "master", + "label": "AvalancheOfFox:main", + "ref": "main", "sha": "8809925097f56d47aba7203acbfa5420b5f9ed61", "user": { "login": "AvalancheOfFox", @@ -3922,7 +3922,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -4032,9 +4032,9 @@ "url": "https://api.github.com/repos/carlosgon1/Carlos-Gonzalez" }, "payload": { - "ref": "master", + "ref": "main", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-11.json index 8246842ce..efa8fe9d8 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-11.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-11.json @@ -19,7 +19,7 @@ "push_id": 4176854844, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "d2236eda0eaacce89c1061771ee6b869c1a45f62", "before": "c056019ab48ac4112f94e3d3a4b8df5c4a829942", "commits": [ @@ -68,7 +68,7 @@ "push_id": 4176854836, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "803f0f4a487b2b4da9410829dca1cbdc1f0209e4", "before": "cb6da22b157a14363ad3a4c4f716ec8390ab7aec", "commits": [ @@ -153,7 +153,7 @@ "push_id": 4176854834, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "520b59ae2047f8b6adaa0a17a17d9ca531de3b3e", "before": "38d8e77f999ba5999c013b44f6e8fe808308de7a", "commits": [ @@ -191,7 +191,7 @@ "payload": { "ref": null, "ref_type": "repository", - "master_branch": "master", + "master_branch": "main", "description": "Documentation on Angreifer.org services (coming soon)", "pusher_type": "user" }, @@ -284,7 +284,7 @@ "email": "27856297+dependabot-preview[bot]@users.noreply.github.com", "name": "dependabot-preview[bot]" }, - "message": "build(deps): bump date-fns from 2.2.1 to 2.5.1\n\nBumps [date-fns](https://github.com/date-fns/date-fns) from 2.2.1 to 2.5.1.\n- [Release notes](https://github.com/date-fns/date-fns/releases)\n- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)\n- [Commits](https://github.com/date-fns/date-fns/compare/v2.2.1...v2.5.1)\n\nSigned-off-by: dependabot-preview[bot] ", + "message": "build(deps): bump date-fns from 2.2.1 to 2.5.1\n\nBumps [date-fns](https://github.com/date-fns/date-fns) from 2.2.1 to 2.5.1.\n- [Release notes](https://github.com/date-fns/date-fns/releases)\n- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/date-fns/date-fns/compare/v2.2.1...v2.5.1)\n\nSigned-off-by: dependabot-preview[bot] ", "distinct": true, "url": "https://api.github.com/repos/Profiscience/knockout-contrib/commits/3c2acb28c17c60c9f15afa9763dca02d5923b2c3" } @@ -410,7 +410,7 @@ "push_id": 4176854811, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "9e030787665d1dbf6f75f4020c52cb842d3cd17b", "before": "0bb1bbedfa1148e8931dca828cfaa3a6f21dd9a4", "commits": [ @@ -473,7 +473,7 @@ "push_id": 4176854806, "size": 61, "distinct_size": 0, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "5005a784df3fe79330212c6503c67b05b474df87", "before": "36df29735886a29cda5ba7bccf26ef0faa55f1c0", "commits": [ diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-2.json index 495204b57..e0a52fe40 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-2.json @@ -98,7 +98,7 @@ "type": "User", "site_admin": false }, - "body": "\r\n\r\n## Description\r\n\r\nCurrently waagent relies on explicit configuration (`Provisioning.UseCloudInit` to be set, and `Provisioning.Enabled` to be falsy). This can pose an interesting problem with the introduction of cloud-init. When waagent and cloud-init live side-by-side, they will contend with each other to be the provisioning agent. Image maintainers need to explicitly set configuration (above) so that waagent allows cloud-init to be the provisioning agent. With maintainers possibly not knowing about this behavior, they could unknowing cause provisioning issues.\r\n\r\nThis PR changes that behavior by deprecating `Provisioning.UseCloudInit` and `Provisioning.Enabled` configuration options and introduces a new configuration setting: `Provisioning.Agent`. The following values change the behavior of which provisioning agent to use:\r\n\r\n* `auto` (default) - Allow waagent to autodetect to see if cloud-init is enabled. If so, use cloud-init as the provisioning agent. If not, use waagent as the provisioning agent.\r\n* `waagent` - Force waagent as the provisioning agent.\r\n* `cloud-init` - Force cloud-init as the provisioning agent.\r\n* `disabled` - Disable all provisioning.\r\n\r\n---\r\n\r\n### PR information\r\n- [x] The title of the PR is clear and informative.\r\n- [x] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md).\r\n- [x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.\r\n- [x] If applicable, the PR references the bug/issue that it fixes in the description.\r\n- [x] New Unit tests were added for the changes made and Travis.CI is passing.\r\n\r\n### Quality of Code and Contribution Guidelines\r\n- [x] I have read the [contribution guidelines](https://github.com/Azure/WALinuxAgent/blob/master/.github/CONTRIBUTING.md).\r\n\r\n\r\n---\r\nThis change is [\"Reviewable\"/](https://reviewable.io/reviews/azure/walinuxagent/1633)\r\n\r\n", + "body": "\r\n\r\n## Description\r\n\r\nCurrently waagent relies on explicit configuration (`Provisioning.UseCloudInit` to be set, and `Provisioning.Enabled` to be falsy). This can pose an interesting problem with the introduction of cloud-init. When waagent and cloud-init live side-by-side, they will contend with each other to be the provisioning agent. Image maintainers need to explicitly set configuration (above) so that waagent allows cloud-init to be the provisioning agent. With maintainers possibly not knowing about this behavior, they could unknowing cause provisioning issues.\r\n\r\nThis PR changes that behavior by deprecating `Provisioning.UseCloudInit` and `Provisioning.Enabled` configuration options and introduces a new configuration setting: `Provisioning.Agent`. The following values change the behavior of which provisioning agent to use:\r\n\r\n* `auto` (default) - Allow waagent to autodetect to see if cloud-init is enabled. If so, use cloud-init as the provisioning agent. If not, use waagent as the provisioning agent.\r\n* `waagent` - Force waagent as the provisioning agent.\r\n* `cloud-init` - Force cloud-init as the provisioning agent.\r\n* `disabled` - Disable all provisioning.\r\n\r\n---\r\n\r\n### PR information\r\n- [x] The title of the PR is clear and informative.\r\n- [x] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, [see this page](https://github.com/Azure/azure-powershell/blob/main/documentation/development-docs/cleaning-up-commits.md).\r\n- [x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.\r\n- [x] If applicable, the PR references the bug/issue that it fixes in the description.\r\n- [x] New Unit tests were added for the changes made and Travis.CI is passing.\r\n\r\n### Quality of Code and Contribution Guidelines\r\n- [x] I have read the [contribution guidelines](https://github.com/Azure/WALinuxAgent/blob/main/.github/CONTRIBUTING.md).\r\n\r\n\r\n---\r\nThis change is [\"Reviewable\"/](https://reviewable.io/reviews/azure/walinuxagent/1633)\r\n\r\n", "created_at": "2019-09-13T15:12:48Z", "updated_at": "2019-10-21T21:54:52Z", "closed_at": null, @@ -525,7 +525,7 @@ "push_id": 4176855091, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "a5d076457b88b544a7e7ca9351854fe40c2c8596", "before": "9b6089c7a2e4483181fd96bd0ff77ffe49eac51b", "commits": [ @@ -545,7 +545,7 @@ "email": "bruno7kp@outlook.com", "name": "Bruno" }, - "message": "Merge remote-tracking branch 'origin/master'", + "message": "Merge remote-tracking branch 'origin/main'", "distinct": true, "url": "https://api.github.com/repos/Bruno7kp/webPythonProjetoEstudo2019_02/commits/a5d076457b88b544a7e7ca9351854fe40c2c8596" } @@ -638,7 +638,7 @@ "push_id": 4176855087, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "230d1a6c4e090efb647ab1fb9e8fb8db91d652ab", "before": "0dc96f40d477ffd4f9838c2ab68ea462364a6581", "commits": [ @@ -676,7 +676,7 @@ "payload": { "ref": "test.phpbranch1", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "Develop our code skills", "pusher_type": "user" }, @@ -742,7 +742,7 @@ "push_id": 4176855086, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f3e302ebb90aece032608a8e29fd36c136636a6f", "before": "430ea4bf98dcee88235f556a2b89237552ef1be4", "commits": [ @@ -883,7 +883,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "public": true } }, @@ -940,7 +940,7 @@ "email": "sebastien@eustace.io", "name": "Sébastien Eustace" }, - "message": "Merge branch 'master' into develop", + "message": "Merge branch 'main' into develop", "distinct": false, "url": "https://api.github.com/repos/steinnes/poetry/commits/329b334be25fcd6af876372958633325ce9ca4ae" }, @@ -970,7 +970,7 @@ "email": "sebastien@eustace.io", "name": "Sébastien Eustace" }, - "message": "Merge branch 'master' into develop", + "message": "Merge branch 'main' into develop", "distinct": false, "url": "https://api.github.com/repos/steinnes/poetry/commits/832e8fea6d85c35a645cf4b0d37e0f1c3216c280" }, @@ -1080,7 +1080,7 @@ "email": "sebastien@eustace.io", "name": "Sébastien Eustace" }, - "message": "Merge branch 'master' into develop\n\n# Conflicts:\n#\tCHANGELOG.md\n#\tpoetry.lock\n#\tpoetry/__version__.py\n#\tpyproject.toml\n#\ttests/packages/test_locker.py", + "message": "Merge branch 'main' into develop\n\n# Conflicts:\n#\tCHANGELOG.md\n#\tpoetry.lock\n#\tpoetry/__version__.py\n#\tpyproject.toml\n#\ttests/packages/test_locker.py", "distinct": false, "url": "https://api.github.com/repos/steinnes/poetry/commits/dbe13102facbb5886c4e1d431db7eb125fe475c4" }, @@ -1149,7 +1149,7 @@ "number": 20, "state": "closed", "locked": false, - "title": "[pull] master from lerna:master", + "title": "[pull] main from lerna:main", "user": { "login": "pull[bot]", "id": 39814207, @@ -1197,8 +1197,8 @@ "comments_url": "https://api.github.com/repos/daddyfatstacksBIG/lerna/issues/20/comments", "statuses_url": "https://api.github.com/repos/daddyfatstacksBIG/lerna/statuses/4872459be7bf88e5900ff907b07279e9516d333c", "head": { - "label": "lerna:master", - "ref": "master", + "label": "lerna:main", + "ref": "main", "sha": "4872459be7bf88e5900ff907b07279e9516d333c", "user": { "login": "lerna", @@ -1318,12 +1318,12 @@ "forks": 1208, "open_issues": 230, "watchers": 19472, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "daddyfatstacksBIG:master", - "ref": "master", + "label": "daddyfatstacksBIG:main", + "ref": "main", "sha": "99425f7e3df4d081c51f9850e71ad93e83dc30c4", "user": { "login": "daddyfatstacksBIG", @@ -1443,7 +1443,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1603,7 +1603,7 @@ "payload": { "ref": "dependabot/npm_and_yarn/vue-shop/mixin-deep-1.3.2", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "实战商城", "pusher_type": "user" }, @@ -1630,7 +1630,7 @@ "push_id": 4176855075, "size": 5, "distinct_size": 5, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "4872459be7bf88e5900ff907b07279e9516d333c", "before": "99425f7e3df4d081c51f9850e71ad93e83dc30c4", "commits": [ @@ -1812,7 +1812,7 @@ "payload": { "ref": null, "ref_type": "repository", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -1836,9 +1836,9 @@ "url": "https://api.github.com/repos/NathanPG/TCP_GuessGame" }, "payload": { - "ref": "master", + "ref": "main", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -1904,7 +1904,7 @@ "push_id": 4176855068, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "3099a4b8091293fd480a6e64da5b01e385fcfa06", "before": "0f4de10752e6dc72e179caaeddcf3a1d522b2099", "commits": [ @@ -1989,7 +1989,7 @@ "push_id": 4176855060, "size": 0, "distinct_size": 0, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "3b4fe7970049252f77fc6068371e59c48bc1cddf", "before": "3b4fe7970049252f77fc6068371e59c48bc1cddf", "commits": [] @@ -2024,7 +2024,7 @@ "push_id": 4176855066, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f3cf80bd829569dcc690663965465e8dc0ef6f50", "before": "d4d97bd2ff211b55c603298f8ca75c6ab43b69d9", "commits": [ @@ -2063,7 +2063,7 @@ "push_id": 4176855063, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "969d8090a16f7452a895965009ba7f6a4edc9c82", "before": "481b4f5fd37451b9e9d2102f44f13bc9d18c599f", "commits": [ @@ -2268,7 +2268,7 @@ "created_at": "2019-10-21T21:54:51Z", "updated_at": "2019-10-21T21:54:51Z", "author_association": "CONTRIBUTOR", - "body": "[APPROVALNOTIFIER] This PR is **APPROVED**\n\nThis pull-request has been approved by: *BenTheElder*, *Katharine*\n\nThe full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes%2Ftest-infra).\n\nThe pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)\n\n
\nNeeds approval from an approver in each of these files:\n\n- ~~[gopherage/OWNERS](https://github.com/kubernetes/test-infra/blob/master/gopherage/OWNERS)~~ [BenTheElder,Katharine]\n\nApprovers can indicate their approval by writing `/approve` in a comment\nApprovers can cancel approval by writing `/approve cancel` in a comment\n
\n" + "body": "[APPROVALNOTIFIER] This PR is **APPROVED**\n\nThis pull-request has been approved by: *BenTheElder*, *Katharine*\n\nThe full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes%2Ftest-infra).\n\nThe pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)\n\n
\nNeeds approval from an approver in each of these files:\n\n- ~~[gopherage/OWNERS](https://github.com/kubernetes/test-infra/blob/main/gopherage/OWNERS)~~ [BenTheElder,Katharine]\n\nApprovers can indicate their approval by writing `/approve` in a comment\nApprovers can cancel approval by writing `/approve cancel` in a comment\n
\n" } }, "public": true, @@ -2475,7 +2475,7 @@ "push_id": 4176855048, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "9de940141ce125243ac37fe144388fc8e903afef", "before": "cfe209f4e31cbd22bd86a9c5f2329b832efc5e53", "commits": [ @@ -2684,12 +2684,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "liuzhuzhu:master", - "ref": "master", + "label": "liuzhuzhu:main", + "ref": "main", "sha": "f56c08f6925dfa7def6e51f4f361295480f32603", "user": { "login": "liuzhuzhu", @@ -2809,7 +2809,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2873,9 +2873,9 @@ "url": "https://api.github.com/repos/VARUN2197/zodiacApp" }, "payload": { - "ref": "master", + "ref": "main", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-3.json index b66d545a5..e16cd754a 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-3.json @@ -19,7 +19,7 @@ "push_id": 4176855037, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "846050f82a70b7ca5c527859d8ef1f65f19e0a22", "before": "a2391c4a3e4c01f56b0c11533be1879361c9b969", "commits": [ @@ -161,7 +161,7 @@ "payload": { "ref": "my-slide", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "A robot powered training repository :robot:", "pusher_type": "user" }, @@ -212,7 +212,7 @@ "push_id": 4176855036, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "5817dd632f14c5a1b9d9340ad7cf64f0f44e2d4d", "before": "93b11e1aea2670ec515e75531aedde0d73ee78a4", "commits": [ @@ -251,7 +251,7 @@ "push_id": 4176855035, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f3de92d93edf5a547aa7d3f96bd145920c2bc3c6", "before": "4f4517747cad50464c61df70e1d9f6472ecfb690", "commits": [ @@ -454,12 +454,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "dob9601:master", - "ref": "master", + "label": "dob9601:main", + "ref": "main", "sha": "dd5167cfae62de4fe36d0865026ac9b40210fa25", "user": { "login": "dob9601", @@ -573,7 +573,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -640,7 +640,7 @@ "push_id": 4176855034, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "132c6e3f563648754dc973ceaeae47ef2688d128", "before": "0ac44fb2add6e1e7802ba448ac07e4fc525a0688", "commits": [ @@ -678,7 +678,7 @@ "payload": { "ref": "2019-10-21_21-54-44_123_scenario1", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -712,7 +712,7 @@ "push_id": 4176855031, "size": 2, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "077fb6369088fc334fde4cad3b4443cfd3b6546c", "before": "087f5d8dc690e9c2ba31340bd04382d8648b9e66", "commits": [ @@ -761,7 +761,7 @@ "push_id": 4176855030, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "300e8462a5018dee52ad1a7b2bc3430494496ceb", "before": "fbaadbc8a46e76de09d522d548f985619818b0a9", "commits": [ @@ -1040,12 +1040,12 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "spinnaker:master", - "ref": "master", + "label": "spinnaker:main", + "ref": "main", "sha": "fde9a0359938f6442c1049e2958d5937e02cf612", "user": { "login": "spinnaker", @@ -1165,7 +1165,7 @@ "forks": 339, "open_issues": 16, "watchers": 891, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1572,12 +1572,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "uuid-rs:master", - "ref": "master", + "label": "uuid-rs:main", + "ref": "main", "sha": "2070c7bb3f09250854a5144985aa5002f4d0f11b", "user": { "login": "uuid-rs", @@ -1697,7 +1697,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1771,7 +1771,7 @@ "push_id": 4176855025, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "481b4f5fd37451b9e9d2102f44f13bc9d18c599f", "before": "ff47c37132b9f65b7a019f68bd6f920f9557850f", "commits": [ @@ -1883,7 +1883,7 @@ "push_id": 4176855020, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "7fc2ffa33a4fe96f248ebc6291e24c64a836c8a4", "before": "3992ef316cc663ddc9b3a7d21586068c6e91dd5f", "commits": [ @@ -2117,7 +2117,7 @@ "push_id": 4176855010, "size": 2, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "03f8cff362a6aca0dc7bfce326bec1092e874c63", "before": "5f1e6fdc621f3186ecaf479cd89e1f07df71d73b", "commits": [ @@ -2330,12 +2330,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "direwolf-github:master", - "ref": "master", + "label": "direwolf-github:main", + "ref": "main", "sha": "18395ef48a32eec03d7631dd1750aa3d81fd1fa2", "user": { "login": "direwolf-github", @@ -2449,7 +2449,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2668,7 +2668,7 @@ "updated_at": "2019-10-21T21:54:50Z", "closed_at": null, "author_association": "NONE", - "body": "so I have the newest laravel-permission but yours is erroring \r\nProblem 1\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - ahmedsaoud31/laravel-permission-to-vuejs dev-master requires spatie/laravel-permission ^2.0 -> satisfiable by spatie/laravel-permission[v2.x-dev].\r\n - Installation request for ahmedsaoud31/laravel-permission-to-vuejs dev-master -> satisfiable by ahmedsaoud31/laravel-permission-to-vuejs[dev-master].\r\n - Installation request for spatie/laravel-permission ^3.2 -> satisfiable by spatie/laravel-permission[3.2.0].\r\n\r\nThank you" + "body": "so I have the newest laravel-permission but yours is erroring \r\nProblem 1\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - ahmedsaoud31/laravel-permission-to-vuejs dev-main requires spatie/laravel-permission ^2.0 -> satisfiable by spatie/laravel-permission[v2.x-dev].\r\n - Installation request for ahmedsaoud31/laravel-permission-to-vuejs dev-main -> satisfiable by ahmedsaoud31/laravel-permission-to-vuejs[dev-main].\r\n - Installation request for spatie/laravel-permission ^3.2 -> satisfiable by spatie/laravel-permission[3.2.0].\r\n\r\nThank you" } }, "public": true, @@ -2693,7 +2693,7 @@ "payload": { "ref": "dependabot/maven/gulimall-admin/commons-fileupload-commons-fileupload-1.3.3", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "第四次 不再是一个maven工程", "pusher_type": "user" }, @@ -2805,7 +2805,7 @@ "push_id": 4176854995, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "dde922c2123a85ff1ff593fdb2c5e235d1a26a77", "before": "92c78290f141c614d27c4b5d2ad3041ceb6b360c", "commits": [ diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-4.json index b66d545a5..e16cd754a 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-4.json @@ -19,7 +19,7 @@ "push_id": 4176855037, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "846050f82a70b7ca5c527859d8ef1f65f19e0a22", "before": "a2391c4a3e4c01f56b0c11533be1879361c9b969", "commits": [ @@ -161,7 +161,7 @@ "payload": { "ref": "my-slide", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "A robot powered training repository :robot:", "pusher_type": "user" }, @@ -212,7 +212,7 @@ "push_id": 4176855036, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "5817dd632f14c5a1b9d9340ad7cf64f0f44e2d4d", "before": "93b11e1aea2670ec515e75531aedde0d73ee78a4", "commits": [ @@ -251,7 +251,7 @@ "push_id": 4176855035, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f3de92d93edf5a547aa7d3f96bd145920c2bc3c6", "before": "4f4517747cad50464c61df70e1d9f6472ecfb690", "commits": [ @@ -454,12 +454,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "dob9601:master", - "ref": "master", + "label": "dob9601:main", + "ref": "main", "sha": "dd5167cfae62de4fe36d0865026ac9b40210fa25", "user": { "login": "dob9601", @@ -573,7 +573,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -640,7 +640,7 @@ "push_id": 4176855034, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "132c6e3f563648754dc973ceaeae47ef2688d128", "before": "0ac44fb2add6e1e7802ba448ac07e4fc525a0688", "commits": [ @@ -678,7 +678,7 @@ "payload": { "ref": "2019-10-21_21-54-44_123_scenario1", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -712,7 +712,7 @@ "push_id": 4176855031, "size": 2, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "077fb6369088fc334fde4cad3b4443cfd3b6546c", "before": "087f5d8dc690e9c2ba31340bd04382d8648b9e66", "commits": [ @@ -761,7 +761,7 @@ "push_id": 4176855030, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "300e8462a5018dee52ad1a7b2bc3430494496ceb", "before": "fbaadbc8a46e76de09d522d548f985619818b0a9", "commits": [ @@ -1040,12 +1040,12 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "spinnaker:master", - "ref": "master", + "label": "spinnaker:main", + "ref": "main", "sha": "fde9a0359938f6442c1049e2958d5937e02cf612", "user": { "login": "spinnaker", @@ -1165,7 +1165,7 @@ "forks": 339, "open_issues": 16, "watchers": 891, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1572,12 +1572,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "uuid-rs:master", - "ref": "master", + "label": "uuid-rs:main", + "ref": "main", "sha": "2070c7bb3f09250854a5144985aa5002f4d0f11b", "user": { "login": "uuid-rs", @@ -1697,7 +1697,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1771,7 +1771,7 @@ "push_id": 4176855025, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "481b4f5fd37451b9e9d2102f44f13bc9d18c599f", "before": "ff47c37132b9f65b7a019f68bd6f920f9557850f", "commits": [ @@ -1883,7 +1883,7 @@ "push_id": 4176855020, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "7fc2ffa33a4fe96f248ebc6291e24c64a836c8a4", "before": "3992ef316cc663ddc9b3a7d21586068c6e91dd5f", "commits": [ @@ -2117,7 +2117,7 @@ "push_id": 4176855010, "size": 2, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "03f8cff362a6aca0dc7bfce326bec1092e874c63", "before": "5f1e6fdc621f3186ecaf479cd89e1f07df71d73b", "commits": [ @@ -2330,12 +2330,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "direwolf-github:master", - "ref": "master", + "label": "direwolf-github:main", + "ref": "main", "sha": "18395ef48a32eec03d7631dd1750aa3d81fd1fa2", "user": { "login": "direwolf-github", @@ -2449,7 +2449,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2668,7 +2668,7 @@ "updated_at": "2019-10-21T21:54:50Z", "closed_at": null, "author_association": "NONE", - "body": "so I have the newest laravel-permission but yours is erroring \r\nProblem 1\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - ahmedsaoud31/laravel-permission-to-vuejs dev-master requires spatie/laravel-permission ^2.0 -> satisfiable by spatie/laravel-permission[v2.x-dev].\r\n - Installation request for ahmedsaoud31/laravel-permission-to-vuejs dev-master -> satisfiable by ahmedsaoud31/laravel-permission-to-vuejs[dev-master].\r\n - Installation request for spatie/laravel-permission ^3.2 -> satisfiable by spatie/laravel-permission[3.2.0].\r\n\r\nThank you" + "body": "so I have the newest laravel-permission but yours is erroring \r\nProblem 1\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - ahmedsaoud31/laravel-permission-to-vuejs dev-main requires spatie/laravel-permission ^2.0 -> satisfiable by spatie/laravel-permission[v2.x-dev].\r\n - Installation request for ahmedsaoud31/laravel-permission-to-vuejs dev-main -> satisfiable by ahmedsaoud31/laravel-permission-to-vuejs[dev-main].\r\n - Installation request for spatie/laravel-permission ^3.2 -> satisfiable by spatie/laravel-permission[3.2.0].\r\n\r\nThank you" } }, "public": true, @@ -2693,7 +2693,7 @@ "payload": { "ref": "dependabot/maven/gulimall-admin/commons-fileupload-commons-fileupload-1.3.3", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "第四次 不再是一个maven工程", "pusher_type": "user" }, @@ -2805,7 +2805,7 @@ "push_id": 4176854995, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "dde922c2123a85ff1ff593fdb2c5e235d1a26a77", "before": "92c78290f141c614d27c4b5d2ad3041ceb6b360c", "commits": [ diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-5.json index 6690e1d9f..9debe0fb1 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-5.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-5.json @@ -183,12 +183,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "DeBuchie:master", - "ref": "master", + "label": "DeBuchie:main", + "ref": "main", "sha": "087f5d8dc690e9c2ba31340bd04382d8648b9e66", "user": { "login": "DeBuchie", @@ -302,7 +302,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -388,7 +388,7 @@ "push_id": 4176854998, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "cb7fabdb5a14b78a3ee05cde9032cdae0c7fb473", "before": "c399ac1645b55107ac4fff9a53116619e53200ff", "commits": [ @@ -424,9 +424,9 @@ "url": "https://api.github.com/repos/jchaconv/spring-boot-microservices" }, "payload": { - "ref": "master", + "ref": "main", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "Repository for the course Spring Boot Microservices with Spring Cloud Beginner to Guru", "pusher_type": "user" }, @@ -766,12 +766,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "SarvagyaGupta:master", - "ref": "master", + "label": "SarvagyaGupta:main", + "ref": "main", "sha": "5f1e6fdc621f3186ecaf479cd89e1f07df71d73b", "user": { "login": "SarvagyaGupta", @@ -885,7 +885,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1252,9 +1252,9 @@ "url": "https://api.github.com/repos/MG1222/gossip_sinatra" }, "payload": { - "ref": "master", + "ref": "main", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -1395,7 +1395,7 @@ "push_id": 4176854978, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "eeace75e56840498f81e2e8b8ccb1073331b49b2", "before": "9f54a7e2e8417b5c442edbdb9bdcf26ff985c578", "commits": [ @@ -1567,7 +1567,7 @@ "updated_at": "2019-10-21T21:54:50Z", "closed_at": "2019-10-21T21:54:50Z", "author_association": "NONE", - "body": "## Welcome!\n\nHello and welcome! In this course you will learn how you can get your best work done in pull requests. You'll learn when and how to request a review, how to review someone else's code, and how to respond to reviews. To do this, we'll be playing around with the code in this repository that makes a simple Tetris game.\n\nIf you'd like, you can use [GitHub Pages](https://pages.github.com/) to host your Tetris game. Just go to the **Settings** tab of this repository. Scroll down to **GitHub Pages**. Select `master` as a **Source**, and click **Save**. \n\n### New to GitHub?\n\nFor this course, you'll need some background knowledge. If you need a refresher on the GitHub flow, check out [the Introduction to GitHub course](https://lab.github.com/courses/introduction-to-github).\n\n## Pull Requests Reviews 101\n\nReviewing a pull request is an opportunity to examine another contributor's changes. While reviewing a pull request, you can extrapolate how someone else solved a problem. It's an awesome opportunity to learn more about how the code works and how others solve problems. Reviewing a pull request is a great learning opportunity!\n\n## Step 1: Add assignees for issues and pull requests\n\nAssignees on issues and pull requests let other team members know who is responsible. The assignee oversees the issue or pull request in an accessible and visible way.\n\n### :keyboard: Activity: Assign yourself to this issue\n\n1. On the right side of the screen, click the `assign yourself` text under the **Assignees** section\n\n
\n

I'll respond below for your next step

\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps._\n" + "body": "## Welcome!\n\nHello and welcome! In this course you will learn how you can get your best work done in pull requests. You'll learn when and how to request a review, how to review someone else's code, and how to respond to reviews. To do this, we'll be playing around with the code in this repository that makes a simple Tetris game.\n\nIf you'd like, you can use [GitHub Pages](https://pages.github.com/) to host your Tetris game. Just go to the **Settings** tab of this repository. Scroll down to **GitHub Pages**. Select `main` as a **Source**, and click **Save**. \n\n### New to GitHub?\n\nFor this course, you'll need some background knowledge. If you need a refresher on the GitHub flow, check out [the Introduction to GitHub course](https://lab.github.com/courses/introduction-to-github).\n\n## Pull Requests Reviews 101\n\nReviewing a pull request is an opportunity to examine another contributor's changes. While reviewing a pull request, you can extrapolate how someone else solved a problem. It's an awesome opportunity to learn more about how the code works and how others solve problems. Reviewing a pull request is a great learning opportunity!\n\n## Step 1: Add assignees for issues and pull requests\n\nAssignees on issues and pull requests let other team members know who is responsible. The assignee oversees the issue or pull request in an accessible and visible way.\n\n### :keyboard: Activity: Assign yourself to this issue\n\n1. On the right side of the screen, click the `assign yourself` text under the **Assignees** section\n\n
\n

I'll respond below for your next step

\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps._\n" } }, "public": true, @@ -1614,7 +1614,7 @@ "payload": { "ref": "changeProductOnClick", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -1648,7 +1648,7 @@ "push_id": 4176854972, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "6bf9c3f7d85380942350eb48f8d45eb22f38cac8", "before": "8542d53991e43656fdaf4a0ac48425755c02c229", "commits": [ @@ -1687,7 +1687,7 @@ "push_id": 4176854968, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "ff47c37132b9f65b7a019f68bd6f920f9557850f", "before": "15016ceee06af3047744c7bac173ebc162c2b3ac", "commits": [ @@ -1750,7 +1750,7 @@ "push_id": 4176854921, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f0458723e4e88ee34613c984b02b3dc927c4a538", "before": "d0973869c9d7f14f0353a7eceddf9d3daa1382e1", "commits": [ @@ -1795,7 +1795,7 @@ "payload": { "ref": "branch-c7fa2a10", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -1862,7 +1862,7 @@ "updated_at": "2019-10-21T21:54:49Z", "closed_at": null, "author_association": "NONE", - "body": "1. Serializing general data\r\n2. Serializing role data\r\nTypeError: Cannot read property 'id' of undefined\r\n at roleCol.map.role (/home/root2/Bureau/Discord-guild-copy-master/objects/serializer.js:103:57)\r\n" + "body": "1. Serializing general data\r\n2. Serializing role data\r\nTypeError: Cannot read property 'id' of undefined\r\n at roleCol.map.role (/home/root2/Bureau/Discord-guild-copy-main/objects/serializer.js:103:57)\r\n" } }, "public": true, @@ -1887,7 +1887,7 @@ "payload": { "ref": null, "ref_type": "repository", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -2078,12 +2078,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "direwolf-github:master", - "ref": "master", + "label": "direwolf-github:main", + "ref": "main", "sha": "4d3c6b596570ce87ea9ec7549f75603aaa5a680f", "user": { "login": "direwolf-github", @@ -2197,7 +2197,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2263,7 +2263,7 @@ "payload": { "ref": "branch-cdd0a924", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -2290,7 +2290,7 @@ "push_id": 4176854952, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "7949f68fc3607986a80d4097233450ecc034432e", "before": "452fbf0db4f98082c941bd84c2e24d6f4444c402", "commits": [ @@ -2489,7 +2489,7 @@ "push_id": 4176854947, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "0757c0a942788403c9792b434e3b7cee81446a66", "before": "1af55801fc12dc12bbe523ff41ea351841bca423", "commits": [ diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-6.json index da9d3d9cb..887fde552 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-6.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-6.json @@ -183,12 +183,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "direwolf-github:master", - "ref": "master", + "label": "direwolf-github:main", + "ref": "main", "sha": "18395ef48a32eec03d7631dd1750aa3d81fd1fa2", "user": { "login": "direwolf-github", @@ -302,7 +302,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -521,7 +521,7 @@ "updated_at": "2019-10-21T21:54:50Z", "closed_at": null, "author_association": "NONE", - "body": "so I have the newest laravel-permission but yours is erroring \r\nProblem 1\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - ahmedsaoud31/laravel-permission-to-vuejs dev-master requires spatie/laravel-permission ^2.0 -> satisfiable by spatie/laravel-permission[v2.x-dev].\r\n - Installation request for ahmedsaoud31/laravel-permission-to-vuejs dev-master -> satisfiable by ahmedsaoud31/laravel-permission-to-vuejs[dev-master].\r\n - Installation request for spatie/laravel-permission ^3.2 -> satisfiable by spatie/laravel-permission[3.2.0].\r\n\r\nThank you" + "body": "so I have the newest laravel-permission but yours is erroring \r\nProblem 1\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - Can only install one of: spatie/laravel-permission[v2.x-dev, 3.2.0].\r\n - ahmedsaoud31/laravel-permission-to-vuejs dev-main requires spatie/laravel-permission ^2.0 -> satisfiable by spatie/laravel-permission[v2.x-dev].\r\n - Installation request for ahmedsaoud31/laravel-permission-to-vuejs dev-main -> satisfiable by ahmedsaoud31/laravel-permission-to-vuejs[dev-main].\r\n - Installation request for spatie/laravel-permission ^3.2 -> satisfiable by spatie/laravel-permission[3.2.0].\r\n\r\nThank you" } }, "public": true, @@ -546,7 +546,7 @@ "payload": { "ref": "dependabot/maven/gulimall-admin/commons-fileupload-commons-fileupload-1.3.3", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "第四次 不再是一个maven工程", "pusher_type": "user" }, @@ -658,7 +658,7 @@ "push_id": 4176854995, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "dde922c2123a85ff1ff593fdb2c5e235d1a26a77", "before": "92c78290f141c614d27c4b5d2ad3041ceb6b360c", "commits": [ @@ -861,12 +861,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "DeBuchie:master", - "ref": "master", + "label": "DeBuchie:main", + "ref": "main", "sha": "087f5d8dc690e9c2ba31340bd04382d8648b9e66", "user": { "login": "DeBuchie", @@ -980,7 +980,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1066,7 +1066,7 @@ "push_id": 4176854998, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "cb7fabdb5a14b78a3ee05cde9032cdae0c7fb473", "before": "c399ac1645b55107ac4fff9a53116619e53200ff", "commits": [ @@ -1102,9 +1102,9 @@ "url": "https://api.github.com/repos/jchaconv/spring-boot-microservices" }, "payload": { - "ref": "master", + "ref": "main", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": "Repository for the course Spring Boot Microservices with Spring Cloud Beginner to Guru", "pusher_type": "user" }, @@ -1444,12 +1444,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "SarvagyaGupta:master", - "ref": "master", + "label": "SarvagyaGupta:main", + "ref": "main", "sha": "5f1e6fdc621f3186ecaf479cd89e1f07df71d73b", "user": { "login": "SarvagyaGupta", @@ -1563,7 +1563,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1930,9 +1930,9 @@ "url": "https://api.github.com/repos/MG1222/gossip_sinatra" }, "payload": { - "ref": "master", + "ref": "main", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -2073,7 +2073,7 @@ "push_id": 4176854978, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "eeace75e56840498f81e2e8b8ccb1073331b49b2", "before": "9f54a7e2e8417b5c442edbdb9bdcf26ff985c578", "commits": [ @@ -2245,7 +2245,7 @@ "updated_at": "2019-10-21T21:54:50Z", "closed_at": "2019-10-21T21:54:50Z", "author_association": "NONE", - "body": "## Welcome!\n\nHello and welcome! In this course you will learn how you can get your best work done in pull requests. You'll learn when and how to request a review, how to review someone else's code, and how to respond to reviews. To do this, we'll be playing around with the code in this repository that makes a simple Tetris game.\n\nIf you'd like, you can use [GitHub Pages](https://pages.github.com/) to host your Tetris game. Just go to the **Settings** tab of this repository. Scroll down to **GitHub Pages**. Select `master` as a **Source**, and click **Save**. \n\n### New to GitHub?\n\nFor this course, you'll need some background knowledge. If you need a refresher on the GitHub flow, check out [the Introduction to GitHub course](https://lab.github.com/courses/introduction-to-github).\n\n## Pull Requests Reviews 101\n\nReviewing a pull request is an opportunity to examine another contributor's changes. While reviewing a pull request, you can extrapolate how someone else solved a problem. It's an awesome opportunity to learn more about how the code works and how others solve problems. Reviewing a pull request is a great learning opportunity!\n\n## Step 1: Add assignees for issues and pull requests\n\nAssignees on issues and pull requests let other team members know who is responsible. The assignee oversees the issue or pull request in an accessible and visible way.\n\n### :keyboard: Activity: Assign yourself to this issue\n\n1. On the right side of the screen, click the `assign yourself` text under the **Assignees** section\n\n
\n

I'll respond below for your next step

\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps._\n" + "body": "## Welcome!\n\nHello and welcome! In this course you will learn how you can get your best work done in pull requests. You'll learn when and how to request a review, how to review someone else's code, and how to respond to reviews. To do this, we'll be playing around with the code in this repository that makes a simple Tetris game.\n\nIf you'd like, you can use [GitHub Pages](https://pages.github.com/) to host your Tetris game. Just go to the **Settings** tab of this repository. Scroll down to **GitHub Pages**. Select `main` as a **Source**, and click **Save**. \n\n### New to GitHub?\n\nFor this course, you'll need some background knowledge. If you need a refresher on the GitHub flow, check out [the Introduction to GitHub course](https://lab.github.com/courses/introduction-to-github).\n\n## Pull Requests Reviews 101\n\nReviewing a pull request is an opportunity to examine another contributor's changes. While reviewing a pull request, you can extrapolate how someone else solved a problem. It's an awesome opportunity to learn more about how the code works and how others solve problems. Reviewing a pull request is a great learning opportunity!\n\n## Step 1: Add assignees for issues and pull requests\n\nAssignees on issues and pull requests let other team members know who is responsible. The assignee oversees the issue or pull request in an accessible and visible way.\n\n### :keyboard: Activity: Assign yourself to this issue\n\n1. On the right side of the screen, click the `assign yourself` text under the **Assignees** section\n\n
\n

I'll respond below for your next step

\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps._\n" } }, "public": true, @@ -2292,7 +2292,7 @@ "payload": { "ref": "changeProductOnClick", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -2326,7 +2326,7 @@ "push_id": 4176854972, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "6bf9c3f7d85380942350eb48f8d45eb22f38cac8", "before": "8542d53991e43656fdaf4a0ac48425755c02c229", "commits": [ @@ -2365,7 +2365,7 @@ "push_id": 4176854968, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "ff47c37132b9f65b7a019f68bd6f920f9557850f", "before": "15016ceee06af3047744c7bac173ebc162c2b3ac", "commits": [ @@ -2428,7 +2428,7 @@ "push_id": 4176854921, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f0458723e4e88ee34613c984b02b3dc927c4a538", "before": "d0973869c9d7f14f0353a7eceddf9d3daa1382e1", "commits": [ @@ -2473,7 +2473,7 @@ "payload": { "ref": "branch-c7fa2a10", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-7.json index 284474b47..ebb7b684e 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-7.json @@ -59,7 +59,7 @@ "updated_at": "2019-10-21T21:54:49Z", "closed_at": null, "author_association": "NONE", - "body": "1. Serializing general data\r\n2. Serializing role data\r\nTypeError: Cannot read property 'id' of undefined\r\n at roleCol.map.role (/home/root2/Bureau/Discord-guild-copy-master/objects/serializer.js:103:57)\r\n" + "body": "1. Serializing general data\r\n2. Serializing role data\r\nTypeError: Cannot read property 'id' of undefined\r\n at roleCol.map.role (/home/root2/Bureau/Discord-guild-copy-main/objects/serializer.js:103:57)\r\n" } }, "public": true, @@ -84,7 +84,7 @@ "payload": { "ref": null, "ref_type": "repository", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -275,12 +275,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "direwolf-github:master", - "ref": "master", + "label": "direwolf-github:main", + "ref": "main", "sha": "4d3c6b596570ce87ea9ec7549f75603aaa5a680f", "user": { "login": "direwolf-github", @@ -394,7 +394,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -460,7 +460,7 @@ "payload": { "ref": "branch-cdd0a924", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -487,7 +487,7 @@ "push_id": 4176854952, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "7949f68fc3607986a80d4097233450ecc034432e", "before": "452fbf0db4f98082c941bd84c2e24d6f4444c402", "commits": [ @@ -686,7 +686,7 @@ "push_id": 4176854947, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "0757c0a942788403c9792b434e3b7cee81446a66", "before": "1af55801fc12dc12bbe523ff41ea351841bca423", "commits": [ @@ -861,7 +861,7 @@ "payload": { "ref": null, "ref_type": "repository", - "master_branch": "master", + "master_branch": "main", "description": "Repository for the course Spring Boot Microservices with Spring Cloud Beginner to Guru", "pusher_type": "user" }, @@ -888,7 +888,7 @@ "push_id": 4176854942, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "abd2e330a3b4b6222c88587d04d71b12f4da870d", "before": "1340bbf32da76263b4f65abf9c1690e049de3ade", "commits": [ @@ -990,7 +990,7 @@ "push_id": 4176854935, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "8e7248fcf15480d4b6090b0e02c1fba68bcf1171", "before": "65644249a175698e87bb4b6c32ff37ac0f924a3c", "commits": [ @@ -1036,7 +1036,7 @@ "push_id": 4176854937, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "ca3257de9d87f497be2d5d2cfd5ef75c78b1c732", "before": "b762a83d2dd69f4d7be63695dff479b39605c9e3", "commits": [ @@ -1092,7 +1092,7 @@ "push_id": 4176854934, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "e57205289100880b63e23f3ac02f6b64d92ef290", "before": "dfced045a8f132fc046115d179195aed65a8900a", "commits": [ @@ -1131,7 +1131,7 @@ "push_id": 4176854928, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "dae114332acb5a7dc01b60f74fc20c362a494901", "before": "431184bd4d19f6fc1ded8423c4eaca9a2717b580", "commits": [ @@ -1180,7 +1180,7 @@ "number": 20, "state": "open", "locked": false, - "title": "[pull] master from lerna:master", + "title": "[pull] main from lerna:main", "user": { "login": "pull[bot]", "id": 39814207, @@ -1219,8 +1219,8 @@ "comments_url": "https://api.github.com/repos/daddyfatstacksBIG/lerna/issues/20/comments", "statuses_url": "https://api.github.com/repos/daddyfatstacksBIG/lerna/statuses/4872459be7bf88e5900ff907b07279e9516d333c", "head": { - "label": "lerna:master", - "ref": "master", + "label": "lerna:main", + "ref": "main", "sha": "4872459be7bf88e5900ff907b07279e9516d333c", "user": { "login": "lerna", @@ -1340,12 +1340,12 @@ "forks": 1208, "open_issues": 230, "watchers": 19472, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "daddyfatstacksBIG:master", - "ref": "master", + "label": "daddyfatstacksBIG:main", + "ref": "main", "sha": "99425f7e3df4d081c51f9850e71ad93e83dc30c4", "user": { "login": "daddyfatstacksBIG", @@ -1465,7 +1465,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1532,7 +1532,7 @@ "push_id": 4176854926, "size": 4, "distinct_size": 4, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "eb3028813d9f14f92538ada84ae11a73346d9b38", "before": "a3216a60043f115fa6aa9044250d8a04a3f09bf9", "commits": [ @@ -1601,7 +1601,7 @@ "push_id": 4176854925, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "18fa79ff8011eb750fe61fba8e6c0a344be69f1c", "before": "5579db424d40f8b4dfd8cb0338ae87bd2123e858", "commits": [ @@ -1804,12 +1804,12 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "jthielman:master", - "ref": "master", + "label": "jthielman:main", + "ref": "main", "sha": "6564f42f20577d964ee9f8c007a961ccd81e8aae", "user": { "login": "jthielman", @@ -1923,7 +1923,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1990,7 +1990,7 @@ "push_id": 4176854920, "size": 8, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "56d21eeee46fd18ad1a3ada1ddc0dde40ee148fd", "before": "4586bdd4aba94009ee60a2d01710f50493f60fd7", "commits": [ @@ -2010,7 +2010,7 @@ "email": "jensenjamison@yahoo.com", "name": "unknown" }, - "message": "updating to master", + "message": "updating to main", "distinct": false, "url": "https://api.github.com/repos/dm-group-trakd/trakd/commits/3b07c020146eb44e0b73abd21d66f7b7ba6d1d79" }, @@ -2030,7 +2030,7 @@ "email": "jensenjamison@yahoo.com", "name": "unknown" }, - "message": "Merge branch 'master' into jamison", + "message": "Merge branch 'main' into jamison", "distinct": false, "url": "https://api.github.com/repos/dm-group-trakd/trakd/commits/5e0396f6e73a7359e5d997b98373a5b8f95261f8" }, @@ -2050,7 +2050,7 @@ "email": "jensenjamison@yahoo.com", "name": "unknown" }, - "message": "Merge branch 'master' into jamison", + "message": "Merge branch 'main' into jamison", "distinct": false, "url": "https://api.github.com/repos/dm-group-trakd/trakd/commits/da8b095b65b2aa4dd4538f58a52e498da3b46ba7" }, @@ -2106,7 +2106,7 @@ "push_id": 4176854918, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "15016ceee06af3047744c7bac173ebc162c2b3ac", "before": "908784246be05f222167f3f463e1423885f54ac5", "commits": [ @@ -2240,7 +2240,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "public": true } }, @@ -2314,7 +2314,7 @@ "email": "qiutongs@amazon.com", "name": "qiutongs" }, - "message": "Merge branch 'master' into feature/cmake_turn_off_demos", + "message": "Merge branch 'main' into feature/cmake_turn_off_demos", "distinct": false, "url": "https://api.github.com/repos/sarenameas/amazon-freertos/commits/c58281840008401cb16961f9d60f37ea0bf4e907" }, @@ -2354,7 +2354,7 @@ "email": "ts.whu@outlook.com", "name": "Tiangang Song" }, - "message": "Merge remote-tracking branch 'origin/master' into HEAD", + "message": "Merge remote-tracking branch 'origin/main' into HEAD", "distinct": false, "url": "https://api.github.com/repos/sarenameas/amazon-freertos/commits/1de9a4d51c9d0bccef2f7b5550cc6086ce9525a3" }, @@ -2597,7 +2597,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { @@ -2716,7 +2716,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2968,12 +2968,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "codecurious-bln:master", - "ref": "master", + "label": "codecurious-bln:main", + "ref": "main", "sha": "b762a83d2dd69f4d7be63695dff479b39605c9e3", "user": { "login": "codecurious-bln", @@ -3087,7 +3087,7 @@ "forks": 8, "open_issues": 16, "watchers": 10, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -3180,7 +3180,7 @@ "push_id": 4176854908, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "5b4a25e4146fb31ccfa425c70843ff43bd2814c3", "before": "4bd38639fe0332c55961505d4e091f72895b7f73", "commits": [ diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-8.json index 404370fed..c91bd87a2 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-8.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-8.json @@ -43,7 +43,7 @@ "push_id": 4176854921, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f0458723e4e88ee34613c984b02b3dc927c4a538", "before": "d0973869c9d7f14f0353a7eceddf9d3daa1382e1", "commits": [ @@ -88,7 +88,7 @@ "payload": { "ref": "branch-c7fa2a10", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -155,7 +155,7 @@ "updated_at": "2019-10-21T21:54:49Z", "closed_at": null, "author_association": "NONE", - "body": "1. Serializing general data\r\n2. Serializing role data\r\nTypeError: Cannot read property 'id' of undefined\r\n at roleCol.map.role (/home/root2/Bureau/Discord-guild-copy-master/objects/serializer.js:103:57)\r\n" + "body": "1. Serializing general data\r\n2. Serializing role data\r\nTypeError: Cannot read property 'id' of undefined\r\n at roleCol.map.role (/home/root2/Bureau/Discord-guild-copy-main/objects/serializer.js:103:57)\r\n" } }, "public": true, @@ -180,7 +180,7 @@ "payload": { "ref": null, "ref_type": "repository", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -371,12 +371,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "direwolf-github:master", - "ref": "master", + "label": "direwolf-github:main", + "ref": "main", "sha": "4d3c6b596570ce87ea9ec7549f75603aaa5a680f", "user": { "login": "direwolf-github", @@ -490,7 +490,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -556,7 +556,7 @@ "payload": { "ref": "branch-cdd0a924", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -583,7 +583,7 @@ "push_id": 4176854952, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "7949f68fc3607986a80d4097233450ecc034432e", "before": "452fbf0db4f98082c941bd84c2e24d6f4444c402", "commits": [ @@ -782,7 +782,7 @@ "push_id": 4176854947, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "0757c0a942788403c9792b434e3b7cee81446a66", "before": "1af55801fc12dc12bbe523ff41ea351841bca423", "commits": [ @@ -957,7 +957,7 @@ "payload": { "ref": null, "ref_type": "repository", - "master_branch": "master", + "master_branch": "main", "description": "Repository for the course Spring Boot Microservices with Spring Cloud Beginner to Guru", "pusher_type": "user" }, @@ -984,7 +984,7 @@ "push_id": 4176854942, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "abd2e330a3b4b6222c88587d04d71b12f4da870d", "before": "1340bbf32da76263b4f65abf9c1690e049de3ade", "commits": [ @@ -1086,7 +1086,7 @@ "push_id": 4176854935, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "8e7248fcf15480d4b6090b0e02c1fba68bcf1171", "before": "65644249a175698e87bb4b6c32ff37ac0f924a3c", "commits": [ @@ -1132,7 +1132,7 @@ "push_id": 4176854937, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "ca3257de9d87f497be2d5d2cfd5ef75c78b1c732", "before": "b762a83d2dd69f4d7be63695dff479b39605c9e3", "commits": [ @@ -1188,7 +1188,7 @@ "push_id": 4176854934, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "e57205289100880b63e23f3ac02f6b64d92ef290", "before": "dfced045a8f132fc046115d179195aed65a8900a", "commits": [ @@ -1227,7 +1227,7 @@ "push_id": 4176854928, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "dae114332acb5a7dc01b60f74fc20c362a494901", "before": "431184bd4d19f6fc1ded8423c4eaca9a2717b580", "commits": [ @@ -1276,7 +1276,7 @@ "number": 20, "state": "open", "locked": false, - "title": "[pull] master from lerna:master", + "title": "[pull] main from lerna:main", "user": { "login": "pull[bot]", "id": 39814207, @@ -1315,8 +1315,8 @@ "comments_url": "https://api.github.com/repos/daddyfatstacksBIG/lerna/issues/20/comments", "statuses_url": "https://api.github.com/repos/daddyfatstacksBIG/lerna/statuses/4872459be7bf88e5900ff907b07279e9516d333c", "head": { - "label": "lerna:master", - "ref": "master", + "label": "lerna:main", + "ref": "main", "sha": "4872459be7bf88e5900ff907b07279e9516d333c", "user": { "login": "lerna", @@ -1436,12 +1436,12 @@ "forks": 1208, "open_issues": 230, "watchers": 19472, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "daddyfatstacksBIG:master", - "ref": "master", + "label": "daddyfatstacksBIG:main", + "ref": "main", "sha": "99425f7e3df4d081c51f9850e71ad93e83dc30c4", "user": { "login": "daddyfatstacksBIG", @@ -1561,7 +1561,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1628,7 +1628,7 @@ "push_id": 4176854926, "size": 4, "distinct_size": 4, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "eb3028813d9f14f92538ada84ae11a73346d9b38", "before": "a3216a60043f115fa6aa9044250d8a04a3f09bf9", "commits": [ @@ -1697,7 +1697,7 @@ "push_id": 4176854925, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "18fa79ff8011eb750fe61fba8e6c0a344be69f1c", "before": "5579db424d40f8b4dfd8cb0338ae87bd2123e858", "commits": [ @@ -1900,12 +1900,12 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "jthielman:master", - "ref": "master", + "label": "jthielman:main", + "ref": "main", "sha": "6564f42f20577d964ee9f8c007a961ccd81e8aae", "user": { "login": "jthielman", @@ -2019,7 +2019,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2086,7 +2086,7 @@ "push_id": 4176854920, "size": 8, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "56d21eeee46fd18ad1a3ada1ddc0dde40ee148fd", "before": "4586bdd4aba94009ee60a2d01710f50493f60fd7", "commits": [ @@ -2106,7 +2106,7 @@ "email": "jensenjamison@yahoo.com", "name": "unknown" }, - "message": "updating to master", + "message": "updating to main", "distinct": false, "url": "https://api.github.com/repos/dm-group-trakd/trakd/commits/3b07c020146eb44e0b73abd21d66f7b7ba6d1d79" }, @@ -2126,7 +2126,7 @@ "email": "jensenjamison@yahoo.com", "name": "unknown" }, - "message": "Merge branch 'master' into jamison", + "message": "Merge branch 'main' into jamison", "distinct": false, "url": "https://api.github.com/repos/dm-group-trakd/trakd/commits/5e0396f6e73a7359e5d997b98373a5b8f95261f8" }, @@ -2146,7 +2146,7 @@ "email": "jensenjamison@yahoo.com", "name": "unknown" }, - "message": "Merge branch 'master' into jamison", + "message": "Merge branch 'main' into jamison", "distinct": false, "url": "https://api.github.com/repos/dm-group-trakd/trakd/commits/da8b095b65b2aa4dd4538f58a52e498da3b46ba7" }, @@ -2202,7 +2202,7 @@ "push_id": 4176854918, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "15016ceee06af3047744c7bac173ebc162c2b3ac", "before": "908784246be05f222167f3f463e1423885f54ac5", "commits": [ @@ -2336,7 +2336,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "public": true } }, @@ -2410,7 +2410,7 @@ "email": "qiutongs@amazon.com", "name": "qiutongs" }, - "message": "Merge branch 'master' into feature/cmake_turn_off_demos", + "message": "Merge branch 'main' into feature/cmake_turn_off_demos", "distinct": false, "url": "https://api.github.com/repos/sarenameas/amazon-freertos/commits/c58281840008401cb16961f9d60f37ea0bf4e907" }, @@ -2450,7 +2450,7 @@ "email": "ts.whu@outlook.com", "name": "Tiangang Song" }, - "message": "Merge remote-tracking branch 'origin/master' into HEAD", + "message": "Merge remote-tracking branch 'origin/main' into HEAD", "distinct": false, "url": "https://api.github.com/repos/sarenameas/amazon-freertos/commits/1de9a4d51c9d0bccef2f7b5550cc6086ce9525a3" }, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-9.json index bc4d34960..77750c9a8 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-9.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/events-9.json @@ -183,7 +183,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { @@ -302,7 +302,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -554,12 +554,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "codecurious-bln:master", - "ref": "master", + "label": "codecurious-bln:main", + "ref": "main", "sha": "b762a83d2dd69f4d7be63695dff479b39605c9e3", "user": { "login": "codecurious-bln", @@ -673,7 +673,7 @@ "forks": 8, "open_issues": 16, "watchers": 10, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -766,7 +766,7 @@ "push_id": 4176854908, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "5b4a25e4146fb31ccfa425c70843ff43bd2814c3", "before": "4bd38639fe0332c55961505d4e091f72895b7f73", "commits": [ @@ -868,7 +868,7 @@ "push_id": 4176854901, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "1059b39145650a196d83bdde5b01a801d2d20d46", "before": "321fe758110355c54f663b2d4c2ecaf3f20d0564", "commits": [ @@ -913,7 +913,7 @@ "payload": { "ref": "branch-8855a329", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -1117,7 +1117,7 @@ "payload": { "ref": "branch-e08f46fa", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -1144,7 +1144,7 @@ "push_id": 4176854891, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "d3108b1a65697a4d495da409b90c01949487a028", "before": "b6149875bc527d31618a9e49513966cd52129ada", "commits": [ @@ -1418,12 +1418,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "gridu:master", - "ref": "master", + "label": "gridu:main", + "ref": "main", "sha": "b3b4fd9e4a2e1aa505cb9d3b7f019f8431e495da", "user": { "login": "gridu", @@ -1537,7 +1537,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -1611,7 +1611,7 @@ "push_id": 4176854890, "size": 11, "distinct_size": 11, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "6c05258cfd1a6156ee587923fb2ac0f55d84e482", "before": "e63bc6b2efce3bc6525e020fba6085654ddd3f49", "commits": [ @@ -1631,7 +1631,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming\n\ndone", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming\n\ndone", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/7807e29af8106aa4a6c01538c9a745c52db52155" }, @@ -1641,7 +1641,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming\n\ndone", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming\n\ndone", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/c19074a391ed36dd451f792c3f003d6bff670a70" }, @@ -1661,7 +1661,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming\n\naaa", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming\n\naaa", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/2812192ddc013f7e75b3f1845649eb5ccb8baaea" }, @@ -1681,7 +1681,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/07ea94f84ae40ae341de1158f0a5c1c4804dae8c" }, @@ -1701,7 +1701,7 @@ "email": "nobody@nowhere.nul", "name": "Coursera Learner" }, - "message": "Merge branch 'master' of https://github.com/gszlan/DukeC-programming", + "message": "Merge branch 'main' of https://github.com/gszlan/DukeC-programming", "distinct": true, "url": "https://api.github.com/repos/gszlan/DukeC-programming/commits/9d9d8e3ff80b91b6fe30732b36dee7b5b88196d5" }, @@ -1799,7 +1799,7 @@ "push_id": 4176854889, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "30555b249ec8d391669c5e0986633c81ae0074e4", "before": "be176ad97e275562df0352855aa7d1f0d06786ce", "commits": [ @@ -1845,7 +1845,7 @@ "push_id": 4176854884, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "61a4f6c6a093379eb8a5c8212c4fd59c2b6583f4", "before": "371b9b4cc0a641cb7dd1b1c5e67b920ff267e6ee", "commits": [ @@ -1964,7 +1964,7 @@ "updated_at": "2019-10-21T21:54:48Z", "closed_at": null, "author_association": "NONE", - "body": "## Welcome!\n\nHello and welcome! In this course you will learn how you can get your best work done in pull requests. You'll learn when and how to request a review, how to review someone else's code, and how to respond to reviews. To do this, we'll be playing around with the code in this repository that makes a simple Tetris game.\n\nIf you'd like, you can use [GitHub Pages](https://pages.github.com/) to host your Tetris game. Just go to the **Settings** tab of this repository. Scroll down to **GitHub Pages**. Select `master` as a **Source**, and click **Save**. \n\n### New to GitHub?\n\nFor this course, you'll need some background knowledge. If you need a refresher on the GitHub flow, check out [the Introduction to GitHub course](https://lab.github.com/courses/introduction-to-github).\n\n## Pull Requests Reviews 101\n\nReviewing a pull request is an opportunity to examine another contributor's changes. While reviewing a pull request, you can extrapolate how someone else solved a problem. It's an awesome opportunity to learn more about how the code works and how others solve problems. Reviewing a pull request is a great learning opportunity!\n\n## Step 1: Add assignees for issues and pull requests\n\nAssignees on issues and pull requests let other team members know who is responsible. The assignee oversees the issue or pull request in an accessible and visible way.\n\n### :keyboard: Activity: Assign yourself to this issue\n\n1. On the right side of the screen, click the `assign yourself` text under the **Assignees** section\n\n
\n

I'll respond below for your next step

\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps._\n" + "body": "## Welcome!\n\nHello and welcome! In this course you will learn how you can get your best work done in pull requests. You'll learn when and how to request a review, how to review someone else's code, and how to respond to reviews. To do this, we'll be playing around with the code in this repository that makes a simple Tetris game.\n\nIf you'd like, you can use [GitHub Pages](https://pages.github.com/) to host your Tetris game. Just go to the **Settings** tab of this repository. Scroll down to **GitHub Pages**. Select `main` as a **Source**, and click **Save**. \n\n### New to GitHub?\n\nFor this course, you'll need some background knowledge. If you need a refresher on the GitHub flow, check out [the Introduction to GitHub course](https://lab.github.com/courses/introduction-to-github).\n\n## Pull Requests Reviews 101\n\nReviewing a pull request is an opportunity to examine another contributor's changes. While reviewing a pull request, you can extrapolate how someone else solved a problem. It's an awesome opportunity to learn more about how the code works and how others solve problems. Reviewing a pull request is a great learning opportunity!\n\n## Step 1: Add assignees for issues and pull requests\n\nAssignees on issues and pull requests let other team members know who is responsible. The assignee oversees the issue or pull request in an accessible and visible way.\n\n### :keyboard: Activity: Assign yourself to this issue\n\n1. On the right side of the screen, click the `assign yourself` text under the **Assignees** section\n\n
\n

I'll respond below for your next step

\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps._\n" }, "comment": { "url": "https://api.github.com/repos/rcordeirotmu/reviewing-a-pull-request/issues/comments/544724566", @@ -2191,12 +2191,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "dekkerglen:master", - "ref": "master", + "label": "dekkerglen:main", + "ref": "main", "sha": "f25ddd94644152d3bb6f2641e552b05108d13475", "user": { "login": "dekkerglen", @@ -2316,7 +2316,7 @@ "forks": 28, "open_issues": 126, "watchers": 39, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2402,7 +2402,7 @@ "push_id": 4176854881, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "b826329617c6f44caaac3be82a3147d082e404b7", "before": "4ff7211da7ee2bfa13e742c6332d78b228a4f4dc", "commits": [ @@ -2448,7 +2448,7 @@ "push_id": 4176854876, "size": 2, "distinct_size": 2, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "f4b6567d15dfe6709d3eecd304877e4ca32ac308", "before": "0d0b5abb37eae9421cf0cbdcc63e37e2cd0f1a06", "commits": [ @@ -2468,7 +2468,7 @@ "email": "adrir@adrir.com", "name": "Adrir" }, - "message": "Merge branch 'master' of https://github.com/Adrir/comp120-tinkering-graphics", + "message": "Merge branch 'main' of https://github.com/Adrir/comp120-tinkering-graphics", "distinct": true, "url": "https://api.github.com/repos/Adrir/comp120-tinkering-graphics/commits/f4b6567d15dfe6709d3eecd304877e4ca32ac308" } @@ -2497,7 +2497,7 @@ "push_id": 4176854871, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "ccc9ca4e384c48c6543b66801cb9dc8df3fd2178", "before": "6bcfc18c475e5ab4de1f89a5a588ea628367ea38", "commits": [ @@ -2700,12 +2700,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "dm-group-trakd:master", - "ref": "master", + "label": "dm-group-trakd:main", + "ref": "main", "sha": "4586bdd4aba94009ee60a2d01710f50493f60fd7", "user": { "login": "dm-group-trakd", @@ -2819,7 +2819,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -2912,7 +2912,7 @@ "push_id": 4176854878, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "6ce7de98689be2a91f3455f0fe83754252658073", "before": "2d14bcf9d9906d1ef9aa124b3ed168e926b45334", "commits": [ @@ -3121,12 +3121,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "envoyproxy:master", - "ref": "master", + "label": "envoyproxy:main", + "ref": "main", "sha": "4bd38639fe0332c55961505d4e091f72895b7f73", "user": { "login": "envoyproxy", @@ -3246,7 +3246,7 @@ "forks": 26, "open_issues": 66, "watchers": 61, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -3503,8 +3503,8 @@ "comments_url": "https://api.github.com/repos/cyberark/conjur/issues/1209/comments", "statuses_url": "https://api.github.com/repos/cyberark/conjur/statuses/d16c40c290d4f1ac139b101cd089a1635f20db29", "head": { - "label": "AndrewCopeland:master", - "ref": "master", + "label": "AndrewCopeland:main", + "ref": "main", "sha": "d16c40c290d4f1ac139b101cd089a1635f20db29", "user": { "login": "AndrewCopeland", @@ -3624,12 +3624,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "cyberark:master", - "ref": "master", + "label": "cyberark:main", + "ref": "main", "sha": "ccf74318168be925bd62753926ae6b46ccce67aa", "user": { "login": "cyberark", @@ -3749,7 +3749,7 @@ "forks": 63, "open_issues": 260, "watchers": 320, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -3811,7 +3811,7 @@ "push_id": 4176854863, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "2282592b49f3c60b07f84135ddfd8d7199d93e2a", "before": "f393ac03494aa2e71988f93d73243c6887bf1541", "commits": [ @@ -3849,7 +3849,7 @@ "payload": { "ref": "steveDesktop", "ref_type": "branch", - "master_branch": "master", + "master_branch": "main", "description": null, "pusher_type": "user" }, @@ -3876,7 +3876,7 @@ "push_id": 4176854859, "size": 1, "distinct_size": 1, - "ref": "refs/heads/master", + "ref": "refs/heads/main", "head": "908784246be05f222167f3f463e1423885f54ac5", "before": "9e030787665d1dbf6f75f4020c52cb842d3cd17b", "commits": [ @@ -4004,7 +4004,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "public": true } }, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/repos_daddyfatstacksbig_lerna-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/repos_daddyfatstacksbig_lerna-12.json index f96e56f77..466c6368b 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/repos_daddyfatstacksbig_lerna-12.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testEventApi/__files/repos_daddyfatstacksbig_lerna-12.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repos_hub4j_github-api-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repos_hub4j_github-api-3.json index 972755e57..2a39e08c6 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repos_hub4j_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repos_hub4j_github-api-3.json @@ -96,7 +96,7 @@ "forks": 428, "open_issues": 89, "watchers": 557, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repos_hub4j_github-api_issues-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repos_hub4j_github-api_issues-4.json index 6af50e2c0..d907e7963 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repos_hub4j_github-api_issues-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repos_hub4j_github-api_issues-4.json @@ -100,7 +100,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/559.diff", "patch_url": "https://github.com/hub4j/github-api/pull/559.patch" }, - "body": "Bumps `okhttp3.version` from 3.12.3 to 4.2.1.\n\nUpdates `okhttp` from 3.12.3 to 4.2.1\n
\nChangelog\n\n*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*\n\n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> ... (truncated)\n
\n
\nCommits\n\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.1)\n
\n
\n\nUpdates `okhttp-urlconnection` from 3.12.3 to 4.2.1\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*\n\n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> ... (truncated)\n
\n
\nCommits\n\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.1)\n
\n
\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" + "body": "Bumps `okhttp3.version` from 3.12.3 to 4.2.1.\n\nUpdates `okhttp` from 3.12.3 to 4.2.1\n
\nChangelog\n\n*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/main/CHANGELOG.md).*\n\n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> ... (truncated)\n
\n
\nCommits\n\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.1)\n
\n
\n\nUpdates `okhttp-urlconnection` from 3.12.3 to 4.2.1\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/main/CHANGELOG.md).*\n\n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> ... (truncated)\n
\n
\nCommits\n\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.1)\n
\n
\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/558", @@ -159,7 +159,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/558.diff", "patch_url": "https://github.com/hub4j/github-api/pull/558.patch" }, - "body": "Bumps [okio](https://github.com/square/okio) from 2.2.2 to 2.4.0.\n
\nChangelog\n\n*Sourced from [okio's changelog](https://github.com/square/okio/blob/master/CHANGELOG.md).*\n\n> ### Version 2.4.0\n> \n> _2019-08-26_\n> \n> * New: Upgrade to Kotlin 1.3.50.\n> \n> \n> ### Version 2.3.0\n> \n> _2019-07-29_\n> \n> **This release changes our build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM).**\n> Both native and JavaScript platforms are unstable preview releases and subject to\n> backwards-incompatible changes in forthcoming releases.\n> \n> To try Okio in a multiplatform project use this Maven coordinate:\n> \n> ```kotlin\n> api('com.squareup.okio:okio-multiplatform:2.3.0')\n> ```\n> \n> You’ll also need to [enable Gradle metadata][gradle_metadata] in your project's settings. The\n> artifact name for JVM projects has not changed.\n> \n> * New: Upgrade to Kotlin 1.3.40.\n> * Fix: Use Gradle `api` instead of `implementation` for the kotlin-stdlib dependency.\n> * Fix: Don't block unless strictly necessary in `BufferedSource.peek()`.\n> \n> ## Version 1.17.4\n> \n> _2019-04-29_\n> \n> * Fix: Don't block unless strictly necessary in `BufferedSource.peek()`.\n
\n
\nCommits\n\n- [`35a6919`](https://github.com/square/okio/commit/35a69198bb17c7d8dc2b59aa2d4ffae3c201c599) Prepare for release 2.4.0.\n- [`1ab5136`](https://github.com/square/okio/commit/1ab5136fc3a7c3a713d1d82053643612b44aa092) Merge pull request [#650](https://github-redirect.dependabot.com/square/okio/issues/650) from square/jakew/repeat/2019-08-23\n- [`533b7da`](https://github.com/square/okio/commit/533b7dae1aafd007de3bfe58cf619aeec101e36b) Remove TestUtils.repeat in favor of Kotlin repeat\n- [`589c56c`](https://github.com/square/okio/commit/589c56c98b08dc690024fa0268885b08e3c61497) Kotlin 1.3.50 ([#649](https://github-redirect.dependabot.com/square/okio/issues/649))\n- [`29c16f9`](https://github.com/square/okio/commit/29c16f91a148db2df233bf734d229019db664824) Merge pull request [#648](https://github-redirect.dependabot.com/square/okio/issues/648) from square/egorand/190815/kotlin-1.3.50-eap\n- [`efaae11`](https://github.com/square/okio/commit/efaae11bd92d48ac303238b3f6b27c192c70541e) Kotlin 1.3.50-eap\n- [`a93f96c`](https://github.com/square/okio/commit/a93f96c0dc2b1256f209ec719dc96b6c121bba45) Update ktlint gradle to 8.2.0 version. ([#642](https://github-redirect.dependabot.com/square/okio/issues/642))\n- [`16cde1a`](https://github.com/square/okio/commit/16cde1a986fe921e6bad94a3f26841726c39797d) Merge pull request [#644](https://github-redirect.dependabot.com/square/okio/issues/644) from square/egorand/190805/kill-node\n- [`9376cb3`](https://github.com/square/okio/commit/9376cb360531f1f9af11af6063f3f171feecd19c) Merge pull request [#643](https://github-redirect.dependabot.com/square/okio/issues/643) from square/egorand/190804/gradle-5.5.1\n- [`5de9874`](https://github.com/square/okio/commit/5de9874d35a26c8ae0da8c302990cca1a11ea725) Node plugin is not needed anymore\n- Additional commits viewable in [compare view](https://github.com/square/okio/compare/2.2.2...parent-2.4.0)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.2.2&new-version=2.4.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.2.2&new-version=2.4.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" + "body": "Bumps [okio](https://github.com/square/okio) from 2.2.2 to 2.4.0.\n
\nChangelog\n\n*Sourced from [okio's changelog](https://github.com/square/okio/blob/main/CHANGELOG.md).*\n\n> ### Version 2.4.0\n> \n> _2019-08-26_\n> \n> * New: Upgrade to Kotlin 1.3.50.\n> \n> \n> ### Version 2.3.0\n> \n> _2019-07-29_\n> \n> **This release changes our build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM).**\n> Both native and JavaScript platforms are unstable preview releases and subject to\n> backwards-incompatible changes in forthcoming releases.\n> \n> To try Okio in a multiplatform project use this Maven coordinate:\n> \n> ```kotlin\n> api('com.squareup.okio:okio-multiplatform:2.3.0')\n> ```\n> \n> You’ll also need to [enable Gradle metadata][gradle_metadata] in your project's settings. The\n> artifact name for JVM projects has not changed.\n> \n> * New: Upgrade to Kotlin 1.3.40.\n> * Fix: Use Gradle `api` instead of `implementation` for the kotlin-stdlib dependency.\n> * Fix: Don't block unless strictly necessary in `BufferedSource.peek()`.\n> \n> ## Version 1.17.4\n> \n> _2019-04-29_\n> \n> * Fix: Don't block unless strictly necessary in `BufferedSource.peek()`.\n
\n
\nCommits\n\n- [`35a6919`](https://github.com/square/okio/commit/35a69198bb17c7d8dc2b59aa2d4ffae3c201c599) Prepare for release 2.4.0.\n- [`1ab5136`](https://github.com/square/okio/commit/1ab5136fc3a7c3a713d1d82053643612b44aa092) Merge pull request [#650](https://github-redirect.dependabot.com/square/okio/issues/650) from square/jakew/repeat/2019-08-23\n- [`533b7da`](https://github.com/square/okio/commit/533b7dae1aafd007de3bfe58cf619aeec101e36b) Remove TestUtils.repeat in favor of Kotlin repeat\n- [`589c56c`](https://github.com/square/okio/commit/589c56c98b08dc690024fa0268885b08e3c61497) Kotlin 1.3.50 ([#649](https://github-redirect.dependabot.com/square/okio/issues/649))\n- [`29c16f9`](https://github.com/square/okio/commit/29c16f91a148db2df233bf734d229019db664824) Merge pull request [#648](https://github-redirect.dependabot.com/square/okio/issues/648) from square/egorand/190815/kotlin-1.3.50-eap\n- [`efaae11`](https://github.com/square/okio/commit/efaae11bd92d48ac303238b3f6b27c192c70541e) Kotlin 1.3.50-eap\n- [`a93f96c`](https://github.com/square/okio/commit/a93f96c0dc2b1256f209ec719dc96b6c121bba45) Update ktlint gradle to 8.2.0 version. ([#642](https://github-redirect.dependabot.com/square/okio/issues/642))\n- [`16cde1a`](https://github.com/square/okio/commit/16cde1a986fe921e6bad94a3f26841726c39797d) Merge pull request [#644](https://github-redirect.dependabot.com/square/okio/issues/644) from square/egorand/190805/kill-node\n- [`9376cb3`](https://github.com/square/okio/commit/9376cb360531f1f9af11af6063f3f171feecd19c) Merge pull request [#643](https://github-redirect.dependabot.com/square/okio/issues/643) from square/egorand/190804/gradle-5.5.1\n- [`5de9874`](https://github.com/square/okio/commit/5de9874d35a26c8ae0da8c302990cca1a11ea725) Node plugin is not needed anymore\n- Additional commits viewable in [compare view](https://github.com/square/okio/compare/2.2.2...parent-2.4.0)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.2.2&new-version=2.4.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.2.2&new-version=2.4.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/557", @@ -454,7 +454,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/553.diff", "patch_url": "https://github.com/hub4j/github-api/pull/553.patch" }, - "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.9.0 to 4.2.0.\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*\n\n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this\n> happened enough then eventually the connection would stall.\n> \n> * Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we\n> could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to\n> fail the call.\n> \n> \n> ## Version 4.1.1\n> \n> _2019-09-05_\n> \n> * Fix: Don't drop repeated headers when validating cached responses. In our Kotlin upgrade we\n> introduced a regression where we iterated the number of unique header names rather than then\n> ... (truncated)\n
\n
\nCommits\n\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- [`ba2c676`](https://github.com/square/okhttp/commit/ba2c676aaf2b825528955f61dd43004a5bd9ca98) Handshake returns cleaned peer certificates ([#5311](https://github-redirect.dependabot.com/square/okhttp/issues/5311))\n- [`93c5bcc`](https://github.com/square/okhttp/commit/93c5bcc6cb46aef19b2f55e61c01f6b1bbccee70) Make it easier to decode PEM files\n- [`6f17886`](https://github.com/square/okhttp/commit/6f178869acc2a2a9a6882c49dfb5bcf7a43b3ddd) Merge pull request [#5423](https://github-redirect.dependabot.com/square/okhttp/issues/5423) from square/jwilson.0905.windows\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.9.0...parent-4.2.0)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.9.0&new-version=4.2.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.9.0&new-version=4.2.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.\n\nYou can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" + "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.9.0 to 4.2.0.\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/main/CHANGELOG.md).*\n\n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this\n> happened enough then eventually the connection would stall.\n> \n> * Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we\n> could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to\n> fail the call.\n> \n> \n> ## Version 4.1.1\n> \n> _2019-09-05_\n> \n> * Fix: Don't drop repeated headers when validating cached responses. In our Kotlin upgrade we\n> introduced a regression where we iterated the number of unique header names rather than then\n> ... (truncated)\n
\n
\nCommits\n\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- [`ba2c676`](https://github.com/square/okhttp/commit/ba2c676aaf2b825528955f61dd43004a5bd9ca98) Handshake returns cleaned peer certificates ([#5311](https://github-redirect.dependabot.com/square/okhttp/issues/5311))\n- [`93c5bcc`](https://github.com/square/okhttp/commit/93c5bcc6cb46aef19b2f55e61c01f6b1bbccee70) Make it easier to decode PEM files\n- [`6f17886`](https://github.com/square/okhttp/commit/6f178869acc2a2a9a6882c49dfb5bcf7a43b3ddd) Merge pull request [#5423](https://github-redirect.dependabot.com/square/okhttp/issues/5423) from square/jwilson.0905.windows\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.9.0...parent-4.2.0)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.9.0&new-version=4.2.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.9.0&new-version=4.2.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.\n\nYou can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/552", @@ -572,7 +572,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/551.diff", "patch_url": "https://github.com/hub4j/github-api/pull/551.patch" }, - "body": "Bumps [commons-codec](https://github.com/apache/commons-codec) from 1.7 to 1.13.\n
\nChangelog\n\n*Sourced from [commons-codec's changelog](https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt).*\n\n> Apache Apache Commons Codec 1.13 RELEASE NOTES\n> \n> The Apache Commons Codec package contains simple encoder and decoders for\n> various formats such as Base64 and Hexadecimal. In addition to these\n> widely used encoders and decoders, the codec package also maintains a\n> collection of phonetic encoding utilities.\n> \n> Feature and fix release.\n> \n> Changes in this version include:\n> \n> New features:\n> o CODEC-236: MurmurHash2 for 32-bit or 64-bit value. Thanks to Viliam Holub.\n> o CODEC-236: MurmurHash3 for 32-bit or 128-bit value. Thanks to Austin Appleby.\n> \n> Fixed Bugs:\n> o CODEC-255: ColognePhonetic handles x incorrectly Thanks to Holger Grote.\n> o CODEC-254: ColognePhonetic does not treat the letter H correctly Thanks to Holger Grote.\n> o CODEC-134: Reject any decode request for a value that is impossible to encode to for Base32/Base64 rather than blindly decoding.\n> \n> Changes:\n> o CODEC-236: Broken direct java.nio.ByteBuffer support in org.apache.commons.codec.binary.Hex. Thanks to Tomas Shestakov, Gary Gregory.\n> \n> \n> For complete information on Apache Commons Codec, including instructions on how to submit bug reports,\n> patches, or suggestions for improvement, see the Apache Apache Commons Codec website:\n> \n> Visit https://commons.apache.org/proper/commons-codec/\n> Download from https://commons.apache.org/proper/commons-codec/download_codec.cgi\n> \n> \n> -------------------------------------------------------------------------------\n> \n> Apache Commons Codec 1.12 RELEASE NOTES\n> \n> The Apache Commons Codec team is pleased to announce the commons-codec-1.12 release!\n> \n> The Apache Commons Codec package contains simple encoder and decoders for\n> various formats such as Base64 and Hexadecimal. In addition to these\n> widely used encoders and decoders, the codec package also maintains a\n> collection of phonetic encoding utilities.\n> \n> Changes in this version include:\n> \n> New features:\n> o Add Percent-Encoding Codec (described in RFC3986 and RFC7578) Issue: CODEC-240. Thanks to Ioannis Sermetziadis.\n> o Add SHA-3 methods in DigestUtils Issue: CODEC-251. Thanks to Gary Gregory.\n> \n> Fixed Bugs:\n> o B64 salt generator: Random -> ThreadLocalRandom Issue: CODEC-252.\n> ... (truncated)\n
\n
\nCommits\n\n- [`beafa49`](https://github.com/apache/commons-codec/commit/beafa49f88be397f89b78d125d2c7c52b0114006) Fix the site's source repository link.\n- [`4200d4d`](https://github.com/apache/commons-codec/commit/4200d4d9cbfb2cbfc7f6e783cceb06bb52963887) Fix the site's source repository link.\n- [`20dc3ec`](https://github.com/apache/commons-codec/commit/20dc3ec2c6b41f9412ecf4a1cbe9bba10e1498ed) Prepare for the next release.\n- [`7d309fc`](https://github.com/apache/commons-codec/commit/7d309fc952fa201c53ba277eee33b751f56cf50e) Update POM version numbers for Apache Commons Codec release 1.13\n- [`47a55d2`](https://github.com/apache/commons-codec/commit/47a55d21515bf2ec49d2c1b4f2f83bf66a09a7c5) Prepare for the next release.\n- [`3730126`](https://github.com/apache/commons-codec/commit/3730126d8a3fbf98533710e1c9f2ba18b91d53f2) Prepare for the next release.\n- [`9969e7b`](https://github.com/apache/commons-codec/commit/9969e7b317777e151646923d302e856b163ba224) Prepare for the next release.\n- [`fe39ffc`](https://github.com/apache/commons-codec/commit/fe39ffc076712fc8cd55c96fc5cb0eee2efe4847) Remove unnecessary type casts.\n- [`3e6fb93`](https://github.com/apache/commons-codec/commit/3e6fb93250fb951ccd3b9597cd19b1c2243a77b1) Use final.\n- [`9253700`](https://github.com/apache/commons-codec/commit/9253700b7308dc43f063c87014dce5ee80ee33e0) Remove trailing white spaces.\n- Additional commits viewable in [compare view](https://github.com/apache/commons-codec/compare/1.7...commons-codec-1.13)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=commons-codec:commons-codec&package-manager=maven&previous-version=1.7&new-version=1.13)](https://dependabot.com/compatibility-score.html?dependency-name=commons-codec:commons-codec&package-manager=maven&previous-version=1.7&new-version=1.13)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.\n\nYou can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" + "body": "Bumps [commons-codec](https://github.com/apache/commons-codec) from 1.7 to 1.13.\n
\nChangelog\n\n*Sourced from [commons-codec's changelog](https://github.com/apache/commons-codec/blob/main/RELEASE-NOTES.txt).*\n\n> Apache Apache Commons Codec 1.13 RELEASE NOTES\n> \n> The Apache Commons Codec package contains simple encoder and decoders for\n> various formats such as Base64 and Hexadecimal. In addition to these\n> widely used encoders and decoders, the codec package also maintains a\n> collection of phonetic encoding utilities.\n> \n> Feature and fix release.\n> \n> Changes in this version include:\n> \n> New features:\n> o CODEC-236: MurmurHash2 for 32-bit or 64-bit value. Thanks to Viliam Holub.\n> o CODEC-236: MurmurHash3 for 32-bit or 128-bit value. Thanks to Austin Appleby.\n> \n> Fixed Bugs:\n> o CODEC-255: ColognePhonetic handles x incorrectly Thanks to Holger Grote.\n> o CODEC-254: ColognePhonetic does not treat the letter H correctly Thanks to Holger Grote.\n> o CODEC-134: Reject any decode request for a value that is impossible to encode to for Base32/Base64 rather than blindly decoding.\n> \n> Changes:\n> o CODEC-236: Broken direct java.nio.ByteBuffer support in org.apache.commons.codec.binary.Hex. Thanks to Tomas Shestakov, Gary Gregory.\n> \n> \n> For complete information on Apache Commons Codec, including instructions on how to submit bug reports,\n> patches, or suggestions for improvement, see the Apache Apache Commons Codec website:\n> \n> Visit https://commons.apache.org/proper/commons-codec/\n> Download from https://commons.apache.org/proper/commons-codec/download_codec.cgi\n> \n> \n> -------------------------------------------------------------------------------\n> \n> Apache Commons Codec 1.12 RELEASE NOTES\n> \n> The Apache Commons Codec team is pleased to announce the commons-codec-1.12 release!\n> \n> The Apache Commons Codec package contains simple encoder and decoders for\n> various formats such as Base64 and Hexadecimal. In addition to these\n> widely used encoders and decoders, the codec package also maintains a\n> collection of phonetic encoding utilities.\n> \n> Changes in this version include:\n> \n> New features:\n> o Add Percent-Encoding Codec (described in RFC3986 and RFC7578) Issue: CODEC-240. Thanks to Ioannis Sermetziadis.\n> o Add SHA-3 methods in DigestUtils Issue: CODEC-251. Thanks to Gary Gregory.\n> \n> Fixed Bugs:\n> o B64 salt generator: Random -> ThreadLocalRandom Issue: CODEC-252.\n> ... (truncated)\n
\n
\nCommits\n\n- [`beafa49`](https://github.com/apache/commons-codec/commit/beafa49f88be397f89b78d125d2c7c52b0114006) Fix the site's source repository link.\n- [`4200d4d`](https://github.com/apache/commons-codec/commit/4200d4d9cbfb2cbfc7f6e783cceb06bb52963887) Fix the site's source repository link.\n- [`20dc3ec`](https://github.com/apache/commons-codec/commit/20dc3ec2c6b41f9412ecf4a1cbe9bba10e1498ed) Prepare for the next release.\n- [`7d309fc`](https://github.com/apache/commons-codec/commit/7d309fc952fa201c53ba277eee33b751f56cf50e) Update POM version numbers for Apache Commons Codec release 1.13\n- [`47a55d2`](https://github.com/apache/commons-codec/commit/47a55d21515bf2ec49d2c1b4f2f83bf66a09a7c5) Prepare for the next release.\n- [`3730126`](https://github.com/apache/commons-codec/commit/3730126d8a3fbf98533710e1c9f2ba18b91d53f2) Prepare for the next release.\n- [`9969e7b`](https://github.com/apache/commons-codec/commit/9969e7b317777e151646923d302e856b163ba224) Prepare for the next release.\n- [`fe39ffc`](https://github.com/apache/commons-codec/commit/fe39ffc076712fc8cd55c96fc5cb0eee2efe4847) Remove unnecessary type casts.\n- [`3e6fb93`](https://github.com/apache/commons-codec/commit/3e6fb93250fb951ccd3b9597cd19b1c2243a77b1) Use final.\n- [`9253700`](https://github.com/apache/commons-codec/commit/9253700b7308dc43f063c87014dce5ee80ee33e0) Remove trailing white spaces.\n- Additional commits viewable in [compare view](https://github.com/apache/commons-codec/compare/1.7...commons-codec-1.13)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=commons-codec:commons-codec&package-manager=maven&previous-version=1.7&new-version=1.13)](https://dependabot.com/compatibility-score.html?dependency-name=commons-codec:commons-codec&package-manager=maven&previous-version=1.7&new-version=1.13)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.\n\nYou can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/550", @@ -1108,7 +1108,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/538.diff", "patch_url": "https://github.com/hub4j/github-api/pull/538.patch" }, - "body": "The [create a pull request API](https://developer.github.com/v3/pulls/#create-a-pull-request) does not require a namespace on the head branch when creating a pull request between two branches in the same repository.\r\n\r\nHowever, the [list pull requests API](https://developer.github.com/v3/pulls/#list-pull-requests) **does** require a namespace on the `head` value in order to work properly. If the namespace is omitted, the call _ignores_ the `head` parameter entirely, returning all pull requests that match on the other criteria.\r\n\r\nIn my opinion, this seems like an oversight in the API and creates quite a pitfall.\r\n\r\nFor example, creating a pull request between two branches in the same repository looks like:\r\n`repository.createPullRequest(\"title\", \"my-branch\", \"master\", null);`\r\nBut the query to pull back the newly created pull request must look like:\r\n`repository.queryPullRequests().state(GHIssueState.OPEN).head(\"my-org:my-branch\").base(\"master\").list();`\r\nForgetting the `my-org:` results in all open pull-requests into the master branch being returned, which is clearly not what was intended in the query.\r\n\r\nThis change causes the `head` value to be namespaced by default if a non-namespaced value is provided, given that providing a non-namespaced value is effectively the same as `null` and will never behave as the developer intended." + "body": "The [create a pull request API](https://developer.github.com/v3/pulls/#create-a-pull-request) does not require a namespace on the head branch when creating a pull request between two branches in the same repository.\r\n\r\nHowever, the [list pull requests API](https://developer.github.com/v3/pulls/#list-pull-requests) **does** require a namespace on the `head` value in order to work properly. If the namespace is omitted, the call _ignores_ the `head` parameter entirely, returning all pull requests that match on the other criteria.\r\n\r\nIn my opinion, this seems like an oversight in the API and creates quite a pitfall.\r\n\r\nFor example, creating a pull request between two branches in the same repository looks like:\r\n`repository.createPullRequest(\"title\", \"my-branch\", \"main\", null);`\r\nBut the query to pull back the newly created pull request must look like:\r\n`repository.queryPullRequests().state(GHIssueState.OPEN).head(\"my-org:my-branch\").base(\"main\").list();`\r\nForgetting the `my-org:` results in all open pull-requests into the main branch being returned, which is clearly not what was intended in the query.\r\n\r\nThis change causes the `head` value to be namespaced by default if a non-namespaced value is provided, given that providing a non-namespaced value is effectively the same as `null` and will never behave as the developer intended." }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/537", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-10.json index a3b87a1ca..fbd4438cb 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-10.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-10.json @@ -499,7 +499,7 @@ "updated_at": "2016-07-19T21:44:19Z", "closed_at": "2016-07-19T15:00:30Z", "author_association": "NONE", - "body": "Hello,\n\nI have built a tool using your API, which has been working for many months now, but suddenly fails due to a `FileNotFoundException` thrown by `getInputStrem` in OKHttp. When I paste the url it is trying to download, into my browser, it works perfectly fine. I can see the file contents. This is very strange. Do you have any clue about this?\n\nStack trace:\n\n```\ntables [ERROR] [07/12/2016 12:15:41.086] [TableService-akka.actor.default-dispatcher-8] [akka://TableService/user/simple-service-actor] Error during processing of request HttpRequest(POST,http://localhost:8084/api/metadata/list,List(Host: localhost:8084, Connection: keep-alive, Content-Length: 59, Origin: http://localhost:8084, X-Requested-With: XMLHttpRequest, User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 OPR/38.0.2220.41, Content-Type: application/json, Referer: http://localhost:8084/, Accept-Encoding: gzip, deflate, lzma, Accept-Language: en-US, en;q=0.8, Cookie: tablestore-data-git=eyJhY2Nlc3NUb2tlbiI6ImYyZDI1OTViNGQ4OTMwMjIwMGI2YjE2MjNhNzQ3ZjQ3MzI1ZWJkOWMifQ==; tablestore-data-git2=eyJhY2Nlc3NUb2tlbiI6ImZlYmMxYTRlYjA1MmI4OWJlNDQwOWFmODk3OGNkYWFhYWY1OWZlNWEifQ==),HttpEntity(application/json,{\"repo\":\"aristo-tables\",\"fork\":\"allenai\",\"branch\":\"master\"}),HTTP/1.1)\ntables java.io.FileNotFoundException: 400: Invalid request\ntables \ntables at org.kohsuke.github.Requester.handleApiError(Requester.java:527)\ntables at org.kohsuke.github.Requester.asStream(Requester.java:293)\ntables at org.kohsuke.github.GHContent.read(GHContent.java:118)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getCsvFileLocal$1.apply(GitHubUtil.scala:420)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getCsvFileLocal$1.apply(GitHubUtil.scala:417)\ntables at scala.Option.foreach(Option.scala:257)\ntables at org.allenai.ari.tables.GitHubUtil.getCsvFileLocal(GitHubUtil.scala:417)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$7.apply(GitHubUtil.scala:239)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$7.apply(GitHubUtil.scala:236)\ntables at scala.collection.parallel.mutable.ParArray$ParArrayIterator.flatmap2combiner(ParArray.scala:417)\ntables at scala.collection.parallel.ParIterableLike$FlatMap.leaf(ParIterableLike.scala:1072)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51)\ntables at scala.collection.parallel.ParIterableLike$FlatMap.tryLeaf(ParIterableLike.scala:1068)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.internal(Tasks.scala:159)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.internal(Tasks.scala:443)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:149)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443)\ntables at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)\ntables at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)\ntables at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:378)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:443)\ntables at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:426)\ntables at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:56)\ntables at scala.collection.parallel.ExecutionContextTasks$class.executeAndWaitResult(Tasks.scala:558)\ntables at scala.collection.parallel.ExecutionContextTaskSupport.executeAndWaitResult(TaskSupport.scala:80)\ntables at scala.collection.parallel.ParIterableLike$ResultMapping.leaf(ParIterableLike.scala:958)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51)\ntables at scala.collection.parallel.ParIterableLike$ResultMapping.tryLeaf(ParIterableLike.scala:953)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:152)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443)\ntables at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)\ntables at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)\ntables at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:378)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:443)\ntables at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:426)\ntables at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:56)\ntables at scala.collection.parallel.ExecutionContextTasks$class.executeAndWaitResult(Tasks.scala:558)\ntables at scala.collection.parallel.ExecutionContextTaskSupport.executeAndWaitResult(TaskSupport.scala:80)\ntables at scala.collection.parallel.ParIterableLike$class.flatMap(ParIterableLike.scala:513)\ntables at scala.collection.parallel.mutable.ParArray.flatMap(ParArray.scala:56)\ntables at org.allenai.ari.tables.GitHubUtil.org$allenai$ari$tables$GitHubUtil$$getTableMetadata(GitHubUtil.scala:236)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getTableMetadata$2.apply(GitHubUtil.scala:229)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getTableMetadata$2.apply(GitHubUtil.scala:229)\ntables at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)\ntables at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)\ntables at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)\ntables at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\ntables at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)\ntables at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)\ntables at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:399)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\ntables at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\ntables at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\ntables Caused by: java.io.FileNotFoundException: https://raw.githubusercontent.com/allenai/aristo-tables/master/tables/abstract_concrete/abstract_concrete.csv?token=AFXsrivOTIoDru9Htw9aNTJbprmE5m0Gks5XhUHfwA%3D%3D\ntables at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:228)\ntables at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)\ntables at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)\ntables at org.kohsuke.github.Requester.asStream(Requester.java:291)\ntables ... 66 more\n```\n\nYour help is greatly appreciated,\nSumithra\n" + "body": "Hello,\n\nI have built a tool using your API, which has been working for many months now, but suddenly fails due to a `FileNotFoundException` thrown by `getInputStrem` in OKHttp. When I paste the url it is trying to download, into my browser, it works perfectly fine. I can see the file contents. This is very strange. Do you have any clue about this?\n\nStack trace:\n\n```\ntables [ERROR] [07/12/2016 12:15:41.086] [TableService-akka.actor.default-dispatcher-8] [akka://TableService/user/simple-service-actor] Error during processing of request HttpRequest(POST,http://localhost:8084/api/metadata/list,List(Host: localhost:8084, Connection: keep-alive, Content-Length: 59, Origin: http://localhost:8084, X-Requested-With: XMLHttpRequest, User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 OPR/38.0.2220.41, Content-Type: application/json, Referer: http://localhost:8084/, Accept-Encoding: gzip, deflate, lzma, Accept-Language: en-US, en;q=0.8, Cookie: tablestore-data-git=eyJhY2Nlc3NUb2tlbiI6ImYyZDI1OTViNGQ4OTMwMjIwMGI2YjE2MjNhNzQ3ZjQ3MzI1ZWJkOWMifQ==; tablestore-data-git2=eyJhY2Nlc3NUb2tlbiI6ImZlYmMxYTRlYjA1MmI4OWJlNDQwOWFmODk3OGNkYWFhYWY1OWZlNWEifQ==),HttpEntity(application/json,{\"repo\":\"aristo-tables\",\"fork\":\"allenai\",\"branch\":\"main\"}),HTTP/1.1)\ntables java.io.FileNotFoundException: 400: Invalid request\ntables \ntables at org.kohsuke.github.Requester.handleApiError(Requester.java:527)\ntables at org.kohsuke.github.Requester.asStream(Requester.java:293)\ntables at org.kohsuke.github.GHContent.read(GHContent.java:118)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getCsvFileLocal$1.apply(GitHubUtil.scala:420)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getCsvFileLocal$1.apply(GitHubUtil.scala:417)\ntables at scala.Option.foreach(Option.scala:257)\ntables at org.allenai.ari.tables.GitHubUtil.getCsvFileLocal(GitHubUtil.scala:417)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$7.apply(GitHubUtil.scala:239)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$7.apply(GitHubUtil.scala:236)\ntables at scala.collection.parallel.mutable.ParArray$ParArrayIterator.flatmap2combiner(ParArray.scala:417)\ntables at scala.collection.parallel.ParIterableLike$FlatMap.leaf(ParIterableLike.scala:1072)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51)\ntables at scala.collection.parallel.ParIterableLike$FlatMap.tryLeaf(ParIterableLike.scala:1068)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.internal(Tasks.scala:159)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.internal(Tasks.scala:443)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:149)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443)\ntables at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)\ntables at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)\ntables at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:378)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:443)\ntables at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:426)\ntables at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:56)\ntables at scala.collection.parallel.ExecutionContextTasks$class.executeAndWaitResult(Tasks.scala:558)\ntables at scala.collection.parallel.ExecutionContextTaskSupport.executeAndWaitResult(TaskSupport.scala:80)\ntables at scala.collection.parallel.ParIterableLike$ResultMapping.leaf(ParIterableLike.scala:958)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51)\ntables at scala.collection.parallel.ParIterableLike$ResultMapping.tryLeaf(ParIterableLike.scala:953)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:152)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443)\ntables at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)\ntables at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)\ntables at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:378)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:443)\ntables at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:426)\ntables at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:56)\ntables at scala.collection.parallel.ExecutionContextTasks$class.executeAndWaitResult(Tasks.scala:558)\ntables at scala.collection.parallel.ExecutionContextTaskSupport.executeAndWaitResult(TaskSupport.scala:80)\ntables at scala.collection.parallel.ParIterableLike$class.flatMap(ParIterableLike.scala:513)\ntables at scala.collection.parallel.mutable.ParArray.flatMap(ParArray.scala:56)\ntables at org.allenai.ari.tables.GitHubUtil.org$allenai$ari$tables$GitHubUtil$$getTableMetadata(GitHubUtil.scala:236)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getTableMetadata$2.apply(GitHubUtil.scala:229)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getTableMetadata$2.apply(GitHubUtil.scala:229)\ntables at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)\ntables at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)\ntables at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)\ntables at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\ntables at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)\ntables at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)\ntables at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:399)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\ntables at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\ntables at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\ntables Caused by: java.io.FileNotFoundException: https://raw.githubusercontent.com/allenai/aristo-tables/main/tables/abstract_concrete/abstract_concrete.csv?token=AFXsrivOTIoDru9Htw9aNTJbprmE5m0Gks5XhUHfwA%3D%3D\ntables at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:228)\ntables at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)\ntables at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)\ntables at org.kohsuke.github.Requester.asStream(Requester.java:291)\ntables ... 66 more\n```\n\nYour help is greatly appreciated,\nSumithra\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/287", @@ -587,7 +587,7 @@ "updated_at": "2016-08-09T01:25:00Z", "closed_at": "2016-08-06T04:10:32Z", "author_association": "NONE", - "body": "I'm researching deeper, but with 1.72 I get:\n\nremaining calls 4364\nabout to look up repo EVCache\n2016-06-28 21:28:20 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314\n2016-06-28 21:28:20 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0\n2016-06-28 21:28:22 DEBUG GithubAccess:107 - daysSinceLastCommit = 0\n2016-06-28 21:28:23 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)\n2016-06-28 21:28:24 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days\n2016-06-28 21:28:24 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days\n2016-06-28 21:28:24 DEBUG GithubAccess:96 - repo json = {\"asOfISO\":\"2016-06-29T04:27:43Z\",\"asOfYYYYMMDD\":\"2016-06-29\",\"repo_name\":\"EVCache\",\"public\":true,\"osslifecycle\":\"UNKNOWN\",\"forks\":82,\"stars\":314,\"numContributors\":16,\"issues\":{\"openCount\":0,\"closedCount\":14,\"avgTimeToCloseInDays\":357},\"pullRequests\":{\"openCount\":0,\"closedCount\":13,\"avgTimeToCloseInDays\":185},\"commits\":{\"daysSinceLastCommit\":0},\"contributors\":[\"smadappa\",\"senugula\",\"jkschneider\",\"vuzilla\",\"ScottMansfield\",\"rspieldenner\",\"elandau\",\"gitter-badger\",\"rdegnan\",\"nadavc\",\"aspyker\",\"trigan-d\",\"pauloricardomg\",\"kedargsm\",\"quidryan\",\"Randgalt\"]}\nremaining calls 4341\n\nresulting in 23 API calls\n\nwith 1.76, I get:\n\nremaining calls 4640\nabout to look up repo EVCache\n2016-06-28 21:22:22 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314\n2016-06-28 21:22:22 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0\n2016-06-28 21:23:01 DEBUG GithubAccess:107 - daysSinceLastCommit = 0\n2016-06-28 21:23:03 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)\n2016-06-28 21:23:04 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days\n2016-06-28 21:23:04 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days\n2016-06-28 21:23:04 DEBUG GithubAccess:96 - repo json = {\"asOfISO\":\"2016-06-29T04:20:26Z\",\"asOfYYYYMMDD\":\"2016-06-29\",\"repo_name\":\"EVCache\",\"public\":true,\"osslifecycle\":\"UNKNOWN\",\"forks\":82,\"stars\":314,\"numContributors\":16,\"issues\":{\"openCount\":0,\"closedCount\":14,\"avgTimeToCloseInDays\":357},\"pullRequests\":{\"openCount\":0,\"closedCount\":13,\"avgTimeToCloseInDays\":185},\"commits\":{\"daysSinceLastCommit\":0},\"contributors\":[\"smadappa\",\"senugula\",\"jkschneider\",\"vuzilla\",\"ScottMansfield\",\"rspieldenner\",\"elandau\",\"gitter-badger\",\"rdegnan\",\"nadavc\",\"aspyker\",\"trigan-d\",\"pauloricardomg\",\"kedargsm\",\"quidryan\",\"Randgalt\"]}\nremaining calls 4409\n\nresulting in 231 API calls\n\nThis is running this code:\n\nhttps://github.com/Netflix/osstracker/blob/master/osstracker-scraper/src/main/scala/com/netflix/oss/tools/osstrackerscraper/GithubAccess.scala#L52\n" + "body": "I'm researching deeper, but with 1.72 I get:\n\nremaining calls 4364\nabout to look up repo EVCache\n2016-06-28 21:28:20 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314\n2016-06-28 21:28:20 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0\n2016-06-28 21:28:22 DEBUG GithubAccess:107 - daysSinceLastCommit = 0\n2016-06-28 21:28:23 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)\n2016-06-28 21:28:24 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days\n2016-06-28 21:28:24 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days\n2016-06-28 21:28:24 DEBUG GithubAccess:96 - repo json = {\"asOfISO\":\"2016-06-29T04:27:43Z\",\"asOfYYYYMMDD\":\"2016-06-29\",\"repo_name\":\"EVCache\",\"public\":true,\"osslifecycle\":\"UNKNOWN\",\"forks\":82,\"stars\":314,\"numContributors\":16,\"issues\":{\"openCount\":0,\"closedCount\":14,\"avgTimeToCloseInDays\":357},\"pullRequests\":{\"openCount\":0,\"closedCount\":13,\"avgTimeToCloseInDays\":185},\"commits\":{\"daysSinceLastCommit\":0},\"contributors\":[\"smadappa\",\"senugula\",\"jkschneider\",\"vuzilla\",\"ScottMansfield\",\"rspieldenner\",\"elandau\",\"gitter-badger\",\"rdegnan\",\"nadavc\",\"aspyker\",\"trigan-d\",\"pauloricardomg\",\"kedargsm\",\"quidryan\",\"Randgalt\"]}\nremaining calls 4341\n\nresulting in 23 API calls\n\nwith 1.76, I get:\n\nremaining calls 4640\nabout to look up repo EVCache\n2016-06-28 21:22:22 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314\n2016-06-28 21:22:22 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0\n2016-06-28 21:23:01 DEBUG GithubAccess:107 - daysSinceLastCommit = 0\n2016-06-28 21:23:03 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)\n2016-06-28 21:23:04 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days\n2016-06-28 21:23:04 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days\n2016-06-28 21:23:04 DEBUG GithubAccess:96 - repo json = {\"asOfISO\":\"2016-06-29T04:20:26Z\",\"asOfYYYYMMDD\":\"2016-06-29\",\"repo_name\":\"EVCache\",\"public\":true,\"osslifecycle\":\"UNKNOWN\",\"forks\":82,\"stars\":314,\"numContributors\":16,\"issues\":{\"openCount\":0,\"closedCount\":14,\"avgTimeToCloseInDays\":357},\"pullRequests\":{\"openCount\":0,\"closedCount\":13,\"avgTimeToCloseInDays\":185},\"commits\":{\"daysSinceLastCommit\":0},\"contributors\":[\"smadappa\",\"senugula\",\"jkschneider\",\"vuzilla\",\"ScottMansfield\",\"rspieldenner\",\"elandau\",\"gitter-badger\",\"rdegnan\",\"nadavc\",\"aspyker\",\"trigan-d\",\"pauloricardomg\",\"kedargsm\",\"quidryan\",\"Randgalt\"]}\nremaining calls 4409\n\nresulting in 231 API calls\n\nThis is running this code:\n\nhttps://github.com/Netflix/osstracker/blob/main/osstracker-scraper/src/main/scala/com/netflix/oss/tools/osstrackerscraper/GithubAccess.scala#L52\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/285", @@ -1251,7 +1251,7 @@ "updated_at": "2016-06-03T05:08:19Z", "closed_at": "2016-06-03T05:08:19Z", "author_association": "NONE", - "body": "We've run into an issue when GitHub.getRateLimit hangs the thread.\nHere is the thread stack trace:\n\n```\n\"jenkins.util.Timer [#4]\" Id=48 Group=main RUNNABLE (in native)\n at java.net.SocketInputStream.socketRead0(Native Method)\n at java.net.SocketInputStream.read(SocketInputStream.java:152)\n at java.net.SocketInputStream.read(SocketInputStream.java:122)\n at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)\n at sun.security.ssl.InputRecord.read(InputRecord.java:480)\n at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)\n - locked java.lang.Object@4be77f76\n at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:903)\n at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)\n - locked sun.security.ssl.AppInputStream@5e6fb401\n at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)\n at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)\n at java.io.BufferedInputStream.read(BufferedInputStream.java:334)\n - locked java.io.BufferedInputStream@7792de16\n at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:690)\n at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)\n at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1325)\n - locked sun.net.www.protocol.https.DelegateHttpsURLConnection@6db28b13\n at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)\n at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)\n at org.kohsuke.github.Requester.parse(Requester.java:454)\n at org.kohsuke.github.Requester._to(Requester.java:227)\n at org.kohsuke.github.Requester.to(Requester.java:194)\n at org.kohsuke.github.GitHub.getRateLimit(GitHub.java:245)\n at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:66)\n at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:88)\n at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:119)\n at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:219)\n at hudson.triggers.Trigger.checkTriggers(Trigger.java:272)\n at hudson.triggers.Trigger$Cron.doRun(Trigger.java:221)\n at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)\n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n at java.lang.Thread.run(Thread.java:745)\n\n Number of locked synchronizers = 1\n - java.util.concurrent.ThreadPoolExecutor$Worker@6b1824c6\n```\n\nThere is a possibility that https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java#L486 will never return an aswer.\n\nI think, `uc.setTimeout(60 * 1000);` here https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java#L453 should fix the problem.\n" + "body": "We've run into an issue when GitHub.getRateLimit hangs the thread.\nHere is the thread stack trace:\n\n```\n\"jenkins.util.Timer [#4]\" Id=48 Group=main RUNNABLE (in native)\n at java.net.SocketInputStream.socketRead0(Native Method)\n at java.net.SocketInputStream.read(SocketInputStream.java:152)\n at java.net.SocketInputStream.read(SocketInputStream.java:122)\n at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)\n at sun.security.ssl.InputRecord.read(InputRecord.java:480)\n at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)\n - locked java.lang.Object@4be77f76\n at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:903)\n at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)\n - locked sun.security.ssl.AppInputStream@5e6fb401\n at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)\n at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)\n at java.io.BufferedInputStream.read(BufferedInputStream.java:334)\n - locked java.io.BufferedInputStream@7792de16\n at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:690)\n at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)\n at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1325)\n - locked sun.net.www.protocol.https.DelegateHttpsURLConnection@6db28b13\n at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)\n at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)\n at org.kohsuke.github.Requester.parse(Requester.java:454)\n at org.kohsuke.github.Requester._to(Requester.java:227)\n at org.kohsuke.github.Requester.to(Requester.java:194)\n at org.kohsuke.github.GitHub.getRateLimit(GitHub.java:245)\n at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:66)\n at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:88)\n at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:119)\n at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:219)\n at hudson.triggers.Trigger.checkTriggers(Trigger.java:272)\n at hudson.triggers.Trigger$Cron.doRun(Trigger.java:221)\n at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)\n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n at java.lang.Thread.run(Thread.java:745)\n\n Number of locked synchronizers = 1\n - java.util.concurrent.ThreadPoolExecutor$Worker@6b1824c6\n```\n\nThere is a possibility that https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java#L486 will never return an aswer.\n\nI think, `uc.setTimeout(60 * 1000);` here https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java#L453 should fix the problem.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/270", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-11.json index 98e49b63e..97f9af414 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-11.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-11.json @@ -135,7 +135,7 @@ "updated_at": "2016-06-03T06:50:17Z", "closed_at": "2016-06-03T06:50:17Z", "author_association": "NONE", - "body": "https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHRepository.java#L589\n\nThe \"forkTo\" method, however, does have some nice blocking in place.\n" + "body": "https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHRepository.java#L589\n\nThe \"forkTo\" method, however, does have some nice blocking in place.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/263", @@ -405,7 +405,7 @@ "updated_at": "2016-06-04T06:34:28Z", "closed_at": "2016-06-04T03:31:19Z", "author_association": "NONE", - "body": "Hi @kohsuke,\n\nI would appreciate your help on this.\n\nI have used the `HttpConnector` and have specified a cache directory in my server. I am using OAuth and it looks like my quota is 5000 requests, based on this sample cache file:\n\n```\nhttps://api.github.com/repos/allenai/aristo-tables/contents/tables/weather_terms?ref=master\nGET\n2\nAuthorization: token e381d0427927aef5e2858ac06b6cb01a34b0a603\nAccept-Encoding: gzip\nHTTP/1.1 200 OK\n30\nServer: GitHub.com\nDate: Thu, 10 Mar 2016 20:57:33 GMT\nContent-Type: application/json; charset=utf-8\nTransfer-Encoding: chunked\nStatus: 200 OK\n**X-RateLimit-Limit: 5000**\nX-RateLimit-Remaining: 4689\nX-RateLimit-Reset: 1457646852\nCache-Control: private, max-age=60, s-maxage=60\nVary: Accept, Authorization, Cookie, X-GitHub-OTP\nETag: W/\"c2dc693298f7806038e984d1ac857ffb\"\nLast-Modified: Tue, 08 Mar 2016 23:54:00 GMT\nX-OAuth-Scopes: read:repo_hook, repo\nX-Accepted-OAuth-Scopes:\nX-OAuth-Client-Id: 47355241bdf02ac9122d\nX-GitHub-Media-Type: github.v3; format=json\nAccess-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval\nAccess-Control-Allow-Origin: *\nContent-Security-Policy: default-src 'none'\nStrict-Transport-Security: max-age=31536000; includeSubdomains; preload\nX-Content-Type-Options: nosniff\nX-Frame-Options: deny\nX-XSS-Protection: 1; mode=block\nVary: Accept-Encoding\nX-Served-By: 01d096e6cfe28f8aea352e988c332cd3\nContent-Encoding: gzip\nX-GitHub-Request-Id: 36D5C9C0:101B5:A516A26:56E1DFBD\nOkHttp-Selected-Protocol: http/1.1\nOkHttp-Sent-Millis: 1457643453839\nOkHttp-Received-Millis: 1457643453959\n```\n\nMy client refreshes periodically to be in sync with the repo, however, even though there has been no change in the repo, I run out of API rate limit every now and then. I thought it should just be reading from the cache. \n\nThe following call gets executed on every refresh:\n\n```\n private def getTableDirs(\n oauthAccessToken: String,\n repo: GitRepoInfo,\n tableNamesFilter: Option[Seq[String]]\n ): Seq[GHContent] = {\n blocking {\n // Create a GitHubBuilder to be able to build a GitHub object with required\n // RateLimitHandler strategy and OAuth parameters. Instead of waiting, this will\n // throw an exception immediately if the request limit is exceeded.\n val gitHubBuilder =\n new GitHubBuilder()\n .withRateLimitHandler(RateLimitHandler.FAIL)\n .withOAuthToken(oauthAccessToken)\n .withConnector(\n new OkHttpConnector(\n new OkUrlFactory(\n new OkHttpClient().setCache(cache))))\n val github = gitHubBuilder.build()\n\n // Get the requested repo.\n val repoName = repo.fork + \"/\" + repo.repo\n val repository = github.getRepository(repoName)\n // Get all directories (expected to be Table directories) from the top level of the repo.\n val allTableDirs =\n repository.getDirectoryContent(\"tables\", repo.branch).asScala.filter(_.isDirectory)\n // If there is a filter, restrict returned table directories to that set, if not return all.\n tableNamesFilter match {\n case Some(filter) =>\n val tableSet = filter.map(_.toLowerCase).toSet\n allTableDirs.filter(d => tableSet.contains(d.getName.toLowerCase))\n case None =>\n allTableDirs\n }\n }\n }\n```\n\nFurther, there are other calls like `ghContent.read` -- is each of these a separate request to Git? Even so, I wouldn't think they would be called every time but just looked up from the cache.\n\nAny ideas?\n" + "body": "Hi @kohsuke,\n\nI would appreciate your help on this.\n\nI have used the `HttpConnector` and have specified a cache directory in my server. I am using OAuth and it looks like my quota is 5000 requests, based on this sample cache file:\n\n```\nhttps://api.github.com/repos/allenai/aristo-tables/contents/tables/weather_terms?ref=main\nGET\n2\nAuthorization: token e381d0427927aef5e2858ac06b6cb01a34b0a603\nAccept-Encoding: gzip\nHTTP/1.1 200 OK\n30\nServer: GitHub.com\nDate: Thu, 10 Mar 2016 20:57:33 GMT\nContent-Type: application/json; charset=utf-8\nTransfer-Encoding: chunked\nStatus: 200 OK\n**X-RateLimit-Limit: 5000**\nX-RateLimit-Remaining: 4689\nX-RateLimit-Reset: 1457646852\nCache-Control: private, max-age=60, s-maxage=60\nVary: Accept, Authorization, Cookie, X-GitHub-OTP\nETag: W/\"c2dc693298f7806038e984d1ac857ffb\"\nLast-Modified: Tue, 08 Mar 2016 23:54:00 GMT\nX-OAuth-Scopes: read:repo_hook, repo\nX-Accepted-OAuth-Scopes:\nX-OAuth-Client-Id: 47355241bdf02ac9122d\nX-GitHub-Media-Type: github.v3; format=json\nAccess-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval\nAccess-Control-Allow-Origin: *\nContent-Security-Policy: default-src 'none'\nStrict-Transport-Security: max-age=31536000; includeSubdomains; preload\nX-Content-Type-Options: nosniff\nX-Frame-Options: deny\nX-XSS-Protection: 1; mode=block\nVary: Accept-Encoding\nX-Served-By: 01d096e6cfe28f8aea352e988c332cd3\nContent-Encoding: gzip\nX-GitHub-Request-Id: 36D5C9C0:101B5:A516A26:56E1DFBD\nOkHttp-Selected-Protocol: http/1.1\nOkHttp-Sent-Millis: 1457643453839\nOkHttp-Received-Millis: 1457643453959\n```\n\nMy client refreshes periodically to be in sync with the repo, however, even though there has been no change in the repo, I run out of API rate limit every now and then. I thought it should just be reading from the cache. \n\nThe following call gets executed on every refresh:\n\n```\n private def getTableDirs(\n oauthAccessToken: String,\n repo: GitRepoInfo,\n tableNamesFilter: Option[Seq[String]]\n ): Seq[GHContent] = {\n blocking {\n // Create a GitHubBuilder to be able to build a GitHub object with required\n // RateLimitHandler strategy and OAuth parameters. Instead of waiting, this will\n // throw an exception immediately if the request limit is exceeded.\n val gitHubBuilder =\n new GitHubBuilder()\n .withRateLimitHandler(RateLimitHandler.FAIL)\n .withOAuthToken(oauthAccessToken)\n .withConnector(\n new OkHttpConnector(\n new OkUrlFactory(\n new OkHttpClient().setCache(cache))))\n val github = gitHubBuilder.build()\n\n // Get the requested repo.\n val repoName = repo.fork + \"/\" + repo.repo\n val repository = github.getRepository(repoName)\n // Get all directories (expected to be Table directories) from the top level of the repo.\n val allTableDirs =\n repository.getDirectoryContent(\"tables\", repo.branch).asScala.filter(_.isDirectory)\n // If there is a filter, restrict returned table directories to that set, if not return all.\n tableNamesFilter match {\n case Some(filter) =>\n val tableSet = filter.map(_.toLowerCase).toSet\n allTableDirs.filter(d => tableSet.contains(d.getName.toLowerCase))\n case None =>\n allTableDirs\n }\n }\n }\n```\n\nFurther, there are other calls like `ghContent.read` -- is each of these a separate request to Git? Even so, I wouldn't think they would be called every time but just looked up from the cache.\n\nAny ideas?\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/257", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-12.json index c4c08258e..8c3594502 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-12.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-12.json @@ -805,7 +805,7 @@ "updated_at": "2015-12-02T11:05:03Z", "closed_at": "2015-12-02T11:05:03Z", "author_association": "NONE", - "body": "Hi,\n\nthe RateLimitHandler does not to work as intended. \nIf using the WAIT implementation the API will still throw an exception and terminate.\n\nThe reason therefore is that there is no return statement after the handler execute its onError method.\nThe problem is allocated in the handleApiError method of the Requester.\n\nhttps://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java\n" + "body": "Hi,\n\nthe RateLimitHandler does not to work as intended. \nIf using the WAIT implementation the API will still throw an exception and terminate.\n\nThe reason therefore is that there is no return statement after the handler execute its onError method.\nThe problem is allocated in the handleApiError method of the Requester.\n\nhttps://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/219", @@ -917,7 +917,7 @@ "updated_at": "2015-12-03T16:42:58Z", "closed_at": "2015-12-03T16:42:58Z", "author_association": "NONE", - "body": "GHRepository.getCompare(String,String) supports cross-fork comparisons, but this does not:\n\nhttps://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHRepository.java#L684-L686\n\nThis is a simple fix.\n" + "body": "GHRepository.getCompare(String,String) supports cross-fork comparisons, but this does not:\n\nhttps://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHRepository.java#L684-L686\n\nThis is a simple fix.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/217", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-13.json index 88a2ea5ea..303208d03 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-13.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-13.json @@ -241,7 +241,7 @@ "updated_at": "2015-12-01T16:28:24Z", "closed_at": "2015-12-01T16:28:24Z", "author_association": "NONE", - "body": "On June 24th, GitHub made some breaking changes to the api. See https://developer.github.com/changes/2015-06-10-breaking-changes-to-organization-permissions-coming-on-june-24/\n\nI am currently using the Jenkins GitHub Oauth plugin which uses the `getMyOrganizations` method defined at https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L333 \n\nUnfortunately this method relies on the API endpoint https://api.github.com/users/orgs which no longer works. \n" + "body": "On June 24th, GitHub made some breaking changes to the api. See https://developer.github.com/changes/2015-06-10-breaking-changes-to-organization-permissions-coming-on-june-24/\n\nI am currently using the Jenkins GitHub Oauth plugin which uses the `getMyOrganizations` method defined at https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GitHub.java#L333 \n\nUnfortunately this method relies on the API endpoint https://api.github.com/users/orgs which no longer works. \n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/201", @@ -1049,7 +1049,7 @@ "updated_at": "2015-05-05T06:44:59Z", "closed_at": "2015-05-05T06:44:59Z", "author_association": "NONE", - "body": "Putting this out there without much knowledge about GitHub Enterprise APIs.\n\nOur organization uses GitHub Enterprise hosted internally. We would love to integrate Gerrit, which uses this package, with it, but the GitHub API in here is currently a static final string: https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L558\n\nWould be very nice if there was a way to use this with the apis for an internal Enterprise instance of github.\n" + "body": "Putting this out there without much knowledge about GitHub Enterprise APIs.\n\nOur organization uses GitHub Enterprise hosted internally. We would love to integrate Gerrit, which uses this package, with it, but the GitHub API in here is currently a static final string: https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GitHub.java#L558\n\nWould be very nice if there was a way to use this with the apis for an internal Enterprise instance of github.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/183", @@ -1281,7 +1281,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/179.diff", "patch_url": "https://github.com/hub4j/github-api/pull/179.patch" }, - "body": "Hello!\n\nWe encountered a NullPointerException after the upgrade to 1.67 when rate limited by the GitHub API. Essentially it is because the call to `getMyself().getLogin()` failed during the construction of the GitHub object due to being rate limited. However, the RateLimitHandler object had not yet been set at that point in time within the GitHub object constructor. Fix is a simple statement movement.\n\nError within GitHub::handleApiError():\n\n```\n if (\"0\".equals(uc.getHeaderField(\"X-RateLimit-Remaining\"))) {\n root.rateLimitHandler.onError(e,uc); // rateLimitHandler is null\n }\n```\n\nRan the test suite locally after setting github authentication details:\n\n```\nResults :\n\nFailed tests: setLabels(org.kohsuke.github.PullRequestTest): expected:<1> but was:<0>\n setAssignee(org.kohsuke.github.PullRequestTest): expected: but was:\n\nTests in error:\n testMembership(org.kohsuke.github.AppTest): {\"message\":\"Must have push access to view repository collaborators.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testListDeployments(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testCreateDeployment(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testMemberPagenation(org.kohsuke.github.AppTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testRepoLabel(org.kohsuke.github.AppTest): {\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/issues/labels/#create-a-label\"}\n testGetDeploymentStatuses(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testCreateRepository(org.kohsuke.github.LifecycleTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n\nTests run: 79, Failures: 2, Errors: 7, Skipped: 10\n```\n\nFailures seem to be mostly related to access to the hub4j-test-org (which obviously I don't have any permissions for), and I had the same results before/after the change so it looks like they are unrelated to it - Hopefully that's acceptable!\n\nThanks,\nLee\n" + "body": "Hello!\n\nWe encountered a NullPointerException after the upgrade to 1.67 when rate limited by the GitHub API. Essentially it is because the call to `getMyself().getLogin()` failed during the construction of the GitHub object due to being rate limited. However, the RateLimitHandler object had not yet been set at that point in time within the GitHub object constructor. Fix is a simple statement movement.\n\nError within GitHub::handleApiError():\n\n```\n if (\"0\".equals(uc.getHeaderField(\"X-RateLimit-Remaining\"))) {\n root.rateLimitHandler.onError(e,uc); // rateLimitHandler is null\n }\n```\n\nRan the test suite locally after setting github authentication details:\n\n```\nResults :\n\nFailed tests: setLabels(org.kohsuke.github.PullRequestTest): expected:<1> but was:<0>\n setAssignee(org.kohsuke.github.PullRequestTest): expected: but was:\n\nTests in error:\n testMembership(org.kohsuke.github.AppTest): {\"message\":\"Must have push access to view repository collaborators.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testListDeployments(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: main\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testCreateDeployment(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: main\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testMemberPagenation(org.kohsuke.github.AppTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testRepoLabel(org.kohsuke.github.AppTest): {\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/issues/labels/#create-a-label\"}\n testGetDeploymentStatuses(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: main\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testCreateRepository(org.kohsuke.github.LifecycleTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n\nTests run: 79, Failures: 2, Errors: 7, Skipped: 10\n```\n\nFailures seem to be mostly related to access to the hub4j-test-org (which obviously I don't have any permissions for), and I had the same results before/after the change so it looks like they are unrelated to it - Hopefully that's acceptable!\n\nThanks,\nLee\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/177", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-14.json index 51958a897..cf58ca785 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-14.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-14.json @@ -573,7 +573,7 @@ "id": 59959411, "node_id": "MDU6SXNzdWU1OTk1OTQxMQ==", "number": 162, - "title": "GHContent#content always returns master version", + "title": "GHContent#content always returns main version", "user": { "login": "tilayealemu", "id": 11229217, @@ -605,7 +605,7 @@ "updated_at": "2015-03-22T17:21:23Z", "closed_at": "2015-03-22T17:21:09Z", "author_association": "NONE", - "body": "GHContent#content always returns content from the master branch. Included sample code. Content 1 comes from master and 2 from the specified branch. Using github-api 1.62.\n\n```\n@Test\npublic void github_api_issue() throws Exception {\n String branch = \"mybranch\";\n GitHub github = GitHub.connectUsingPassword(\"myyser\", \"mypassword\");\n GHRepository ghRepo = github.getRepository(\"myrepo\");\n List contents = ghRepo.getDirectoryContent(\"myfolder\", \"heads/\" + branch);\n for (GHContent content : contents) {\n String content1 = content.getContent();\n String content2 = ghRepo.getFileContent(content.getPath(), branch).getContent();\n // System.out.println(\"Contents of \" + content.getPath());\n // System.out.println(\"Content1\");\n // System.out.println(content1);\n // System.out.println(\"Content2\");\n // System.out.println(content2);\n }\n}\n```\n" + "body": "GHContent#content always returns content from the main branch. Included sample code. Content 1 comes from main and 2 from the specified branch. Using github-api 1.62.\n\n```\n@Test\npublic void github_api_issue() throws Exception {\n String branch = \"mybranch\";\n GitHub github = GitHub.connectUsingPassword(\"myyser\", \"mypassword\");\n GHRepository ghRepo = github.getRepository(\"myrepo\");\n List contents = ghRepo.getDirectoryContent(\"myfolder\", \"heads/\" + branch);\n for (GHContent content : contents) {\n String content1 = content.getContent();\n String content2 = ghRepo.getFileContent(content.getPath(), branch).getContent();\n // System.out.println(\"Contents of \" + content.getPath());\n // System.out.println(\"Content1\");\n // System.out.println(content1);\n // System.out.println(\"Content2\");\n // System.out.println(content2);\n }\n}\n```\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/161", @@ -655,7 +655,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/161.diff", "patch_url": "https://github.com/hub4j/github-api/pull/161.patch" }, - "body": "Hi kohsuke\nI used your API to call Github API but I found that there isn't any method lists all languages using in repository. Therefore, I ask you to add it into your master code.\nThanks\n" + "body": "Hi kohsuke\nI used your API to call Github API but I found that there isn't any method lists all languages using in repository. Therefore, I ask you to add it into your main code.\nThanks\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/160", @@ -1025,7 +1025,7 @@ "updated_at": "2015-02-24T22:15:14Z", "closed_at": "2015-02-24T22:15:14Z", "author_association": "CONTRIBUTOR", - "body": "Hello,\nThanks for this wonderful library!\n\nI would like the library to support github trees, is it foreseen (https://developer.github.com/v3/git/trees/)?\nFor instance I need to retrieve this:\nhttps://api.github.com/repos/calipho-sib/nextprot-docs/git/trees/master?recursive=1\n\nIf you would like I can try to implement this feature and I make a pull request?\n" + "body": "Hello,\nThanks for this wonderful library!\n\nI would like the library to support github trees, is it foreseen (https://developer.github.com/v3/git/trees/)?\nFor instance I need to retrieve this:\nhttps://api.github.com/repos/calipho-sib/nextprot-docs/git/trees/main?recursive=1\n\nIf you would like I can try to implement this feature and I make a pull request?\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/152", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-15.json index 64eb414bc..22c63b537 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-15.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-15.json @@ -291,7 +291,7 @@ "updated_at": "2015-02-15T16:40:28Z", "closed_at": "2015-02-15T16:40:28Z", "author_association": "NONE", - "body": "Hey @kohsuke \n\nI'm using the api to create a tag from a commit, then I create a release from this tag, fill up the info, body and assets. When I use the release builder, I set the prerelease and draft parameter to true. I get everything set on my github account successfully. \nThat's said, when I press the button (on the github release page) to publish; all my info (title, body and files) disappear and I can just see the created tag. I'm wondering if I'm doing something wrong or if it is a bug from the library.\n\nHere is what I m basically doing : (I extracted the code in the exact same order all the library api call)\n\nGHRepository repository = api.getRepository(REPO_NAME);\nMap branches = repository.getBranches();\nGHBranch master = branches.get(RELEASE_BRANCH_NAME);\nString lastCommit = master.getSHA1();\nString refName = \"refs/tags/\" + tagName;\nGHRef ref = repository.createRef(refName, lastCommit);\n\nfinal GHReleaseBuilder releaseBuilder = repository.createRelease(refName); releaseBuilder.name(releaseName).body(body).prerelease(true).draft(true)\nfinal GHRelease release = releaseBuilder.create()\nand a bunch of release.uploadAsset(file, mimeType)\n\nThank you for your help!\n" + "body": "Hey @kohsuke \n\nI'm using the api to create a tag from a commit, then I create a release from this tag, fill up the info, body and assets. When I use the release builder, I set the prerelease and draft parameter to true. I get everything set on my github account successfully. \nThat's said, when I press the button (on the github release page) to publish; all my info (title, body and files) disappear and I can just see the created tag. I'm wondering if I'm doing something wrong or if it is a bug from the library.\n\nHere is what I m basically doing : (I extracted the code in the exact same order all the library api call)\n\nGHRepository repository = api.getRepository(REPO_NAME);\nMap branches = repository.getBranches();\nGHBranch main = branches.get(RELEASE_BRANCH_NAME);\nString lastCommit = main.getSHA1();\nString refName = \"refs/tags/\" + tagName;\nGHRef ref = repository.createRef(refName, lastCommit);\n\nfinal GHReleaseBuilder releaseBuilder = repository.createRelease(refName); releaseBuilder.name(releaseName).body(body).prerelease(true).draft(true)\nfinal GHRelease release = releaseBuilder.create()\nand a bunch of release.uploadAsset(file, mimeType)\n\nThank you for your help!\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/137", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-16.json index dd83d193f..3d946bac4 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-16.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-16.json @@ -461,7 +461,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/103.diff", "patch_url": "https://github.com/hub4j/github-api/pull/103.patch" }, - "body": "OkHttp changed API with v2.0.0, and the `client.open(url)` method no longer exists:\n\n\"URLConnection support has moved to the okhttp-urlconnection module. If you're upgrading from 1.x, this change will impact you. You will need to add the okhttp-urlconnection module to your project and use\nthe OkUrlFactory to create new instances of HttpURLConnection\"\n\nhttps://github.com/square/okhttp/blob/master/CHANGELOG.md#version-200-rc1\n" + "body": "OkHttp changed API with v2.0.0, and the `client.open(url)` method no longer exists:\n\n\"URLConnection support has moved to the okhttp-urlconnection module. If you're upgrading from 1.x, this change will impact you. You will need to add the okhttp-urlconnection module to your project and use\nthe OkUrlFactory to create new instances of HttpURLConnection\"\n\nhttps://github.com/square/okhttp/blob/main/CHANGELOG.md#version-200-rc1\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/102", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-17.json index 9b1f7b3ee..2c5abf51d 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-17.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-17.json @@ -229,7 +229,7 @@ "updated_at": "2014-05-10T22:31:37Z", "closed_at": "2014-05-10T22:31:37Z", "author_association": "NONE", - "body": "`getRateLimit()` at https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L228 fails for GitHub Enterprise with a 404 status code, body of\n\n``` json\n{\n \"message\": \"No rate limit for white listed users\"\n}\n```\n\nGitHub Enterprise users are considered white listed and so don't have rate limits.\n\nSee also janinko/ghprb#127\n" + "body": "`getRateLimit()` at https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GitHub.java#L228 fails for GitHub Enterprise with a 404 status code, body of\n\n``` json\n{\n \"message\": \"No rate limit for white listed users\"\n}\n```\n\nGitHub Enterprise users are considered white listed and so don't have rate limits.\n\nSee also janinko/ghprb#127\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/77", @@ -873,7 +873,7 @@ "updated_at": "2016-02-12T18:35:43Z", "closed_at": "2014-04-13T15:55:35Z", "author_association": "CONTRIBUTOR", - "body": "https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java#L268\n\nWhen attempting to get the details of an empty repository, the github enterprise server returns an HTTP 409. This, in turn, causes Requester to throw an Error…\n\nCaused by: java.io.IOException: Server returned HTTP response code: 409 for URL: \n\nAn Error, for those unfamiliar, is \"a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.\" I don't think an HTTP 409 response warrants throwing an Error, thereby dooming the client Java process to exit with status code 1.\n" + "body": "https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java#L268\n\nWhen attempting to get the details of an empty repository, the github enterprise server returns an HTTP 409. This, in turn, causes Requester to throw an Error…\n\nCaused by: java.io.IOException: Server returned HTTP response code: 409 for URL: \n\nAn Error, for those unfamiliar, is \"a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.\" I don't think an HTTP 409 response warrants throwing an Error, thereby dooming the client Java process to exit with status code 1.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/64", @@ -917,7 +917,7 @@ "updated_at": "2014-05-10T22:23:12Z", "closed_at": "2014-05-10T22:23:12Z", "author_association": "CONTRIBUTOR", - "body": "https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHRepository.java#L96\n\nGHRepository doesn't take into account whether or not the client is speaking with the public github.com or if it's talking to a github enterprise instance. Consequently, when you call getGitTransportUrl() or gitHttpTransportUrl() it only ever returns a github.com URL, which won't work for github enterprise hosted repositories.\n" + "body": "https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHRepository.java#L96\n\nGHRepository doesn't take into account whether or not the client is speaking with the public github.com or if it's talking to a github enterprise instance. Consequently, when you call getGitTransportUrl() or gitHttpTransportUrl() it only ever returns a github.com URL, which won't work for github enterprise hosted repositories.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/63", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-6.json index f81d16827..9dec493b7 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-6.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-6.json @@ -961,7 +961,7 @@ "updated_at": "2018-08-30T15:37:51Z", "closed_at": "2018-08-30T15:37:50Z", "author_association": "NONE", - "body": "If I checkout `192e21a9fcacf4dffc975156bcf5e8ff7bf297b1` (HEAD right now), and run `mvn test` I see a `ClassNotFoundException`. It cannot even report success or failure of individual tests.\r\n\r\nI believe this is related to https://github.com/kohsuke/github-api/pull/388 which upgraded jgit, but maybe not all of the unit tests. Specifically [`LifecycleTest`](https://github.com/kohsuke/github-api/blob/master/src/test/java/org/kohsuke/github/LifecycleTest.java) references `UsernamePasswordCredentialsProvider` which is no longer in the newer versions of jgit.\r\n\r\nI'll be honest, as I tried to fix this I kept getting some unexpected classpath errors related to jgit (first this one, then one about `GitAPIException`, etc), and much as I know my way around a super complex build, I didn't feel like learning about the maven plugin for bridge method generation, and everything else it might take me to sort this out. Is there something basic I missed for setting up a working development environment for this project? I feel like I must have missed something simple for `mvn test` not to work.\r\n\r\nThe surefire log shows:\r\n\r\n```\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\norg.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null\r\njava.lang.reflect.InvocationTargetException\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)\r\n at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)\r\n at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)\r\n at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)\r\n at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)\r\nCaused by: java.lang.NoClassDefFoundError: org/eclipse/jgit/transport/CredentialsProvider\r\n at java.lang.Class.getDeclaredMethods0(Native Method)\r\n at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)\r\n at java.lang.Class.privateGetMethodRecursive(Class.java:3048)\r\n at java.lang.Class.getMethod0(Class.java:3018)\r\n at java.lang.Class.getMethod(Class.java:1784)\r\n at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54)\r\n at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)\r\n at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)\r\n at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)\r\n at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)\r\n ... 9 more\r\nCaused by: java.lang.ClassNotFoundException: org.eclipse.jgit.transport.CredentialsProvider\r\n at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n ... 22 more\r\n\r\nResults :\r\n\r\nTests run: 0, Failures: 0, Errors: 0, Skipped: 0\r\n```\r\n\r\n\r\nMaven version:\r\n```\r\nApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)\r\nMaven home: C:\\Program Files\\Maven\r\nJava version: 1.8.0_121, vendor: Oracle Corporation\r\nJava home: C:\\Program Files\\Java\\jdk1.8.0_121\\jre\r\nDefault locale: en_US, platform encoding: Cp1252\r\nOS name: \"windows nt (unknown)\", version: \"10.0\", arch: \"amd64\", family: \"dos\"\r\n```" + "body": "If I checkout `192e21a9fcacf4dffc975156bcf5e8ff7bf297b1` (HEAD right now), and run `mvn test` I see a `ClassNotFoundException`. It cannot even report success or failure of individual tests.\r\n\r\nI believe this is related to https://github.com/kohsuke/github-api/pull/388 which upgraded jgit, but maybe not all of the unit tests. Specifically [`LifecycleTest`](https://github.com/kohsuke/github-api/blob/main/src/test/java/org/kohsuke/github/LifecycleTest.java) references `UsernamePasswordCredentialsProvider` which is no longer in the newer versions of jgit.\r\n\r\nI'll be honest, as I tried to fix this I kept getting some unexpected classpath errors related to jgit (first this one, then one about `GitAPIException`, etc), and much as I know my way around a super complex build, I didn't feel like learning about the maven plugin for bridge method generation, and everything else it might take me to sort this out. Is there something basic I missed for setting up a working development environment for this project? I feel like I must have missed something simple for `mvn test` not to work.\r\n\r\nThe surefire log shows:\r\n\r\n```\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\norg.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null\r\njava.lang.reflect.InvocationTargetException\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)\r\n at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)\r\n at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)\r\n at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)\r\n at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)\r\nCaused by: java.lang.NoClassDefFoundError: org/eclipse/jgit/transport/CredentialsProvider\r\n at java.lang.Class.getDeclaredMethods0(Native Method)\r\n at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)\r\n at java.lang.Class.privateGetMethodRecursive(Class.java:3048)\r\n at java.lang.Class.getMethod0(Class.java:3018)\r\n at java.lang.Class.getMethod(Class.java:1784)\r\n at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54)\r\n at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)\r\n at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)\r\n at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)\r\n at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)\r\n ... 9 more\r\nCaused by: java.lang.ClassNotFoundException: org.eclipse.jgit.transport.CredentialsProvider\r\n at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n ... 22 more\r\n\r\nResults :\r\n\r\nTests run: 0, Failures: 0, Errors: 0, Skipped: 0\r\n```\r\n\r\n\r\nMaven version:\r\n```\r\nApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)\r\nMaven home: C:\\Program Files\\Maven\r\nJava version: 1.8.0_121, vendor: Oracle Corporation\r\nJava home: C:\\Program Files\\Java\\jdk1.8.0_121\\jre\r\nDefault locale: en_US, platform encoding: Cp1252\r\nOS name: \"windows nt (unknown)\", version: \"10.0\", arch: \"amd64\", family: \"dos\"\r\n```" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/414", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-7.json index a808eff2d..29f08f97d 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-7.json @@ -229,7 +229,7 @@ "updated_at": "2018-02-07T08:40:41Z", "closed_at": "2018-01-13T05:33:14Z", "author_association": "NONE", - "body": "This used to work, but a change in the last couple months seems to have broken this for us. \r\n\r\nWe have some Jenkins Pipeline code that does some automatic PR creation + merging for specific use cases. Initially when creating the PR, GitHub isn't always immediately able to act on it, so we would check if it were mergeable before actually attempting to merge:\r\n\r\n```\r\nGHPullRequest pull = repo.createPullRequest(\"Release $version\", \"master\", \"production\", body)\r\nwhile(!pull.getMergeable()) {\r\n echo \"PR not yet mergeable, retrying...\"\r\n}\r\npull.merge(\"Merged & released via [${env.BUILD_NUMBER}](${env.BUILD_URL})\", pull.getHead().getSha())\r\n```\r\n\r\nNow however, pull.getMergeable() never returns true if it returns false the first time it is called (which is basically every time), so it just sits in that loop, retrying. \r\n\r\nAgain, this only broke after we recently updated all of our plugins on our Jenkins instance, so it seems a recent change is causing this but I've been unable to identify what it might be in the recent history. " + "body": "This used to work, but a change in the last couple months seems to have broken this for us. \r\n\r\nWe have some Jenkins Pipeline code that does some automatic PR creation + merging for specific use cases. Initially when creating the PR, GitHub isn't always immediately able to act on it, so we would check if it were mergeable before actually attempting to merge:\r\n\r\n```\r\nGHPullRequest pull = repo.createPullRequest(\"Release $version\", \"main\", \"production\", body)\r\nwhile(!pull.getMergeable()) {\r\n echo \"PR not yet mergeable, retrying...\"\r\n}\r\npull.merge(\"Merged & released via [${env.BUILD_NUMBER}](${env.BUILD_URL})\", pull.getHead().getSha())\r\n```\r\n\r\nNow however, pull.getMergeable() never returns true if it returns false the first time it is called (which is basically every time), so it just sits in that loop, retrying. \r\n\r\nAgain, this only broke after we recently updated all of our plugins on our Jenkins instance, so it seems a recent change is causing this but I've been unable to identify what it might be in the recent history. " }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/398", @@ -487,22 +487,22 @@ "number": 393, "title": "64-bit id support", "user": { - "login": "Raimmaster", + "login": "Raimmain", "id": 6061123, "node_id": "MDQ6VXNlcjYwNjExMjM=", "avatar_url": "https://avatars3.githubusercontent.com/u/6061123?v=4", "gravatar_id": "", - "url": "https://api.github.com/users/Raimmaster", - "html_url": "https://github.com/Raimmaster", - "followers_url": "https://api.github.com/users/Raimmaster/followers", - "following_url": "https://api.github.com/users/Raimmaster/following{/other_user}", - "gists_url": "https://api.github.com/users/Raimmaster/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Raimmaster/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Raimmaster/subscriptions", - "organizations_url": "https://api.github.com/users/Raimmaster/orgs", - "repos_url": "https://api.github.com/users/Raimmaster/repos", - "events_url": "https://api.github.com/users/Raimmaster/events{/privacy}", - "received_events_url": "https://api.github.com/users/Raimmaster/received_events", + "url": "https://api.github.com/users/Raimmain", + "html_url": "https://github.com/Raimmain", + "followers_url": "https://api.github.com/users/Raimmain/followers", + "following_url": "https://api.github.com/users/Raimmain/following{/other_user}", + "gists_url": "https://api.github.com/users/Raimmain/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Raimmain/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Raimmain/subscriptions", + "organizations_url": "https://api.github.com/users/Raimmain/orgs", + "repos_url": "https://api.github.com/users/Raimmain/repos", + "events_url": "https://api.github.com/users/Raimmain/events{/privacy}", + "received_events_url": "https://api.github.com/users/Raimmain/received_events", "type": "User", "site_admin": false }, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-8.json index 9af5fae59..b0a33557b 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-8.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-8.json @@ -41,7 +41,7 @@ "updated_at": "2017-07-28T17:36:12Z", "closed_at": "2017-07-28T17:35:59Z", "author_association": "NONE", - "body": "```\r\nGHPullRequest pull = repo.createPullRequest(\"Release $version\", \"master\", \"production\", body)\r\nwhile(!pull.getMergeable()) {\r\n println \"PR not yet mergeable, retrying...\"\r\n sleep 2\r\n}\r\npull.merge(\"Merged via Jenkins\", pull.getHead().getSha())\r\n```\r\n\r\nThe `pull.merge(...)` seemingly results in a no-op. No error. No merge. \r\n\r\nGenerally it's not immediately mergeable via `pull.getMergeable()` and it must pause a moment before that passes. But even accounting for that, I still get nothing. " + "body": "```\r\nGHPullRequest pull = repo.createPullRequest(\"Release $version\", \"main\", \"production\", body)\r\nwhile(!pull.getMergeable()) {\r\n println \"PR not yet mergeable, retrying...\"\r\n sleep 2\r\n}\r\npull.merge(\"Merged via Jenkins\", pull.getHead().getSha())\r\n```\r\n\r\nThe `pull.merge(...)` seemingly results in a no-op. No error. No merge. \r\n\r\nGenerally it's not immediately mergeable via `pull.getMergeable()` and it must pause a moment before that passes. But even accounting for that, I still get nothing. " }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/366", @@ -987,7 +987,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/343.diff", "patch_url": "https://github.com/hub4j/github-api/pull/343.patch" }, - "body": "I already add the latest release, so please add to master and update version so that I can use in my project\r\nFix #341 \r\n\r\nPS I don't know how to push my fixed module to the maven server so, please. @emlagowski \r\n\r\n\r\nThank you" + "body": "I already add the latest release, so please add to main and update version so that I can use in my project\r\nFix #341 \r\n\r\nPS I don't know how to push my fixed module to the maven server so, please. @emlagowski \r\n\r\n\r\nThank you" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/342", @@ -1325,7 +1325,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/336.diff", "patch_url": "https://github.com/hub4j/github-api/pull/336.patch" }, - "body": "Correct namespace\r\n\r\nFile: https://github.com/square/okhttp/blob/master/okhttp-urlconnection/src/main/java/okhttp3/OkUrlFactory.java\r\n\r\nFixes #335" + "body": "Correct namespace\r\n\r\nFile: https://github.com/square/okhttp/blob/main/okhttp-urlconnection/src/main/java/okhttp3/OkUrlFactory.java\r\n\r\nFixes #335" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/335", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-9.json index eb2d3187f..57b4c4df7 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-9.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetIssues/__files/repositories_617210_issues-9.json @@ -191,7 +191,7 @@ "updated_at": "2017-01-08T18:45:12Z", "closed_at": "2017-01-08T18:45:12Z", "author_association": "NONE", - "body": "Executing github.getRepository(\"user/repo\").createWebHook(new URL(\"someurl...\"));\r\nWebhook was created but a exception is throwed:\r\n\r\n2017-01-05T15:17:11.974971+00:00 app[web.1]: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'payload': was expecting ('true', 'false' or 'null')\r\n2017-01-05T15:17:11.975129+00:00 app[web.1]: at [Source: payload=%7B%22zen%22%3A%22Non-blocking+is+better+than+blocking.%22%2C%22hook_id%22%3A11405663%2C%22hook%22%3A%7B%22type%22%3A%22Repository%22%2C%22id%22%3A11405663%2C%22name%22%3A%22web%22%2C%22active%22%3Atrue%2C%22events%22%3A%5B%22push%22%5D%2C%22config%22%3A%7B%22url%22%3A%22https%3A%2F%2Fmorning-crag-16002.herokuapp.com%2Fapplication%2Fgithub%2Fwebhooks%22%7D%2C%22updated_at%22%3A%222017-01-05T15%3A17%3A11Z%22%2C%22created_at%22%3A%222017-01-05T15%3A17%3A11Z%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%22%2C%22test_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%2Ftest%22%2C%22ping_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%2Fpings%22%2C%22last_response%22%3A%7B%22code%22%3Anull%2C%22status%22%3A%22unused%22%2C%22message%22%3Anull%7D%7D%2C%22repository%22%3A%7B%22id%22%3A77337343%2C%22name%22%3A%22fflib-apex-common%22%2C%22full_name%22%3A%22dieffrei%2Ffflib-apex-common%22%2C%22owner%22%3A%7B%22login%22%3A%22dieffrei%22%2C%22id%22%3A3090010%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F3090010%3Fv%3D3%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22private%22%3Afalse%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common%22%2C%22description%22%3A%22Common+Apex+Library+supporting+Apex+Enterprise+Patterns+and+much+more%21%22%2C%22fork%22%3Atrue%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fdeployments%22%2C%22created_at%22%3A%222016-12-25T18%3A07%3A36Z%22%2C%22updated_at%22%3A%222016-12-25T18%3A07%3A39Z%22%2C%22pushed_at%22%3A%222016-12-26T12%3A28%3A45Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common.git%22%2C%22ssh_url%22%3A%22git%40github.com%3Adieffrei%2Ffflib-apex-common.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common%22%2C%22homepage%22%3A%22%22%2C%22size%22%3A19892%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Apex%22%2C%22has_issues%22%3Afalse%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Afalse%2C%22forks_count%22%3A0%2C%22mirror_url%22%3Anull%2C%22open_issues_count%22%3A1%2C%22forks%22%3A0%2C%22open_issues%22%3A1%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%7D%2C%22sender%22%3A%7B%22login%22%3A%22dieffrei%22%2C%22id%22%3A3090010%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F3090010%3Fv%3D3%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D; line: 1, column: 8]\r\n2017-01-05T15:17:11.975376+00:00 app[web.1]: \tat com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702)\r\n2017-01-05T15:17:11.975497+00:00 app[web.1]: \tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558)\r\n2017-01-05T15:17:11.975595+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2836)\r\n2017-01-05T15:17:11.975651+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1899)\r\n2017-01-05T15:17:11.975717+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:749)\r\n2017-01-05T15:17:11.975791+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3825)\r\n2017-01-05T15:17:11.975843+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3774)\r\n2017-01-05T15:17:11.975926+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2833)\r\n2017-01-05T15:17:11.975981+00:00 app[web.1]: \tat com.heroku.devcenter.GithubWebhookController.greeting(GithubWebhookController.java:26)\r\n2017-01-05T15:17:11.976065+00:00 app[web.1]: \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n2017-01-05T15:17:11.976126+00:00 app[web.1]: \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n2017-01-05T15:17:11.976184+00:00 app[web.1]: \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n2017-01-05T15:17:11.976265+00:00 app[web.1]: \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n2017-01-05T15:17:11.976337+00:00 app[web.1]: \tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220)\r\n2017-01-05T15:17:11.976422+00:00 app[web.1]: \tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134)\r\n2017-01-05T15:17:11.976483+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116)\r\n2017-01-05T15:17:11.976537+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)\r\n2017-01-05T15:17:11.976623+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)\r\n2017-01-05T15:17:11.976688+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\r\n2017-01-05T15:17:11.976787+00:00 app[web.1]: \tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)\r\n2017-01-05T15:17:11.976853+00:00 app[web.1]: \tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)\r\n2017-01-05T15:17:11.976957+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)\r\n2017-01-05T15:17:11.977108+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)\r\n2017-01-05T15:17:11.977153+00:00 app[web.1]: \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:646)\r\n2017-01-05T15:17:11.977205+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)\r\n2017-01-05T15:17:11.977311+00:00 app[web.1]: \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:727)\r\n2017-01-05T15:17:11.977361+00:00 app[web.1]: \tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\r\n2017-01-05T15:17:11.977449+00:00 app[web.1]: \tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n2017-01-05T15:17:11.977504+00:00 app[web.1]: \tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n2017-01-05T15:17:11.977592+00:00 app[web.1]: \tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n2017-01-05T15:17:11.977659+00:00 app[web.1]: \tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)\r\n2017-01-05T15:17:11.977706+00:00 app[web.1]: \tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\r\n2017-01-05T15:17:11.977792+00:00 app[web.1]: \tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n2017-01-05T15:17:11.977836+00:00 app[web.1]: \tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n2017-01-05T15:17:11.977927+00:00 app[web.1]: \tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)\r\n2017-01-05T15:17:11.977984+00:00 app[web.1]: \tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)\r\n2017-01-05T15:17:11.978051+00:00 app[web.1]: \tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)\r\n2017-01-05T15:17:11.978136+00:00 app[web.1]: \tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)\r\n2017-01-05T15:17:11.978289+00:00 app[web.1]: \tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)\r\n2017-01-05T15:17:11.978353+00:00 app[web.1]: \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n2017-01-05T15:17:11.978551+00:00 app[web.1]: \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n2017-01-05T15:17:11.978708+00:00 app[web.1]: \tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n2017-01-05T15:17:11.978863+00:00 app[web.1]: \tat java.lang.Thread.run(Thread.java:745)" + "body": "Executing github.getRepository(\"user/repo\").createWebHook(new URL(\"someurl...\"));\r\nWebhook was created but a exception is throwed:\r\n\r\n2017-01-05T15:17:11.974971+00:00 app[web.1]: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'payload': was expecting ('true', 'false' or 'null')\r\n2017-01-05T15:17:11.975129+00:00 app[web.1]: at [Source: payload=%7B%22zen%22%3A%22Non-blocking+is+better+than+blocking.%22%2C%22hook_id%22%3A11405663%2C%22hook%22%3A%7B%22type%22%3A%22Repository%22%2C%22id%22%3A11405663%2C%22name%22%3A%22web%22%2C%22active%22%3Atrue%2C%22events%22%3A%5B%22push%22%5D%2C%22config%22%3A%7B%22url%22%3A%22https%3A%2F%2Fmorning-crag-16002.herokuapp.com%2Fapplication%2Fgithub%2Fwebhooks%22%7D%2C%22updated_at%22%3A%222017-01-05T15%3A17%3A11Z%22%2C%22created_at%22%3A%222017-01-05T15%3A17%3A11Z%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%22%2C%22test_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%2Ftest%22%2C%22ping_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%2Fpings%22%2C%22last_response%22%3A%7B%22code%22%3Anull%2C%22status%22%3A%22unused%22%2C%22message%22%3Anull%7D%7D%2C%22repository%22%3A%7B%22id%22%3A77337343%2C%22name%22%3A%22fflib-apex-common%22%2C%22full_name%22%3A%22dieffrei%2Ffflib-apex-common%22%2C%22owner%22%3A%7B%22login%22%3A%22dieffrei%22%2C%22id%22%3A3090010%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F3090010%3Fv%3D3%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22private%22%3Afalse%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common%22%2C%22description%22%3A%22Common+Apex+Library+supporting+Apex+Enterprise+Patterns+and+much+more%21%22%2C%22fork%22%3Atrue%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fdeployments%22%2C%22created_at%22%3A%222016-12-25T18%3A07%3A36Z%22%2C%22updated_at%22%3A%222016-12-25T18%3A07%3A39Z%22%2C%22pushed_at%22%3A%222016-12-26T12%3A28%3A45Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common.git%22%2C%22ssh_url%22%3A%22git%40github.com%3Adieffrei%2Ffflib-apex-common.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common%22%2C%22homepage%22%3A%22%22%2C%22size%22%3A19892%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Apex%22%2C%22has_issues%22%3Afalse%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Afalse%2C%22forks_count%22%3A0%2C%22mirror_url%22%3Anull%2C%22open_issues_count%22%3A1%2C%22forks%22%3A0%2C%22open_issues%22%3A1%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22main%22%7D%2C%22sender%22%3A%7B%22login%22%3A%22dieffrei%22%2C%22id%22%3A3090010%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F3090010%3Fv%3D3%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D; line: 1, column: 8]\r\n2017-01-05T15:17:11.975376+00:00 app[web.1]: \tat com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702)\r\n2017-01-05T15:17:11.975497+00:00 app[web.1]: \tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558)\r\n2017-01-05T15:17:11.975595+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2836)\r\n2017-01-05T15:17:11.975651+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1899)\r\n2017-01-05T15:17:11.975717+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:749)\r\n2017-01-05T15:17:11.975791+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3825)\r\n2017-01-05T15:17:11.975843+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3774)\r\n2017-01-05T15:17:11.975926+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2833)\r\n2017-01-05T15:17:11.975981+00:00 app[web.1]: \tat com.heroku.devcenter.GithubWebhookController.greeting(GithubWebhookController.java:26)\r\n2017-01-05T15:17:11.976065+00:00 app[web.1]: \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n2017-01-05T15:17:11.976126+00:00 app[web.1]: \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n2017-01-05T15:17:11.976184+00:00 app[web.1]: \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n2017-01-05T15:17:11.976265+00:00 app[web.1]: \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n2017-01-05T15:17:11.976337+00:00 app[web.1]: \tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220)\r\n2017-01-05T15:17:11.976422+00:00 app[web.1]: \tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134)\r\n2017-01-05T15:17:11.976483+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116)\r\n2017-01-05T15:17:11.976537+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)\r\n2017-01-05T15:17:11.976623+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)\r\n2017-01-05T15:17:11.976688+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\r\n2017-01-05T15:17:11.976787+00:00 app[web.1]: \tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)\r\n2017-01-05T15:17:11.976853+00:00 app[web.1]: \tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)\r\n2017-01-05T15:17:11.976957+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)\r\n2017-01-05T15:17:11.977108+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)\r\n2017-01-05T15:17:11.977153+00:00 app[web.1]: \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:646)\r\n2017-01-05T15:17:11.977205+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)\r\n2017-01-05T15:17:11.977311+00:00 app[web.1]: \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:727)\r\n2017-01-05T15:17:11.977361+00:00 app[web.1]: \tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\r\n2017-01-05T15:17:11.977449+00:00 app[web.1]: \tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n2017-01-05T15:17:11.977504+00:00 app[web.1]: \tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n2017-01-05T15:17:11.977592+00:00 app[web.1]: \tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n2017-01-05T15:17:11.977659+00:00 app[web.1]: \tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)\r\n2017-01-05T15:17:11.977706+00:00 app[web.1]: \tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\r\n2017-01-05T15:17:11.977792+00:00 app[web.1]: \tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n2017-01-05T15:17:11.977836+00:00 app[web.1]: \tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n2017-01-05T15:17:11.977927+00:00 app[web.1]: \tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)\r\n2017-01-05T15:17:11.977984+00:00 app[web.1]: \tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)\r\n2017-01-05T15:17:11.978051+00:00 app[web.1]: \tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)\r\n2017-01-05T15:17:11.978136+00:00 app[web.1]: \tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)\r\n2017-01-05T15:17:11.978289+00:00 app[web.1]: \tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)\r\n2017-01-05T15:17:11.978353+00:00 app[web.1]: \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n2017-01-05T15:17:11.978551+00:00 app[web.1]: \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n2017-01-05T15:17:11.978708+00:00 app[web.1]: \tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n2017-01-05T15:17:11.978863+00:00 app[web.1]: \tat java.lang.Thread.run(Thread.java:745)" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/327", @@ -285,7 +285,7 @@ "updated_at": "2017-09-09T19:17:52Z", "closed_at": "2017-09-09T19:17:52Z", "author_association": "NONE", - "body": "**Note:** This is part of a developer preview, so it might be too early to implement.\r\n\r\nAccording the version 3 of the github API, new merge methods (`squash` and `rebase`) have been added, `merge` being the default: https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button\r\n\r\nIn [GHPullRequest#L294](https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHPullRequest.java#L294), `merge_method` could be added to support different merge methods. Either the `merge` method could be overloaded to support different merge methods or methods for squashing and rebasing could be added." + "body": "**Note:** This is part of a developer preview, so it might be too early to implement.\r\n\r\nAccording the version 3 of the github API, new merge methods (`squash` and `rebase`) have been added, `merge` being the default: https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button\r\n\r\nIn [GHPullRequest#L294](https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHPullRequest.java#L294), `merge_method` could be added to support different merge methods. Either the `merge` method could be overloaded to support different merge methods or methods for squashing and rebasing could be added." }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/325", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetMyself/__files/user_repos-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetMyself/__files/user_repos-3.json index fe17b874e..8d23e0930 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetMyself/__files/user_repos-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetMyself/__files/user_repos-3.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": true, @@ -202,7 +202,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": true, @@ -307,7 +307,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -412,7 +412,7 @@ "forks": 1133, "open_issues": 295, "watchers": 6449, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -517,7 +517,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -622,7 +622,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -727,7 +727,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -832,7 +832,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -937,7 +937,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1042,7 +1042,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1147,7 +1147,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1252,7 +1252,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1357,7 +1357,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1456,7 +1456,7 @@ "forks": 12, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1555,7 +1555,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1654,7 +1654,7 @@ "forks": 13, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1759,7 +1759,7 @@ "forks": 5, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1864,7 +1864,7 @@ "forks": 7, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1963,7 +1963,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2068,7 +2068,7 @@ "forks": 14, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2167,7 +2167,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2272,7 +2272,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2371,7 +2371,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2476,7 +2476,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2575,7 +2575,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2674,7 +2674,7 @@ "forks": 1, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2773,7 +2773,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -3088,7 +3088,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetTeamsForRepo/__files/repos_hub4j-test-org_testgetteamsforrepo-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetTeamsForRepo/__files/repos_hub4j-test-org_testgetteamsforrepo-3.json index 3dfc3fa7b..941eae49b 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetTeamsForRepo/__files/repos_hub4j-test-org_testgetteamsforrepo-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testGetTeamsForRepo/__files/repos_hub4j-test-org_testgetteamsforrepo-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_cdfoundation_foundation_issues_13_comments-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_cdfoundation_foundation_issues_13_comments-16.json index 3354d5b0f..bf7bc2c79 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_cdfoundation_foundation_issues_13_comments-16.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_cdfoundation_foundation_issues_13_comments-16.json @@ -59,6 +59,6 @@ "created_at": "2019-09-20T22:11:30Z", "updated_at": "2019-09-20T22:11:30Z", "author_association": "CONTRIBUTOR", - "body": "Here is a general process we can follow:\r\n\r\nhttps://github.com/cncf/foundation/blob/master/gb-developer-reps.md" + "body": "Here is a general process we can follow:\r\n\r\nhttps://github.com/cncf/foundation/blob/main/gb-developer-reps.md" } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_hub4j_github-api_issues_178_comments-39.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_hub4j_github-api_issues_178_comments-39.json index fa9ac47c1..2a331abff 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_hub4j_github-api_issues_178_comments-39.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_hub4j_github-api_issues_178_comments-39.json @@ -59,7 +59,7 @@ "created_at": "2015-04-20T00:53:48Z", "updated_at": "2015-04-20T00:53:48Z", "author_association": "CONTRIBUTOR", - "body": "@kohsuke assumption that Issue and PR has the same data is wrong. They track different instances of data. Example is date time of changes: https://github.com/KostyaSha/github-pullrequest-plugin/blob/master/src/main/java/org/jenkinsci/plugins/github/pullrequest/GitHubPRTrigger.java#L370-L371\n" + "body": "@kohsuke assumption that Issue and PR has the same data is wrong. They track different instances of data. Example is date time of changes: https://github.com/KostyaSha/github-pullrequest-plugin/blob/main/src/main/java/org/jenkinsci/plugins/github/pullrequest/GitHubPRTrigger.java#L370-L371\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/94330925", @@ -90,7 +90,7 @@ "created_at": "2015-04-20T01:02:20Z", "updated_at": "2015-04-20T01:02:20Z", "author_association": "CONTRIBUTOR", - "body": "And https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHPullRequest.java#L111 is Deprecated\n" + "body": "And https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHPullRequest.java#L111 is Deprecated\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/94331349", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_jenkinsci_packaging_issues_57_comments-41.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_jenkinsci_packaging_issues_57_comments-41.json index a58a2a51a..a19898302 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_jenkinsci_packaging_issues_57_comments-41.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_jenkinsci_packaging_issues_57_comments-41.json @@ -28,7 +28,7 @@ "created_at": "2016-06-16T13:49:32Z", "updated_at": "2016-06-16T13:55:15Z", "author_association": "MEMBER", - "body": "@evandandrea Thank you for submitting this, it is a very interesting addition. AFAIK currently our infrastructure will not support a Ubuntu 16.04 build natively, however there is an option to do this via docker containers where supported (we've got an image that can be used for that currently, but it is 14.04 based). \n\nCC @kohsuke and @jtnord for thoughts on adding another packaging format for Jenkins as proposed in this PR? \n\nMy thought currently is that currently the snap format is very new and niche, so it's probably not worth the major effort to add infra support for it, test the support, and maintain it as a primary distribution in the main project. However if someone wanted to maintain & distribute a port to snap packaging (similar to how the BSD distributions are done), that would make sense to add to the download links on Jenkins.io once it is mature. But I'm curious what you all think...\n\nAttaching a reference for the [snapcraft yaml format](https://developer.ubuntu.com/en/snappy/build-apps/snapcraft-syntax/). From what I can tell this does not support many of the config options currently enabled for the other linux packages, as well as additional service integration, so it would need some work to get to the same state (and significant testing). \n\n**References for what a snapcraft package would need to be considered an equivalent distribution option:**\n- Init scripts for Debian (showing options): https://github.com/jenkinsci/packaging/blob/master/deb/build/debian/jenkins.init\n- Jenkins config args for Debian (another packaging should more or less support these options): https://github.com/jenkinsci/packaging/blob/master/deb/build/debian/jenkins.default\n- Needs to work correctly with the common plugins and options (require some significant testing)\n" + "body": "@evandandrea Thank you for submitting this, it is a very interesting addition. AFAIK currently our infrastructure will not support a Ubuntu 16.04 build natively, however there is an option to do this via docker containers where supported (we've got an image that can be used for that currently, but it is 14.04 based). \n\nCC @kohsuke and @jtnord for thoughts on adding another packaging format for Jenkins as proposed in this PR? \n\nMy thought currently is that currently the snap format is very new and niche, so it's probably not worth the major effort to add infra support for it, test the support, and maintain it as a primary distribution in the main project. However if someone wanted to maintain & distribute a port to snap packaging (similar to how the BSD distributions are done), that would make sense to add to the download links on Jenkins.io once it is mature. But I'm curious what you all think...\n\nAttaching a reference for the [snapcraft yaml format](https://developer.ubuntu.com/en/snappy/build-apps/snapcraft-syntax/). From what I can tell this does not support many of the config options currently enabled for the other linux packages, as well as additional service integration, so it would need some work to get to the same state (and significant testing). \n\n**References for what a snapcraft package would need to be considered an equivalent distribution option:**\n- Init scripts for Debian (showing options): https://github.com/jenkinsci/packaging/blob/main/deb/build/debian/jenkins.init\n- Jenkins config args for Debian (another packaging should more or less support these options): https://github.com/jenkinsci/packaging/blob/main/deb/build/debian/jenkins.default\n- Needs to work correctly with the common plugins and options (require some significant testing)\n" }, { "url": "https://api.github.com/repos/jenkinsci/packaging/issues/comments/226734398", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_jenkinsci_ruby-runtime-plugin_issues_6_comments-31.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_jenkinsci_ruby-runtime-plugin_issues_6_comments-31.json index d3c0c19cb..fba9abaa2 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_jenkinsci_ruby-runtime-plugin_issues_6_comments-31.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_jenkinsci_ruby-runtime-plugin_issues_6_comments-31.json @@ -59,7 +59,7 @@ "created_at": "2018-04-06T15:55:14Z", "updated_at": "2018-04-06T15:55:14Z", "author_association": "MEMBER", - "body": "@jglick It seems that we both got confused... a bit. The actual code of the plugin seems to be hosted here: https://github.com/jenkinsci/jenkins.rb/blob/master/java-runtime/pom.xml\r\n" + "body": "@jglick It seems that we both got confused... a bit. The actual code of the plugin seems to be hosted here: https://github.com/jenkinsci/jenkins.rb/blob/main/java-runtime/pom.xml\r\n" }, { "url": "https://api.github.com/repos/jenkinsci/ruby-runtime-plugin/issues/comments/379300796", @@ -121,7 +121,7 @@ "created_at": "2018-04-17T16:45:56Z", "updated_at": "2018-04-17T16:45:56Z", "author_association": "MEMBER", - "body": "@jglick I meant that https://github.com/jenkinsci/jenkins.rb/blob/master/java-runtime/pom.xml appears to be a full copy of this repository. \r\n" + "body": "@jglick I meant that https://github.com/jenkinsci/jenkins.rb/blob/main/java-runtime/pom.xml appears to be a full copy of this repository. \r\n" }, { "url": "https://api.github.com/repos/jenkinsci/ruby-runtime-plugin/issues/comments/382071599", @@ -431,7 +431,7 @@ "created_at": "2018-04-24T08:07:17Z", "updated_at": "2018-04-24T08:07:17Z", "author_association": "MEMBER", - "body": "@hsbt Ack, thanks for the update! Generally we need to understand why there is a codebase duplication between https://github.com/jenkinsci/ruby-runtime-plugin and https://github.com/jenkinsci/jenkins.rb/blob/master/java-runtime/ and what would be the best way to address it. Maybe you have some knowledge of that, which would be really helpful.\r\n\r\nIf you are fine, I will mark the Ruby Runtime plugin for adoption so that others could take its ownership if they are interested.\r\n" + "body": "@hsbt Ack, thanks for the update! Generally we need to understand why there is a codebase duplication between https://github.com/jenkinsci/ruby-runtime-plugin and https://github.com/jenkinsci/jenkins.rb/blob/main/java-runtime/ and what would be the best way to address it. Maybe you have some knowledge of that, which would be really helpful.\r\n\r\nIf you are fine, I will mark the Ruby Runtime plugin for adoption so that others could take its ownership if they are interested.\r\n" }, { "url": "https://api.github.com/repos/jenkinsci/ruby-runtime-plugin/issues/comments/385945690", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_kohsuke_winsw_issues_288_comments-22.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_kohsuke_winsw_issues_288_comments-22.json index 02d3be572..2e579b2db 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_kohsuke_winsw_issues_288_comments-22.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/repos_kohsuke_winsw_issues_288_comments-22.json @@ -59,6 +59,6 @@ "created_at": "2019-02-16T12:35:13Z", "updated_at": "2019-02-16T12:38:30Z", "author_association": "NONE", - "body": "Hi @kohsuke @oleg-nenashev - I am searching for windows service auto update as my service installed in around 1000 different client servers and found below link for download tag in winsw :\r\nhttps://github.com/kohsuke/winsw/blob/master/doc/xmlConfigFile.md#download - \"This is another useful building block for developing a self-updating service.\" This is mentioned in this link.\r\nSo how can we do auto update of jar using this same download tag ?\r\n" + "body": "Hi @kohsuke @oleg-nenashev - I am searching for windows service auto update as my service installed in around 1000 different client servers and found below link for download tag in winsw :\r\nhttps://github.com/kohsuke/winsw/blob/main/doc/xmlConfigFile.md#download - \"This is another useful building block for developing a self-updating service.\" This is mentioned in this link.\r\nSo how can we do auto update of jar using this same download tag ?\r\n" } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-2.json index afbc9b3dc..971894c0f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-2.json @@ -487,7 +487,7 @@ "updated_at": "2019-11-07T22:58:29Z", "closed_at": null, "author_association": "NONE", - "body": "[`GHPullRequest.setMilestone()`](https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHIssue.java#L206) which was helpfully added in https://github.com/kohsuke/github-api/pull/397 appears to have a minor bug. It works when called on an instance of `GHIssue` directly but not on `GHPullRequest`. I **think** this is because it calls `edit` rather than `editIssue` which is used by labels, assignees, etc and so it gets the wrong API endpoint for setting a milestone which is a property of the issue not the pull request.\r\n\r\nI would submit a fix for this myself, except: https://github.com/kohsuke/github-api/issues/415. Sorry!", + "body": "[`GHPullRequest.setMilestone()`](https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHIssue.java#L206) which was helpfully added in https://github.com/kohsuke/github-api/pull/397 appears to have a minor bug. It works when called on an instance of `GHIssue` directly but not on `GHPullRequest`. I **think** this is because it calls `edit` rather than `editIssue` which is used by labels, assignees, etc and so it gets the wrong API endpoint for setting a milestone which is a property of the issue not the pull request.\r\n\r\nI would submit a fix for this myself, except: https://github.com/kohsuke/github-api/issues/415. Sorry!", "score": 1 }, { @@ -1056,7 +1056,7 @@ "diff_url": "https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/76.diff", "patch_url": "https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/76.patch" }, - "body": "In my company we use this shared pipeline library plugin, and I find it hard to test changes to shared pipeline libraries unless I have write access to their repository and am able to create a branch, then I can refer to the changes with @Library('libraryname@branchname').\r\n\r\nCurrently it seems there's no way to import a fork of a library to override an implicitly loaded shared library. I'd use this functionality frequently to test any changes made in our shared libraries.\r\n\r\nI was able to test this PR by building hpi files and importing them into the jenkinsci official docker container. I then created a shared library here: https://github.com/willcrain1/test-pipeline-library and forked it here as well and made minor changes: https://github.com/jenkinspipelinetesting/test-pipeline-library\r\n\r\nI executed the libraries in this Jenkinsfile: https://github.com/willcrain1/test-pipeline/blob/master/Jenkinsfile\r\n\r\n@jglick @kohsuke any feedback is appreciated.", + "body": "In my company we use this shared pipeline library plugin, and I find it hard to test changes to shared pipeline libraries unless I have write access to their repository and am able to create a branch, then I can refer to the changes with @Library('libraryname@branchname').\r\n\r\nCurrently it seems there's no way to import a fork of a library to override an implicitly loaded shared library. I'd use this functionality frequently to test any changes made in our shared libraries.\r\n\r\nI was able to test this PR by building hpi files and importing them into the jenkinsci official docker container. I then created a shared library here: https://github.com/willcrain1/test-pipeline-library and forked it here as well and made minor changes: https://github.com/jenkinspipelinetesting/test-pipeline-library\r\n\r\nI executed the libraries in this Jenkinsfile: https://github.com/willcrain1/test-pipeline/blob/main/Jenkinsfile\r\n\r\n@jglick @kohsuke any feedback is appreciated.", "score": 1 }, { diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-3.json index afbc9b3dc..971894c0f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-3.json @@ -487,7 +487,7 @@ "updated_at": "2019-11-07T22:58:29Z", "closed_at": null, "author_association": "NONE", - "body": "[`GHPullRequest.setMilestone()`](https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHIssue.java#L206) which was helpfully added in https://github.com/kohsuke/github-api/pull/397 appears to have a minor bug. It works when called on an instance of `GHIssue` directly but not on `GHPullRequest`. I **think** this is because it calls `edit` rather than `editIssue` which is used by labels, assignees, etc and so it gets the wrong API endpoint for setting a milestone which is a property of the issue not the pull request.\r\n\r\nI would submit a fix for this myself, except: https://github.com/kohsuke/github-api/issues/415. Sorry!", + "body": "[`GHPullRequest.setMilestone()`](https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHIssue.java#L206) which was helpfully added in https://github.com/kohsuke/github-api/pull/397 appears to have a minor bug. It works when called on an instance of `GHIssue` directly but not on `GHPullRequest`. I **think** this is because it calls `edit` rather than `editIssue` which is used by labels, assignees, etc and so it gets the wrong API endpoint for setting a milestone which is a property of the issue not the pull request.\r\n\r\nI would submit a fix for this myself, except: https://github.com/kohsuke/github-api/issues/415. Sorry!", "score": 1 }, { @@ -1056,7 +1056,7 @@ "diff_url": "https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/76.diff", "patch_url": "https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/76.patch" }, - "body": "In my company we use this shared pipeline library plugin, and I find it hard to test changes to shared pipeline libraries unless I have write access to their repository and am able to create a branch, then I can refer to the changes with @Library('libraryname@branchname').\r\n\r\nCurrently it seems there's no way to import a fork of a library to override an implicitly loaded shared library. I'd use this functionality frequently to test any changes made in our shared libraries.\r\n\r\nI was able to test this PR by building hpi files and importing them into the jenkinsci official docker container. I then created a shared library here: https://github.com/willcrain1/test-pipeline-library and forked it here as well and made minor changes: https://github.com/jenkinspipelinetesting/test-pipeline-library\r\n\r\nI executed the libraries in this Jenkinsfile: https://github.com/willcrain1/test-pipeline/blob/master/Jenkinsfile\r\n\r\n@jglick @kohsuke any feedback is appreciated.", + "body": "In my company we use this shared pipeline library plugin, and I find it hard to test changes to shared pipeline libraries unless I have write access to their repository and am able to create a branch, then I can refer to the changes with @Library('libraryname@branchname').\r\n\r\nCurrently it seems there's no way to import a fork of a library to override an implicitly loaded shared library. I'd use this functionality frequently to test any changes made in our shared libraries.\r\n\r\nI was able to test this PR by building hpi files and importing them into the jenkinsci official docker container. I then created a shared library here: https://github.com/willcrain1/test-pipeline-library and forked it here as well and made minor changes: https://github.com/jenkinspipelinetesting/test-pipeline-library\r\n\r\nI executed the libraries in this Jenkinsfile: https://github.com/willcrain1/test-pipeline/blob/main/Jenkinsfile\r\n\r\n@jglick @kohsuke any feedback is appreciated.", "score": 1 }, { diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-34.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-34.json index 4143ba50d..99635fde5 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-34.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueSearch/__files/search_issues-34.json @@ -150,7 +150,7 @@ "updated_at": "2017-05-18T13:07:27Z", "closed_at": null, "author_association": "NONE", - "body": "In [this commit](https://github.com/kohsuke/args4j/commit/8af18273cdd3c4103b1c1e087b94ffff495c6347) `CommandLineParser` was modified to use `parserProperties.getOptionValueDelimiter()` instead of supporting only \"=\" as a delimiter.\r\n\r\nHowever, it appears as though the `splitToken()` method inside of `CmdLineImpl` was missed in this change:\r\n\r\n```java\r\n /**\r\n * Used when the current token is of the form \"-option=value\",\r\n * to replace the current token by \"value\", as if this was given as two tokens \"-option value\"\r\n */\r\n void splitToken() {\r\n if (pos < args.length && pos >= 0) {\r\n int idx = args[pos].indexOf(\"=\");\r\n if (idx > 0) {\r\n args[pos] = args[pos].substring(idx + 1);\r\n }\r\n }\r\n }\r\n```\r\nIt is still using a [hard-coded equals sign](https://github.com/kohsuke/args4j/blob/master/args4j/src/org/kohsuke/args4j/CmdLineParser.java#L443) to determine the index of the parameter to remove instead of calling `parserProperties.getOptionValueDelimiter()`.\r\n\r\nThis means that, for example, when I change the option value delimiter to \":\", and try and parse something like \"-e:testing\" what gets passed through as a parameter value is \"-e:testing\" when I would expect to have just \"testing\" as a value.", + "body": "In [this commit](https://github.com/kohsuke/args4j/commit/8af18273cdd3c4103b1c1e087b94ffff495c6347) `CommandLineParser` was modified to use `parserProperties.getOptionValueDelimiter()` instead of supporting only \"=\" as a delimiter.\r\n\r\nHowever, it appears as though the `splitToken()` method inside of `CmdLineImpl` was missed in this change:\r\n\r\n```java\r\n /**\r\n * Used when the current token is of the form \"-option=value\",\r\n * to replace the current token by \"value\", as if this was given as two tokens \"-option value\"\r\n */\r\n void splitToken() {\r\n if (pos < args.length && pos >= 0) {\r\n int idx = args[pos].indexOf(\"=\");\r\n if (idx > 0) {\r\n args[pos] = args[pos].substring(idx + 1);\r\n }\r\n }\r\n }\r\n```\r\nIt is still using a [hard-coded equals sign](https://github.com/kohsuke/args4j/blob/main/args4j/src/org/kohsuke/args4j/CmdLineParser.java#L443) to determine the index of the parameter to remove instead of calling `parserProperties.getOptionValueDelimiter()`.\r\n\r\nThis means that, for example, when I change the option value delimiter to \":\", and try and parse something like \"-e:testing\" what gets passed through as a parameter value is \"-e:testing\" when I would expect to have just \"testing\" as a value.", "score": 1 }, { diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListCommits/__files/repos_kohsuke_empty-commit-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListCommits/__files/repos_kohsuke_empty-commit-3.json index 31d15233f..6bf55ebf1 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListCommits/__files/repos_kohsuke_empty-commit-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListCommits/__files/repos_kohsuke_empty-commit-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repos_hub4j_github-api-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repos_hub4j_github-api-3.json index e6fbbf54e..30782cbe9 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repos_hub4j_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repos_hub4j_github-api-3.json @@ -96,7 +96,7 @@ "forks": 444, "open_issues": 55, "watchers": 602, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repos_hub4j_github-api_issues-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repos_hub4j_github-api_issues-4.json index 3455f2cde..0be52641b 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repos_hub4j_github-api_issues-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repos_hub4j_github-api_issues-4.json @@ -57,7 +57,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/660.diff", "patch_url": "https://github.com/hub4j/github-api/pull/660.patch" }, - "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.12.3 to 4.3.1.\n
\nChangelog\n

Sourced from okhttp-urlconnection's changelog.

\n
\n

Version 4.3.1

\n

2019-01-07

\n
    \n
  • Fix: Don't crash with a NullPointerException when a web socket is closed before it connects.\nThis regression was introduced in OkHttp 4.3.0.
  • \n
  • Fix: Don't crash with an IllegalArgumentException when using custom trust managers on\nAndroid 10. Android uses reflection to look up a magic checkServerTrusted() method and we\ndidn't have it.
  • \n
  • Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In\n4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
  • \n
\n

Version 4.3.0

\n

2019-12-31

\n
    \n
  • \n

    Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact\nthe stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after\na stream timeout to determine whether the connection should remain eligible for pooling.

    \n
  • \n
  • \n

    Fix: Don't call EventListener.responseHeadersStart() or responseBodyStart() until bytes have\nbeen received. Previously these events were incorrectly sent too early, when OkHttp was ready to\nread the response headers or body, which mislead tracing tools. Note that the responseFailed()\nevent always used to follow one of these events; now it may be sent without them.

    \n
  • \n
  • \n

    New: Upgrade to Kotlin 1.3.61.

    \n
  • \n
  • \n

    New: Match any number of subdomains with two asterisks in CertificatePinner. For example,\n**.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

    \n
  • \n
  • \n

    New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,\nweb sockets, and cache. OkHttp has a new internal task runner abstraction for managed task\nscheduling. In your debugger you will see new thread names and more use of daemon threads.

    \n
  • \n
  • \n

    Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked\nexception the callback is now notified that the call was canceled. The exception is still sent\nto the uncaught exception handler for reporting and recovery.

    \n
  • \n
  • \n

    Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp\n4.0 but that broke method chaining for Java callers.

    \n
  • \n
  • \n

    Fix: Don't crash on HTTP/2 HEAD requests when the Content-Length header is present but is not\nconsistent with the length of the response body.

    \n
  • \n
  • \n

    Fix: Don't crash when converting a HttpUrl instance with an unresolvable hostname to a URI.\nThe new behavior strips invalid characters like " and { from the hostname before converting.

    \n
  • \n
  • \n

    Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior\nbetween Kotlin's assert() and Java's assert(). (Kotlin always evaluates the argument; Java

    \n
  • \n
\n ... (truncated)\n
\n
\n
\nCommits\n
    \n
  • a56a1b9 Prepare for release 4.3.1.
  • \n
  • 75f73ae Set hostname on Android 5.0 (#5702)
  • \n
  • 7f6b11e Fix a regression closing WebSockets before connect
  • \n
  • 915d240 Android 10 support for X509TrustManager (#5688)
  • \n
  • b63debd Prepare for release 4.3.0.
  • \n
  • b2b2dd7 Merge pull request #5676 from square/jwilson.1231.restore_chaining
  • \n
  • a2c0607 Un-deprecate some setters for chaining from Java
  • \n
  • bf85d1b Merge pull request #5195 from square/fix-content-length-of-http2-response-body
  • \n
  • 62cf6c2 Merge pull request #5674 from square/jwilson.1231.strip
  • \n
  • bd675a8 Merge pull request #5671 from square/jwilson.1230.debug_logging
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.3.1)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.3.1)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.12.3 to 4.3.1.\n
\nChangelog\n

Sourced from okhttp-urlconnection's changelog.

\n
\n

Version 4.3.1

\n

2019-01-07

\n
    \n
  • Fix: Don't crash with a NullPointerException when a web socket is closed before it connects.\nThis regression was introduced in OkHttp 4.3.0.
  • \n
  • Fix: Don't crash with an IllegalArgumentException when using custom trust managers on\nAndroid 10. Android uses reflection to look up a magic checkServerTrusted() method and we\ndidn't have it.
  • \n
  • Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In\n4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
  • \n
\n

Version 4.3.0

\n

2019-12-31

\n
    \n
  • \n

    Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact\nthe stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after\na stream timeout to determine whether the connection should remain eligible for pooling.

    \n
  • \n
  • \n

    Fix: Don't call EventListener.responseHeadersStart() or responseBodyStart() until bytes have\nbeen received. Previously these events were incorrectly sent too early, when OkHttp was ready to\nread the response headers or body, which mislead tracing tools. Note that the responseFailed()\nevent always used to follow one of these events; now it may be sent without them.

    \n
  • \n
  • \n

    New: Upgrade to Kotlin 1.3.61.

    \n
  • \n
  • \n

    New: Match any number of subdomains with two asterisks in CertificatePinner. For example,\n**.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

    \n
  • \n
  • \n

    New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,\nweb sockets, and cache. OkHttp has a new internal task runner abstraction for managed task\nscheduling. In your debugger you will see new thread names and more use of daemon threads.

    \n
  • \n
  • \n

    Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked\nexception the callback is now notified that the call was canceled. The exception is still sent\nto the uncaught exception handler for reporting and recovery.

    \n
  • \n
  • \n

    Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp\n4.0 but that broke method chaining for Java callers.

    \n
  • \n
  • \n

    Fix: Don't crash on HTTP/2 HEAD requests when the Content-Length header is present but is not\nconsistent with the length of the response body.

    \n
  • \n
  • \n

    Fix: Don't crash when converting a HttpUrl instance with an unresolvable hostname to a URI.\nThe new behavior strips invalid characters like " and { from the hostname before converting.

    \n
  • \n
  • \n

    Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior\nbetween Kotlin's assert() and Java's assert(). (Kotlin always evaluates the argument; Java

    \n
  • \n
\n ... (truncated)\n
\n
\n
\nCommits\n
    \n
  • a56a1b9 Prepare for release 4.3.1.
  • \n
  • 75f73ae Set hostname on Android 5.0 (#5702)
  • \n
  • 7f6b11e Fix a regression closing WebSockets before connect
  • \n
  • 915d240 Android 10 support for X509TrustManager (#5688)
  • \n
  • b63debd Prepare for release 4.3.0.
  • \n
  • b2b2dd7 Merge pull request #5676 from square/jwilson.1231.restore_chaining
  • \n
  • a2c0607 Un-deprecate some setters for chaining from Java
  • \n
  • bf85d1b Merge pull request #5195 from square/fix-content-length-of-http2-response-body
  • \n
  • 62cf6c2 Merge pull request #5674 from square/jwilson.1231.strip
  • \n
  • bd675a8 Merge pull request #5671 from square/jwilson.1230.debug_logging
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.3.1)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.3.1)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/659", @@ -117,7 +117,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/659.diff", "patch_url": "https://github.com/hub4j/github-api/pull/659.patch" }, - "body": "Bumps [okhttp](https://github.com/square/okhttp) from 4.2.2 to 4.3.1.\n
\nChangelog\n

Sourced from okhttp's changelog.

\n
\n

Version 4.3.1

\n

2019-01-07

\n
    \n
  • Fix: Don't crash with a NullPointerException when a web socket is closed before it connects.\nThis regression was introduced in OkHttp 4.3.0.
  • \n
  • Fix: Don't crash with an IllegalArgumentException when using custom trust managers on\nAndroid 10. Android uses reflection to look up a magic checkServerTrusted() method and we\ndidn't have it.
  • \n
  • Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In\n4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
  • \n
\n

Version 4.3.0

\n

2019-12-31

\n
    \n
  • \n

    Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact\nthe stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after\na stream timeout to determine whether the connection should remain eligible for pooling.

    \n
  • \n
  • \n

    Fix: Don't call EventListener.responseHeadersStart() or responseBodyStart() until bytes have\nbeen received. Previously these events were incorrectly sent too early, when OkHttp was ready to\nread the response headers or body, which mislead tracing tools. Note that the responseFailed()\nevent always used to follow one of these events; now it may be sent without them.

    \n
  • \n
  • \n

    New: Upgrade to Kotlin 1.3.61.

    \n
  • \n
  • \n

    New: Match any number of subdomains with two asterisks in CertificatePinner. For example,\n**.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

    \n
  • \n
  • \n

    New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,\nweb sockets, and cache. OkHttp has a new internal task runner abstraction for managed task\nscheduling. In your debugger you will see new thread names and more use of daemon threads.

    \n
  • \n
  • \n

    Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked\nexception the callback is now notified that the call was canceled. The exception is still sent\nto the uncaught exception handler for reporting and recovery.

    \n
  • \n
  • \n

    Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp\n4.0 but that broke method chaining for Java callers.

    \n
  • \n
  • \n

    Fix: Don't crash on HTTP/2 HEAD requests when the Content-Length header is present but is not\nconsistent with the length of the response body.

    \n
  • \n
  • \n

    Fix: Don't crash when converting a HttpUrl instance with an unresolvable hostname to a URI.\nThe new behavior strips invalid characters like " and { from the hostname before converting.

    \n
  • \n
  • \n

    Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior\nbetween Kotlin's assert() and Java's assert(). (Kotlin always evaluates the argument; Java

    \n
  • \n
\n ... (truncated)\n
\n
\n
\nCommits\n
    \n
  • a56a1b9 Prepare for release 4.3.1.
  • \n
  • 75f73ae Set hostname on Android 5.0 (#5702)
  • \n
  • 7f6b11e Fix a regression closing WebSockets before connect
  • \n
  • 915d240 Android 10 support for X509TrustManager (#5688)
  • \n
  • b63debd Prepare for release 4.3.0.
  • \n
  • b2b2dd7 Merge pull request #5676 from square/jwilson.1231.restore_chaining
  • \n
  • a2c0607 Un-deprecate some setters for chaining from Java
  • \n
  • bf85d1b Merge pull request #5195 from square/fix-content-length-of-http2-response-body
  • \n
  • 62cf6c2 Merge pull request #5674 from square/jwilson.1231.strip
  • \n
  • bd675a8 Merge pull request #5671 from square/jwilson.1230.debug_logging
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.2.2&new-version=4.3.1)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.2.2&new-version=4.3.1)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okhttp](https://github.com/square/okhttp) from 4.2.2 to 4.3.1.\n
\nChangelog\n

Sourced from okhttp's changelog.

\n
\n

Version 4.3.1

\n

2019-01-07

\n
    \n
  • Fix: Don't crash with a NullPointerException when a web socket is closed before it connects.\nThis regression was introduced in OkHttp 4.3.0.
  • \n
  • Fix: Don't crash with an IllegalArgumentException when using custom trust managers on\nAndroid 10. Android uses reflection to look up a magic checkServerTrusted() method and we\ndidn't have it.
  • \n
  • Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In\n4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
  • \n
\n

Version 4.3.0

\n

2019-12-31

\n
    \n
  • \n

    Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact\nthe stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after\na stream timeout to determine whether the connection should remain eligible for pooling.

    \n
  • \n
  • \n

    Fix: Don't call EventListener.responseHeadersStart() or responseBodyStart() until bytes have\nbeen received. Previously these events were incorrectly sent too early, when OkHttp was ready to\nread the response headers or body, which mislead tracing tools. Note that the responseFailed()\nevent always used to follow one of these events; now it may be sent without them.

    \n
  • \n
  • \n

    New: Upgrade to Kotlin 1.3.61.

    \n
  • \n
  • \n

    New: Match any number of subdomains with two asterisks in CertificatePinner. For example,\n**.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

    \n
  • \n
  • \n

    New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,\nweb sockets, and cache. OkHttp has a new internal task runner abstraction for managed task\nscheduling. In your debugger you will see new thread names and more use of daemon threads.

    \n
  • \n
  • \n

    Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked\nexception the callback is now notified that the call was canceled. The exception is still sent\nto the uncaught exception handler for reporting and recovery.

    \n
  • \n
  • \n

    Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp\n4.0 but that broke method chaining for Java callers.

    \n
  • \n
  • \n

    Fix: Don't crash on HTTP/2 HEAD requests when the Content-Length header is present but is not\nconsistent with the length of the response body.

    \n
  • \n
  • \n

    Fix: Don't crash when converting a HttpUrl instance with an unresolvable hostname to a URI.\nThe new behavior strips invalid characters like " and { from the hostname before converting.

    \n
  • \n
  • \n

    Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior\nbetween Kotlin's assert() and Java's assert(). (Kotlin always evaluates the argument; Java

    \n
  • \n
\n ... (truncated)\n
\n
\n
\nCommits\n
    \n
  • a56a1b9 Prepare for release 4.3.1.
  • \n
  • 75f73ae Set hostname on Android 5.0 (#5702)
  • \n
  • 7f6b11e Fix a regression closing WebSockets before connect
  • \n
  • 915d240 Android 10 support for X509TrustManager (#5688)
  • \n
  • b63debd Prepare for release 4.3.0.
  • \n
  • b2b2dd7 Merge pull request #5676 from square/jwilson.1231.restore_chaining
  • \n
  • a2c0607 Un-deprecate some setters for chaining from Java
  • \n
  • bf85d1b Merge pull request #5195 from square/fix-content-length-of-http2-response-body
  • \n
  • 62cf6c2 Merge pull request #5674 from square/jwilson.1231.strip
  • \n
  • bd675a8 Merge pull request #5671 from square/jwilson.1230.debug_logging
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.2.2&new-version=4.3.1)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.2.2&new-version=4.3.1)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/657", @@ -177,7 +177,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/657.diff", "patch_url": "https://github.com/hub4j/github-api/pull/657.patch" }, - "body": "Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.\n
\nRelease notes\n

Sourced from junit's releases.

\n
\n

JUnit 4.13

\n

Please refer to the release notes for details.

\n

JUnit 4.13 RC 2

\n

Please refer to the release notes for details.

\n

JUnit 4.13 RC 1

\n

Please refer to the release notes for details.

\n

JUnit 4.13 Beta 3

\n

Please refer to the release notes for details.

\n

JUnit 4.13 Beta 2

\n

Please refer to the release notes for details.

\n

JUnit 4.13 Beta 1

\n

Please refer to the release notes for details.

\n
\n
\n
\nCommits\n
    \n
  • 038f751 [maven-release-plugin] prepare release r4.13
  • \n
  • 8fd0197 [maven-release-plugin] prepare for next development iteration
  • \n
  • c0bdd7d [maven-release-plugin] prepare release r4.13-rc-2
  • \n
  • ea2e229 [maven-release-plugin] prepare for next development iteration
  • \n
  • 0a5a2f8 [maven-release-plugin] prepare release r4.13-rc-2
  • \n
  • b51fa17 Ensure classes annotated with @OrderWith do not have @FixMethodOrder.
  • \n
  • 7c2f12c Never reorder classes annotated with @FixMethodOrder
  • \n
  • 6c5de81 Remove reference to obsolete mailing list
  • \n
  • 6c7cb4b Delete outdated docs
  • \n
  • fc3938a [maven-release-plugin] prepare for next development iteration
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=junit:junit&package-manager=maven&previous-version=4.12&new-version=4.13)](https://dependabot.com/compatibility-score.html?dependency-name=junit:junit&package-manager=maven&previous-version=4.12&new-version=4.13)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.\n
\nRelease notes\n

Sourced from junit's releases.

\n
\n

JUnit 4.13

\n

Please refer to the release notes for details.

\n

JUnit 4.13 RC 2

\n

Please refer to the release notes for details.

\n

JUnit 4.13 RC 1

\n

Please refer to the release notes for details.

\n

JUnit 4.13 Beta 3

\n

Please refer to the release notes for details.

\n

JUnit 4.13 Beta 2

\n

Please refer to the release notes for details.

\n

JUnit 4.13 Beta 1

\n

Please refer to the release notes for details.

\n
\n
\n
\nCommits\n
    \n
  • 038f751 [maven-release-plugin] prepare release r4.13
  • \n
  • 8fd0197 [maven-release-plugin] prepare for next development iteration
  • \n
  • c0bdd7d [maven-release-plugin] prepare release r4.13-rc-2
  • \n
  • ea2e229 [maven-release-plugin] prepare for next development iteration
  • \n
  • 0a5a2f8 [maven-release-plugin] prepare release r4.13-rc-2
  • \n
  • b51fa17 Ensure classes annotated with @OrderWith do not have @FixMethodOrder.
  • \n
  • 7c2f12c Never reorder classes annotated with @FixMethodOrder
  • \n
  • 6c5de81 Remove reference to obsolete mailing list
  • \n
  • 6c7cb4b Delete outdated docs
  • \n
  • fc3938a [maven-release-plugin] prepare for next development iteration
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=junit:junit&package-manager=maven&previous-version=4.12&new-version=4.13)](https://dependabot.com/compatibility-score.html?dependency-name=junit:junit&package-manager=maven&previous-version=4.12&new-version=4.13)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/656", @@ -227,7 +227,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/656.diff", "patch_url": "https://github.com/hub4j/github-api/pull/656.patch" }, - "body": "# Description \r\nJUnit 4.13 is the latest release.\r\n\r\nhttps://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.13.md\r\n\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [ ] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nJUnit 4.13 is the latest release.\r\n\r\nhttps://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.md\r\n\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [ ] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/655", @@ -287,7 +287,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/655.diff", "patch_url": "https://github.com/hub4j/github-api/pull/655.patch" }, - "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.12.3 to 4.3.0.\n
\nChangelog\n

Sourced from okhttp-urlconnection's changelog.

\n
\n

Version 4.3.0

\n

2019-12-31

\n
    \n
  • \n

    Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact\nthe stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after\na stream timeout to determine whether the connection should remain eligible for pooling.

    \n
  • \n
  • \n

    Fix: Don't call EventListener.responseHeadersStart() or responseBodyStart() until bytes have\nbeen received. Previously these events were incorrectly sent too early, when OkHttp was ready to\nread the response headers or body, which mislead tracing tools. Note that the responseFailed()\nevent always used to follow one of these events; now it may be sent without them.

    \n
  • \n
  • \n

    New: Upgrade to Kotlin 1.3.61.

    \n
  • \n
  • \n

    New: Match any number of subdomains with two asterisks in CertificatePinner. For example,\n**.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

    \n
  • \n
  • \n

    New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,\nweb sockets, and cache. OkHttp has a new internal task runner abstraction for managed task\nscheduling. In your debugger you will see new thread names and more use of daemon threads.

    \n
  • \n
  • \n

    Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked\nexception the callback is now notified that the call was canceled. The exception is still sent\nto the uncaught exception handler for reporting and recovery.

    \n
  • \n
  • \n

    Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp\n4.0 but that broke method chaining for Java callers.

    \n
  • \n
  • \n

    Fix: Don't crash on HTTP/2 HEAD requests when the Content-Length header is present but is not\nconsistent with the length of the response body.

    \n
  • \n
  • \n

    Fix: Don't crash when converting a HttpUrl instance with an unresolvable hostname to a URI.\nThe new behavior strips invalid characters like " and { from the hostname before converting.

    \n
  • \n
  • \n

    Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior\nbetween Kotlin's assert() and Java's assert(). (Kotlin always evaluates the argument; Java\nonly does when assertions are enabled.)

    \n
  • \n
  • \n

    Fix: Honor RequestBody.isOneShot() in HttpLoggingInterceptor.

    \n
  • \n
\n

Version 4.2.2

\n

2019-10-06

\n
    \n
  • Fix: When closing a canceled HTTP/2 stream, don't send the END_STREAM flag. This could cause\nthe server to incorrectly interpret the stream as having completed normally. This is most useful\nwhen a request body needs to cancel its own call.
  • \n
\n ... (truncated)\n
\n
\n
\nCommits\n
    \n
  • b63debd Prepare for release 4.3.0.
  • \n
  • b2b2dd7 Merge pull request #5676 from square/jwilson.1231.restore_chaining
  • \n
  • a2c0607 Un-deprecate some setters for chaining from Java
  • \n
  • bf85d1b Merge pull request #5195 from square/fix-content-length-of-http2-response-body
  • \n
  • 62cf6c2 Merge pull request #5674 from square/jwilson.1231.strip
  • \n
  • bd675a8 Merge pull request #5671 from square/jwilson.1230.debug_logging
  • \n
  • a815093 Document debug logging.
  • \n
  • 283418b Fix a crash in HttpUrl.toUri().
  • \n
  • b9e0422 Merge pull request #5672 from square/jwilson.1230.await_idle
  • \n
  • edb5865 Fix crash on repeated MockWebServer shutdown
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.3.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.3.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.12.3 to 4.3.0.\n
\nChangelog\n

Sourced from okhttp-urlconnection's changelog.

\n
\n

Version 4.3.0

\n

2019-12-31

\n
    \n
  • \n

    Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact\nthe stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after\na stream timeout to determine whether the connection should remain eligible for pooling.

    \n
  • \n
  • \n

    Fix: Don't call EventListener.responseHeadersStart() or responseBodyStart() until bytes have\nbeen received. Previously these events were incorrectly sent too early, when OkHttp was ready to\nread the response headers or body, which mislead tracing tools. Note that the responseFailed()\nevent always used to follow one of these events; now it may be sent without them.

    \n
  • \n
  • \n

    New: Upgrade to Kotlin 1.3.61.

    \n
  • \n
  • \n

    New: Match any number of subdomains with two asterisks in CertificatePinner. For example,\n**.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

    \n
  • \n
  • \n

    New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,\nweb sockets, and cache. OkHttp has a new internal task runner abstraction for managed task\nscheduling. In your debugger you will see new thread names and more use of daemon threads.

    \n
  • \n
  • \n

    Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked\nexception the callback is now notified that the call was canceled. The exception is still sent\nto the uncaught exception handler for reporting and recovery.

    \n
  • \n
  • \n

    Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp\n4.0 but that broke method chaining for Java callers.

    \n
  • \n
  • \n

    Fix: Don't crash on HTTP/2 HEAD requests when the Content-Length header is present but is not\nconsistent with the length of the response body.

    \n
  • \n
  • \n

    Fix: Don't crash when converting a HttpUrl instance with an unresolvable hostname to a URI.\nThe new behavior strips invalid characters like " and { from the hostname before converting.

    \n
  • \n
  • \n

    Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior\nbetween Kotlin's assert() and Java's assert(). (Kotlin always evaluates the argument; Java\nonly does when assertions are enabled.)

    \n
  • \n
  • \n

    Fix: Honor RequestBody.isOneShot() in HttpLoggingInterceptor.

    \n
  • \n
\n

Version 4.2.2

\n

2019-10-06

\n
    \n
  • Fix: When closing a canceled HTTP/2 stream, don't send the END_STREAM flag. This could cause\nthe server to incorrectly interpret the stream as having completed normally. This is most useful\nwhen a request body needs to cancel its own call.
  • \n
\n ... (truncated)\n
\n
\n
\nCommits\n
    \n
  • b63debd Prepare for release 4.3.0.
  • \n
  • b2b2dd7 Merge pull request #5676 from square/jwilson.1231.restore_chaining
  • \n
  • a2c0607 Un-deprecate some setters for chaining from Java
  • \n
  • bf85d1b Merge pull request #5195 from square/fix-content-length-of-http2-response-body
  • \n
  • 62cf6c2 Merge pull request #5674 from square/jwilson.1231.strip
  • \n
  • bd675a8 Merge pull request #5671 from square/jwilson.1230.debug_logging
  • \n
  • a815093 Document debug logging.
  • \n
  • 283418b Fix a crash in HttpUrl.toUri().
  • \n
  • b9e0422 Merge pull request #5672 from square/jwilson.1230.await_idle
  • \n
  • edb5865 Fix crash on repeated MockWebServer shutdown
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.3.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.3.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/654", @@ -347,7 +347,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/654.diff", "patch_url": "https://github.com/hub4j/github-api/pull/654.patch" }, - "body": "Bumps [okhttp](https://github.com/square/okhttp) from 4.2.2 to 4.3.0.\n
\nChangelog\n

Sourced from okhttp's changelog.

\n
\n

Version 4.3.0

\n

2019-12-31

\n
    \n
  • \n

    Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact\nthe stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after\na stream timeout to determine whether the connection should remain eligible for pooling.

    \n
  • \n
  • \n

    Fix: Don't call EventListener.responseHeadersStart() or responseBodyStart() until bytes have\nbeen received. Previously these events were incorrectly sent too early, when OkHttp was ready to\nread the response headers or body, which mislead tracing tools. Note that the responseFailed()\nevent always used to follow one of these events; now it may be sent without them.

    \n
  • \n
  • \n

    New: Upgrade to Kotlin 1.3.61.

    \n
  • \n
  • \n

    New: Match any number of subdomains with two asterisks in CertificatePinner. For example,\n**.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

    \n
  • \n
  • \n

    New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,\nweb sockets, and cache. OkHttp has a new internal task runner abstraction for managed task\nscheduling. In your debugger you will see new thread names and more use of daemon threads.

    \n
  • \n
  • \n

    Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked\nexception the callback is now notified that the call was canceled. The exception is still sent\nto the uncaught exception handler for reporting and recovery.

    \n
  • \n
  • \n

    Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp\n4.0 but that broke method chaining for Java callers.

    \n
  • \n
  • \n

    Fix: Don't crash on HTTP/2 HEAD requests when the Content-Length header is present but is not\nconsistent with the length of the response body.

    \n
  • \n
  • \n

    Fix: Don't crash when converting a HttpUrl instance with an unresolvable hostname to a URI.\nThe new behavior strips invalid characters like " and { from the hostname before converting.

    \n
  • \n
  • \n

    Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior\nbetween Kotlin's assert() and Java's assert(). (Kotlin always evaluates the argument; Java\nonly does when assertions are enabled.)

    \n
  • \n
  • \n

    Fix: Honor RequestBody.isOneShot() in HttpLoggingInterceptor.

    \n
  • \n
\n
\n
\n
\nCommits\n
    \n
  • b63debd Prepare for release 4.3.0.
  • \n
  • b2b2dd7 Merge pull request #5676 from square/jwilson.1231.restore_chaining
  • \n
  • a2c0607 Un-deprecate some setters for chaining from Java
  • \n
  • bf85d1b Merge pull request #5195 from square/fix-content-length-of-http2-response-body
  • \n
  • 62cf6c2 Merge pull request #5674 from square/jwilson.1231.strip
  • \n
  • bd675a8 Merge pull request #5671 from square/jwilson.1230.debug_logging
  • \n
  • a815093 Document debug logging.
  • \n
  • 283418b Fix a crash in HttpUrl.toUri().
  • \n
  • b9e0422 Merge pull request #5672 from square/jwilson.1230.await_idle
  • \n
  • edb5865 Fix crash on repeated MockWebServer shutdown
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.2.2&new-version=4.3.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.2.2&new-version=4.3.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okhttp](https://github.com/square/okhttp) from 4.2.2 to 4.3.0.\n
\nChangelog\n

Sourced from okhttp's changelog.

\n
\n

Version 4.3.0

\n

2019-12-31

\n
    \n
  • \n

    Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact\nthe stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after\na stream timeout to determine whether the connection should remain eligible for pooling.

    \n
  • \n
  • \n

    Fix: Don't call EventListener.responseHeadersStart() or responseBodyStart() until bytes have\nbeen received. Previously these events were incorrectly sent too early, when OkHttp was ready to\nread the response headers or body, which mislead tracing tools. Note that the responseFailed()\nevent always used to follow one of these events; now it may be sent without them.

    \n
  • \n
  • \n

    New: Upgrade to Kotlin 1.3.61.

    \n
  • \n
  • \n

    New: Match any number of subdomains with two asterisks in CertificatePinner. For example,\n**.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

    \n
  • \n
  • \n

    New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,\nweb sockets, and cache. OkHttp has a new internal task runner abstraction for managed task\nscheduling. In your debugger you will see new thread names and more use of daemon threads.

    \n
  • \n
  • \n

    Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked\nexception the callback is now notified that the call was canceled. The exception is still sent\nto the uncaught exception handler for reporting and recovery.

    \n
  • \n
  • \n

    Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp\n4.0 but that broke method chaining for Java callers.

    \n
  • \n
  • \n

    Fix: Don't crash on HTTP/2 HEAD requests when the Content-Length header is present but is not\nconsistent with the length of the response body.

    \n
  • \n
  • \n

    Fix: Don't crash when converting a HttpUrl instance with an unresolvable hostname to a URI.\nThe new behavior strips invalid characters like " and { from the hostname before converting.

    \n
  • \n
  • \n

    Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior\nbetween Kotlin's assert() and Java's assert(). (Kotlin always evaluates the argument; Java\nonly does when assertions are enabled.)

    \n
  • \n
  • \n

    Fix: Honor RequestBody.isOneShot() in HttpLoggingInterceptor.

    \n
  • \n
\n
\n
\n
\nCommits\n
    \n
  • b63debd Prepare for release 4.3.0.
  • \n
  • b2b2dd7 Merge pull request #5676 from square/jwilson.1231.restore_chaining
  • \n
  • a2c0607 Un-deprecate some setters for chaining from Java
  • \n
  • bf85d1b Merge pull request #5195 from square/fix-content-length-of-http2-response-body
  • \n
  • 62cf6c2 Merge pull request #5674 from square/jwilson.1231.strip
  • \n
  • bd675a8 Merge pull request #5671 from square/jwilson.1230.debug_logging
  • \n
  • a815093 Document debug logging.
  • \n
  • 283418b Fix a crash in HttpUrl.toUri().
  • \n
  • b9e0422 Merge pull request #5672 from square/jwilson.1230.await_idle
  • \n
  • edb5865 Fix crash on repeated MockWebServer shutdown
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.2.2&new-version=4.3.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.2.2&new-version=4.3.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/653", @@ -467,7 +467,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/652.diff", "patch_url": "https://github.com/hub4j/github-api/pull/652.patch" }, - "body": "Bumps [okio](https://github.com/square/okio) from 2.4.2 to 2.4.3.\n
\nChangelog\n

Sourced from okio's changelog.

\n
\n

Version 2.4.3

\n

2019-12-20

\n
    \n
  • New Upgrade to Kotlin 1.3.61.
  • \n
\n
\n
\n
\nCommits\n
    \n
  • fd98e27 Prepare for release 2.4.3.
  • \n
  • 0d6af3b Kotlin 1.3.61 (#682)
  • \n
  • 0077fa7 Merge pull request #666 from bnorm/bnorm.1008.readbytestring
  • \n
  • 3b8fb99 Okio 2.4.2 is released
  • \n
  • b29e83f Remove empty tail Segment (#686)
  • \n
  • d61cac2 Use SegmentedByteString when reading a significantly large ByteString
  • \n
  • 34e5eb0 Add how to use snapshot section to readme (#664)
  • \n
  • 1fa436a Make AsyncTimeout.withTimeout public (#662)
  • \n
  • 517621e Use Kotlin-isms for converting an array to a string (#667)
  • \n
  • f90a970 Merge pull request #665 from square/egorand/191007/dokka-0.10.0
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.2&new-version=2.4.3)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.2&new-version=2.4.3)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okio](https://github.com/square/okio) from 2.4.2 to 2.4.3.\n
\nChangelog\n

Sourced from okio's changelog.

\n
\n

Version 2.4.3

\n

2019-12-20

\n
    \n
  • New Upgrade to Kotlin 1.3.61.
  • \n
\n
\n
\n
\nCommits\n
    \n
  • fd98e27 Prepare for release 2.4.3.
  • \n
  • 0d6af3b Kotlin 1.3.61 (#682)
  • \n
  • 0077fa7 Merge pull request #666 from bnorm/bnorm.1008.readbytestring
  • \n
  • 3b8fb99 Okio 2.4.2 is released
  • \n
  • b29e83f Remove empty tail Segment (#686)
  • \n
  • d61cac2 Use SegmentedByteString when reading a significantly large ByteString
  • \n
  • 34e5eb0 Add how to use snapshot section to readme (#664)
  • \n
  • 1fa436a Make AsyncTimeout.withTimeout public (#662)
  • \n
  • 517621e Use Kotlin-isms for converting an array to a string (#667)
  • \n
  • f90a970 Merge pull request #665 from square/egorand/191007/dokka-0.10.0
  • \n
  • Additional commits viewable in compare view
  • \n
\n
\n
\n\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.2&new-version=2.4.3)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.2&new-version=2.4.3)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/650", @@ -517,7 +517,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/650.diff", "patch_url": "https://github.com/hub4j/github-api/pull/650.patch" }, - "body": "# Description \r\nFixes #638\r\n\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nFixes #638\r\n\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/648", @@ -567,7 +567,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/648.diff", "patch_url": "https://github.com/hub4j/github-api/pull/648.patch" }, - "body": "# Description\r\nThe 'Accept' header on requests can change what data is returned, so we need to\r\nonly match requests with the correct value.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description\r\nThe 'Accept' header on requests can change what data is returned, so we need to\r\nonly match requests with the correct value.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/647", @@ -617,7 +617,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/647.diff", "patch_url": "https://github.com/hub4j/github-api/pull/647.patch" }, - "body": "# Description \r\nLabels with descriptions do not seem to be preview apis anymore - https://developer.github.com/v3/issues/labels/#create-a-label so don't mark them as such\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [ ] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nLabels with descriptions do not seem to be preview apis anymore - https://developer.github.com/v3/issues/labels/#create-a-label so don't mark them as such\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [ ] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/646", @@ -667,7 +667,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/646.diff", "patch_url": "https://github.com/hub4j/github-api/pull/646.patch" }, - "body": "# Description \r\nFixes #628 \r\n\r\nAn explanation of why it is needed can be found on here https://github.com/hub4j/github-api/issues/628#issuecomment-567470974\r\n\r\nAlso, it fixes a test on GHObjectTest that broke after one of the last few merges\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [X] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [X] Add JavaDocs and other comments\r\n- [X] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [X] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nFixes #628 \r\n\r\nAn explanation of why it is needed can be found on here https://github.com/hub4j/github-api/issues/628#issuecomment-567470974\r\n\r\nAlso, it fixes a test on GHObjectTest that broke after one of the last few merges\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [X] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [X] Add JavaDocs and other comments\r\n- [X] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [X] Run `mvn -P ci install site ` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/645", @@ -837,7 +837,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/643.diff", "patch_url": "https://github.com/hub4j/github-api/pull/643.patch" }, - "body": "Bumps [okio](https://github.com/square/okio) from 2.4.1 to 2.4.2.\n
\nChangelog\n\n*Sourced from [okio's changelog](https://github.com/square/okio/blob/master/CHANGELOG.md).*\n\n> ## Version 2.4.2\n> \n> _2019-12-11_\n> \n> * Fix: Don't crash when an `InputStream` source is exhausted exactly at a buffer segment boundary.\n> We had a bug where a sequence of reads could violate a buffer's invariants, and this could result\n> in a crash when subsequent reads encountered an unexpected empty segment.\n> \n> \n> ## Version 1.17.5\n> \n> _2019-12-11_\n> \n> * Fix: Don't crash when an `InputStream` source is exhausted exactly at a buffer segment boundary.\n> We had a bug where a sequence of reads could violate a buffer's invariants, and this could result\n> in a crash when subsequent reads encountered an unexpected empty segment.\n
\n
\nCommits\n\n- [`4c6bc13`](https://github.com/square/okio/commit/4c6bc1377a749d60b70fb35ce36d3a5499f41725) Prepare for release 2.4.2.\n- [`2736a33`](https://github.com/square/okio/commit/2736a3308be2b3aca047f12074c79d7965508baa) Remove empty tail Segment ([#686](https://github-redirect.dependabot.com/square/okio/issues/686))\n- See full diff in [compare view](https://github.com/square/okio/compare/2.4.1...parent-2.4.2)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.1&new-version=2.4.2)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.1&new-version=2.4.2)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okio](https://github.com/square/okio) from 2.4.1 to 2.4.2.\n
\nChangelog\n\n*Sourced from [okio's changelog](https://github.com/square/okio/blob/main/CHANGELOG.md).*\n\n> ## Version 2.4.2\n> \n> _2019-12-11_\n> \n> * Fix: Don't crash when an `InputStream` source is exhausted exactly at a buffer segment boundary.\n> We had a bug where a sequence of reads could violate a buffer's invariants, and this could result\n> in a crash when subsequent reads encountered an unexpected empty segment.\n> \n> \n> ## Version 1.17.5\n> \n> _2019-12-11_\n> \n> * Fix: Don't crash when an `InputStream` source is exhausted exactly at a buffer segment boundary.\n> We had a bug where a sequence of reads could violate a buffer's invariants, and this could result\n> in a crash when subsequent reads encountered an unexpected empty segment.\n
\n
\nCommits\n\n- [`4c6bc13`](https://github.com/square/okio/commit/4c6bc1377a749d60b70fb35ce36d3a5499f41725) Prepare for release 2.4.2.\n- [`2736a33`](https://github.com/square/okio/commit/2736a3308be2b3aca047f12074c79d7965508baa) Remove empty tail Segment ([#686](https://github-redirect.dependabot.com/square/okio/issues/686))\n- See full diff in [compare view](https://github.com/square/okio/compare/2.4.1...parent-2.4.2)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.1&new-version=2.4.2)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.1&new-version=2.4.2)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/642", @@ -887,7 +887,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/642.diff", "patch_url": "https://github.com/hub4j/github-api/pull/642.patch" }, - "body": "# Description \r\nGithub release 2.18+ doesn't accept `sha:null` in the request body. This change fixes that. More details here: https://github.com/hub4j/github-api/issues/636\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nGithub release 2.18+ doesn't accept `sha:null` in the request body. This change fixes that. More details here: https://github.com/hub4j/github-api/issues/636\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/641", @@ -1158,7 +1158,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/637.diff", "patch_url": "https://github.com/hub4j/github-api/pull/637.patch" }, - "body": "# Description \r\n\r\nThis PR is the continuation of #635 \r\n\r\nEndpoint added: \r\n- https://developer.github.com/v3/apps/marketplace/#get-a-users-marketplace-purchases\r\n\r\nPS.: I wasn't able to come up with a solution for the endpoint below given the way we currently handle non-4xx HTTP codes on this library. I do have a few ideas but I will create an issue so that we can discuss the available solutions before I implement it.\r\nhttps://developer.github.com/v3/apps/marketplace/#check-if-a-github-account-is-associated-with-any-marketplace-listing\r\n\r\n@bitwiseman let me know if you want me to change anything\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [X] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [X] Add JavaDocs and other comments\r\n- [X] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [X] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\n\r\nThis PR is the continuation of #635 \r\n\r\nEndpoint added: \r\n- https://developer.github.com/v3/apps/marketplace/#get-a-users-marketplace-purchases\r\n\r\nPS.: I wasn't able to come up with a solution for the endpoint below given the way we currently handle non-4xx HTTP codes on this library. I do have a few ideas but I will create an issue so that we can discuss the available solutions before I implement it.\r\nhttps://developer.github.com/v3/apps/marketplace/#check-if-a-github-account-is-associated-with-any-marketplace-listing\r\n\r\n@bitwiseman let me know if you want me to change anything\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [X] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [X] Add JavaDocs and other comments\r\n- [X] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [X] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/636", @@ -1262,7 +1262,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/635.diff", "patch_url": "https://github.com/hub4j/github-api/pull/635.patch" }, - "body": "# Description \r\nAdd support to Marketplace endpoints\r\n\r\nEndpoints added: \r\n- https://developer.github.com/v3/apps/marketplace/#list-all-plans-for-your-marketplace-listing\r\n- https://developer.github.com/v3/apps/marketplace/#list-all-github-accounts-user-or-organization-on-a-specific-plan\r\n\r\nIn the best interest of keeping this PR readable (too many lines due to the integration tests files), I will submit a second PR to add the remaining endpoints related to GitHub Marketplace.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [X] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [X] Add JavaDocs and other comments\r\n- [X] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [X] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI." + "body": "# Description \r\nAdd support to Marketplace endpoints\r\n\r\nEndpoints added: \r\n- https://developer.github.com/v3/apps/marketplace/#list-all-plans-for-your-marketplace-listing\r\n- https://developer.github.com/v3/apps/marketplace/#list-all-github-accounts-user-or-organization-on-a-specific-plan\r\n\r\nIn the best interest of keeping this PR readable (too many lines due to the integration tests files), I will submit a second PR to add the remaining endpoints related to GitHub Marketplace.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [X] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [X] Add JavaDocs and other comments\r\n- [X] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [X] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI." }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/634", @@ -1362,7 +1362,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/631.diff", "patch_url": "https://github.com/hub4j/github-api/pull/631.patch" }, - "body": "# Description \r\nNow that we have moved to Java 8+, we can use Java 8 `Base64` and `StandardCharset`. \r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nNow that we have moved to Java 8+, we can use Java 8 `Base64` and `StandardCharset`. \r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/629", @@ -1412,7 +1412,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/629.diff", "patch_url": "https://github.com/hub4j/github-api/pull/629.patch" }, - "body": "# Description \r\nlatest version of Mockito\r\n\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [ ] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nlatest version of Mockito\r\n\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [ ] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/628", @@ -1516,7 +1516,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/627.diff", "patch_url": "https://github.com/hub4j/github-api/pull/627.patch" }, - "body": "# Description\r\nThe `okhttp3.OkHttpConnector` class is still referencing the `okhttp.CacheControl`. However, this class is not part of OkHttp 3.x or 4.x. This creates a `ClassNotFoundException` at runtime on projects creating a `okhttp3.OkHttpConnector` with a `Cache`.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description\r\nThe `okhttp3.OkHttpConnector` class is still referencing the `okhttp.CacheControl`. However, this class is not part of OkHttp 3.x or 4.x. This creates a `ClassNotFoundException` at runtime on projects creating a `okhttp3.OkHttpConnector` with a `Cache`.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/625", @@ -1566,7 +1566,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/625.diff", "patch_url": "https://github.com/hub4j/github-api/pull/625.patch" }, - "body": "# Description \r\n\r\nURI path encoding whack-a-mole. This fix should cover a significant number of cases.\r\n\r\nAlso, fixed to NOT do URLEncode for URI path. The encoding is different between path and query.\r\n\r\nFixes #624 \r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\n\r\nURI path encoding whack-a-mole. This fix should cover a significant number of cases.\r\n\r\nAlso, fixed to NOT do URLEncode for URI path. The encoding is different between path and query.\r\n\r\nFixes #624 \r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/624", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-10.json index cf434175c..7a9d02a94 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-10.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-10.json @@ -1043,7 +1043,7 @@ "updated_at": "2018-08-30T15:37:51Z", "closed_at": "2018-08-30T15:37:50Z", "author_association": "NONE", - "body": "If I checkout `192e21a9fcacf4dffc975156bcf5e8ff7bf297b1` (HEAD right now), and run `mvn test` I see a `ClassNotFoundException`. It cannot even report success or failure of individual tests.\r\n\r\nI believe this is related to https://github.com/kohsuke/github-api/pull/388 which upgraded jgit, but maybe not all of the unit tests. Specifically [`LifecycleTest`](https://github.com/kohsuke/github-api/blob/master/src/test/java/org/kohsuke/github/LifecycleTest.java) references `UsernamePasswordCredentialsProvider` which is no longer in the newer versions of jgit.\r\n\r\nI'll be honest, as I tried to fix this I kept getting some unexpected classpath errors related to jgit (first this one, then one about `GitAPIException`, etc), and much as I know my way around a super complex build, I didn't feel like learning about the maven plugin for bridge method generation, and everything else it might take me to sort this out. Is there something basic I missed for setting up a working development environment for this project? I feel like I must have missed something simple for `mvn test` not to work.\r\n\r\nThe surefire log shows:\r\n\r\n```\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\norg.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null\r\njava.lang.reflect.InvocationTargetException\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)\r\n at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)\r\n at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)\r\n at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)\r\n at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)\r\nCaused by: java.lang.NoClassDefFoundError: org/eclipse/jgit/transport/CredentialsProvider\r\n at java.lang.Class.getDeclaredMethods0(Native Method)\r\n at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)\r\n at java.lang.Class.privateGetMethodRecursive(Class.java:3048)\r\n at java.lang.Class.getMethod0(Class.java:3018)\r\n at java.lang.Class.getMethod(Class.java:1784)\r\n at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54)\r\n at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)\r\n at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)\r\n at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)\r\n at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)\r\n ... 9 more\r\nCaused by: java.lang.ClassNotFoundException: org.eclipse.jgit.transport.CredentialsProvider\r\n at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n ... 22 more\r\n\r\nResults :\r\n\r\nTests run: 0, Failures: 0, Errors: 0, Skipped: 0\r\n```\r\n\r\n\r\nMaven version:\r\n```\r\nApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)\r\nMaven home: C:\\Program Files\\Maven\r\nJava version: 1.8.0_121, vendor: Oracle Corporation\r\nJava home: C:\\Program Files\\Java\\jdk1.8.0_121\\jre\r\nDefault locale: en_US, platform encoding: Cp1252\r\nOS name: \"windows nt (unknown)\", version: \"10.0\", arch: \"amd64\", family: \"dos\"\r\n```" + "body": "If I checkout `192e21a9fcacf4dffc975156bcf5e8ff7bf297b1` (HEAD right now), and run `mvn test` I see a `ClassNotFoundException`. It cannot even report success or failure of individual tests.\r\n\r\nI believe this is related to https://github.com/kohsuke/github-api/pull/388 which upgraded jgit, but maybe not all of the unit tests. Specifically [`LifecycleTest`](https://github.com/kohsuke/github-api/blob/main/src/test/java/org/kohsuke/github/LifecycleTest.java) references `UsernamePasswordCredentialsProvider` which is no longer in the newer versions of jgit.\r\n\r\nI'll be honest, as I tried to fix this I kept getting some unexpected classpath errors related to jgit (first this one, then one about `GitAPIException`, etc), and much as I know my way around a super complex build, I didn't feel like learning about the maven plugin for bridge method generation, and everything else it might take me to sort this out. Is there something basic I missed for setting up a working development environment for this project? I feel like I must have missed something simple for `mvn test` not to work.\r\n\r\nThe surefire log shows:\r\n\r\n```\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\norg.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null\r\njava.lang.reflect.InvocationTargetException\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)\r\n at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)\r\n at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)\r\n at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)\r\n at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)\r\nCaused by: java.lang.NoClassDefFoundError: org/eclipse/jgit/transport/CredentialsProvider\r\n at java.lang.Class.getDeclaredMethods0(Native Method)\r\n at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)\r\n at java.lang.Class.privateGetMethodRecursive(Class.java:3048)\r\n at java.lang.Class.getMethod0(Class.java:3018)\r\n at java.lang.Class.getMethod(Class.java:1784)\r\n at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59)\r\n at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54)\r\n at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)\r\n at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)\r\n at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)\r\n at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)\r\n ... 9 more\r\nCaused by: java.lang.ClassNotFoundException: org.eclipse.jgit.transport.CredentialsProvider\r\n at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n ... 22 more\r\n\r\nResults :\r\n\r\nTests run: 0, Failures: 0, Errors: 0, Skipped: 0\r\n```\r\n\r\n\r\nMaven version:\r\n```\r\nApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)\r\nMaven home: C:\\Program Files\\Maven\r\nJava version: 1.8.0_121, vendor: Oracle Corporation\r\nJava home: C:\\Program Files\\Java\\jdk1.8.0_121\\jre\r\nDefault locale: en_US, platform encoding: Cp1252\r\nOS name: \"windows nt (unknown)\", version: \"10.0\", arch: \"amd64\", family: \"dos\"\r\n```" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/414", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-11.json index d92abc94c..1c4693897 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-11.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-11.json @@ -317,7 +317,7 @@ "updated_at": "2018-02-07T08:40:41Z", "closed_at": "2018-01-13T05:33:14Z", "author_association": "NONE", - "body": "This used to work, but a change in the last couple months seems to have broken this for us. \r\n\r\nWe have some Jenkins Pipeline code that does some automatic PR creation + merging for specific use cases. Initially when creating the PR, GitHub isn't always immediately able to act on it, so we would check if it were mergeable before actually attempting to merge:\r\n\r\n```\r\nGHPullRequest pull = repo.createPullRequest(\"Release $version\", \"master\", \"production\", body)\r\nwhile(!pull.getMergeable()) {\r\n echo \"PR not yet mergeable, retrying...\"\r\n}\r\npull.merge(\"Merged & released via [${env.BUILD_NUMBER}](${env.BUILD_URL})\", pull.getHead().getSha())\r\n```\r\n\r\nNow however, pull.getMergeable() never returns true if it returns false the first time it is called (which is basically every time), so it just sits in that loop, retrying. \r\n\r\nAgain, this only broke after we recently updated all of our plugins on our Jenkins instance, so it seems a recent change is causing this but I've been unable to identify what it might be in the recent history. " + "body": "This used to work, but a change in the last couple months seems to have broken this for us. \r\n\r\nWe have some Jenkins Pipeline code that does some automatic PR creation + merging for specific use cases. Initially when creating the PR, GitHub isn't always immediately able to act on it, so we would check if it were mergeable before actually attempting to merge:\r\n\r\n```\r\nGHPullRequest pull = repo.createPullRequest(\"Release $version\", \"main\", \"production\", body)\r\nwhile(!pull.getMergeable()) {\r\n echo \"PR not yet mergeable, retrying...\"\r\n}\r\npull.merge(\"Merged & released via [${env.BUILD_NUMBER}](${env.BUILD_URL})\", pull.getHead().getSha())\r\n```\r\n\r\nNow however, pull.getMergeable() never returns true if it returns false the first time it is called (which is basically every time), so it just sits in that loop, retrying. \r\n\r\nAgain, this only broke after we recently updated all of our plugins on our Jenkins instance, so it seems a recent change is causing this but I've been unable to identify what it might be in the recent history. " }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/398", @@ -575,22 +575,22 @@ "number": 393, "title": "64-bit id support", "user": { - "login": "Raimmaster", + "login": "Raimmain", "id": 6061123, "node_id": "MDQ6VXNlcjYwNjExMjM=", "avatar_url": "https://avatars3.githubusercontent.com/u/6061123?v=4", "gravatar_id": "", - "url": "https://api.github.com/users/Raimmaster", - "html_url": "https://github.com/Raimmaster", - "followers_url": "https://api.github.com/users/Raimmaster/followers", - "following_url": "https://api.github.com/users/Raimmaster/following{/other_user}", - "gists_url": "https://api.github.com/users/Raimmaster/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Raimmaster/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Raimmaster/subscriptions", - "organizations_url": "https://api.github.com/users/Raimmaster/orgs", - "repos_url": "https://api.github.com/users/Raimmaster/repos", - "events_url": "https://api.github.com/users/Raimmaster/events{/privacy}", - "received_events_url": "https://api.github.com/users/Raimmaster/received_events", + "url": "https://api.github.com/users/Raimmain", + "html_url": "https://github.com/Raimmain", + "followers_url": "https://api.github.com/users/Raimmain/followers", + "following_url": "https://api.github.com/users/Raimmain/following{/other_user}", + "gists_url": "https://api.github.com/users/Raimmain/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Raimmain/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Raimmain/subscriptions", + "organizations_url": "https://api.github.com/users/Raimmain/orgs", + "repos_url": "https://api.github.com/users/Raimmain/repos", + "events_url": "https://api.github.com/users/Raimmain/events{/privacy}", + "received_events_url": "https://api.github.com/users/Raimmain/received_events", "type": "User", "site_admin": false }, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-12.json index 77e35d88e..ea523753f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-12.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-12.json @@ -179,7 +179,7 @@ "updated_at": "2019-10-26T02:20:02Z", "closed_at": "2019-10-26T02:20:02Z", "author_association": "NONE", - "body": "I have a use case in which I get a commit id for a particular branch in a repository, but when I try to get the file content from that particular branch, I get the content for the same file from the master branch.\r\n\r\nHow to get a branch and get the file content from that branch only. Also, is it possible to get the branch and file content on the basis of commit id. Below is my code I use to get the file content\r\n\r\n\r\n`\r\n\r\n\r\n GHContent props = null;\r\n try {\r\n props = ghBranch.getOwner().getFileContent(\"props.json\");\r\n } catch (IOException e) {\r\n return Response.badRequest(\"Cannot find props.json at the root of project\");\r\n }\r\n\r\n CustomProps props = convertorService.getProperties(props);\r\n return Response.ok(cloud);`\r\n" + "body": "I have a use case in which I get a commit id for a particular branch in a repository, but when I try to get the file content from that particular branch, I get the content for the same file from the main branch.\r\n\r\nHow to get a branch and get the file content from that branch only. Also, is it possible to get the branch and file content on the basis of commit id. Below is my code I use to get the file content\r\n\r\n\r\n`\r\n\r\n\r\n GHContent props = null;\r\n try {\r\n props = ghBranch.getOwner().getFileContent(\"props.json\");\r\n } catch (IOException e) {\r\n return Response.badRequest(\"Cannot find props.json at the root of project\");\r\n }\r\n\r\n CustomProps props = convertorService.getProperties(props);\r\n return Response.ok(cloud);`\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/370", @@ -223,7 +223,7 @@ "updated_at": "2019-11-07T22:56:39Z", "closed_at": "2019-11-07T22:56:39Z", "author_association": "NONE", - "body": "As of yesterday evening a jenkins job we have running using this repo has stopped working. We get a jackson deserialization error throwing a java IO exception here: https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java#L608\r\n\r\nIt also mentions something about: caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token\r\n at [Source: java.io.StringReader@5474ef58; line: 1, column: 4222] (through reference chain: org.kohsuke.github.GHRepository[\"homepage\"]))\r\n\r\nWe checked GHRepository homepage and this is a string but in our json from github homepage looks like:\r\n\"homepage\":{\"scheme\":\"http\",\"user\":null,\"password\":null,\"host\":\"xxxxx-xx.github.com\",\"port\":null,\"path\":\"/xxxx-xxxx/\",\"query\":null,\"fragment\":null}\r\n\r\nSo I think the issue is trying to put this object into a homepage string but we are not sure why this problem started suddenly. There have been no changes to the script we have.\r\n" + "body": "As of yesterday evening a jenkins job we have running using this repo has stopped working. We get a jackson deserialization error throwing a java IO exception here: https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java#L608\r\n\r\nIt also mentions something about: caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token\r\n at [Source: java.io.StringReader@5474ef58; line: 1, column: 4222] (through reference chain: org.kohsuke.github.GHRepository[\"homepage\"]))\r\n\r\nWe checked GHRepository homepage and this is a string but in our json from github homepage looks like:\r\n\"homepage\":{\"scheme\":\"http\",\"user\":null,\"password\":null,\"host\":\"xxxxx-xx.github.com\",\"port\":null,\"path\":\"/xxxx-xxxx/\",\"query\":null,\"fragment\":null}\r\n\r\nSo I think the issue is trying to put this object into a homepage string but we are not sure why this problem started suddenly. There have been no changes to the script we have.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/369", @@ -367,7 +367,7 @@ "updated_at": "2017-07-28T17:36:12Z", "closed_at": "2017-07-28T17:35:59Z", "author_association": "NONE", - "body": "```\r\nGHPullRequest pull = repo.createPullRequest(\"Release $version\", \"master\", \"production\", body)\r\nwhile(!pull.getMergeable()) {\r\n println \"PR not yet mergeable, retrying...\"\r\n sleep 2\r\n}\r\npull.merge(\"Merged via Jenkins\", pull.getHead().getSha())\r\n```\r\n\r\nThe `pull.merge(...)` seemingly results in a no-op. No error. No merge. \r\n\r\nGenerally it's not immediately mergeable via `pull.getMergeable()` and it must pause a moment before that passes. But even accounting for that, I still get nothing. " + "body": "```\r\nGHPullRequest pull = repo.createPullRequest(\"Release $version\", \"main\", \"production\", body)\r\nwhile(!pull.getMergeable()) {\r\n println \"PR not yet mergeable, retrying...\"\r\n sleep 2\r\n}\r\npull.merge(\"Merged via Jenkins\", pull.getHead().getSha())\r\n```\r\n\r\nThe `pull.merge(...)` seemingly results in a no-op. No error. No merge. \r\n\r\nGenerally it's not immediately mergeable via `pull.getMergeable()` and it must pause a moment before that passes. But even accounting for that, I still get nothing. " }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/366", @@ -1357,7 +1357,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/343.diff", "patch_url": "https://github.com/hub4j/github-api/pull/343.patch" }, - "body": "I already add the latest release, so please add to master and update version so that I can use in my project\r\nFix #341 \r\n\r\nPS I don't know how to push my fixed module to the maven server so, please. @emlagowski \r\n\r\n\r\nThank you" + "body": "I already add the latest release, so please add to main and update version so that I can use in my project\r\nFix #341 \r\n\r\nPS I don't know how to push my fixed module to the maven server so, please. @emlagowski \r\n\r\n\r\nThank you" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/342", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-13.json index 6c3c463a6..ba313c60c 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-13.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-13.json @@ -291,7 +291,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/336.diff", "patch_url": "https://github.com/hub4j/github-api/pull/336.patch" }, - "body": "Correct namespace\r\n\r\nFile: https://github.com/square/okhttp/blob/master/okhttp-urlconnection/src/main/java/okhttp3/OkUrlFactory.java\r\n\r\nFixes #335" + "body": "Correct namespace\r\n\r\nFile: https://github.com/square/okhttp/blob/main/okhttp-urlconnection/src/main/java/okhttp3/OkUrlFactory.java\r\n\r\nFixes #335" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/335", @@ -667,7 +667,7 @@ "updated_at": "2017-01-08T18:45:12Z", "closed_at": "2017-01-08T18:45:12Z", "author_association": "NONE", - "body": "Executing github.getRepository(\"user/repo\").createWebHook(new URL(\"someurl...\"));\r\nWebhook was created but a exception is throwed:\r\n\r\n2017-01-05T15:17:11.974971+00:00 app[web.1]: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'payload': was expecting ('true', 'false' or 'null')\r\n2017-01-05T15:17:11.975129+00:00 app[web.1]: at [Source: payload=%7B%22zen%22%3A%22Non-blocking+is+better+than+blocking.%22%2C%22hook_id%22%3A11405663%2C%22hook%22%3A%7B%22type%22%3A%22Repository%22%2C%22id%22%3A11405663%2C%22name%22%3A%22web%22%2C%22active%22%3Atrue%2C%22events%22%3A%5B%22push%22%5D%2C%22config%22%3A%7B%22url%22%3A%22https%3A%2F%2Fmorning-crag-16002.herokuapp.com%2Fapplication%2Fgithub%2Fwebhooks%22%7D%2C%22updated_at%22%3A%222017-01-05T15%3A17%3A11Z%22%2C%22created_at%22%3A%222017-01-05T15%3A17%3A11Z%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%22%2C%22test_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%2Ftest%22%2C%22ping_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%2Fpings%22%2C%22last_response%22%3A%7B%22code%22%3Anull%2C%22status%22%3A%22unused%22%2C%22message%22%3Anull%7D%7D%2C%22repository%22%3A%7B%22id%22%3A77337343%2C%22name%22%3A%22fflib-apex-common%22%2C%22full_name%22%3A%22dieffrei%2Ffflib-apex-common%22%2C%22owner%22%3A%7B%22login%22%3A%22dieffrei%22%2C%22id%22%3A3090010%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F3090010%3Fv%3D3%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22private%22%3Afalse%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common%22%2C%22description%22%3A%22Common+Apex+Library+supporting+Apex+Enterprise+Patterns+and+much+more%21%22%2C%22fork%22%3Atrue%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fdeployments%22%2C%22created_at%22%3A%222016-12-25T18%3A07%3A36Z%22%2C%22updated_at%22%3A%222016-12-25T18%3A07%3A39Z%22%2C%22pushed_at%22%3A%222016-12-26T12%3A28%3A45Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common.git%22%2C%22ssh_url%22%3A%22git%40github.com%3Adieffrei%2Ffflib-apex-common.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common%22%2C%22homepage%22%3A%22%22%2C%22size%22%3A19892%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Apex%22%2C%22has_issues%22%3Afalse%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Afalse%2C%22forks_count%22%3A0%2C%22mirror_url%22%3Anull%2C%22open_issues_count%22%3A1%2C%22forks%22%3A0%2C%22open_issues%22%3A1%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%7D%2C%22sender%22%3A%7B%22login%22%3A%22dieffrei%22%2C%22id%22%3A3090010%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F3090010%3Fv%3D3%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D; line: 1, column: 8]\r\n2017-01-05T15:17:11.975376+00:00 app[web.1]: \tat com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702)\r\n2017-01-05T15:17:11.975497+00:00 app[web.1]: \tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558)\r\n2017-01-05T15:17:11.975595+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2836)\r\n2017-01-05T15:17:11.975651+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1899)\r\n2017-01-05T15:17:11.975717+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:749)\r\n2017-01-05T15:17:11.975791+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3825)\r\n2017-01-05T15:17:11.975843+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3774)\r\n2017-01-05T15:17:11.975926+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2833)\r\n2017-01-05T15:17:11.975981+00:00 app[web.1]: \tat com.heroku.devcenter.GithubWebhookController.greeting(GithubWebhookController.java:26)\r\n2017-01-05T15:17:11.976065+00:00 app[web.1]: \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n2017-01-05T15:17:11.976126+00:00 app[web.1]: \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n2017-01-05T15:17:11.976184+00:00 app[web.1]: \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n2017-01-05T15:17:11.976265+00:00 app[web.1]: \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n2017-01-05T15:17:11.976337+00:00 app[web.1]: \tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220)\r\n2017-01-05T15:17:11.976422+00:00 app[web.1]: \tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134)\r\n2017-01-05T15:17:11.976483+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116)\r\n2017-01-05T15:17:11.976537+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)\r\n2017-01-05T15:17:11.976623+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)\r\n2017-01-05T15:17:11.976688+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\r\n2017-01-05T15:17:11.976787+00:00 app[web.1]: \tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)\r\n2017-01-05T15:17:11.976853+00:00 app[web.1]: \tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)\r\n2017-01-05T15:17:11.976957+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)\r\n2017-01-05T15:17:11.977108+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)\r\n2017-01-05T15:17:11.977153+00:00 app[web.1]: \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:646)\r\n2017-01-05T15:17:11.977205+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)\r\n2017-01-05T15:17:11.977311+00:00 app[web.1]: \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:727)\r\n2017-01-05T15:17:11.977361+00:00 app[web.1]: \tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\r\n2017-01-05T15:17:11.977449+00:00 app[web.1]: \tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n2017-01-05T15:17:11.977504+00:00 app[web.1]: \tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n2017-01-05T15:17:11.977592+00:00 app[web.1]: \tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n2017-01-05T15:17:11.977659+00:00 app[web.1]: \tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)\r\n2017-01-05T15:17:11.977706+00:00 app[web.1]: \tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\r\n2017-01-05T15:17:11.977792+00:00 app[web.1]: \tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n2017-01-05T15:17:11.977836+00:00 app[web.1]: \tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n2017-01-05T15:17:11.977927+00:00 app[web.1]: \tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)\r\n2017-01-05T15:17:11.977984+00:00 app[web.1]: \tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)\r\n2017-01-05T15:17:11.978051+00:00 app[web.1]: \tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)\r\n2017-01-05T15:17:11.978136+00:00 app[web.1]: \tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)\r\n2017-01-05T15:17:11.978289+00:00 app[web.1]: \tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)\r\n2017-01-05T15:17:11.978353+00:00 app[web.1]: \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n2017-01-05T15:17:11.978551+00:00 app[web.1]: \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n2017-01-05T15:17:11.978708+00:00 app[web.1]: \tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n2017-01-05T15:17:11.978863+00:00 app[web.1]: \tat java.lang.Thread.run(Thread.java:745)" + "body": "Executing github.getRepository(\"user/repo\").createWebHook(new URL(\"someurl...\"));\r\nWebhook was created but a exception is throwed:\r\n\r\n2017-01-05T15:17:11.974971+00:00 app[web.1]: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'payload': was expecting ('true', 'false' or 'null')\r\n2017-01-05T15:17:11.975129+00:00 app[web.1]: at [Source: payload=%7B%22zen%22%3A%22Non-blocking+is+better+than+blocking.%22%2C%22hook_id%22%3A11405663%2C%22hook%22%3A%7B%22type%22%3A%22Repository%22%2C%22id%22%3A11405663%2C%22name%22%3A%22web%22%2C%22active%22%3Atrue%2C%22events%22%3A%5B%22push%22%5D%2C%22config%22%3A%7B%22url%22%3A%22https%3A%2F%2Fmorning-crag-16002.herokuapp.com%2Fapplication%2Fgithub%2Fwebhooks%22%7D%2C%22updated_at%22%3A%222017-01-05T15%3A17%3A11Z%22%2C%22created_at%22%3A%222017-01-05T15%3A17%3A11Z%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%22%2C%22test_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%2Ftest%22%2C%22ping_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%2F11405663%2Fpings%22%2C%22last_response%22%3A%7B%22code%22%3Anull%2C%22status%22%3A%22unused%22%2C%22message%22%3Anull%7D%7D%2C%22repository%22%3A%7B%22id%22%3A77337343%2C%22name%22%3A%22fflib-apex-common%22%2C%22full_name%22%3A%22dieffrei%2Ffflib-apex-common%22%2C%22owner%22%3A%7B%22login%22%3A%22dieffrei%22%2C%22id%22%3A3090010%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F3090010%3Fv%3D3%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22private%22%3Afalse%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common%22%2C%22description%22%3A%22Common+Apex+Library+supporting+Apex+Enterprise+Patterns+and+much+more%21%22%2C%22fork%22%3Atrue%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Fdieffrei%2Ffflib-apex-common%2Fdeployments%22%2C%22created_at%22%3A%222016-12-25T18%3A07%3A36Z%22%2C%22updated_at%22%3A%222016-12-25T18%3A07%3A39Z%22%2C%22pushed_at%22%3A%222016-12-26T12%3A28%3A45Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common.git%22%2C%22ssh_url%22%3A%22git%40github.com%3Adieffrei%2Ffflib-apex-common.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%2Ffflib-apex-common%22%2C%22homepage%22%3A%22%22%2C%22size%22%3A19892%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Apex%22%2C%22has_issues%22%3Afalse%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Afalse%2C%22forks_count%22%3A0%2C%22mirror_url%22%3Anull%2C%22open_issues_count%22%3A1%2C%22forks%22%3A0%2C%22open_issues%22%3A1%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22main%22%7D%2C%22sender%22%3A%7B%22login%22%3A%22dieffrei%22%2C%22id%22%3A3090010%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F3090010%3Fv%3D3%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdieffrei%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Fdieffrei%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D; line: 1, column: 8]\r\n2017-01-05T15:17:11.975376+00:00 app[web.1]: \tat com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702)\r\n2017-01-05T15:17:11.975497+00:00 app[web.1]: \tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558)\r\n2017-01-05T15:17:11.975595+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2836)\r\n2017-01-05T15:17:11.975651+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1899)\r\n2017-01-05T15:17:11.975717+00:00 app[web.1]: \tat com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:749)\r\n2017-01-05T15:17:11.975791+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3825)\r\n2017-01-05T15:17:11.975843+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3774)\r\n2017-01-05T15:17:11.975926+00:00 app[web.1]: \tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2833)\r\n2017-01-05T15:17:11.975981+00:00 app[web.1]: \tat com.heroku.devcenter.GithubWebhookController.greeting(GithubWebhookController.java:26)\r\n2017-01-05T15:17:11.976065+00:00 app[web.1]: \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n2017-01-05T15:17:11.976126+00:00 app[web.1]: \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n2017-01-05T15:17:11.976184+00:00 app[web.1]: \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n2017-01-05T15:17:11.976265+00:00 app[web.1]: \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n2017-01-05T15:17:11.976337+00:00 app[web.1]: \tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220)\r\n2017-01-05T15:17:11.976422+00:00 app[web.1]: \tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134)\r\n2017-01-05T15:17:11.976483+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116)\r\n2017-01-05T15:17:11.976537+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)\r\n2017-01-05T15:17:11.976623+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)\r\n2017-01-05T15:17:11.976688+00:00 app[web.1]: \tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\r\n2017-01-05T15:17:11.976787+00:00 app[web.1]: \tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)\r\n2017-01-05T15:17:11.976853+00:00 app[web.1]: \tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)\r\n2017-01-05T15:17:11.976957+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)\r\n2017-01-05T15:17:11.977108+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)\r\n2017-01-05T15:17:11.977153+00:00 app[web.1]: \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:646)\r\n2017-01-05T15:17:11.977205+00:00 app[web.1]: \tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)\r\n2017-01-05T15:17:11.977311+00:00 app[web.1]: \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:727)\r\n2017-01-05T15:17:11.977361+00:00 app[web.1]: \tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\r\n2017-01-05T15:17:11.977449+00:00 app[web.1]: \tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n2017-01-05T15:17:11.977504+00:00 app[web.1]: \tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n2017-01-05T15:17:11.977592+00:00 app[web.1]: \tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n2017-01-05T15:17:11.977659+00:00 app[web.1]: \tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)\r\n2017-01-05T15:17:11.977706+00:00 app[web.1]: \tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\r\n2017-01-05T15:17:11.977792+00:00 app[web.1]: \tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n2017-01-05T15:17:11.977836+00:00 app[web.1]: \tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n2017-01-05T15:17:11.977927+00:00 app[web.1]: \tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)\r\n2017-01-05T15:17:11.977984+00:00 app[web.1]: \tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)\r\n2017-01-05T15:17:11.978051+00:00 app[web.1]: \tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)\r\n2017-01-05T15:17:11.978136+00:00 app[web.1]: \tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)\r\n2017-01-05T15:17:11.978289+00:00 app[web.1]: \tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)\r\n2017-01-05T15:17:11.978353+00:00 app[web.1]: \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n2017-01-05T15:17:11.978551+00:00 app[web.1]: \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n2017-01-05T15:17:11.978708+00:00 app[web.1]: \tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n2017-01-05T15:17:11.978863+00:00 app[web.1]: \tat java.lang.Thread.run(Thread.java:745)" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/327", @@ -761,7 +761,7 @@ "updated_at": "2017-09-09T19:17:52Z", "closed_at": "2017-09-09T19:17:52Z", "author_association": "NONE", - "body": "**Note:** This is part of a developer preview, so it might be too early to implement.\r\n\r\nAccording the version 3 of the github API, new merge methods (`squash` and `rebase`) have been added, `merge` being the default: https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button\r\n\r\nIn [GHPullRequest#L294](https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHPullRequest.java#L294), `merge_method` could be added to support different merge methods. Either the `merge` method could be overloaded to support different merge methods or methods for squashing and rebasing could be added." + "body": "**Note:** This is part of a developer preview, so it might be too early to implement.\r\n\r\nAccording the version 3 of the github API, new merge methods (`squash` and `rebase`) have been added, `merge` being the default: https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button\r\n\r\nIn [GHPullRequest#L294](https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHPullRequest.java#L294), `merge_method` could be added to support different merge methods. Either the `merge` method could be overloaded to support different merge methods or methods for squashing and rebasing could be added." }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/325", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-14.json index 36560111a..cdd712374 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-14.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-14.json @@ -1107,7 +1107,7 @@ "updated_at": "2016-07-19T21:44:19Z", "closed_at": "2016-07-19T15:00:30Z", "author_association": "NONE", - "body": "Hello,\n\nI have built a tool using your API, which has been working for many months now, but suddenly fails due to a `FileNotFoundException` thrown by `getInputStrem` in OKHttp. When I paste the url it is trying to download, into my browser, it works perfectly fine. I can see the file contents. This is very strange. Do you have any clue about this?\n\nStack trace:\n\n```\ntables [ERROR] [07/12/2016 12:15:41.086] [TableService-akka.actor.default-dispatcher-8] [akka://TableService/user/simple-service-actor] Error during processing of request HttpRequest(POST,http://localhost:8084/api/metadata/list,List(Host: localhost:8084, Connection: keep-alive, Content-Length: 59, Origin: http://localhost:8084, X-Requested-With: XMLHttpRequest, User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 OPR/38.0.2220.41, Content-Type: application/json, Referer: http://localhost:8084/, Accept-Encoding: gzip, deflate, lzma, Accept-Language: en-US, en;q=0.8, Cookie: tablestore-data-git=eyJhY2Nlc3NUb2tlbiI6ImYyZDI1OTViNGQ4OTMwMjIwMGI2YjE2MjNhNzQ3ZjQ3MzI1ZWJkOWMifQ==; tablestore-data-git2=eyJhY2Nlc3NUb2tlbiI6ImZlYmMxYTRlYjA1MmI4OWJlNDQwOWFmODk3OGNkYWFhYWY1OWZlNWEifQ==),HttpEntity(application/json,{\"repo\":\"aristo-tables\",\"fork\":\"allenai\",\"branch\":\"master\"}),HTTP/1.1)\ntables java.io.FileNotFoundException: 400: Invalid request\ntables \ntables at org.kohsuke.github.Requester.handleApiError(Requester.java:527)\ntables at org.kohsuke.github.Requester.asStream(Requester.java:293)\ntables at org.kohsuke.github.GHContent.read(GHContent.java:118)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getCsvFileLocal$1.apply(GitHubUtil.scala:420)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getCsvFileLocal$1.apply(GitHubUtil.scala:417)\ntables at scala.Option.foreach(Option.scala:257)\ntables at org.allenai.ari.tables.GitHubUtil.getCsvFileLocal(GitHubUtil.scala:417)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$7.apply(GitHubUtil.scala:239)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$7.apply(GitHubUtil.scala:236)\ntables at scala.collection.parallel.mutable.ParArray$ParArrayIterator.flatmap2combiner(ParArray.scala:417)\ntables at scala.collection.parallel.ParIterableLike$FlatMap.leaf(ParIterableLike.scala:1072)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51)\ntables at scala.collection.parallel.ParIterableLike$FlatMap.tryLeaf(ParIterableLike.scala:1068)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.internal(Tasks.scala:159)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.internal(Tasks.scala:443)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:149)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443)\ntables at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)\ntables at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)\ntables at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:378)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:443)\ntables at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:426)\ntables at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:56)\ntables at scala.collection.parallel.ExecutionContextTasks$class.executeAndWaitResult(Tasks.scala:558)\ntables at scala.collection.parallel.ExecutionContextTaskSupport.executeAndWaitResult(TaskSupport.scala:80)\ntables at scala.collection.parallel.ParIterableLike$ResultMapping.leaf(ParIterableLike.scala:958)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51)\ntables at scala.collection.parallel.ParIterableLike$ResultMapping.tryLeaf(ParIterableLike.scala:953)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:152)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443)\ntables at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)\ntables at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)\ntables at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:378)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:443)\ntables at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:426)\ntables at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:56)\ntables at scala.collection.parallel.ExecutionContextTasks$class.executeAndWaitResult(Tasks.scala:558)\ntables at scala.collection.parallel.ExecutionContextTaskSupport.executeAndWaitResult(TaskSupport.scala:80)\ntables at scala.collection.parallel.ParIterableLike$class.flatMap(ParIterableLike.scala:513)\ntables at scala.collection.parallel.mutable.ParArray.flatMap(ParArray.scala:56)\ntables at org.allenai.ari.tables.GitHubUtil.org$allenai$ari$tables$GitHubUtil$$getTableMetadata(GitHubUtil.scala:236)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getTableMetadata$2.apply(GitHubUtil.scala:229)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getTableMetadata$2.apply(GitHubUtil.scala:229)\ntables at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)\ntables at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)\ntables at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)\ntables at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\ntables at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)\ntables at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)\ntables at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:399)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\ntables at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\ntables at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\ntables Caused by: java.io.FileNotFoundException: https://raw.githubusercontent.com/allenai/aristo-tables/master/tables/abstract_concrete/abstract_concrete.csv?token=AFXsrivOTIoDru9Htw9aNTJbprmE5m0Gks5XhUHfwA%3D%3D\ntables at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:228)\ntables at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)\ntables at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)\ntables at org.kohsuke.github.Requester.asStream(Requester.java:291)\ntables ... 66 more\n```\n\nYour help is greatly appreciated,\nSumithra\n" + "body": "Hello,\n\nI have built a tool using your API, which has been working for many months now, but suddenly fails due to a `FileNotFoundException` thrown by `getInputStrem` in OKHttp. When I paste the url it is trying to download, into my browser, it works perfectly fine. I can see the file contents. This is very strange. Do you have any clue about this?\n\nStack trace:\n\n```\ntables [ERROR] [07/12/2016 12:15:41.086] [TableService-akka.actor.default-dispatcher-8] [akka://TableService/user/simple-service-actor] Error during processing of request HttpRequest(POST,http://localhost:8084/api/metadata/list,List(Host: localhost:8084, Connection: keep-alive, Content-Length: 59, Origin: http://localhost:8084, X-Requested-With: XMLHttpRequest, User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 OPR/38.0.2220.41, Content-Type: application/json, Referer: http://localhost:8084/, Accept-Encoding: gzip, deflate, lzma, Accept-Language: en-US, en;q=0.8, Cookie: tablestore-data-git=eyJhY2Nlc3NUb2tlbiI6ImYyZDI1OTViNGQ4OTMwMjIwMGI2YjE2MjNhNzQ3ZjQ3MzI1ZWJkOWMifQ==; tablestore-data-git2=eyJhY2Nlc3NUb2tlbiI6ImZlYmMxYTRlYjA1MmI4OWJlNDQwOWFmODk3OGNkYWFhYWY1OWZlNWEifQ==),HttpEntity(application/json,{\"repo\":\"aristo-tables\",\"fork\":\"allenai\",\"branch\":\"main\"}),HTTP/1.1)\ntables java.io.FileNotFoundException: 400: Invalid request\ntables \ntables at org.kohsuke.github.Requester.handleApiError(Requester.java:527)\ntables at org.kohsuke.github.Requester.asStream(Requester.java:293)\ntables at org.kohsuke.github.GHContent.read(GHContent.java:118)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getCsvFileLocal$1.apply(GitHubUtil.scala:420)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getCsvFileLocal$1.apply(GitHubUtil.scala:417)\ntables at scala.Option.foreach(Option.scala:257)\ntables at org.allenai.ari.tables.GitHubUtil.getCsvFileLocal(GitHubUtil.scala:417)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$7.apply(GitHubUtil.scala:239)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$7.apply(GitHubUtil.scala:236)\ntables at scala.collection.parallel.mutable.ParArray$ParArrayIterator.flatmap2combiner(ParArray.scala:417)\ntables at scala.collection.parallel.ParIterableLike$FlatMap.leaf(ParIterableLike.scala:1072)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51)\ntables at scala.collection.parallel.ParIterableLike$FlatMap.tryLeaf(ParIterableLike.scala:1068)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.internal(Tasks.scala:159)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.internal(Tasks.scala:443)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:149)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443)\ntables at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)\ntables at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)\ntables at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:378)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:443)\ntables at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:426)\ntables at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:56)\ntables at scala.collection.parallel.ExecutionContextTasks$class.executeAndWaitResult(Tasks.scala:558)\ntables at scala.collection.parallel.ExecutionContextTaskSupport.executeAndWaitResult(TaskSupport.scala:80)\ntables at scala.collection.parallel.ParIterableLike$ResultMapping.leaf(ParIterableLike.scala:958)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48)\ntables at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51)\ntables at scala.collection.parallel.ParIterableLike$ResultMapping.tryLeaf(ParIterableLike.scala:953)\ntables at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:152)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443)\ntables at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)\ntables at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)\ntables at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:378)\ntables at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:443)\ntables at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:426)\ntables at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:56)\ntables at scala.collection.parallel.ExecutionContextTasks$class.executeAndWaitResult(Tasks.scala:558)\ntables at scala.collection.parallel.ExecutionContextTaskSupport.executeAndWaitResult(TaskSupport.scala:80)\ntables at scala.collection.parallel.ParIterableLike$class.flatMap(ParIterableLike.scala:513)\ntables at scala.collection.parallel.mutable.ParArray.flatMap(ParArray.scala:56)\ntables at org.allenai.ari.tables.GitHubUtil.org$allenai$ari$tables$GitHubUtil$$getTableMetadata(GitHubUtil.scala:236)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getTableMetadata$2.apply(GitHubUtil.scala:229)\ntables at org.allenai.ari.tables.GitHubUtil$$anonfun$getTableMetadata$2.apply(GitHubUtil.scala:229)\ntables at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)\ntables at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)\ntables at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)\ntables at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\ntables at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)\ntables at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)\ntables at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)\ntables at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:399)\ntables at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\ntables at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\ntables at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\ntables at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\ntables Caused by: java.io.FileNotFoundException: https://raw.githubusercontent.com/allenai/aristo-tables/main/tables/abstract_concrete/abstract_concrete.csv?token=AFXsrivOTIoDru9Htw9aNTJbprmE5m0Gks5XhUHfwA%3D%3D\ntables at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:228)\ntables at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)\ntables at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)\ntables at org.kohsuke.github.Requester.asStream(Requester.java:291)\ntables ... 66 more\n```\n\nYour help is greatly appreciated,\nSumithra\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/287", @@ -1195,7 +1195,7 @@ "updated_at": "2016-08-09T01:25:00Z", "closed_at": "2016-08-06T04:10:32Z", "author_association": "NONE", - "body": "I'm researching deeper, but with 1.72 I get:\n\nremaining calls 4364\nabout to look up repo EVCache\n2016-06-28 21:28:20 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314\n2016-06-28 21:28:20 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0\n2016-06-28 21:28:22 DEBUG GithubAccess:107 - daysSinceLastCommit = 0\n2016-06-28 21:28:23 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)\n2016-06-28 21:28:24 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days\n2016-06-28 21:28:24 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days\n2016-06-28 21:28:24 DEBUG GithubAccess:96 - repo json = {\"asOfISO\":\"2016-06-29T04:27:43Z\",\"asOfYYYYMMDD\":\"2016-06-29\",\"repo_name\":\"EVCache\",\"public\":true,\"osslifecycle\":\"UNKNOWN\",\"forks\":82,\"stars\":314,\"numContributors\":16,\"issues\":{\"openCount\":0,\"closedCount\":14,\"avgTimeToCloseInDays\":357},\"pullRequests\":{\"openCount\":0,\"closedCount\":13,\"avgTimeToCloseInDays\":185},\"commits\":{\"daysSinceLastCommit\":0},\"contributors\":[\"smadappa\",\"senugula\",\"jkschneider\",\"vuzilla\",\"ScottMansfield\",\"rspieldenner\",\"elandau\",\"gitter-badger\",\"rdegnan\",\"nadavc\",\"aspyker\",\"trigan-d\",\"pauloricardomg\",\"kedargsm\",\"quidryan\",\"Randgalt\"]}\nremaining calls 4341\n\nresulting in 23 API calls\n\nwith 1.76, I get:\n\nremaining calls 4640\nabout to look up repo EVCache\n2016-06-28 21:22:22 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314\n2016-06-28 21:22:22 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0\n2016-06-28 21:23:01 DEBUG GithubAccess:107 - daysSinceLastCommit = 0\n2016-06-28 21:23:03 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)\n2016-06-28 21:23:04 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days\n2016-06-28 21:23:04 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days\n2016-06-28 21:23:04 DEBUG GithubAccess:96 - repo json = {\"asOfISO\":\"2016-06-29T04:20:26Z\",\"asOfYYYYMMDD\":\"2016-06-29\",\"repo_name\":\"EVCache\",\"public\":true,\"osslifecycle\":\"UNKNOWN\",\"forks\":82,\"stars\":314,\"numContributors\":16,\"issues\":{\"openCount\":0,\"closedCount\":14,\"avgTimeToCloseInDays\":357},\"pullRequests\":{\"openCount\":0,\"closedCount\":13,\"avgTimeToCloseInDays\":185},\"commits\":{\"daysSinceLastCommit\":0},\"contributors\":[\"smadappa\",\"senugula\",\"jkschneider\",\"vuzilla\",\"ScottMansfield\",\"rspieldenner\",\"elandau\",\"gitter-badger\",\"rdegnan\",\"nadavc\",\"aspyker\",\"trigan-d\",\"pauloricardomg\",\"kedargsm\",\"quidryan\",\"Randgalt\"]}\nremaining calls 4409\n\nresulting in 231 API calls\n\nThis is running this code:\n\nhttps://github.com/Netflix/osstracker/blob/master/osstracker-scraper/src/main/scala/com/netflix/oss/tools/osstrackerscraper/GithubAccess.scala#L52\n" + "body": "I'm researching deeper, but with 1.72 I get:\n\nremaining calls 4364\nabout to look up repo EVCache\n2016-06-28 21:28:20 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314\n2016-06-28 21:28:20 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0\n2016-06-28 21:28:22 DEBUG GithubAccess:107 - daysSinceLastCommit = 0\n2016-06-28 21:28:23 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)\n2016-06-28 21:28:24 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days\n2016-06-28 21:28:24 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days\n2016-06-28 21:28:24 DEBUG GithubAccess:96 - repo json = {\"asOfISO\":\"2016-06-29T04:27:43Z\",\"asOfYYYYMMDD\":\"2016-06-29\",\"repo_name\":\"EVCache\",\"public\":true,\"osslifecycle\":\"UNKNOWN\",\"forks\":82,\"stars\":314,\"numContributors\":16,\"issues\":{\"openCount\":0,\"closedCount\":14,\"avgTimeToCloseInDays\":357},\"pullRequests\":{\"openCount\":0,\"closedCount\":13,\"avgTimeToCloseInDays\":185},\"commits\":{\"daysSinceLastCommit\":0},\"contributors\":[\"smadappa\",\"senugula\",\"jkschneider\",\"vuzilla\",\"ScottMansfield\",\"rspieldenner\",\"elandau\",\"gitter-badger\",\"rdegnan\",\"nadavc\",\"aspyker\",\"trigan-d\",\"pauloricardomg\",\"kedargsm\",\"quidryan\",\"Randgalt\"]}\nremaining calls 4341\n\nresulting in 23 API calls\n\nwith 1.76, I get:\n\nremaining calls 4640\nabout to look up repo EVCache\n2016-06-28 21:22:22 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314\n2016-06-28 21:22:22 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0\n2016-06-28 21:23:01 DEBUG GithubAccess:107 - daysSinceLastCommit = 0\n2016-06-28 21:23:03 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)\n2016-06-28 21:23:04 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days\n2016-06-28 21:23:04 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days\n2016-06-28 21:23:04 DEBUG GithubAccess:96 - repo json = {\"asOfISO\":\"2016-06-29T04:20:26Z\",\"asOfYYYYMMDD\":\"2016-06-29\",\"repo_name\":\"EVCache\",\"public\":true,\"osslifecycle\":\"UNKNOWN\",\"forks\":82,\"stars\":314,\"numContributors\":16,\"issues\":{\"openCount\":0,\"closedCount\":14,\"avgTimeToCloseInDays\":357},\"pullRequests\":{\"openCount\":0,\"closedCount\":13,\"avgTimeToCloseInDays\":185},\"commits\":{\"daysSinceLastCommit\":0},\"contributors\":[\"smadappa\",\"senugula\",\"jkschneider\",\"vuzilla\",\"ScottMansfield\",\"rspieldenner\",\"elandau\",\"gitter-badger\",\"rdegnan\",\"nadavc\",\"aspyker\",\"trigan-d\",\"pauloricardomg\",\"kedargsm\",\"quidryan\",\"Randgalt\"]}\nremaining calls 4409\n\nresulting in 231 API calls\n\nThis is running this code:\n\nhttps://github.com/Netflix/osstracker/blob/main/osstracker-scraper/src/main/scala/com/netflix/oss/tools/osstrackerscraper/GithubAccess.scala#L52\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/285", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-15.json index ccc9a4e0d..e4df27112 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-15.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-15.json @@ -467,7 +467,7 @@ "updated_at": "2016-06-03T05:08:19Z", "closed_at": "2016-06-03T05:08:19Z", "author_association": "NONE", - "body": "We've run into an issue when GitHub.getRateLimit hangs the thread.\nHere is the thread stack trace:\n\n```\n\"jenkins.util.Timer [#4]\" Id=48 Group=main RUNNABLE (in native)\n at java.net.SocketInputStream.socketRead0(Native Method)\n at java.net.SocketInputStream.read(SocketInputStream.java:152)\n at java.net.SocketInputStream.read(SocketInputStream.java:122)\n at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)\n at sun.security.ssl.InputRecord.read(InputRecord.java:480)\n at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)\n - locked java.lang.Object@4be77f76\n at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:903)\n at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)\n - locked sun.security.ssl.AppInputStream@5e6fb401\n at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)\n at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)\n at java.io.BufferedInputStream.read(BufferedInputStream.java:334)\n - locked java.io.BufferedInputStream@7792de16\n at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:690)\n at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)\n at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1325)\n - locked sun.net.www.protocol.https.DelegateHttpsURLConnection@6db28b13\n at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)\n at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)\n at org.kohsuke.github.Requester.parse(Requester.java:454)\n at org.kohsuke.github.Requester._to(Requester.java:227)\n at org.kohsuke.github.Requester.to(Requester.java:194)\n at org.kohsuke.github.GitHub.getRateLimit(GitHub.java:245)\n at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:66)\n at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:88)\n at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:119)\n at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:219)\n at hudson.triggers.Trigger.checkTriggers(Trigger.java:272)\n at hudson.triggers.Trigger$Cron.doRun(Trigger.java:221)\n at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)\n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n at java.lang.Thread.run(Thread.java:745)\n\n Number of locked synchronizers = 1\n - java.util.concurrent.ThreadPoolExecutor$Worker@6b1824c6\n```\n\nThere is a possibility that https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java#L486 will never return an aswer.\n\nI think, `uc.setTimeout(60 * 1000);` here https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java#L453 should fix the problem.\n" + "body": "We've run into an issue when GitHub.getRateLimit hangs the thread.\nHere is the thread stack trace:\n\n```\n\"jenkins.util.Timer [#4]\" Id=48 Group=main RUNNABLE (in native)\n at java.net.SocketInputStream.socketRead0(Native Method)\n at java.net.SocketInputStream.read(SocketInputStream.java:152)\n at java.net.SocketInputStream.read(SocketInputStream.java:122)\n at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)\n at sun.security.ssl.InputRecord.read(InputRecord.java:480)\n at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)\n - locked java.lang.Object@4be77f76\n at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:903)\n at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)\n - locked sun.security.ssl.AppInputStream@5e6fb401\n at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)\n at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)\n at java.io.BufferedInputStream.read(BufferedInputStream.java:334)\n - locked java.io.BufferedInputStream@7792de16\n at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:690)\n at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)\n at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1325)\n - locked sun.net.www.protocol.https.DelegateHttpsURLConnection@6db28b13\n at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)\n at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)\n at org.kohsuke.github.Requester.parse(Requester.java:454)\n at org.kohsuke.github.Requester._to(Requester.java:227)\n at org.kohsuke.github.Requester.to(Requester.java:194)\n at org.kohsuke.github.GitHub.getRateLimit(GitHub.java:245)\n at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:66)\n at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:88)\n at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:119)\n at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:219)\n at hudson.triggers.Trigger.checkTriggers(Trigger.java:272)\n at hudson.triggers.Trigger$Cron.doRun(Trigger.java:221)\n at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)\n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n at java.lang.Thread.run(Thread.java:745)\n\n Number of locked synchronizers = 1\n - java.util.concurrent.ThreadPoolExecutor$Worker@6b1824c6\n```\n\nThere is a possibility that https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java#L486 will never return an aswer.\n\nI think, `uc.setTimeout(60 * 1000);` here https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java#L453 should fix the problem.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/270", @@ -743,7 +743,7 @@ "updated_at": "2016-06-03T06:50:17Z", "closed_at": "2016-06-03T06:50:17Z", "author_association": "NONE", - "body": "https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHRepository.java#L589\n\nThe \"forkTo\" method, however, does have some nice blocking in place.\n" + "body": "https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHRepository.java#L589\n\nThe \"forkTo\" method, however, does have some nice blocking in place.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/263", @@ -1013,7 +1013,7 @@ "updated_at": "2016-06-04T06:34:28Z", "closed_at": "2016-06-04T03:31:19Z", "author_association": "NONE", - "body": "Hi @kohsuke,\n\nI would appreciate your help on this.\n\nI have used the `HttpConnector` and have specified a cache directory in my server. I am using OAuth and it looks like my quota is 5000 requests, based on this sample cache file:\n\n```\nhttps://api.github.com/repos/allenai/aristo-tables/contents/tables/weather_terms?ref=master\nGET\n2\nAuthorization: token e381d0427927aef5e2858ac06b6cb01a34b0a603\nAccept-Encoding: gzip\nHTTP/1.1 200 OK\n30\nServer: GitHub.com\nDate: Thu, 10 Mar 2016 20:57:33 GMT\nContent-Type: application/json; charset=utf-8\nTransfer-Encoding: chunked\nStatus: 200 OK\n**X-RateLimit-Limit: 5000**\nX-RateLimit-Remaining: 4689\nX-RateLimit-Reset: 1457646852\nCache-Control: private, max-age=60, s-maxage=60\nVary: Accept, Authorization, Cookie, X-GitHub-OTP\nETag: W/\"c2dc693298f7806038e984d1ac857ffb\"\nLast-Modified: Tue, 08 Mar 2016 23:54:00 GMT\nX-OAuth-Scopes: read:repo_hook, repo\nX-Accepted-OAuth-Scopes:\nX-OAuth-Client-Id: 47355241bdf02ac9122d\nX-GitHub-Media-Type: github.v3; format=json\nAccess-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval\nAccess-Control-Allow-Origin: *\nContent-Security-Policy: default-src 'none'\nStrict-Transport-Security: max-age=31536000; includeSubdomains; preload\nX-Content-Type-Options: nosniff\nX-Frame-Options: deny\nX-XSS-Protection: 1; mode=block\nVary: Accept-Encoding\nX-Served-By: 01d096e6cfe28f8aea352e988c332cd3\nContent-Encoding: gzip\nX-GitHub-Request-Id: 36D5C9C0:101B5:A516A26:56E1DFBD\nOkHttp-Selected-Protocol: http/1.1\nOkHttp-Sent-Millis: 1457643453839\nOkHttp-Received-Millis: 1457643453959\n```\n\nMy client refreshes periodically to be in sync with the repo, however, even though there has been no change in the repo, I run out of API rate limit every now and then. I thought it should just be reading from the cache. \n\nThe following call gets executed on every refresh:\n\n```\n private def getTableDirs(\n oauthAccessToken: String,\n repo: GitRepoInfo,\n tableNamesFilter: Option[Seq[String]]\n ): Seq[GHContent] = {\n blocking {\n // Create a GitHubBuilder to be able to build a GitHub object with required\n // RateLimitHandler strategy and OAuth parameters. Instead of waiting, this will\n // throw an exception immediately if the request limit is exceeded.\n val gitHubBuilder =\n new GitHubBuilder()\n .withRateLimitHandler(RateLimitHandler.FAIL)\n .withOAuthToken(oauthAccessToken)\n .withConnector(\n new OkHttpConnector(\n new OkUrlFactory(\n new OkHttpClient().setCache(cache))))\n val github = gitHubBuilder.build()\n\n // Get the requested repo.\n val repoName = repo.fork + \"/\" + repo.repo\n val repository = github.getRepository(repoName)\n // Get all directories (expected to be Table directories) from the top level of the repo.\n val allTableDirs =\n repository.getDirectoryContent(\"tables\", repo.branch).asScala.filter(_.isDirectory)\n // If there is a filter, restrict returned table directories to that set, if not return all.\n tableNamesFilter match {\n case Some(filter) =>\n val tableSet = filter.map(_.toLowerCase).toSet\n allTableDirs.filter(d => tableSet.contains(d.getName.toLowerCase))\n case None =>\n allTableDirs\n }\n }\n }\n```\n\nFurther, there are other calls like `ghContent.read` -- is each of these a separate request to Git? Even so, I wouldn't think they would be called every time but just looked up from the cache.\n\nAny ideas?\n" + "body": "Hi @kohsuke,\n\nI would appreciate your help on this.\n\nI have used the `HttpConnector` and have specified a cache directory in my server. I am using OAuth and it looks like my quota is 5000 requests, based on this sample cache file:\n\n```\nhttps://api.github.com/repos/allenai/aristo-tables/contents/tables/weather_terms?ref=main\nGET\n2\nAuthorization: token e381d0427927aef5e2858ac06b6cb01a34b0a603\nAccept-Encoding: gzip\nHTTP/1.1 200 OK\n30\nServer: GitHub.com\nDate: Thu, 10 Mar 2016 20:57:33 GMT\nContent-Type: application/json; charset=utf-8\nTransfer-Encoding: chunked\nStatus: 200 OK\n**X-RateLimit-Limit: 5000**\nX-RateLimit-Remaining: 4689\nX-RateLimit-Reset: 1457646852\nCache-Control: private, max-age=60, s-maxage=60\nVary: Accept, Authorization, Cookie, X-GitHub-OTP\nETag: W/\"c2dc693298f7806038e984d1ac857ffb\"\nLast-Modified: Tue, 08 Mar 2016 23:54:00 GMT\nX-OAuth-Scopes: read:repo_hook, repo\nX-Accepted-OAuth-Scopes:\nX-OAuth-Client-Id: 47355241bdf02ac9122d\nX-GitHub-Media-Type: github.v3; format=json\nAccess-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval\nAccess-Control-Allow-Origin: *\nContent-Security-Policy: default-src 'none'\nStrict-Transport-Security: max-age=31536000; includeSubdomains; preload\nX-Content-Type-Options: nosniff\nX-Frame-Options: deny\nX-XSS-Protection: 1; mode=block\nVary: Accept-Encoding\nX-Served-By: 01d096e6cfe28f8aea352e988c332cd3\nContent-Encoding: gzip\nX-GitHub-Request-Id: 36D5C9C0:101B5:A516A26:56E1DFBD\nOkHttp-Selected-Protocol: http/1.1\nOkHttp-Sent-Millis: 1457643453839\nOkHttp-Received-Millis: 1457643453959\n```\n\nMy client refreshes periodically to be in sync with the repo, however, even though there has been no change in the repo, I run out of API rate limit every now and then. I thought it should just be reading from the cache. \n\nThe following call gets executed on every refresh:\n\n```\n private def getTableDirs(\n oauthAccessToken: String,\n repo: GitRepoInfo,\n tableNamesFilter: Option[Seq[String]]\n ): Seq[GHContent] = {\n blocking {\n // Create a GitHubBuilder to be able to build a GitHub object with required\n // RateLimitHandler strategy and OAuth parameters. Instead of waiting, this will\n // throw an exception immediately if the request limit is exceeded.\n val gitHubBuilder =\n new GitHubBuilder()\n .withRateLimitHandler(RateLimitHandler.FAIL)\n .withOAuthToken(oauthAccessToken)\n .withConnector(\n new OkHttpConnector(\n new OkUrlFactory(\n new OkHttpClient().setCache(cache))))\n val github = gitHubBuilder.build()\n\n // Get the requested repo.\n val repoName = repo.fork + \"/\" + repo.repo\n val repository = github.getRepository(repoName)\n // Get all directories (expected to be Table directories) from the top level of the repo.\n val allTableDirs =\n repository.getDirectoryContent(\"tables\", repo.branch).asScala.filter(_.isDirectory)\n // If there is a filter, restrict returned table directories to that set, if not return all.\n tableNamesFilter match {\n case Some(filter) =>\n val tableSet = filter.map(_.toLowerCase).toSet\n allTableDirs.filter(d => tableSet.contains(d.getName.toLowerCase))\n case None =>\n allTableDirs\n }\n }\n }\n```\n\nFurther, there are other calls like `ghContent.read` -- is each of these a separate request to Git? Even so, I wouldn't think they would be called every time but just looked up from the cache.\n\nAny ideas?\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/257", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-16.json index e6dd4f469..b01f18f89 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-16.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-16.json @@ -1421,6 +1421,6 @@ "updated_at": "2015-12-02T11:05:03Z", "closed_at": "2015-12-02T11:05:03Z", "author_association": "NONE", - "body": "Hi,\n\nthe RateLimitHandler does not to work as intended. \nIf using the WAIT implementation the API will still throw an exception and terminate.\n\nThe reason therefore is that there is no return statement after the handler execute its onError method.\nThe problem is allocated in the handleApiError method of the Requester.\n\nhttps://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java\n" + "body": "Hi,\n\nthe RateLimitHandler does not to work as intended. \nIf using the WAIT implementation the API will still throw an exception and terminate.\n\nThe reason therefore is that there is no return statement after the handler execute its onError method.\nThe problem is allocated in the handleApiError method of the Requester.\n\nhttps://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java\n" } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-17.json index 3de30c502..5245a7795 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-17.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-17.json @@ -111,7 +111,7 @@ "updated_at": "2015-12-03T16:42:58Z", "closed_at": "2015-12-03T16:42:58Z", "author_association": "NONE", - "body": "GHRepository.getCompare(String,String) supports cross-fork comparisons, but this does not:\n\nhttps://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHRepository.java#L684-L686\n\nThis is a simple fix.\n" + "body": "GHRepository.getCompare(String,String) supports cross-fork comparisons, but this does not:\n\nhttps://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHRepository.java#L684-L686\n\nThis is a simple fix.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/217", @@ -900,7 +900,7 @@ "updated_at": "2015-12-01T16:28:24Z", "closed_at": "2015-12-01T16:28:24Z", "author_association": "NONE", - "body": "On June 24th, GitHub made some breaking changes to the api. See https://developer.github.com/changes/2015-06-10-breaking-changes-to-organization-permissions-coming-on-june-24/\n\nI am currently using the Jenkins GitHub Oauth plugin which uses the `getMyOrganizations` method defined at https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L333 \n\nUnfortunately this method relies on the API endpoint https://api.github.com/users/orgs which no longer works. \n" + "body": "On June 24th, GitHub made some breaking changes to the api. See https://developer.github.com/changes/2015-06-10-breaking-changes-to-organization-permissions-coming-on-june-24/\n\nI am currently using the Jenkins GitHub Oauth plugin which uses the `getMyOrganizations` method defined at https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GitHub.java#L333 \n\nUnfortunately this method relies on the API endpoint https://api.github.com/users/orgs which no longer works. \n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/201", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-18.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-18.json index 626616bd3..54b7b3a7b 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-18.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-18.json @@ -279,7 +279,7 @@ "updated_at": "2015-05-05T06:44:59Z", "closed_at": "2015-05-05T06:44:59Z", "author_association": "NONE", - "body": "Putting this out there without much knowledge about GitHub Enterprise APIs.\n\nOur organization uses GitHub Enterprise hosted internally. We would love to integrate Gerrit, which uses this package, with it, but the GitHub API in here is currently a static final string: https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L558\n\nWould be very nice if there was a way to use this with the apis for an internal Enterprise instance of github.\n" + "body": "Putting this out there without much knowledge about GitHub Enterprise APIs.\n\nOur organization uses GitHub Enterprise hosted internally. We would love to integrate Gerrit, which uses this package, with it, but the GitHub API in here is currently a static final string: https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GitHub.java#L558\n\nWould be very nice if there was a way to use this with the apis for an internal Enterprise instance of github.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/183", @@ -511,7 +511,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/179.diff", "patch_url": "https://github.com/hub4j/github-api/pull/179.patch" }, - "body": "Hello!\n\nWe encountered a NullPointerException after the upgrade to 1.67 when rate limited by the GitHub API. Essentially it is because the call to `getMyself().getLogin()` failed during the construction of the GitHub object due to being rate limited. However, the RateLimitHandler object had not yet been set at that point in time within the GitHub object constructor. Fix is a simple statement movement.\n\nError within GitHub::handleApiError():\n\n```\n if (\"0\".equals(uc.getHeaderField(\"X-RateLimit-Remaining\"))) {\n root.rateLimitHandler.onError(e,uc); // rateLimitHandler is null\n }\n```\n\nRan the test suite locally after setting github authentication details:\n\n```\nResults :\n\nFailed tests: setLabels(org.kohsuke.github.PullRequestTest): expected:<1> but was:<0>\n setAssignee(org.kohsuke.github.PullRequestTest): expected: but was:\n\nTests in error:\n testMembership(org.kohsuke.github.AppTest): {\"message\":\"Must have push access to view repository collaborators.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testListDeployments(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testCreateDeployment(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testMemberPagenation(org.kohsuke.github.AppTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testRepoLabel(org.kohsuke.github.AppTest): {\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/issues/labels/#create-a-label\"}\n testGetDeploymentStatuses(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testCreateRepository(org.kohsuke.github.LifecycleTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n\nTests run: 79, Failures: 2, Errors: 7, Skipped: 10\n```\n\nFailures seem to be mostly related to access to the hub4j-test-org (which obviously I don't have any permissions for), and I had the same results before/after the change so it looks like they are unrelated to it - Hopefully that's acceptable!\n\nThanks,\nLee\n" + "body": "Hello!\n\nWe encountered a NullPointerException after the upgrade to 1.67 when rate limited by the GitHub API. Essentially it is because the call to `getMyself().getLogin()` failed during the construction of the GitHub object due to being rate limited. However, the RateLimitHandler object had not yet been set at that point in time within the GitHub object constructor. Fix is a simple statement movement.\n\nError within GitHub::handleApiError():\n\n```\n if (\"0\".equals(uc.getHeaderField(\"X-RateLimit-Remaining\"))) {\n root.rateLimitHandler.onError(e,uc); // rateLimitHandler is null\n }\n```\n\nRan the test suite locally after setting github authentication details:\n\n```\nResults :\n\nFailed tests: setLabels(org.kohsuke.github.PullRequestTest): expected:<1> but was:<0>\n setAssignee(org.kohsuke.github.PullRequestTest): expected: but was:\n\nTests in error:\n testMembership(org.kohsuke.github.AppTest): {\"message\":\"Must have push access to view repository collaborators.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testListDeployments(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: main\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testCreateDeployment(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: main\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testMemberPagenation(org.kohsuke.github.AppTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testRepoLabel(org.kohsuke.github.AppTest): {\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/issues/labels/#create-a-label\"}\n testGetDeploymentStatuses(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: main\",\"documentation_url\":\"https://developer.github.com/v3\"}\n testCreateRepository(org.kohsuke.github.LifecycleTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n\nTests run: 79, Failures: 2, Errors: 7, Skipped: 10\n```\n\nFailures seem to be mostly related to access to the hub4j-test-org (which obviously I don't have any permissions for), and I had the same results before/after the change so it looks like they are unrelated to it - Hopefully that's acceptable!\n\nThanks,\nLee\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/177", @@ -1231,7 +1231,7 @@ "id": 59959411, "node_id": "MDU6SXNzdWU1OTk1OTQxMQ==", "number": 162, - "title": "GHContent#content always returns master version", + "title": "GHContent#content always returns main version", "user": { "login": "tilayealemu", "id": 11229217, @@ -1263,7 +1263,7 @@ "updated_at": "2015-03-22T17:21:23Z", "closed_at": "2015-03-22T17:21:09Z", "author_association": "NONE", - "body": "GHContent#content always returns content from the master branch. Included sample code. Content 1 comes from master and 2 from the specified branch. Using github-api 1.62.\n\n```\n@Test\npublic void github_api_issue() throws Exception {\n String branch = \"mybranch\";\n GitHub github = GitHub.connectUsingPassword(\"myyser\", \"mypassword\");\n GHRepository ghRepo = github.getRepository(\"myrepo\");\n List contents = ghRepo.getDirectoryContent(\"myfolder\", \"heads/\" + branch);\n for (GHContent content : contents) {\n String content1 = content.getContent();\n String content2 = ghRepo.getFileContent(content.getPath(), branch).getContent();\n System.out.println(\"Contents of \" + content.getPath());\n System.out.println(\"Content1\");\n System.out.println(content1);\n System.out.println(\"Content2\");\n System.out.println(content2);\n }\n}\n```\n" + "body": "GHContent#content always returns content from the main branch. Included sample code. Content 1 comes from main and 2 from the specified branch. Using github-api 1.62.\n\n```\n@Test\npublic void github_api_issue() throws Exception {\n String branch = \"mybranch\";\n GitHub github = GitHub.connectUsingPassword(\"myyser\", \"mypassword\");\n GHRepository ghRepo = github.getRepository(\"myrepo\");\n List contents = ghRepo.getDirectoryContent(\"myfolder\", \"heads/\" + branch);\n for (GHContent content : contents) {\n String content1 = content.getContent();\n String content2 = ghRepo.getFileContent(content.getPath(), branch).getContent();\n System.out.println(\"Contents of \" + content.getPath());\n System.out.println(\"Content1\");\n System.out.println(content1);\n System.out.println(\"Content2\");\n System.out.println(content2);\n }\n}\n```\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/161", @@ -1313,7 +1313,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/161.diff", "patch_url": "https://github.com/hub4j/github-api/pull/161.patch" }, - "body": "Hi kohsuke\nI used your API to call Github API but I found that there isn't any method lists all languages using in repository. Therefore, I ask you to add it into your master code.\nThanks\n" + "body": "Hi kohsuke\nI used your API to call Github API but I found that there isn't any method lists all languages using in repository. Therefore, I ask you to add it into your main code.\nThanks\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/160", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-19.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-19.json index 44c3f58be..5dce8b61d 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-19.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-19.json @@ -273,7 +273,7 @@ "updated_at": "2015-02-24T22:15:14Z", "closed_at": "2015-02-24T22:15:14Z", "author_association": "CONTRIBUTOR", - "body": "Hello,\nThanks for this wonderful library!\n\nI would like the library to support github trees, is it foreseen (https://developer.github.com/v3/git/trees/)?\nFor instance I need to retrieve this:\nhttps://api.github.com/repos/calipho-sib/nextprot-docs/git/trees/master?recursive=1\n\nIf you would like I can try to implement this feature and I make a pull request?\n" + "body": "Hello,\nThanks for this wonderful library!\n\nI would like the library to support github trees, is it foreseen (https://developer.github.com/v3/git/trees/)?\nFor instance I need to retrieve this:\nhttps://api.github.com/repos/calipho-sib/nextprot-docs/git/trees/main?recursive=1\n\nIf you would like I can try to implement this feature and I make a pull request?\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/152", @@ -925,7 +925,7 @@ "updated_at": "2015-02-15T16:40:28Z", "closed_at": "2015-02-15T16:40:28Z", "author_association": "NONE", - "body": "Hey @kohsuke \n\nI'm using the api to create a tag from a commit, then I create a release from this tag, fill up the info, body and assets. When I use the release builder, I set the prerelease and draft parameter to true. I get everything set on my github account successfully. \nThat's said, when I press the button (on the github release page) to publish; all my info (title, body and files) disappear and I can just see the created tag. I'm wondering if I'm doing something wrong or if it is a bug from the library.\n\nHere is what I m basically doing : (I extracted the code in the exact same order all the library api call)\n\nGHRepository repository = api.getRepository(REPO_NAME);\nMap branches = repository.getBranches();\nGHBranch master = branches.get(RELEASE_BRANCH_NAME);\nString lastCommit = master.getSHA1();\nString refName = \"refs/tags/\" + tagName;\nGHRef ref = repository.createRef(refName, lastCommit);\n\nfinal GHReleaseBuilder releaseBuilder = repository.createRelease(refName); releaseBuilder.name(releaseName).body(body).prerelease(true).draft(true)\nfinal GHRelease release = releaseBuilder.create()\nand a bunch of release.uploadAsset(file, mimeType)\n\nThank you for your help!\n" + "body": "Hey @kohsuke \n\nI'm using the api to create a tag from a commit, then I create a release from this tag, fill up the info, body and assets. When I use the release builder, I set the prerelease and draft parameter to true. I get everything set on my github account successfully. \nThat's said, when I press the button (on the github release page) to publish; all my info (title, body and files) disappear and I can just see the created tag. I'm wondering if I'm doing something wrong or if it is a bug from the library.\n\nHere is what I m basically doing : (I extracted the code in the exact same order all the library api call)\n\nGHRepository repository = api.getRepository(REPO_NAME);\nMap branches = repository.getBranches();\nGHBranch main = branches.get(RELEASE_BRANCH_NAME);\nString lastCommit = main.getSHA1();\nString refName = \"refs/tags/\" + tagName;\nGHRef ref = repository.createRef(refName, lastCommit);\n\nfinal GHReleaseBuilder releaseBuilder = repository.createRelease(refName); releaseBuilder.name(releaseName).body(body).prerelease(true).draft(true)\nfinal GHRelease release = releaseBuilder.create()\nand a bunch of release.uploadAsset(file, mimeType)\n\nThank you for your help!\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/137", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-20.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-20.json index 63544eacd..add940c5b 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-20.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-20.json @@ -1143,7 +1143,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/103.diff", "patch_url": "https://github.com/hub4j/github-api/pull/103.patch" }, - "body": "OkHttp changed API with v2.0.0, and the `client.open(url)` method no longer exists:\n\n\"URLConnection support has moved to the okhttp-urlconnection module. If you're upgrading from 1.x, this change will impact you. You will need to add the okhttp-urlconnection module to your project and use\nthe OkUrlFactory to create new instances of HttpURLConnection\"\n\nhttps://github.com/square/okhttp/blob/master/CHANGELOG.md#version-200-rc1\n" + "body": "OkHttp changed API with v2.0.0, and the `client.open(url)` method no longer exists:\n\n\"URLConnection support has moved to the okhttp-urlconnection module. If you're upgrading from 1.x, this change will impact you. You will need to add the okhttp-urlconnection module to your project and use\nthe OkUrlFactory to create new instances of HttpURLConnection\"\n\nhttps://github.com/square/okhttp/blob/main/CHANGELOG.md#version-200-rc1\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/102", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-21.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-21.json index ff3130a9c..ddb036c14 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-21.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-21.json @@ -893,7 +893,7 @@ "updated_at": "2014-05-10T22:31:37Z", "closed_at": "2014-05-10T22:31:37Z", "author_association": "NONE", - "body": "`getRateLimit()` at https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L228 fails for GitHub Enterprise with a 404 status code, body of\n\n``` json\n{\n \"message\": \"No rate limit for white listed users\"\n}\n```\n\nGitHub Enterprise users are considered white listed and so don't have rate limits.\n\nSee also janinko/ghprb#127\n" + "body": "`getRateLimit()` at https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GitHub.java#L228 fails for GitHub Enterprise with a 404 status code, body of\n\n``` json\n{\n \"message\": \"No rate limit for white listed users\"\n}\n```\n\nGitHub Enterprise users are considered white listed and so don't have rate limits.\n\nSee also janinko/ghprb#127\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/77", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-22.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-22.json index fe95d7d72..9f3afbdd1 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-22.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-22.json @@ -91,7 +91,7 @@ "updated_at": "2016-02-12T18:35:43Z", "closed_at": "2014-04-13T15:55:35Z", "author_association": "CONTRIBUTOR", - "body": "https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/Requester.java#L268\n\nWhen attempting to get the details of an empty repository, the github enterprise server returns an HTTP 409. This, in turn, causes Requester to throw an Error…\n\nCaused by: java.io.IOException: Server returned HTTP response code: 409 for URL: \n\nAn Error, for those unfamiliar, is \"a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.\" I don't think an HTTP 409 response warrants throwing an Error, thereby dooming the client Java process to exit with status code 1.\n" + "body": "https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/Requester.java#L268\n\nWhen attempting to get the details of an empty repository, the github enterprise server returns an HTTP 409. This, in turn, causes Requester to throw an Error…\n\nCaused by: java.io.IOException: Server returned HTTP response code: 409 for URL: \n\nAn Error, for those unfamiliar, is \"a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.\" I don't think an HTTP 409 response warrants throwing an Error, thereby dooming the client Java process to exit with status code 1.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/64", @@ -135,7 +135,7 @@ "updated_at": "2014-05-10T22:23:12Z", "closed_at": "2014-05-10T22:23:12Z", "author_association": "CONTRIBUTOR", - "body": "https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHRepository.java#L96\n\nGHRepository doesn't take into account whether or not the client is speaking with the public github.com or if it's talking to a github enterprise instance. Consequently, when you call getGitTransportUrl() or gitHttpTransportUrl() it only ever returns a github.com URL, which won't work for github enterprise hosted repositories.\n" + "body": "https://github.com/kohsuke/github-api/blob/main/src/main/java/org/kohsuke/github/GHRepository.java#L96\n\nGHRepository doesn't take into account whether or not the client is speaking with the public github.com or if it's talking to a github enterprise instance. Consequently, when you call getGitTransportUrl() or gitHttpTransportUrl() it only ever returns a github.com URL, which won't work for github enterprise hosted repositories.\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/63", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-5.json index 6ff63205e..b1152493c 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-5.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-5.json @@ -247,7 +247,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/619.diff", "patch_url": "https://github.com/hub4j/github-api/pull/619.patch" }, - "body": "# Description \r\nhttps://developer.github.com/v3/teams/#create-team had deprecated the `permission` field but the library still expects this field. https://github.com/hub4j/github-api/blob/da11702f6815f658014f33ce724f0cd2e4501081/src/main/java/org/kohsuke/github/GHOrganization.java#L387 \r\n\r\nThis PR refactors the code to remove the permission field.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nhttps://developer.github.com/v3/teams/#create-team had deprecated the `permission` field but the library still expects this field. https://github.com/hub4j/github-api/blob/da11702f6815f658014f33ce724f0cd2e4501081/src/main/java/org/kohsuke/github/GHOrganization.java#L387 \r\n\r\nThis PR refactors the code to remove the permission field.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/618", @@ -297,7 +297,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/618.diff", "patch_url": "https://github.com/hub4j/github-api/pull/618.patch" }, - "body": "# Description \r\nhttps://developer.github.com/v3/teams/#create-team had deprecated the `permission` field but the library still expects this field. https://github.com/hub4j/github-api/blob/da11702f6815f658014f33ce724f0cd2e4501081/src/main/java/org/kohsuke/github/GHOrganization.java#L387 \r\n\r\nThis PR refactors the code to remove the permission field.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nhttps://developer.github.com/v3/teams/#create-team had deprecated the `permission` field but the library still expects this field. https://github.com/hub4j/github-api/blob/da11702f6815f658014f33ce724f0cd2e4501081/src/main/java/org/kohsuke/github/GHOrganization.java#L387 \r\n\r\nThis PR refactors the code to remove the permission field.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/617", @@ -411,7 +411,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/616.diff", "patch_url": "https://github.com/hub4j/github-api/pull/616.patch" }, - "body": "# Description \r\nEnforce import sorting\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nEnforce import sorting\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/615", @@ -461,7 +461,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/615.diff", "patch_url": "https://github.com/hub4j/github-api/pull/615.patch" }, - "body": "# Description \r\nFixing Issue #607 where if you get a good return code for a single branch but it does not contain any details it will have null values for everything which should throw an error\r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n\r\nI dont love the way I did the error catching so I am open to suggestions. Also JavaDocs are new for me so any help would be appreciated\r\n" + "body": "# Description \r\nFixing Issue #607 where if you get a good return code for a single branch but it does not contain any details it will have null values for everything which should throw an error\r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [ ] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n\r\nI dont love the way I did the error catching so I am open to suggestions. Also JavaDocs are new for me so any help would be appreciated\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/614", @@ -561,7 +561,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/613.diff", "patch_url": "https://github.com/hub4j/github-api/pull/613.patch" }, - "body": "# Description \r\nAdded `failOnWarning` and \"fixed\" all existing warnings. The fix was to auto-populate them, but something is better than improperly formatted entries.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `master`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" + "body": "# Description \r\nAdded `failOnWarning` and \"fixed\" all existing warnings. The fix was to auto-populate them, but something is better than improperly formatted entries.\r\n\r\n# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [x] Push your changes to a branch other than `main`. Create your PR from that branch. \r\n- [x] Add JavaDocs and other comments\r\n- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.\r\n- [x] Run `mvn install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.\r\n" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/612", @@ -655,7 +655,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/611.diff", "patch_url": "https://github.com/hub4j/github-api/pull/611.patch" }, - "body": "# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [] Push your changes to a branch other than `master`. \r\n- [X] Add JavaDocs and other comments\r\n- [X] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data. \r\n- [X] Run `mvn install` locally. This may reformat your code, commit those changes.\r\n\r\nI was working on #582 when I realised that the `/meta` endpoint wasn't available in this library. \r\nI created the Javadocs, tests and removed some unused imports on `GitHubTest`" + "body": "# Before submitting a PR:\r\nWe love getting PRs, but we hate asking people for the same basic changes every time. \r\n\r\n- [] Push your changes to a branch other than `main`. \r\n- [X] Add JavaDocs and other comments\r\n- [X] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data. \r\n- [X] Run `mvn install` locally. This may reformat your code, commit those changes.\r\n\r\nI was working on #582 when I realised that the `/meta` endpoint wasn't available in this library. \r\nI created the Javadocs, tests and removed some unused imports on `GitHubTest`" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/610", @@ -1351,7 +1351,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/593.diff", "patch_url": "https://github.com/hub4j/github-api/pull/593.patch" }, - "body": "Bumps [okhttp](https://github.com/square/okhttp) from 3.14.2 to 4.2.2.\n
\nChangelog\n\n*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*\n\n> ## Version 4.2.2\n> \n> _2019-10-06_\n> \n> * Fix: When closing a canceled HTTP/2 stream, don't send the `END_STREAM` flag. This could cause\n> the server to incorrectly interpret the stream as having completed normally. This is most useful\n> when a request body needs to cancel its own call.\n> \n> \n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> ... (truncated)\n
\n
\nCommits\n\n- [`d02340f`](https://github.com/square/okhttp/commit/d02340f9dfac4ead42befc1a4d477b45401956cf) Prepare for release 4.2.2.\n- [`b897fb8`](https://github.com/square/okhttp/commit/b897fb8e0f3fe3622633d59ecaf220ddcae5830f) Merge pull request [#5537](https://github-redirect.dependabot.com/square/okhttp/issues/5537) from square/jwilson.1006.cancel_close\n- [`10f9227`](https://github.com/square/okhttp/commit/10f9227b9398d9c7651131bdeeae92bb714a3bb2) If RST STREAM and END OF STREAM race, send RST STREAM (4.2.x branch)\n- [`97d25e8`](https://github.com/square/okhttp/commit/97d25e88b82454b128d1588c9c0bc013efeee7fe) Prepare next development version.\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.14.2...parent-4.2.2)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=3.14.2&new-version=4.2.2)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=3.14.2&new-version=4.2.2)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okhttp](https://github.com/square/okhttp) from 3.14.2 to 4.2.2.\n
\nChangelog\n\n*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/main/CHANGELOG.md).*\n\n> ## Version 4.2.2\n> \n> _2019-10-06_\n> \n> * Fix: When closing a canceled HTTP/2 stream, don't send the `END_STREAM` flag. This could cause\n> the server to incorrectly interpret the stream as having completed normally. This is most useful\n> when a request body needs to cancel its own call.\n> \n> \n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> ... (truncated)\n
\n
\nCommits\n\n- [`d02340f`](https://github.com/square/okhttp/commit/d02340f9dfac4ead42befc1a4d477b45401956cf) Prepare for release 4.2.2.\n- [`b897fb8`](https://github.com/square/okhttp/commit/b897fb8e0f3fe3622633d59ecaf220ddcae5830f) Merge pull request [#5537](https://github-redirect.dependabot.com/square/okhttp/issues/5537) from square/jwilson.1006.cancel_close\n- [`10f9227`](https://github.com/square/okhttp/commit/10f9227b9398d9c7651131bdeeae92bb714a3bb2) If RST STREAM and END OF STREAM race, send RST STREAM (4.2.x branch)\n- [`97d25e8`](https://github.com/square/okhttp/commit/97d25e88b82454b128d1588c9c0bc013efeee7fe) Prepare next development version.\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.14.2...parent-4.2.2)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=3.14.2&new-version=4.2.2)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=3.14.2&new-version=4.2.2)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/592", @@ -1411,7 +1411,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/592.diff", "patch_url": "https://github.com/hub4j/github-api/pull/592.patch" }, - "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.12.3 to 4.2.2.\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*\n\n> ## Version 4.2.2\n> \n> _2019-10-06_\n> \n> * Fix: When closing a canceled HTTP/2 stream, don't send the `END_STREAM` flag. This could cause\n> the server to incorrectly interpret the stream as having completed normally. This is most useful\n> when a request body needs to cancel its own call.\n> \n> \n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> ... (truncated)\n
\n
\nCommits\n\n- [`d02340f`](https://github.com/square/okhttp/commit/d02340f9dfac4ead42befc1a4d477b45401956cf) Prepare for release 4.2.2.\n- [`b897fb8`](https://github.com/square/okhttp/commit/b897fb8e0f3fe3622633d59ecaf220ddcae5830f) Merge pull request [#5537](https://github-redirect.dependabot.com/square/okhttp/issues/5537) from square/jwilson.1006.cancel_close\n- [`10f9227`](https://github.com/square/okhttp/commit/10f9227b9398d9c7651131bdeeae92bb714a3bb2) If RST STREAM and END OF STREAM race, send RST STREAM (4.2.x branch)\n- [`97d25e8`](https://github.com/square/okhttp/commit/97d25e88b82454b128d1588c9c0bc013efeee7fe) Prepare next development version.\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.2)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.2.2)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.2.2)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.12.3 to 4.2.2.\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/main/CHANGELOG.md).*\n\n> ## Version 4.2.2\n> \n> _2019-10-06_\n> \n> * Fix: When closing a canceled HTTP/2 stream, don't send the `END_STREAM` flag. This could cause\n> the server to incorrectly interpret the stream as having completed normally. This is most useful\n> when a request body needs to cancel its own call.\n> \n> \n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> ... (truncated)\n
\n
\nCommits\n\n- [`d02340f`](https://github.com/square/okhttp/commit/d02340f9dfac4ead42befc1a4d477b45401956cf) Prepare for release 4.2.2.\n- [`b897fb8`](https://github.com/square/okhttp/commit/b897fb8e0f3fe3622633d59ecaf220ddcae5830f) Merge pull request [#5537](https://github-redirect.dependabot.com/square/okhttp/issues/5537) from square/jwilson.1006.cancel_close\n- [`10f9227`](https://github.com/square/okhttp/commit/10f9227b9398d9c7651131bdeeae92bb714a3bb2) If RST STREAM and END OF STREAM race, send RST STREAM (4.2.x branch)\n- [`97d25e8`](https://github.com/square/okhttp/commit/97d25e88b82454b128d1588c9c0bc013efeee7fe) Prepare next development version.\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.2)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.2.2)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.12.3&new-version=4.2.2)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/591", @@ -1465,7 +1465,7 @@ "updated_at": "2019-12-13T20:14:03Z", "closed_at": "2019-12-13T20:14:03Z", "author_association": "MEMBER", - "body": "https://github.com/hub4j/github-api/blob/master/src/main/java/org/kohsuke/github/GHRateLimit.java\r\n\r\nCan't be changed without (very likely extensive) API breaking changes. " + "body": "https://github.com/hub4j/github-api/blob/main/src/main/java/org/kohsuke/github/GHRateLimit.java\r\n\r\nCan't be changed without (very likely extensive) API breaking changes. " }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/590", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-6.json index 94d45aca9..bb0a4df74 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-6.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-6.json @@ -567,7 +567,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/573.diff", "patch_url": "https://github.com/hub4j/github-api/pull/573.patch" }, - "body": "Bumps `hamcrest.version` from 2.1 to 2.2.\n\nUpdates `hamcrest` from 2.1 to 2.2\n
\nRelease notes\n\n*Sourced from [hamcrest's releases](https://github.com/hamcrest/JavaHamcrest/releases).*\n\n> ## hamcrest-java-2.2\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n> \n> ## hamcrest-java-2.2-rc1\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nChangelog\n\n*Sourced from [hamcrest's changelog](https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md).*\n\n> ## Version 2.2 (17th October 2019)\n> \n> ### Improvements\n> \n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\n> \n> ### Bugfixes\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nCommits\n\n- [`60454d3`](https://github.com/hamcrest/JavaHamcrest/commit/60454d3c3e2eac8f3049dfbef2900a989a8b8624) Version 2.2\n- [`0706138`](https://github.com/hamcrest/JavaHamcrest/commit/070613874ab85fdd2da2e7e3ec7e5c1426388a65) Version 2.2-SNAPSHOT\n- [`e049297`](https://github.com/hamcrest/JavaHamcrest/commit/e049297f8e1ddf539d5625d6134cd8727f3e3267) Version 2.2-rc1\n- [`052acf3`](https://github.com/hamcrest/JavaHamcrest/commit/052acf3c117ba6abc9bb841e22f3a9477382e95f) Clean up readme\n- [`c5e9c50`](https://github.com/hamcrest/JavaHamcrest/commit/c5e9c506cfcc12e6a075dc38ba1f4e376c56ed45) Start checkstyle setup\n- [`7f10c55`](https://github.com/hamcrest/JavaHamcrest/commit/7f10c5574d54c07bee96d15dc755c46c11b0b8d0) Add PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270) to changes\n- [`dc4c012`](https://github.com/hamcrest/JavaHamcrest/commit/dc4c0123583737a955846b4aef3b3b476100f613) Add PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267) to changes\n- [`2951069`](https://github.com/hamcrest/JavaHamcrest/commit/2951069fbd7afcb65457db30dde9dc0fd8ce5f80) Use platform-specific line separators\n- [`c1ea49a`](https://github.com/hamcrest/JavaHamcrest/commit/c1ea49a115a381c92b27513d59eeea38ba5ae1c0) Use different module names for hamcrest jars.\n- [`976a60f`](https://github.com/hamcrest/JavaHamcrest/commit/976a60ffc3464ede33a9f0fc66977a051468b127) Update copyright year to say 2019\n- Additional commits viewable in [compare view](https://github.com/hamcrest/JavaHamcrest/compare/v2.1...v2.2)\n
\n
\n\nUpdates `hamcrest-core` from 2.1 to 2.2\n
\nRelease notes\n\n*Sourced from [hamcrest-core's releases](https://github.com/hamcrest/JavaHamcrest/releases).*\n\n> ## hamcrest-java-2.2\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n> \n> ## hamcrest-java-2.2-rc1\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nChangelog\n\n*Sourced from [hamcrest-core's changelog](https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md).*\n\n> ## Version 2.2 (17th October 2019)\n> \n> ### Improvements\n> \n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\n> \n> ### Bugfixes\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nCommits\n\n- [`60454d3`](https://github.com/hamcrest/JavaHamcrest/commit/60454d3c3e2eac8f3049dfbef2900a989a8b8624) Version 2.2\n- [`0706138`](https://github.com/hamcrest/JavaHamcrest/commit/070613874ab85fdd2da2e7e3ec7e5c1426388a65) Version 2.2-SNAPSHOT\n- [`e049297`](https://github.com/hamcrest/JavaHamcrest/commit/e049297f8e1ddf539d5625d6134cd8727f3e3267) Version 2.2-rc1\n- [`052acf3`](https://github.com/hamcrest/JavaHamcrest/commit/052acf3c117ba6abc9bb841e22f3a9477382e95f) Clean up readme\n- [`c5e9c50`](https://github.com/hamcrest/JavaHamcrest/commit/c5e9c506cfcc12e6a075dc38ba1f4e376c56ed45) Start checkstyle setup\n- [`7f10c55`](https://github.com/hamcrest/JavaHamcrest/commit/7f10c5574d54c07bee96d15dc755c46c11b0b8d0) Add PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270) to changes\n- [`dc4c012`](https://github.com/hamcrest/JavaHamcrest/commit/dc4c0123583737a955846b4aef3b3b476100f613) Add PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267) to changes\n- [`2951069`](https://github.com/hamcrest/JavaHamcrest/commit/2951069fbd7afcb65457db30dde9dc0fd8ce5f80) Use platform-specific line separators\n- [`c1ea49a`](https://github.com/hamcrest/JavaHamcrest/commit/c1ea49a115a381c92b27513d59eeea38ba5ae1c0) Use different module names for hamcrest jars.\n- [`976a60f`](https://github.com/hamcrest/JavaHamcrest/commit/976a60ffc3464ede33a9f0fc66977a051468b127) Update copyright year to say 2019\n- Additional commits viewable in [compare view](https://github.com/hamcrest/JavaHamcrest/compare/v2.1...v2.2)\n
\n
\n\nUpdates `hamcrest-library` from 2.1 to 2.2\n
\nRelease notes\n\n*Sourced from [hamcrest-library's releases](https://github.com/hamcrest/JavaHamcrest/releases).*\n\n> ## hamcrest-java-2.2\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n> \n> ## hamcrest-java-2.2-rc1\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nChangelog\n\n*Sourced from [hamcrest-library's changelog](https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md).*\n\n> ## Version 2.2 (17th October 2019)\n> \n> ### Improvements\n> \n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\n> \n> ### Bugfixes\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nCommits\n\n- [`60454d3`](https://github.com/hamcrest/JavaHamcrest/commit/60454d3c3e2eac8f3049dfbef2900a989a8b8624) Version 2.2\n- [`0706138`](https://github.com/hamcrest/JavaHamcrest/commit/070613874ab85fdd2da2e7e3ec7e5c1426388a65) Version 2.2-SNAPSHOT\n- [`e049297`](https://github.com/hamcrest/JavaHamcrest/commit/e049297f8e1ddf539d5625d6134cd8727f3e3267) Version 2.2-rc1\n- [`052acf3`](https://github.com/hamcrest/JavaHamcrest/commit/052acf3c117ba6abc9bb841e22f3a9477382e95f) Clean up readme\n- [`c5e9c50`](https://github.com/hamcrest/JavaHamcrest/commit/c5e9c506cfcc12e6a075dc38ba1f4e376c56ed45) Start checkstyle setup\n- [`7f10c55`](https://github.com/hamcrest/JavaHamcrest/commit/7f10c5574d54c07bee96d15dc755c46c11b0b8d0) Add PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270) to changes\n- [`dc4c012`](https://github.com/hamcrest/JavaHamcrest/commit/dc4c0123583737a955846b4aef3b3b476100f613) Add PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267) to changes\n- [`2951069`](https://github.com/hamcrest/JavaHamcrest/commit/2951069fbd7afcb65457db30dde9dc0fd8ce5f80) Use platform-specific line separators\n- [`c1ea49a`](https://github.com/hamcrest/JavaHamcrest/commit/c1ea49a115a381c92b27513d59eeea38ba5ae1c0) Use different module names for hamcrest jars.\n- [`976a60f`](https://github.com/hamcrest/JavaHamcrest/commit/976a60ffc3464ede33a9f0fc66977a051468b127) Update copyright year to say 2019\n- Additional commits viewable in [compare view](https://github.com/hamcrest/JavaHamcrest/compare/v2.1...v2.2)\n
\n
\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps `hamcrest.version` from 2.1 to 2.2.\n\nUpdates `hamcrest` from 2.1 to 2.2\n
\nRelease notes\n\n*Sourced from [hamcrest's releases](https://github.com/hamcrest/JavaHamcrest/releases).*\n\n> ## hamcrest-java-2.2\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n> \n> ## hamcrest-java-2.2-rc1\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nChangelog\n\n*Sourced from [hamcrest's changelog](https://github.com/hamcrest/JavaHamcrest/blob/main/CHANGES.md).*\n\n> ## Version 2.2 (17th October 2019)\n> \n> ### Improvements\n> \n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\n> \n> ### Bugfixes\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nCommits\n\n- [`60454d3`](https://github.com/hamcrest/JavaHamcrest/commit/60454d3c3e2eac8f3049dfbef2900a989a8b8624) Version 2.2\n- [`0706138`](https://github.com/hamcrest/JavaHamcrest/commit/070613874ab85fdd2da2e7e3ec7e5c1426388a65) Version 2.2-SNAPSHOT\n- [`e049297`](https://github.com/hamcrest/JavaHamcrest/commit/e049297f8e1ddf539d5625d6134cd8727f3e3267) Version 2.2-rc1\n- [`052acf3`](https://github.com/hamcrest/JavaHamcrest/commit/052acf3c117ba6abc9bb841e22f3a9477382e95f) Clean up readme\n- [`c5e9c50`](https://github.com/hamcrest/JavaHamcrest/commit/c5e9c506cfcc12e6a075dc38ba1f4e376c56ed45) Start checkstyle setup\n- [`7f10c55`](https://github.com/hamcrest/JavaHamcrest/commit/7f10c5574d54c07bee96d15dc755c46c11b0b8d0) Add PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270) to changes\n- [`dc4c012`](https://github.com/hamcrest/JavaHamcrest/commit/dc4c0123583737a955846b4aef3b3b476100f613) Add PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267) to changes\n- [`2951069`](https://github.com/hamcrest/JavaHamcrest/commit/2951069fbd7afcb65457db30dde9dc0fd8ce5f80) Use platform-specific line separators\n- [`c1ea49a`](https://github.com/hamcrest/JavaHamcrest/commit/c1ea49a115a381c92b27513d59eeea38ba5ae1c0) Use different module names for hamcrest jars.\n- [`976a60f`](https://github.com/hamcrest/JavaHamcrest/commit/976a60ffc3464ede33a9f0fc66977a051468b127) Update copyright year to say 2019\n- Additional commits viewable in [compare view](https://github.com/hamcrest/JavaHamcrest/compare/v2.1...v2.2)\n
\n
\n\nUpdates `hamcrest-core` from 2.1 to 2.2\n
\nRelease notes\n\n*Sourced from [hamcrest-core's releases](https://github.com/hamcrest/JavaHamcrest/releases).*\n\n> ## hamcrest-java-2.2\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n> \n> ## hamcrest-java-2.2-rc1\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nChangelog\n\n*Sourced from [hamcrest-core's changelog](https://github.com/hamcrest/JavaHamcrest/blob/main/CHANGES.md).*\n\n> ## Version 2.2 (17th October 2019)\n> \n> ### Improvements\n> \n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\n> \n> ### Bugfixes\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nCommits\n\n- [`60454d3`](https://github.com/hamcrest/JavaHamcrest/commit/60454d3c3e2eac8f3049dfbef2900a989a8b8624) Version 2.2\n- [`0706138`](https://github.com/hamcrest/JavaHamcrest/commit/070613874ab85fdd2da2e7e3ec7e5c1426388a65) Version 2.2-SNAPSHOT\n- [`e049297`](https://github.com/hamcrest/JavaHamcrest/commit/e049297f8e1ddf539d5625d6134cd8727f3e3267) Version 2.2-rc1\n- [`052acf3`](https://github.com/hamcrest/JavaHamcrest/commit/052acf3c117ba6abc9bb841e22f3a9477382e95f) Clean up readme\n- [`c5e9c50`](https://github.com/hamcrest/JavaHamcrest/commit/c5e9c506cfcc12e6a075dc38ba1f4e376c56ed45) Start checkstyle setup\n- [`7f10c55`](https://github.com/hamcrest/JavaHamcrest/commit/7f10c5574d54c07bee96d15dc755c46c11b0b8d0) Add PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270) to changes\n- [`dc4c012`](https://github.com/hamcrest/JavaHamcrest/commit/dc4c0123583737a955846b4aef3b3b476100f613) Add PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267) to changes\n- [`2951069`](https://github.com/hamcrest/JavaHamcrest/commit/2951069fbd7afcb65457db30dde9dc0fd8ce5f80) Use platform-specific line separators\n- [`c1ea49a`](https://github.com/hamcrest/JavaHamcrest/commit/c1ea49a115a381c92b27513d59eeea38ba5ae1c0) Use different module names for hamcrest jars.\n- [`976a60f`](https://github.com/hamcrest/JavaHamcrest/commit/976a60ffc3464ede33a9f0fc66977a051468b127) Update copyright year to say 2019\n- Additional commits viewable in [compare view](https://github.com/hamcrest/JavaHamcrest/compare/v2.1...v2.2)\n
\n
\n\nUpdates `hamcrest-library` from 2.1 to 2.2\n
\nRelease notes\n\n*Sourced from [hamcrest-library's releases](https://github.com/hamcrest/JavaHamcrest/releases).*\n\n> ## hamcrest-java-2.2\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n> \n> ## hamcrest-java-2.2-rc1\n> ### Improvements\r\n> \r\n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\r\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\r\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\r\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\r\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\r\n> \r\n> ### Bugfixes\r\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \r\n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\r\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\r\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nChangelog\n\n*Sourced from [hamcrest-library's changelog](https://github.com/hamcrest/JavaHamcrest/blob/main/CHANGES.md).*\n\n> ## Version 2.2 (17th October 2019)\n> \n> ### Improvements\n> \n> * AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue [#245](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245))\n> * Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue [#256](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256), [Issue [#257](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257))\n> * AssertionError message is unhelpful when match fails for byte type ([Issue [#254](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254), [Issue [#255](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255))\n> * Use platform specific line breaks ([PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267))\n> * Build now checks for consistent use of spaces ([PR [#217](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217))\n> \n> ### Bugfixes\n> * Fix compatibility issue for development with Android D8 ([Issue [#246](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/246)) \n> * Fix typo in license name ([Issue [#247](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/247)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/247))\n> * 1.3 compatible constructors for string matchers ([Issue [#259](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/259), [Issue [#260](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/260))\n> * Fix for split packages with Java 9 modules ([Issue [#269](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/269), [PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270)](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/270))\n
\n
\nCommits\n\n- [`60454d3`](https://github.com/hamcrest/JavaHamcrest/commit/60454d3c3e2eac8f3049dfbef2900a989a8b8624) Version 2.2\n- [`0706138`](https://github.com/hamcrest/JavaHamcrest/commit/070613874ab85fdd2da2e7e3ec7e5c1426388a65) Version 2.2-SNAPSHOT\n- [`e049297`](https://github.com/hamcrest/JavaHamcrest/commit/e049297f8e1ddf539d5625d6134cd8727f3e3267) Version 2.2-rc1\n- [`052acf3`](https://github.com/hamcrest/JavaHamcrest/commit/052acf3c117ba6abc9bb841e22f3a9477382e95f) Clean up readme\n- [`c5e9c50`](https://github.com/hamcrest/JavaHamcrest/commit/c5e9c506cfcc12e6a075dc38ba1f4e376c56ed45) Start checkstyle setup\n- [`7f10c55`](https://github.com/hamcrest/JavaHamcrest/commit/7f10c5574d54c07bee96d15dc755c46c11b0b8d0) Add PR [#270](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/270) to changes\n- [`dc4c012`](https://github.com/hamcrest/JavaHamcrest/commit/dc4c0123583737a955846b4aef3b3b476100f613) Add PR [#267](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267) to changes\n- [`2951069`](https://github.com/hamcrest/JavaHamcrest/commit/2951069fbd7afcb65457db30dde9dc0fd8ce5f80) Use platform-specific line separators\n- [`c1ea49a`](https://github.com/hamcrest/JavaHamcrest/commit/c1ea49a115a381c92b27513d59eeea38ba5ae1c0) Use different module names for hamcrest jars.\n- [`976a60f`](https://github.com/hamcrest/JavaHamcrest/commit/976a60ffc3464ede33a9f0fc66977a051468b127) Update copyright year to say 2019\n- Additional commits viewable in [compare view](https://github.com/hamcrest/JavaHamcrest/compare/v2.1...v2.2)\n
\n
\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/572", @@ -915,7 +915,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/566.diff", "patch_url": "https://github.com/hub4j/github-api/pull/566.patch" }, - "body": "Bumps `okhttp3.version` from 3.12.3 to 4.2.2.\n\nUpdates `okhttp` from 3.12.3 to 4.2.2\n
\nChangelog\n\n*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/master/docs/changelog_3x.md).*\n\n> OkHttp 3.x Change Log\n> =====================\n> \n> ## Version 3.14.4\n> \n> _2019-09-29_\n> \n> * Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call\n> would never call back if it crashed with an unchecked throwable, such as a\n> `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an\n> `IOException` that reports the call as canceled. The triggering exception is still delivered to\n> the thread's `UncaughtExceptionHandler`.\n> * Fix: Don't evict incomplete entries when iterating the cache. We had a bug where iterating\n> `Cache.urls()` would prevent in-flight entries from being written.\n> \n> \n> ## Version 3.14.3\n> \n> _2019-09-10_\n> \n> * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this\n> happened enough then eventually the connection would stall.\n> \n> * Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we\n> could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to\n> fail the call.\n> \n> * Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.\n> \n> ## Version 3.14.2\n> \n> _2019-05-19_\n> \n> * Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two\n> calls that failed at the same time could cause OkHttp to crash with a `NoSuchElementException`\n> instead of the expected `IOException`.\n> \n> * Fix: Don't crash with a `NullPointerException` when formatting an error message describing a\n> truncated response from an HTTPS proxy.\n> \n> \n> ## Version 3.14.1\n> \n> _2019-04-10_\n> \n> * Fix: Don't crash when an interceptor retries when there are no more routes. This was an\n> edge-case regression introduced with the events cleanup in 3.14.0.\n> \n> * Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would\n> silently leak connections when an interceptor retries without closing the response body. With\n> ... (truncated)\n
\n
\nCommits\n\n- [`d02340f`](https://github.com/square/okhttp/commit/d02340f9dfac4ead42befc1a4d477b45401956cf) Prepare for release 4.2.2.\n- [`b897fb8`](https://github.com/square/okhttp/commit/b897fb8e0f3fe3622633d59ecaf220ddcae5830f) Merge pull request [#5537](https://github-redirect.dependabot.com/square/okhttp/issues/5537) from square/jwilson.1006.cancel_close\n- [`10f9227`](https://github.com/square/okhttp/commit/10f9227b9398d9c7651131bdeeae92bb714a3bb2) If RST STREAM and END OF STREAM race, send RST STREAM (4.2.x branch)\n- [`97d25e8`](https://github.com/square/okhttp/commit/97d25e88b82454b128d1588c9c0bc013efeee7fe) Prepare next development version.\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.2)\n
\n
\n\nUpdates `okhttp-urlconnection` from 3.12.3 to 4.2.2\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/master/docs/changelog_3x.md).*\n\n> OkHttp 3.x Change Log\n> =====================\n> \n> ## Version 3.14.4\n> \n> _2019-09-29_\n> \n> * Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call\n> would never call back if it crashed with an unchecked throwable, such as a\n> `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an\n> `IOException` that reports the call as canceled. The triggering exception is still delivered to\n> the thread's `UncaughtExceptionHandler`.\n> * Fix: Don't evict incomplete entries when iterating the cache. We had a bug where iterating\n> `Cache.urls()` would prevent in-flight entries from being written.\n> \n> \n> ## Version 3.14.3\n> \n> _2019-09-10_\n> \n> * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this\n> happened enough then eventually the connection would stall.\n> \n> * Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we\n> could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to\n> fail the call.\n> \n> * Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.\n> \n> ## Version 3.14.2\n> \n> _2019-05-19_\n> \n> * Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two\n> calls that failed at the same time could cause OkHttp to crash with a `NoSuchElementException`\n> instead of the expected `IOException`.\n> \n> * Fix: Don't crash with a `NullPointerException` when formatting an error message describing a\n> truncated response from an HTTPS proxy.\n> \n> \n> ## Version 3.14.1\n> \n> _2019-04-10_\n> \n> * Fix: Don't crash when an interceptor retries when there are no more routes. This was an\n> edge-case regression introduced with the events cleanup in 3.14.0.\n> \n> * Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would\n> silently leak connections when an interceptor retries without closing the response body. With\n> ... (truncated)\n
\n
\nCommits\n\n- [`d02340f`](https://github.com/square/okhttp/commit/d02340f9dfac4ead42befc1a4d477b45401956cf) Prepare for release 4.2.2.\n- [`b897fb8`](https://github.com/square/okhttp/commit/b897fb8e0f3fe3622633d59ecaf220ddcae5830f) Merge pull request [#5537](https://github-redirect.dependabot.com/square/okhttp/issues/5537) from square/jwilson.1006.cancel_close\n- [`10f9227`](https://github.com/square/okhttp/commit/10f9227b9398d9c7651131bdeeae92bb714a3bb2) If RST STREAM and END OF STREAM race, send RST STREAM (4.2.x branch)\n- [`97d25e8`](https://github.com/square/okhttp/commit/97d25e88b82454b128d1588c9c0bc013efeee7fe) Prepare next development version.\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.2)\n
\n
\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps `okhttp3.version` from 3.12.3 to 4.2.2.\n\nUpdates `okhttp` from 3.12.3 to 4.2.2\n
\nChangelog\n\n*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/main/docs/changelog_3x.md).*\n\n> OkHttp 3.x Change Log\n> =====================\n> \n> ## Version 3.14.4\n> \n> _2019-09-29_\n> \n> * Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call\n> would never call back if it crashed with an unchecked throwable, such as a\n> `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an\n> `IOException` that reports the call as canceled. The triggering exception is still delivered to\n> the thread's `UncaughtExceptionHandler`.\n> * Fix: Don't evict incomplete entries when iterating the cache. We had a bug where iterating\n> `Cache.urls()` would prevent in-flight entries from being written.\n> \n> \n> ## Version 3.14.3\n> \n> _2019-09-10_\n> \n> * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this\n> happened enough then eventually the connection would stall.\n> \n> * Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we\n> could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to\n> fail the call.\n> \n> * Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.\n> \n> ## Version 3.14.2\n> \n> _2019-05-19_\n> \n> * Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two\n> calls that failed at the same time could cause OkHttp to crash with a `NoSuchElementException`\n> instead of the expected `IOException`.\n> \n> * Fix: Don't crash with a `NullPointerException` when formatting an error message describing a\n> truncated response from an HTTPS proxy.\n> \n> \n> ## Version 3.14.1\n> \n> _2019-04-10_\n> \n> * Fix: Don't crash when an interceptor retries when there are no more routes. This was an\n> edge-case regression introduced with the events cleanup in 3.14.0.\n> \n> * Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would\n> silently leak connections when an interceptor retries without closing the response body. With\n> ... (truncated)\n
\n
\nCommits\n\n- [`d02340f`](https://github.com/square/okhttp/commit/d02340f9dfac4ead42befc1a4d477b45401956cf) Prepare for release 4.2.2.\n- [`b897fb8`](https://github.com/square/okhttp/commit/b897fb8e0f3fe3622633d59ecaf220ddcae5830f) Merge pull request [#5537](https://github-redirect.dependabot.com/square/okhttp/issues/5537) from square/jwilson.1006.cancel_close\n- [`10f9227`](https://github.com/square/okhttp/commit/10f9227b9398d9c7651131bdeeae92bb714a3bb2) If RST STREAM and END OF STREAM race, send RST STREAM (4.2.x branch)\n- [`97d25e8`](https://github.com/square/okhttp/commit/97d25e88b82454b128d1588c9c0bc013efeee7fe) Prepare next development version.\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.2)\n
\n
\n\nUpdates `okhttp-urlconnection` from 3.12.3 to 4.2.2\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/main/docs/changelog_3x.md).*\n\n> OkHttp 3.x Change Log\n> =====================\n> \n> ## Version 3.14.4\n> \n> _2019-09-29_\n> \n> * Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call\n> would never call back if it crashed with an unchecked throwable, such as a\n> `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an\n> `IOException` that reports the call as canceled. The triggering exception is still delivered to\n> the thread's `UncaughtExceptionHandler`.\n> * Fix: Don't evict incomplete entries when iterating the cache. We had a bug where iterating\n> `Cache.urls()` would prevent in-flight entries from being written.\n> \n> \n> ## Version 3.14.3\n> \n> _2019-09-10_\n> \n> * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this\n> happened enough then eventually the connection would stall.\n> \n> * Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we\n> could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to\n> fail the call.\n> \n> * Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.\n> \n> ## Version 3.14.2\n> \n> _2019-05-19_\n> \n> * Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two\n> calls that failed at the same time could cause OkHttp to crash with a `NoSuchElementException`\n> instead of the expected `IOException`.\n> \n> * Fix: Don't crash with a `NullPointerException` when formatting an error message describing a\n> truncated response from an HTTPS proxy.\n> \n> \n> ## Version 3.14.1\n> \n> _2019-04-10_\n> \n> * Fix: Don't crash when an interceptor retries when there are no more routes. This was an\n> edge-case regression introduced with the events cleanup in 3.14.0.\n> \n> * Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would\n> silently leak connections when an interceptor retries without closing the response body. With\n> ... (truncated)\n
\n
\nCommits\n\n- [`d02340f`](https://github.com/square/okhttp/commit/d02340f9dfac4ead42befc1a4d477b45401956cf) Prepare for release 4.2.2.\n- [`b897fb8`](https://github.com/square/okhttp/commit/b897fb8e0f3fe3622633d59ecaf220ddcae5830f) Merge pull request [#5537](https://github-redirect.dependabot.com/square/okhttp/issues/5537) from square/jwilson.1006.cancel_close\n- [`10f9227`](https://github.com/square/okhttp/commit/10f9227b9398d9c7651131bdeeae92bb714a3bb2) If RST STREAM and END OF STREAM race, send RST STREAM (4.2.x branch)\n- [`97d25e8`](https://github.com/square/okhttp/commit/97d25e88b82454b128d1588c9c0bc013efeee7fe) Prepare next development version.\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.2)\n
\n
\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/565", @@ -975,7 +975,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/565.diff", "patch_url": "https://github.com/hub4j/github-api/pull/565.patch" }, - "body": "Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.6.\n
\nChangelog\n\n*Sourced from [gson's changelog](https://github.com/google/gson/blob/master/CHANGELOG.md).*\n\n> ## Version 2.8.6\n> _2019-10-04_ [GitHub Diff](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6)\n> * Added static nethods `JsonParser.parseString` and `JsonParser.parseReader` and deprecated instance method `JsonParser.parse`\n> * Java 9 module-info support\n
\n
\nCommits\n\n- [`29c9389`](https://github.com/google/gson/commit/29c93895bbcaed02178abc9e3d47b73878aaca73) [maven-release-plugin] prepare release gson-parent-2.8.6\n- [`21fc362`](https://github.com/google/gson/commit/21fc362a7ec9d312c34ad82df6188c6480280021) Fixed tests for java 11 ([#1454](https://github-redirect.dependabot.com/google/gson/issues/1454))\n- [`c188138`](https://github.com/google/gson/commit/c18813884285493e69d94f004c294f539cc49828) restored Java 9 build ([#1586](https://github-redirect.dependabot.com/google/gson/issues/1586))\n- [`20dca86`](https://github.com/google/gson/commit/20dca860dd023bbe917ca5a3fa5c3b7b3615be60) Add docs to module-info.java ([#1535](https://github-redirect.dependabot.com/google/gson/issues/1535))\n- [`d6e6a01`](https://github.com/google/gson/commit/d6e6a01f02417052cb1b65e9056bb678c4f91d98) Keep `TypeAdapter`s from being stripped ([#1546](https://github-redirect.dependabot.com/google/gson/issues/1546))\n- [`7845c38`](https://github.com/google/gson/commit/7845c380778889eab5c57c24da416bf4f3da9b50) Minor cleanups in deprecations and other warnings ([#1522](https://github-redirect.dependabot.com/google/gson/issues/1522))\n- [`0e90771`](https://github.com/google/gson/commit/0e90771e455cd5db201b7beaa2456ffdf50c78f2) Made the build work again with JDK 8 ([#1585](https://github-redirect.dependabot.com/google/gson/issues/1585))\n- [`0409a2e`](https://github.com/google/gson/commit/0409a2ecab8026848ec34dbd0f09378484d9d840) Fix typo in UserGuide ([#1572](https://github-redirect.dependabot.com/google/gson/issues/1572))\n- [`3958b1f`](https://github.com/google/gson/commit/3958b1f78dc2b12da3ffd7426d3fc90550d46758) Prefer writing chars instead of strings of length one ([#1576](https://github-redirect.dependabot.com/google/gson/issues/1576))\n- [`f885e60`](https://github.com/google/gson/commit/f885e602f17fe053576b138fa56c19d1dd46ba6f) Reverted the commit ce0fc4f34fe783ab685762341d61439fd5dc4670\n- Additional commits viewable in [compare view](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.google.code.gson:gson&package-manager=maven&previous-version=2.8.5&new-version=2.8.6)](https://dependabot.com/compatibility-score.html?dependency-name=com.google.code.gson:gson&package-manager=maven&previous-version=2.8.5&new-version=2.8.6)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.6.\n
\nChangelog\n\n*Sourced from [gson's changelog](https://github.com/google/gson/blob/main/CHANGELOG.md).*\n\n> ## Version 2.8.6\n> _2019-10-04_ [GitHub Diff](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6)\n> * Added static nethods `JsonParser.parseString` and `JsonParser.parseReader` and deprecated instance method `JsonParser.parse`\n> * Java 9 module-info support\n
\n
\nCommits\n\n- [`29c9389`](https://github.com/google/gson/commit/29c93895bbcaed02178abc9e3d47b73878aaca73) [maven-release-plugin] prepare release gson-parent-2.8.6\n- [`21fc362`](https://github.com/google/gson/commit/21fc362a7ec9d312c34ad82df6188c6480280021) Fixed tests for java 11 ([#1454](https://github-redirect.dependabot.com/google/gson/issues/1454))\n- [`c188138`](https://github.com/google/gson/commit/c18813884285493e69d94f004c294f539cc49828) restored Java 9 build ([#1586](https://github-redirect.dependabot.com/google/gson/issues/1586))\n- [`20dca86`](https://github.com/google/gson/commit/20dca860dd023bbe917ca5a3fa5c3b7b3615be60) Add docs to module-info.java ([#1535](https://github-redirect.dependabot.com/google/gson/issues/1535))\n- [`d6e6a01`](https://github.com/google/gson/commit/d6e6a01f02417052cb1b65e9056bb678c4f91d98) Keep `TypeAdapter`s from being stripped ([#1546](https://github-redirect.dependabot.com/google/gson/issues/1546))\n- [`7845c38`](https://github.com/google/gson/commit/7845c380778889eab5c57c24da416bf4f3da9b50) Minor cleanups in deprecations and other warnings ([#1522](https://github-redirect.dependabot.com/google/gson/issues/1522))\n- [`0e90771`](https://github.com/google/gson/commit/0e90771e455cd5db201b7beaa2456ffdf50c78f2) Made the build work again with JDK 8 ([#1585](https://github-redirect.dependabot.com/google/gson/issues/1585))\n- [`0409a2e`](https://github.com/google/gson/commit/0409a2ecab8026848ec34dbd0f09378484d9d840) Fix typo in UserGuide ([#1572](https://github-redirect.dependabot.com/google/gson/issues/1572))\n- [`3958b1f`](https://github.com/google/gson/commit/3958b1f78dc2b12da3ffd7426d3fc90550d46758) Prefer writing chars instead of strings of length one ([#1576](https://github-redirect.dependabot.com/google/gson/issues/1576))\n- [`f885e60`](https://github.com/google/gson/commit/f885e602f17fe053576b138fa56c19d1dd46ba6f) Reverted the commit ce0fc4f34fe783ab685762341d61439fd5dc4670\n- Additional commits viewable in [compare view](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.google.code.gson:gson&package-manager=maven&previous-version=2.8.5&new-version=2.8.6)](https://dependabot.com/compatibility-score.html?dependency-name=com.google.code.gson:gson&package-manager=maven&previous-version=2.8.5&new-version=2.8.6)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/564", @@ -1035,7 +1035,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/564.diff", "patch_url": "https://github.com/hub4j/github-api/pull/564.patch" }, - "body": "Bumps [okio](https://github.com/square/okio) from 2.4.0 to 2.4.1.\n
\nChangelog\n\n*Sourced from [okio's changelog](https://github.com/square/okio/blob/master/CHANGELOG.md).*\n\n> ### Version 2.4.1\n> \n> _2019-10-04_\n> \n> * Fix: Don't cache hash code and UTF-8 string in `ByteString` on Kotlin/Native which prevented freezing.\n
\n
\nCommits\n\n- [`7663819`](https://github.com/square/okio/commit/7663819ae58a1b49320fc5c8d729896daf99d633) Prepare for release 2.4.1\n- [`642b47b`](https://github.com/square/okio/commit/642b47b23faf2d29765e56b389ed4bd3acd3d48f) Update CHANGELOG for 2.4.1 release ([#663](https://github-redirect.dependabot.com/square/okio/issues/663))\n- [`a404b91`](https://github.com/square/okio/commit/a404b916da3aa65206b5b5f180b11e82c42f6b81) Merge pull request [#661](https://github-redirect.dependabot.com/square/okio/issues/661) from bnorm/bn.1101.simplify_async_timeout\n- [`ef4d28e`](https://github.com/square/okio/commit/ef4d28ea3bc9b0fa80e45bc55a5cea3ce0112f55) Use inline function to simplify AsyncTimeout enter-exit\n- [`4f8fb63`](https://github.com/square/okio/commit/4f8fb638bb45bf1645ce0637a09a56b8152a6c51) Merge pull request [#658](https://github-redirect.dependabot.com/square/okio/issues/658) from square/egorand/190916/no-caching\n- [`43c0fe6`](https://github.com/square/okio/commit/43c0fe602c1f65b6be0aa243c0ef9d2e5b15e861) Don't cache hash code and UTF-8 string in ByteString on Native\n- [`650db25`](https://github.com/square/okio/commit/650db253d03bde8e861a6cd5fe1796b51801fffc) Merge pull request [#657](https://github-redirect.dependabot.com/square/okio/issues/657) from square/egorand/190913/readme-links\n- [`f3c4108`](https://github.com/square/okio/commit/f3c41089b6ec5a2c8f9c47bbc4dcbfa51dc75e08) Fix links in README\n- [`273357a`](https://github.com/square/okio/commit/273357a2b70d815e30a8a4bde520f6bb8204e1cc) Merge pull request [#655](https://github-redirect.dependabot.com/square/okio/issues/655) from emanonwzy/fix_readme\n- [`02c5eb2`](https://github.com/square/okio/commit/02c5eb2d5f082bdd7f99e8ede53e1a23513f04dc) Fix socks url in README\n- Additional commits viewable in [compare view](https://github.com/square/okio/compare/parent-2.4.0...2.4.1)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.0&new-version=2.4.1)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.0&new-version=2.4.1)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" + "body": "Bumps [okio](https://github.com/square/okio) from 2.4.0 to 2.4.1.\n
\nChangelog\n\n*Sourced from [okio's changelog](https://github.com/square/okio/blob/main/CHANGELOG.md).*\n\n> ### Version 2.4.1\n> \n> _2019-10-04_\n> \n> * Fix: Don't cache hash code and UTF-8 string in `ByteString` on Kotlin/Native which prevented freezing.\n
\n
\nCommits\n\n- [`7663819`](https://github.com/square/okio/commit/7663819ae58a1b49320fc5c8d729896daf99d633) Prepare for release 2.4.1\n- [`642b47b`](https://github.com/square/okio/commit/642b47b23faf2d29765e56b389ed4bd3acd3d48f) Update CHANGELOG for 2.4.1 release ([#663](https://github-redirect.dependabot.com/square/okio/issues/663))\n- [`a404b91`](https://github.com/square/okio/commit/a404b916da3aa65206b5b5f180b11e82c42f6b81) Merge pull request [#661](https://github-redirect.dependabot.com/square/okio/issues/661) from bnorm/bn.1101.simplify_async_timeout\n- [`ef4d28e`](https://github.com/square/okio/commit/ef4d28ea3bc9b0fa80e45bc55a5cea3ce0112f55) Use inline function to simplify AsyncTimeout enter-exit\n- [`4f8fb63`](https://github.com/square/okio/commit/4f8fb638bb45bf1645ce0637a09a56b8152a6c51) Merge pull request [#658](https://github-redirect.dependabot.com/square/okio/issues/658) from square/egorand/190916/no-caching\n- [`43c0fe6`](https://github.com/square/okio/commit/43c0fe602c1f65b6be0aa243c0ef9d2e5b15e861) Don't cache hash code and UTF-8 string in ByteString on Native\n- [`650db25`](https://github.com/square/okio/commit/650db253d03bde8e861a6cd5fe1796b51801fffc) Merge pull request [#657](https://github-redirect.dependabot.com/square/okio/issues/657) from square/egorand/190913/readme-links\n- [`f3c4108`](https://github.com/square/okio/commit/f3c41089b6ec5a2c8f9c47bbc4dcbfa51dc75e08) Fix links in README\n- [`273357a`](https://github.com/square/okio/commit/273357a2b70d815e30a8a4bde520f6bb8204e1cc) Merge pull request [#655](https://github-redirect.dependabot.com/square/okio/issues/655) from emanonwzy/fix_readme\n- [`02c5eb2`](https://github.com/square/okio/commit/02c5eb2d5f082bdd7f99e8ede53e1a23513f04dc) Fix socks url in README\n- Additional commits viewable in [compare view](https://github.com/square/okio/compare/parent-2.4.0...2.4.1)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.0&new-version=2.4.1)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.4.0&new-version=2.4.1)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\n\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/563", @@ -1299,7 +1299,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/559.diff", "patch_url": "https://github.com/hub4j/github-api/pull/559.patch" }, - "body": "Bumps `okhttp3.version` from 3.12.3 to 4.2.1.\n\nUpdates `okhttp` from 3.12.3 to 4.2.1\n
\nChangelog\n\n*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*\n\n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> ... (truncated)\n
\n
\nCommits\n\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.1)\n
\n
\n\nUpdates `okhttp-urlconnection` from 3.12.3 to 4.2.1\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*\n\n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> ... (truncated)\n
\n
\nCommits\n\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.1)\n
\n
\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" + "body": "Bumps `okhttp3.version` from 3.12.3 to 4.2.1.\n\nUpdates `okhttp` from 3.12.3 to 4.2.1\n
\nChangelog\n\n*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/main/CHANGELOG.md).*\n\n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> ... (truncated)\n
\n
\nCommits\n\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.1)\n
\n
\n\nUpdates `okhttp-urlconnection` from 3.12.3 to 4.2.1\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/main/CHANGELOG.md).*\n\n> ## Version 4.2.1\n> \n> _2019-10-02_\n> \n> * Fix: In 4.1.0 we introduced a performance regression that prevented connections from being\n> pooled in certain situations. We have good test coverage for connection pooling but we missed\n> this because it only occurs if you have proxy configured and you share a connection pool among\n> multiple `OkHttpClient` instances.\n> \n> This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own\n> `NullProxySelector` when an explicit proxy is configured. But we don't share connections when\n> the proxy selectors are different. Ugh!\n> \n> \n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> ... (truncated)\n
\n
\nCommits\n\n- [`57a165b`](https://github.com/square/okhttp/commit/57a165b69c6551c1caec8a557e0e9c9abf54b536) Prepare for release 4.2.1.\n- [`4c640ad`](https://github.com/square/okhttp/commit/4c640ad6c3016f49e753b5c86ab5c4d8b072bb66) Merge pull request [#5524](https://github-redirect.dependabot.com/square/okhttp/issues/5524) from square/jwilson.1002.cherrypick_poolfix\n- [`1b4b6bb`](https://github.com/square/okhttp/commit/1b4b6bbc82206816ced207bb0132611f770c56cd) Fix connection pooling for different clients with the same pool.\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.2.1)\n
\n
\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/558", @@ -1359,7 +1359,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/558.diff", "patch_url": "https://github.com/hub4j/github-api/pull/558.patch" }, - "body": "Bumps [okio](https://github.com/square/okio) from 2.2.2 to 2.4.0.\n
\nChangelog\n\n*Sourced from [okio's changelog](https://github.com/square/okio/blob/master/CHANGELOG.md).*\n\n> ### Version 2.4.0\n> \n> _2019-08-26_\n> \n> * New: Upgrade to Kotlin 1.3.50.\n> \n> \n> ### Version 2.3.0\n> \n> _2019-07-29_\n> \n> **This release changes our build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM).**\n> Both native and JavaScript platforms are unstable preview releases and subject to\n> backwards-incompatible changes in forthcoming releases.\n> \n> To try Okio in a multiplatform project use this Maven coordinate:\n> \n> ```kotlin\n> api('com.squareup.okio:okio-multiplatform:2.3.0')\n> ```\n> \n> You’ll also need to [enable Gradle metadata][gradle_metadata] in your project's settings. The\n> artifact name for JVM projects has not changed.\n> \n> * New: Upgrade to Kotlin 1.3.40.\n> * Fix: Use Gradle `api` instead of `implementation` for the kotlin-stdlib dependency.\n> * Fix: Don't block unless strictly necessary in `BufferedSource.peek()`.\n> \n> ## Version 1.17.4\n> \n> _2019-04-29_\n> \n> * Fix: Don't block unless strictly necessary in `BufferedSource.peek()`.\n
\n
\nCommits\n\n- [`35a6919`](https://github.com/square/okio/commit/35a69198bb17c7d8dc2b59aa2d4ffae3c201c599) Prepare for release 2.4.0.\n- [`1ab5136`](https://github.com/square/okio/commit/1ab5136fc3a7c3a713d1d82053643612b44aa092) Merge pull request [#650](https://github-redirect.dependabot.com/square/okio/issues/650) from square/jakew/repeat/2019-08-23\n- [`533b7da`](https://github.com/square/okio/commit/533b7dae1aafd007de3bfe58cf619aeec101e36b) Remove TestUtils.repeat in favor of Kotlin repeat\n- [`589c56c`](https://github.com/square/okio/commit/589c56c98b08dc690024fa0268885b08e3c61497) Kotlin 1.3.50 ([#649](https://github-redirect.dependabot.com/square/okio/issues/649))\n- [`29c16f9`](https://github.com/square/okio/commit/29c16f91a148db2df233bf734d229019db664824) Merge pull request [#648](https://github-redirect.dependabot.com/square/okio/issues/648) from square/egorand/190815/kotlin-1.3.50-eap\n- [`efaae11`](https://github.com/square/okio/commit/efaae11bd92d48ac303238b3f6b27c192c70541e) Kotlin 1.3.50-eap\n- [`a93f96c`](https://github.com/square/okio/commit/a93f96c0dc2b1256f209ec719dc96b6c121bba45) Update ktlint gradle to 8.2.0 version. ([#642](https://github-redirect.dependabot.com/square/okio/issues/642))\n- [`16cde1a`](https://github.com/square/okio/commit/16cde1a986fe921e6bad94a3f26841726c39797d) Merge pull request [#644](https://github-redirect.dependabot.com/square/okio/issues/644) from square/egorand/190805/kill-node\n- [`9376cb3`](https://github.com/square/okio/commit/9376cb360531f1f9af11af6063f3f171feecd19c) Merge pull request [#643](https://github-redirect.dependabot.com/square/okio/issues/643) from square/egorand/190804/gradle-5.5.1\n- [`5de9874`](https://github.com/square/okio/commit/5de9874d35a26c8ae0da8c302990cca1a11ea725) Node plugin is not needed anymore\n- Additional commits viewable in [compare view](https://github.com/square/okio/compare/2.2.2...parent-2.4.0)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.2.2&new-version=2.4.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.2.2&new-version=2.4.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" + "body": "Bumps [okio](https://github.com/square/okio) from 2.2.2 to 2.4.0.\n
\nChangelog\n\n*Sourced from [okio's changelog](https://github.com/square/okio/blob/main/CHANGELOG.md).*\n\n> ### Version 2.4.0\n> \n> _2019-08-26_\n> \n> * New: Upgrade to Kotlin 1.3.50.\n> \n> \n> ### Version 2.3.0\n> \n> _2019-07-29_\n> \n> **This release changes our build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM).**\n> Both native and JavaScript platforms are unstable preview releases and subject to\n> backwards-incompatible changes in forthcoming releases.\n> \n> To try Okio in a multiplatform project use this Maven coordinate:\n> \n> ```kotlin\n> api('com.squareup.okio:okio-multiplatform:2.3.0')\n> ```\n> \n> You’ll also need to [enable Gradle metadata][gradle_metadata] in your project's settings. The\n> artifact name for JVM projects has not changed.\n> \n> * New: Upgrade to Kotlin 1.3.40.\n> * Fix: Use Gradle `api` instead of `implementation` for the kotlin-stdlib dependency.\n> * Fix: Don't block unless strictly necessary in `BufferedSource.peek()`.\n> \n> ## Version 1.17.4\n> \n> _2019-04-29_\n> \n> * Fix: Don't block unless strictly necessary in `BufferedSource.peek()`.\n
\n
\nCommits\n\n- [`35a6919`](https://github.com/square/okio/commit/35a69198bb17c7d8dc2b59aa2d4ffae3c201c599) Prepare for release 2.4.0.\n- [`1ab5136`](https://github.com/square/okio/commit/1ab5136fc3a7c3a713d1d82053643612b44aa092) Merge pull request [#650](https://github-redirect.dependabot.com/square/okio/issues/650) from square/jakew/repeat/2019-08-23\n- [`533b7da`](https://github.com/square/okio/commit/533b7dae1aafd007de3bfe58cf619aeec101e36b) Remove TestUtils.repeat in favor of Kotlin repeat\n- [`589c56c`](https://github.com/square/okio/commit/589c56c98b08dc690024fa0268885b08e3c61497) Kotlin 1.3.50 ([#649](https://github-redirect.dependabot.com/square/okio/issues/649))\n- [`29c16f9`](https://github.com/square/okio/commit/29c16f91a148db2df233bf734d229019db664824) Merge pull request [#648](https://github-redirect.dependabot.com/square/okio/issues/648) from square/egorand/190815/kotlin-1.3.50-eap\n- [`efaae11`](https://github.com/square/okio/commit/efaae11bd92d48ac303238b3f6b27c192c70541e) Kotlin 1.3.50-eap\n- [`a93f96c`](https://github.com/square/okio/commit/a93f96c0dc2b1256f209ec719dc96b6c121bba45) Update ktlint gradle to 8.2.0 version. ([#642](https://github-redirect.dependabot.com/square/okio/issues/642))\n- [`16cde1a`](https://github.com/square/okio/commit/16cde1a986fe921e6bad94a3f26841726c39797d) Merge pull request [#644](https://github-redirect.dependabot.com/square/okio/issues/644) from square/egorand/190805/kill-node\n- [`9376cb3`](https://github.com/square/okio/commit/9376cb360531f1f9af11af6063f3f171feecd19c) Merge pull request [#643](https://github-redirect.dependabot.com/square/okio/issues/643) from square/egorand/190804/gradle-5.5.1\n- [`5de9874`](https://github.com/square/okio/commit/5de9874d35a26c8ae0da8c302990cca1a11ea725) Node plugin is not needed anymore\n- Additional commits viewable in [compare view](https://github.com/square/okio/compare/2.2.2...parent-2.4.0)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.2.2&new-version=2.4.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okio:okio&package-manager=maven&previous-version=2.2.2&new-version=2.4.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/557", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-7.json index 7ab5db564..9e231d481 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-7.json @@ -57,7 +57,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/553.diff", "patch_url": "https://github.com/hub4j/github-api/pull/553.patch" }, - "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.9.0 to 4.2.0.\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*\n\n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this\n> happened enough then eventually the connection would stall.\n> \n> * Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we\n> could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to\n> fail the call.\n> \n> \n> ## Version 4.1.1\n> \n> _2019-09-05_\n> \n> * Fix: Don't drop repeated headers when validating cached responses. In our Kotlin upgrade we\n> introduced a regression where we iterated the number of unique header names rather than then\n> ... (truncated)\n
\n
\nCommits\n\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- [`ba2c676`](https://github.com/square/okhttp/commit/ba2c676aaf2b825528955f61dd43004a5bd9ca98) Handshake returns cleaned peer certificates ([#5311](https://github-redirect.dependabot.com/square/okhttp/issues/5311))\n- [`93c5bcc`](https://github.com/square/okhttp/commit/93c5bcc6cb46aef19b2f55e61c01f6b1bbccee70) Make it easier to decode PEM files\n- [`6f17886`](https://github.com/square/okhttp/commit/6f178869acc2a2a9a6882c49dfb5bcf7a43b3ddd) Merge pull request [#5423](https://github-redirect.dependabot.com/square/okhttp/issues/5423) from square/jwilson.0905.windows\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.9.0...parent-4.2.0)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.9.0&new-version=4.2.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.9.0&new-version=4.2.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.\n\nYou can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" + "body": "Bumps [okhttp-urlconnection](https://github.com/square/okhttp) from 3.9.0 to 4.2.0.\n
\nChangelog\n\n*Sourced from [okhttp-urlconnection's changelog](https://github.com/square/okhttp/blob/main/CHANGELOG.md).*\n\n> ## Version 4.2.0\n> \n> _2019-09-10_\n> \n> * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a\n> string containing both a certificate and PKCS #8-encoded private key.\n> \n> ```kotlin\n> val heldCertificate = HeldCertificate.decode(\"\"\"\n> |-----BEGIN CERTIFICATE-----\n> |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n> |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n> |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n> |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n> |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n> |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n> |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n> |yyaoEufLKVXhrTQhRfodTeigi4RX\n> |-----END CERTIFICATE-----\n> |-----BEGIN PRIVATE KEY-----\n> |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n> |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n> |-----END PRIVATE KEY-----\n> \"\"\".trimMargin())\n> val handshakeCertificates = HandshakeCertificates.Builder()\n> .heldCertificate(heldCertificate)\n> .build()\n> val server = MockWebServer()\n> server.useHttps(handshakeCertificates.sslSocketFactory(), false)\n> ```\n> \n> Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.\n> \n> * Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by\n> the certificate that follows and the last certificate is signed by a trusted root.\n> \n> * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this\n> happened enough then eventually the connection would stall.\n> \n> * Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we\n> could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to\n> fail the call.\n> \n> \n> ## Version 4.1.1\n> \n> _2019-09-05_\n> \n> * Fix: Don't drop repeated headers when validating cached responses. In our Kotlin upgrade we\n> introduced a regression where we iterated the number of unique header names rather than then\n> ... (truncated)\n
\n
\nCommits\n\n- [`582f8ef`](https://github.com/square/okhttp/commit/582f8ef2f78cf001d479cb65831674289fd83af0) Prepare for release 4.2.0.\n- [`9b60ca8`](https://github.com/square/okhttp/commit/9b60ca8e88445de48997d3391ae15417a6ef5d90) Merge pull request [#5434](https://github-redirect.dependabot.com/square/okhttp/issues/5434) from square/jwilson.0909.race\n- [`510475a`](https://github.com/square/okhttp/commit/510475a21586fdf6010312a1950dca6e87cb6d2e) Don't leak incoming bytes when we race incoming data and close\n- [`2cdbbda`](https://github.com/square/okhttp/commit/2cdbbda64a8f01c48658a2101aca206389b50878) Hows My Ssl test for Android ([#5428](https://github-redirect.dependabot.com/square/okhttp/issues/5428))\n- [`3464ef3`](https://github.com/square/okhttp/commit/3464ef37e4fceb997df9c95cadce6fcc38102450) Merge pull request [#5431](https://github-redirect.dependabot.com/square/okhttp/issues/5431) from square/jwilson.0907.ack_apply_atomically\n- [`bd6a97a`](https://github.com/square/okhttp/commit/bd6a97a7200dda2127a0a6b7167fef0d09febf27) Acknowledge and apply inbound settings atomically\n- [`3490c7e`](https://github.com/square/okhttp/commit/3490c7ef9598e99bc298208f68022b36fecb21ce) Merge pull request [#5427](https://github-redirect.dependabot.com/square/okhttp/issues/5427) from square/jwilson.0905.decode_pems\n- [`ba2c676`](https://github.com/square/okhttp/commit/ba2c676aaf2b825528955f61dd43004a5bd9ca98) Handshake returns cleaned peer certificates ([#5311](https://github-redirect.dependabot.com/square/okhttp/issues/5311))\n- [`93c5bcc`](https://github.com/square/okhttp/commit/93c5bcc6cb46aef19b2f55e61c01f6b1bbccee70) Make it easier to decode PEM files\n- [`6f17886`](https://github.com/square/okhttp/commit/6f178869acc2a2a9a6882c49dfb5bcf7a43b3ddd) Merge pull request [#5423](https://github-redirect.dependabot.com/square/okhttp/issues/5423) from square/jwilson.0905.windows\n- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.9.0...parent-4.2.0)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.9.0&new-version=4.2.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.squareup.okhttp3:okhttp-urlconnection&package-manager=maven&previous-version=3.9.0&new-version=4.2.0)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.\n\nYou can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/552", @@ -177,7 +177,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/551.diff", "patch_url": "https://github.com/hub4j/github-api/pull/551.patch" }, - "body": "Bumps [commons-codec](https://github.com/apache/commons-codec) from 1.7 to 1.13.\n
\nChangelog\n\n*Sourced from [commons-codec's changelog](https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt).*\n\n> Apache Apache Commons Codec 1.13 RELEASE NOTES\n> \n> The Apache Commons Codec package contains simple encoder and decoders for\n> various formats such as Base64 and Hexadecimal. In addition to these\n> widely used encoders and decoders, the codec package also maintains a\n> collection of phonetic encoding utilities.\n> \n> Feature and fix release.\n> \n> Changes in this version include:\n> \n> New features:\n> o CODEC-236: MurmurHash2 for 32-bit or 64-bit value. Thanks to Viliam Holub.\n> o CODEC-236: MurmurHash3 for 32-bit or 128-bit value. Thanks to Austin Appleby.\n> \n> Fixed Bugs:\n> o CODEC-255: ColognePhonetic handles x incorrectly Thanks to Holger Grote.\n> o CODEC-254: ColognePhonetic does not treat the letter H correctly Thanks to Holger Grote.\n> o CODEC-134: Reject any decode request for a value that is impossible to encode to for Base32/Base64 rather than blindly decoding.\n> \n> Changes:\n> o CODEC-236: Broken direct java.nio.ByteBuffer support in org.apache.commons.codec.binary.Hex. Thanks to Tomas Shestakov, Gary Gregory.\n> \n> \n> For complete information on Apache Commons Codec, including instructions on how to submit bug reports,\n> patches, or suggestions for improvement, see the Apache Apache Commons Codec website:\n> \n> Visit https://commons.apache.org/proper/commons-codec/\n> Download from https://commons.apache.org/proper/commons-codec/download_codec.cgi\n> \n> \n> -------------------------------------------------------------------------------\n> \n> Apache Commons Codec 1.12 RELEASE NOTES\n> \n> The Apache Commons Codec team is pleased to announce the commons-codec-1.12 release!\n> \n> The Apache Commons Codec package contains simple encoder and decoders for\n> various formats such as Base64 and Hexadecimal. In addition to these\n> widely used encoders and decoders, the codec package also maintains a\n> collection of phonetic encoding utilities.\n> \n> Changes in this version include:\n> \n> New features:\n> o Add Percent-Encoding Codec (described in RFC3986 and RFC7578) Issue: CODEC-240. Thanks to Ioannis Sermetziadis.\n> o Add SHA-3 methods in DigestUtils Issue: CODEC-251. Thanks to Gary Gregory.\n> \n> Fixed Bugs:\n> o B64 salt generator: Random -> ThreadLocalRandom Issue: CODEC-252.\n> ... (truncated)\n
\n
\nCommits\n\n- [`beafa49`](https://github.com/apache/commons-codec/commit/beafa49f88be397f89b78d125d2c7c52b0114006) Fix the site's source repository link.\n- [`4200d4d`](https://github.com/apache/commons-codec/commit/4200d4d9cbfb2cbfc7f6e783cceb06bb52963887) Fix the site's source repository link.\n- [`20dc3ec`](https://github.com/apache/commons-codec/commit/20dc3ec2c6b41f9412ecf4a1cbe9bba10e1498ed) Prepare for the next release.\n- [`7d309fc`](https://github.com/apache/commons-codec/commit/7d309fc952fa201c53ba277eee33b751f56cf50e) Update POM version numbers for Apache Commons Codec release 1.13\n- [`47a55d2`](https://github.com/apache/commons-codec/commit/47a55d21515bf2ec49d2c1b4f2f83bf66a09a7c5) Prepare for the next release.\n- [`3730126`](https://github.com/apache/commons-codec/commit/3730126d8a3fbf98533710e1c9f2ba18b91d53f2) Prepare for the next release.\n- [`9969e7b`](https://github.com/apache/commons-codec/commit/9969e7b317777e151646923d302e856b163ba224) Prepare for the next release.\n- [`fe39ffc`](https://github.com/apache/commons-codec/commit/fe39ffc076712fc8cd55c96fc5cb0eee2efe4847) Remove unnecessary type casts.\n- [`3e6fb93`](https://github.com/apache/commons-codec/commit/3e6fb93250fb951ccd3b9597cd19b1c2243a77b1) Use final.\n- [`9253700`](https://github.com/apache/commons-codec/commit/9253700b7308dc43f063c87014dce5ee80ee33e0) Remove trailing white spaces.\n- Additional commits viewable in [compare view](https://github.com/apache/commons-codec/compare/1.7...commons-codec-1.13)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=commons-codec:commons-codec&package-manager=maven&previous-version=1.7&new-version=1.13)](https://dependabot.com/compatibility-score.html?dependency-name=commons-codec:commons-codec&package-manager=maven&previous-version=1.7&new-version=1.13)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.\n\nYou can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" + "body": "Bumps [commons-codec](https://github.com/apache/commons-codec) from 1.7 to 1.13.\n
\nChangelog\n\n*Sourced from [commons-codec's changelog](https://github.com/apache/commons-codec/blob/main/RELEASE-NOTES.txt).*\n\n> Apache Apache Commons Codec 1.13 RELEASE NOTES\n> \n> The Apache Commons Codec package contains simple encoder and decoders for\n> various formats such as Base64 and Hexadecimal. In addition to these\n> widely used encoders and decoders, the codec package also maintains a\n> collection of phonetic encoding utilities.\n> \n> Feature and fix release.\n> \n> Changes in this version include:\n> \n> New features:\n> o CODEC-236: MurmurHash2 for 32-bit or 64-bit value. Thanks to Viliam Holub.\n> o CODEC-236: MurmurHash3 for 32-bit or 128-bit value. Thanks to Austin Appleby.\n> \n> Fixed Bugs:\n> o CODEC-255: ColognePhonetic handles x incorrectly Thanks to Holger Grote.\n> o CODEC-254: ColognePhonetic does not treat the letter H correctly Thanks to Holger Grote.\n> o CODEC-134: Reject any decode request for a value that is impossible to encode to for Base32/Base64 rather than blindly decoding.\n> \n> Changes:\n> o CODEC-236: Broken direct java.nio.ByteBuffer support in org.apache.commons.codec.binary.Hex. Thanks to Tomas Shestakov, Gary Gregory.\n> \n> \n> For complete information on Apache Commons Codec, including instructions on how to submit bug reports,\n> patches, or suggestions for improvement, see the Apache Apache Commons Codec website:\n> \n> Visit https://commons.apache.org/proper/commons-codec/\n> Download from https://commons.apache.org/proper/commons-codec/download_codec.cgi\n> \n> \n> -------------------------------------------------------------------------------\n> \n> Apache Commons Codec 1.12 RELEASE NOTES\n> \n> The Apache Commons Codec team is pleased to announce the commons-codec-1.12 release!\n> \n> The Apache Commons Codec package contains simple encoder and decoders for\n> various formats such as Base64 and Hexadecimal. In addition to these\n> widely used encoders and decoders, the codec package also maintains a\n> collection of phonetic encoding utilities.\n> \n> Changes in this version include:\n> \n> New features:\n> o Add Percent-Encoding Codec (described in RFC3986 and RFC7578) Issue: CODEC-240. Thanks to Ioannis Sermetziadis.\n> o Add SHA-3 methods in DigestUtils Issue: CODEC-251. Thanks to Gary Gregory.\n> \n> Fixed Bugs:\n> o B64 salt generator: Random -> ThreadLocalRandom Issue: CODEC-252.\n> ... (truncated)\n
\n
\nCommits\n\n- [`beafa49`](https://github.com/apache/commons-codec/commit/beafa49f88be397f89b78d125d2c7c52b0114006) Fix the site's source repository link.\n- [`4200d4d`](https://github.com/apache/commons-codec/commit/4200d4d9cbfb2cbfc7f6e783cceb06bb52963887) Fix the site's source repository link.\n- [`20dc3ec`](https://github.com/apache/commons-codec/commit/20dc3ec2c6b41f9412ecf4a1cbe9bba10e1498ed) Prepare for the next release.\n- [`7d309fc`](https://github.com/apache/commons-codec/commit/7d309fc952fa201c53ba277eee33b751f56cf50e) Update POM version numbers for Apache Commons Codec release 1.13\n- [`47a55d2`](https://github.com/apache/commons-codec/commit/47a55d21515bf2ec49d2c1b4f2f83bf66a09a7c5) Prepare for the next release.\n- [`3730126`](https://github.com/apache/commons-codec/commit/3730126d8a3fbf98533710e1c9f2ba18b91d53f2) Prepare for the next release.\n- [`9969e7b`](https://github.com/apache/commons-codec/commit/9969e7b317777e151646923d302e856b163ba224) Prepare for the next release.\n- [`fe39ffc`](https://github.com/apache/commons-codec/commit/fe39ffc076712fc8cd55c96fc5cb0eee2efe4847) Remove unnecessary type casts.\n- [`3e6fb93`](https://github.com/apache/commons-codec/commit/3e6fb93250fb951ccd3b9597cd19b1c2243a77b1) Use final.\n- [`9253700`](https://github.com/apache/commons-codec/commit/9253700b7308dc43f063c87014dce5ee80ee33e0) Remove trailing white spaces.\n- Additional commits viewable in [compare view](https://github.com/apache/commons-codec/compare/1.7...commons-codec-1.13)\n
\n
\n\n[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=commons-codec:commons-codec&package-manager=maven&previous-version=1.7&new-version=1.13)](https://dependabot.com/compatibility-score.html?dependency-name=commons-codec:commons-codec&package-manager=maven&previous-version=1.7&new-version=1.13)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.\n\nYou can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language\n- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language\n- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language\n- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language\n- `@dependabot badge me` will comment on this PR with code to add a \"Dependabot enabled\" badge to your readme\n\nAdditionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):\n- Update frequency (including time of day and day of week)\n- Pull request limits (per update run and/or open at any time)\n- Out-of-range updates (receive only lockfile updates, if desired)\n- Security updates (receive only security updates, if desired)\n\nFinally, you can contact us by mentioning @dependabot.\n\n
" }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/550", @@ -811,7 +811,7 @@ "diff_url": "https://github.com/hub4j/github-api/pull/538.diff", "patch_url": "https://github.com/hub4j/github-api/pull/538.patch" }, - "body": "The [create a pull request API](https://developer.github.com/v3/pulls/#create-a-pull-request) does not require a namespace on the head branch when creating a pull request between two branches in the same repository.\r\n\r\nHowever, the [list pull requests API](https://developer.github.com/v3/pulls/#list-pull-requests) **does** require a namespace on the `head` value in order to work properly. If the namespace is omitted, the call _ignores_ the `head` parameter entirely, returning all pull requests that match on the other criteria.\r\n\r\nIn my opinion, this seems like an oversight in the API and creates quite a pitfall.\r\n\r\nFor example, creating a pull request between two branches in the same repository looks like:\r\n`repository.createPullRequest(\"title\", \"my-branch\", \"master\", null);`\r\nBut the query to pull back the newly created pull request must look like:\r\n`repository.queryPullRequests().state(GHIssueState.OPEN).head(\"my-org:my-branch\").base(\"master\").list();`\r\nForgetting the `my-org:` results in all open pull-requests into the master branch being returned, which is clearly not what was intended in the query.\r\n\r\nThis change causes the `head` value to be namespaced by default if a non-namespaced value is provided, given that providing a non-namespaced value is effectively the same as `null` and will never behave as the developer intended." + "body": "The [create a pull request API](https://developer.github.com/v3/pulls/#create-a-pull-request) does not require a namespace on the head branch when creating a pull request between two branches in the same repository.\r\n\r\nHowever, the [list pull requests API](https://developer.github.com/v3/pulls/#list-pull-requests) **does** require a namespace on the `head` value in order to work properly. If the namespace is omitted, the call _ignores_ the `head` parameter entirely, returning all pull requests that match on the other criteria.\r\n\r\nIn my opinion, this seems like an oversight in the API and creates quite a pitfall.\r\n\r\nFor example, creating a pull request between two branches in the same repository looks like:\r\n`repository.createPullRequest(\"title\", \"my-branch\", \"main\", null);`\r\nBut the query to pull back the newly created pull request must look like:\r\n`repository.queryPullRequests().state(GHIssueState.OPEN).head(\"my-org:my-branch\").base(\"main\").list();`\r\nForgetting the `my-org:` results in all open pull-requests into the main branch being returned, which is clearly not what was intended in the query.\r\n\r\nThis change causes the `head` value to be namespaced by default if a non-namespaced value is provided, given that providing a non-namespaced value is effectively the same as `null` and will never behave as the developer intended." }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/537", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-8.json index c277ab79b..5b5e1edf2 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-8.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testListIssues/__files/repositories_617210_issues-8.json @@ -379,7 +379,7 @@ "updated_at": "2019-11-04T22:54:55Z", "closed_at": "2019-11-04T22:54:55Z", "author_association": "NONE", - "body": "According to https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-3140. `OkUrlFactory` was removed from okhttp 3.14.0, making the upgrade impossible when your application requires okhttp as the default mechanism for HTTP requests." + "body": "According to https://github.com/square/okhttp/blob/main/CHANGELOG.md#version-3140. `OkUrlFactory` was removed from okhttp 3.14.0, making the upgrade impossible when your application requires okhttp as the default mechanism for HTTP requests." }, { "url": "https://api.github.com/repos/hub4j/github-api/issues/505", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMembership/__files/repos_hub4j-test-org_jenkins-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMembership/__files/repos_hub4j-test-org_jenkins-3.json index 1200424cf..ea96127ee 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMembership/__files/repos_hub4j-test-org_jenkins-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMembership/__files/repos_hub4j-test-org_jenkins-3.json @@ -96,7 +96,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 1103607, @@ -323,7 +323,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master" + "default_branch": "main" }, "network_count": 5807, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_hub4j-test-org_rubywm-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_hub4j-test-org_rubywm-5.json index 5d40f8459..13f569a97 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_hub4j-test-org_rubywm-5.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_hub4j-test-org_rubywm-5.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -211,7 +211,7 @@ "forks": 6, "open_issues": 0, "watchers": 7, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 383524, @@ -305,7 +305,7 @@ "forks": 6, "open_issues": 0, "watchers": 7, - "default_branch": "master" + "default_branch": "main" }, "network_count": 6, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_kohsuke_rubywm-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_kohsuke_rubywm-2.json index 48ea41c76..e8bd84fc8 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_kohsuke_rubywm-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_kohsuke_rubywm-2.json @@ -90,7 +90,7 @@ "forks": 5, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_kohsuke_rubywm_forks-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_kohsuke_rubywm_forks-4.json index 0bbf9cc91..ffe1d7882 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_kohsuke_rubywm_forks-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgFork/__files/repos_kohsuke_rubywm_forks-4.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -208,7 +208,7 @@ "forks": 6, "open_issues": 0, "watchers": 7, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 383524, @@ -302,7 +302,7 @@ "forks": 6, "open_issues": 0, "watchers": 7, - "default_branch": "master" + "default_branch": "main" }, "network_count": 6, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-10.json index 9f68bdd31..1c3cd78d4 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-10.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-10.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -301,7 +301,7 @@ "forks": 38, "open_issues": 11, "watchers": 87, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -400,7 +400,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -499,7 +499,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -598,7 +598,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -697,7 +697,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -796,7 +796,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -895,7 +895,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -994,7 +994,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1093,7 +1093,7 @@ "forks": 21, "open_issues": 4, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1198,7 +1198,7 @@ "forks": 109, "open_issues": 11, "watchers": 89, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1297,7 +1297,7 @@ "forks": 2, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1396,7 +1396,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1495,7 +1495,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1594,7 +1594,7 @@ "forks": 3, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1693,7 +1693,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1792,7 +1792,7 @@ "forks": 7, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1897,7 +1897,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1996,7 +1996,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2095,7 +2095,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2194,7 +2194,7 @@ "forks": 18, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2293,7 +2293,7 @@ "forks": 55, "open_issues": 9, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2392,7 +2392,7 @@ "forks": 11, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2491,7 +2491,7 @@ "forks": 59, "open_issues": 7, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2590,7 +2590,7 @@ "forks": 12, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2689,7 +2689,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2794,7 +2794,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2893,7 +2893,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2992,7 +2992,7 @@ "forks": 133, "open_issues": 9, "watchers": 107, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3091,7 +3091,7 @@ "forks": 5, "open_issues": 7, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3190,7 +3190,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3289,7 +3289,7 @@ "forks": 7, "open_issues": 6, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3394,7 +3394,7 @@ "forks": 8, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3493,7 +3493,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3592,7 +3592,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3691,7 +3691,7 @@ "forks": 7, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3796,7 +3796,7 @@ "forks": 31, "open_issues": 2, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3895,7 +3895,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3994,7 +3994,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4093,7 +4093,7 @@ "forks": 3, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4198,7 +4198,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4297,7 +4297,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4396,7 +4396,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4495,7 +4495,7 @@ "forks": 3, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4600,7 +4600,7 @@ "forks": 6, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4699,7 +4699,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4804,7 +4804,7 @@ "forks": 5, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4909,7 +4909,7 @@ "forks": 6, "open_issues": 4, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5014,7 +5014,7 @@ "forks": 12, "open_issues": 2, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5113,7 +5113,7 @@ "forks": 1, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5212,7 +5212,7 @@ "forks": 3, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5317,7 +5317,7 @@ "forks": 9, "open_issues": 1, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5422,7 +5422,7 @@ "forks": 683, "open_issues": 15, "watchers": 1566, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5521,7 +5521,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5626,7 +5626,7 @@ "forks": 12, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5731,7 +5731,7 @@ "forks": 12, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5830,7 +5830,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5929,7 +5929,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6028,7 +6028,7 @@ "forks": 10, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6127,7 +6127,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6232,7 +6232,7 @@ "forks": 10, "open_issues": 3, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6337,7 +6337,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6442,7 +6442,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6541,7 +6541,7 @@ "forks": 67, "open_issues": 6, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6640,7 +6640,7 @@ "forks": 8, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6739,7 +6739,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6838,7 +6838,7 @@ "forks": 6, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6937,7 +6937,7 @@ "forks": 5, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7036,7 +7036,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7135,7 +7135,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7240,7 +7240,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7345,7 +7345,7 @@ "forks": 11, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7450,7 +7450,7 @@ "forks": 588, "open_issues": 137, "watchers": 411, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7555,7 +7555,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7654,7 +7654,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7753,7 +7753,7 @@ "forks": 9, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7852,7 +7852,7 @@ "forks": 5, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7951,7 +7951,7 @@ "forks": 2, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8050,7 +8050,7 @@ "forks": 17, "open_issues": 2, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8155,7 +8155,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8254,7 +8254,7 @@ "forks": 62, "open_issues": 0, "watchers": 30, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8353,7 +8353,7 @@ "forks": 5, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8452,7 +8452,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8656,7 +8656,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8755,7 +8755,7 @@ "forks": 8, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8854,7 +8854,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8953,7 +8953,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9052,7 +9052,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9151,7 +9151,7 @@ "forks": 11, "open_issues": 8, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9250,7 +9250,7 @@ "forks": 8, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9349,7 +9349,7 @@ "forks": 13, "open_issues": 2, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9448,7 +9448,7 @@ "forks": 11, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9547,7 +9547,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9646,7 +9646,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9745,7 +9745,7 @@ "forks": 43, "open_issues": 27, "watchers": 129, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9844,7 +9844,7 @@ "forks": 3, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9943,7 +9943,7 @@ "forks": 5, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10042,7 +10042,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-11.json index 015d53dbe..e8bdbe786 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-11.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-11.json @@ -91,7 +91,7 @@ "forks": 5, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -295,7 +295,7 @@ "forks": 27, "open_issues": 27, "watchers": 28, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -394,7 +394,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -493,7 +493,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -691,7 +691,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -790,7 +790,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -889,7 +889,7 @@ "forks": 15, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -988,7 +988,7 @@ "forks": 35, "open_issues": 6, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1087,7 +1087,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1186,7 +1186,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1285,7 +1285,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1384,7 +1384,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1483,7 +1483,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1588,7 +1588,7 @@ "forks": 105, "open_issues": 5, "watchers": 93, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1687,7 +1687,7 @@ "forks": 9, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1885,7 +1885,7 @@ "forks": 45, "open_issues": 3, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1984,7 +1984,7 @@ "forks": 5, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2083,7 +2083,7 @@ "forks": 12, "open_issues": 2, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2182,7 +2182,7 @@ "forks": 11, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2281,7 +2281,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2380,7 +2380,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2485,7 +2485,7 @@ "forks": 373, "open_issues": 110, "watchers": 574, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2584,7 +2584,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2683,7 +2683,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2782,7 +2782,7 @@ "forks": 0, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2986,7 +2986,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3085,7 +3085,7 @@ "forks": 14, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3184,7 +3184,7 @@ "forks": 15, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3289,7 +3289,7 @@ "forks": 111, "open_issues": 5, "watchers": 51, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3388,7 +3388,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3487,7 +3487,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3586,7 +3586,7 @@ "forks": 13, "open_issues": 3, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3685,7 +3685,7 @@ "forks": 4, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3784,7 +3784,7 @@ "forks": 3, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3883,7 +3883,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3988,7 +3988,7 @@ "forks": 18, "open_issues": 5, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4093,7 +4093,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4192,7 +4192,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4297,7 +4297,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4396,7 +4396,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4501,7 +4501,7 @@ "forks": 2, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4600,7 +4600,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4699,7 +4699,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4798,7 +4798,7 @@ "forks": 24, "open_issues": 17, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4897,7 +4897,7 @@ "forks": 4, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4996,7 +4996,7 @@ "forks": 28, "open_issues": 0, "watchers": 29, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5095,7 +5095,7 @@ "forks": 5, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5299,7 +5299,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5398,7 +5398,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5497,7 +5497,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5596,7 +5596,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5794,7 +5794,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5893,7 +5893,7 @@ "forks": 5, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5992,7 +5992,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6091,7 +6091,7 @@ "forks": 25, "open_issues": 2, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6190,7 +6190,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6289,7 +6289,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6388,7 +6388,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6487,7 +6487,7 @@ "forks": 14, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6586,7 +6586,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6685,7 +6685,7 @@ "forks": 5, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6784,7 +6784,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6883,7 +6883,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6988,7 +6988,7 @@ "forks": 20, "open_issues": 3, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7093,7 +7093,7 @@ "forks": 16, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7198,7 +7198,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7303,7 +7303,7 @@ "forks": 78, "open_issues": 8, "watchers": 51, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7408,7 +7408,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7507,7 +7507,7 @@ "forks": 5, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7606,7 +7606,7 @@ "forks": 5, "open_issues": 3, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7711,7 +7711,7 @@ "forks": 11, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7810,7 +7810,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7909,7 +7909,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8014,7 +8014,7 @@ "forks": 10, "open_issues": 2, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8113,7 +8113,7 @@ "forks": 4, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8212,7 +8212,7 @@ "forks": 37, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8317,7 +8317,7 @@ "forks": 190, "open_issues": 19, "watchers": 140, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8527,7 +8527,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8632,7 +8632,7 @@ "forks": 299, "open_issues": 8, "watchers": 87, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8731,7 +8731,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8836,7 +8836,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8941,7 +8941,7 @@ "forks": 7, "open_issues": 2, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9040,7 +9040,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9145,7 +9145,7 @@ "forks": 5, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9244,7 +9244,7 @@ "forks": 21, "open_issues": 3, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9343,7 +9343,7 @@ "forks": 6, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9442,7 +9442,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9547,7 +9547,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9646,7 +9646,7 @@ "forks": 20, "open_issues": 3, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9745,7 +9745,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9844,7 +9844,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9949,7 +9949,7 @@ "forks": 13, "open_issues": 2, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10048,7 +10048,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-12.json index c406a97f2..17ca7e463 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-12.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-12.json @@ -91,7 +91,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -295,7 +295,7 @@ "forks": 5, "open_issues": 4, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -400,7 +400,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -499,7 +499,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -598,7 +598,7 @@ "forks": 6, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -697,7 +697,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -796,7 +796,7 @@ "forks": 19, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -876,7 +876,7 @@ "ssh_url": "git@github.com:jenkinsci/gearman-plugin.git", "clone_url": "https://github.com/jenkinsci/gearman-plugin.git", "svn_url": "https://github.com/jenkinsci/gearman-plugin", - "homepage": "This Jenkins plugin is used to support multiple Jenkins masters", + "homepage": "This Jenkins plugin is used to support multiple Jenkins mains", "size": 132, "stargazers_count": 1, "watchers_count": 1, @@ -895,7 +895,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1000,7 +1000,7 @@ "forks": 6, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1105,7 +1105,7 @@ "forks": 32, "open_issues": 6, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1210,7 +1210,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1315,7 +1315,7 @@ "forks": 14, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1420,7 +1420,7 @@ "forks": 16, "open_issues": 4, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1519,7 +1519,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1618,7 +1618,7 @@ "forks": 9, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1717,7 +1717,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1822,7 +1822,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2020,7 +2020,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2119,7 +2119,7 @@ "forks": 7, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2218,7 +2218,7 @@ "forks": 8, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2317,7 +2317,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2422,7 +2422,7 @@ "forks": 4, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2521,7 +2521,7 @@ "forks": 6, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2620,7 +2620,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2725,7 +2725,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2824,7 +2824,7 @@ "forks": 15, "open_issues": 4, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2923,7 +2923,7 @@ "forks": 3, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3028,7 +3028,7 @@ "forks": 5, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3133,7 +3133,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3232,7 +3232,7 @@ "forks": 3, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3337,7 +3337,7 @@ "forks": 8, "open_issues": 1, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3436,7 +3436,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3535,7 +3535,7 @@ "forks": 4, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3634,7 +3634,7 @@ "forks": 1, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3739,7 +3739,7 @@ "forks": 162, "open_issues": 6, "watchers": 109, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3838,7 +3838,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3943,7 +3943,7 @@ "forks": 13, "open_issues": 12, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4042,7 +4042,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4141,7 +4141,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4240,7 +4240,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4339,7 +4339,7 @@ "forks": 9, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4444,7 +4444,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4543,7 +4543,7 @@ "forks": 16, "open_issues": 3, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4642,7 +4642,7 @@ "forks": 6, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4741,7 +4741,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4846,7 +4846,7 @@ "forks": 6, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4945,7 +4945,7 @@ "forks": 6, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5044,7 +5044,7 @@ "forks": 6, "open_issues": 2, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5149,7 +5149,7 @@ "forks": 7, "open_issues": 1, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5248,7 +5248,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5347,7 +5347,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5446,7 +5446,7 @@ "forks": 17, "open_issues": 7, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5551,7 +5551,7 @@ "forks": 3, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5650,7 +5650,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5749,7 +5749,7 @@ "forks": 13, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5854,7 +5854,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5953,7 +5953,7 @@ "forks": 49, "open_issues": 23, "watchers": 38, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6052,7 +6052,7 @@ "forks": 13, "open_issues": 2, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6151,7 +6151,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6250,7 +6250,7 @@ "forks": 10, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6349,7 +6349,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6448,7 +6448,7 @@ "forks": 15, "open_issues": 5, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6547,7 +6547,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6646,7 +6646,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6745,7 +6745,7 @@ "forks": 6, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6844,7 +6844,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6949,7 +6949,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7048,7 +7048,7 @@ "forks": 25, "open_issues": 3, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7153,7 +7153,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7252,7 +7252,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7351,7 +7351,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7450,7 +7450,7 @@ "forks": 1, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7555,7 +7555,7 @@ "forks": 13, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7654,7 +7654,7 @@ "forks": 15, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7759,7 +7759,7 @@ "forks": 4, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7858,7 +7858,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7957,7 +7957,7 @@ "forks": 3, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8056,7 +8056,7 @@ "forks": 5, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8155,7 +8155,7 @@ "forks": 6, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8254,7 +8254,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8359,7 +8359,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8458,7 +8458,7 @@ "forks": 3, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8563,7 +8563,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8668,7 +8668,7 @@ "forks": 5, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8773,7 +8773,7 @@ "forks": 29, "open_issues": 6, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8872,7 +8872,7 @@ "forks": 4, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8971,7 +8971,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9070,7 +9070,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9169,7 +9169,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9274,7 +9274,7 @@ "forks": 5, "open_issues": 3, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9373,7 +9373,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9472,7 +9472,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9571,7 +9571,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9670,7 +9670,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9769,7 +9769,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9868,7 +9868,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9967,7 +9967,7 @@ "forks": 8, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10072,7 +10072,7 @@ "forks": 4, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-13.json index 79acf51ff..89e8ac543 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-13.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-13.json @@ -91,7 +91,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 170, "open_issues": 74, "watchers": 289, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -301,7 +301,7 @@ "forks": 50, "open_issues": 0, "watchers": 77, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -400,7 +400,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -505,7 +505,7 @@ "forks": 6, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -610,7 +610,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -715,7 +715,7 @@ "forks": 4, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -820,7 +820,7 @@ "forks": 15, "open_issues": 6, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -919,7 +919,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1024,7 +1024,7 @@ "forks": 37, "open_issues": 9, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1129,7 +1129,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1228,7 +1228,7 @@ "forks": 8, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1327,7 +1327,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1432,7 +1432,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1531,7 +1531,7 @@ "forks": 13, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1630,7 +1630,7 @@ "forks": 8, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1735,7 +1735,7 @@ "forks": 14, "open_issues": 3, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1834,7 +1834,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1933,7 +1933,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2032,7 +2032,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2137,7 +2137,7 @@ "forks": 8, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2242,7 +2242,7 @@ "forks": 7, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2341,7 +2341,7 @@ "forks": 58, "open_issues": 4, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": true, @@ -2440,7 +2440,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2539,7 +2539,7 @@ "forks": 101, "open_issues": 6, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2638,7 +2638,7 @@ "forks": 9, "open_issues": 0, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2737,7 +2737,7 @@ "forks": 5, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2836,7 +2836,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2935,7 +2935,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3034,7 +3034,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3133,7 +3133,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3232,7 +3232,7 @@ "forks": 17, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3331,7 +3331,7 @@ "forks": 22, "open_issues": 2, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3430,7 +3430,7 @@ "forks": 159, "open_issues": 9, "watchers": 41, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3535,7 +3535,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3640,7 +3640,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3745,7 +3745,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3844,7 +3844,7 @@ "forks": 3, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3943,7 +3943,7 @@ "forks": 5, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4048,7 +4048,7 @@ "forks": 69, "open_issues": 3, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4147,7 +4147,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4252,7 +4252,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4351,7 +4351,7 @@ "forks": 40, "open_issues": 1, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4450,7 +4450,7 @@ "forks": 48, "open_issues": 2, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4549,7 +4549,7 @@ "forks": 12, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4648,7 +4648,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4747,7 +4747,7 @@ "forks": 72, "open_issues": 9, "watchers": 32, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4852,7 +4852,7 @@ "forks": 3, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4957,7 +4957,7 @@ "forks": 5, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5056,7 +5056,7 @@ "forks": 5, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5155,7 +5155,7 @@ "forks": 129, "open_issues": 18, "watchers": 61, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5260,7 +5260,7 @@ "forks": 13, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5359,7 +5359,7 @@ "forks": 4, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5458,7 +5458,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5563,7 +5563,7 @@ "forks": 6, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5668,7 +5668,7 @@ "forks": 51, "open_issues": 7, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5773,7 +5773,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5878,7 +5878,7 @@ "forks": 39, "open_issues": 4, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5983,7 +5983,7 @@ "forks": 3, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6082,7 +6082,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6187,7 +6187,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6292,7 +6292,7 @@ "forks": 9, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6391,7 +6391,7 @@ "forks": 2, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6496,7 +6496,7 @@ "forks": 17, "open_issues": 1, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6595,7 +6595,7 @@ "forks": 36, "open_issues": 2, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6694,7 +6694,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6799,7 +6799,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6904,7 +6904,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7003,7 +7003,7 @@ "forks": 345, "open_issues": 34, "watchers": 553, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7108,7 +7108,7 @@ "forks": 19, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7207,7 +7207,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7312,7 +7312,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7417,7 +7417,7 @@ "forks": 12, "open_issues": 0, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7522,7 +7522,7 @@ "forks": 101, "open_issues": 1, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7621,7 +7621,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7720,7 +7720,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7825,7 +7825,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7930,7 +7930,7 @@ "forks": 113, "open_issues": 63, "watchers": 41, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8029,7 +8029,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8128,7 +8128,7 @@ "forks": 6, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8227,7 +8227,7 @@ "forks": 6, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8332,7 +8332,7 @@ "forks": 3, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8431,7 +8431,7 @@ "forks": 4, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8536,7 +8536,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8635,7 +8635,7 @@ "forks": 25, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8740,7 +8740,7 @@ "forks": 14, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8845,7 +8845,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8950,7 +8950,7 @@ "forks": 7, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9049,7 +9049,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9154,7 +9154,7 @@ "forks": 13, "open_issues": 3, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9253,7 +9253,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9358,7 +9358,7 @@ "forks": 278, "open_issues": 61, "watchers": 411, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9463,7 +9463,7 @@ "forks": 7, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9568,7 +9568,7 @@ "forks": 5, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9673,7 +9673,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9772,7 +9772,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9871,7 +9871,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9976,7 +9976,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10081,7 +10081,7 @@ "forks": 4, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10091,8 +10091,8 @@ { "id": 16412332, "node_id": "MDEwOlJlcG9zaXRvcnkxNjQxMjMzMg==", - "name": "master-to-master-api-plugin", - "full_name": "jenkinsci/master-to-master-api-plugin", + "name": "main-to-main-api-plugin", + "full_name": "jenkinsci/main-to-main-api-plugin", "private": false, "owner": { "login": "jenkinsci", @@ -10114,53 +10114,53 @@ "type": "Organization", "site_admin": false }, - "html_url": "https://github.com/jenkinsci/master-to-master-api-plugin", + "html_url": "https://github.com/jenkinsci/main-to-main-api-plugin", "description": null, "fork": false, - "url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin", - "forks_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/forks", - "keys_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/teams", - "hooks_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/hooks", - "issue_events_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/issues/events{/number}", - "events_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/events", - "assignees_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/assignees{/user}", - "branches_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/branches{/branch}", - "tags_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/tags", - "blobs_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/statuses/{sha}", - "languages_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/languages", - "stargazers_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/stargazers", - "contributors_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/contributors", - "subscribers_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/subscribers", - "subscription_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/subscription", - "commits_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/contents/{+path}", - "compare_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/merges", - "archive_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/downloads", - "issues_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/issues{/number}", - "pulls_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/pulls{/number}", - "milestones_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/milestones{/number}", - "notifications_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/labels{/name}", - "releases_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/releases{/id}", - "deployments_url": "https://api.github.com/repos/jenkinsci/master-to-master-api-plugin/deployments", + "url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/main-to-main-api-plugin/deployments", "created_at": "2014-01-31T15:48:15Z", "updated_at": "2018-02-10T20:32:29Z", "pushed_at": "2014-05-02T14:13:49Z", - "git_url": "git://github.com/jenkinsci/master-to-master-api-plugin.git", - "ssh_url": "git@github.com:jenkinsci/master-to-master-api-plugin.git", - "clone_url": "https://github.com/jenkinsci/master-to-master-api-plugin.git", - "svn_url": "https://github.com/jenkinsci/master-to-master-api-plugin", + "git_url": "git://github.com/jenkinsci/main-to-main-api-plugin.git", + "ssh_url": "git@github.com:jenkinsci/main-to-main-api-plugin.git", + "clone_url": "https://github.com/jenkinsci/main-to-main-api-plugin.git", + "svn_url": "https://github.com/jenkinsci/main-to-main-api-plugin", "homepage": "", "size": 204, "stargazers_count": 3, @@ -10180,7 +10180,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-14.json index c4757121e..029864455 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-14.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-14.json @@ -91,7 +91,7 @@ "forks": 2, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 20, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -394,7 +394,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -493,7 +493,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 10, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -691,7 +691,7 @@ "forks": 18, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -790,7 +790,7 @@ "forks": 5, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -895,7 +895,7 @@ "forks": 89, "open_issues": 3, "watchers": 93, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -994,7 +994,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1093,7 +1093,7 @@ "forks": 7, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1192,7 +1192,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1291,7 +1291,7 @@ "forks": 19, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1390,7 +1390,7 @@ "forks": 192, "open_issues": 4, "watchers": 98, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1489,7 +1489,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1588,7 +1588,7 @@ "forks": 125, "open_issues": 9, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": true, @@ -1687,7 +1687,7 @@ "forks": 0, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1792,7 +1792,7 @@ "forks": 28, "open_issues": 17, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1891,7 +1891,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1996,7 +1996,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2101,7 +2101,7 @@ "forks": 19, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2200,7 +2200,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2299,7 +2299,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2503,7 +2503,7 @@ "forks": 73, "open_issues": 12, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2707,7 +2707,7 @@ "forks": 0, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2806,7 +2806,7 @@ "forks": 6, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2911,7 +2911,7 @@ "forks": 52, "open_issues": 2, "watchers": 25, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3016,7 +3016,7 @@ "forks": 6, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3121,7 +3121,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3226,7 +3226,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3331,7 +3331,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3430,7 +3430,7 @@ "forks": 77, "open_issues": 1, "watchers": 189, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3535,7 +3535,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3634,7 +3634,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3739,7 +3739,7 @@ "forks": 15, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3844,7 +3844,7 @@ "forks": 13, "open_issues": 3, "watchers": 39, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3943,7 +3943,7 @@ "forks": 14, "open_issues": 5, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4048,7 +4048,7 @@ "forks": 13, "open_issues": 8, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4153,7 +4153,7 @@ "forks": 2, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4252,7 +4252,7 @@ "forks": 7, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4351,7 +4351,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4450,7 +4450,7 @@ "forks": 5, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4549,7 +4549,7 @@ "forks": 3, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4648,7 +4648,7 @@ "forks": 5, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4747,7 +4747,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4852,7 +4852,7 @@ "forks": 9, "open_issues": 3, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4957,7 +4957,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5056,7 +5056,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5161,7 +5161,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5266,7 +5266,7 @@ "forks": 23, "open_issues": 25, "watchers": 35, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5371,7 +5371,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5470,7 +5470,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5569,7 +5569,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5668,7 +5668,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5773,7 +5773,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5872,7 +5872,7 @@ "forks": 74, "open_issues": 20, "watchers": 65, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5971,7 +5971,7 @@ "forks": 14, "open_issues": 7, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6070,7 +6070,7 @@ "forks": 5, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6175,7 +6175,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6274,7 +6274,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6373,7 +6373,7 @@ "forks": 6, "open_issues": 8, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6577,7 +6577,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6682,7 +6682,7 @@ "forks": 29, "open_issues": 1, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6781,7 +6781,7 @@ "forks": 11, "open_issues": 0, "watchers": 43, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6886,7 +6886,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6985,7 +6985,7 @@ "forks": 842, "open_issues": 6, "watchers": 1573, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7084,7 +7084,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7183,7 +7183,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7282,7 +7282,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7381,7 +7381,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7486,7 +7486,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7585,7 +7585,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7690,7 +7690,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7795,7 +7795,7 @@ "forks": 41, "open_issues": 0, "watchers": 93, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7894,7 +7894,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7999,7 +7999,7 @@ "forks": 471, "open_issues": 156, "watchers": 1076, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8104,7 +8104,7 @@ "forks": 27, "open_issues": 47, "watchers": 46, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8209,7 +8209,7 @@ "forks": 3, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8308,7 +8308,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8407,7 +8407,7 @@ "forks": 8, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8506,7 +8506,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8605,7 +8605,7 @@ "forks": 0, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8704,7 +8704,7 @@ "forks": 27, "open_issues": 3, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8803,7 +8803,7 @@ "forks": 12, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8902,7 +8902,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9007,7 +9007,7 @@ "forks": 6, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9106,7 +9106,7 @@ "forks": 3, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9205,7 +9205,7 @@ "forks": 18, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9310,7 +9310,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9415,7 +9415,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9520,7 +9520,7 @@ "forks": 2, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9619,7 +9619,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9724,7 +9724,7 @@ "forks": 9, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9823,7 +9823,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9928,7 +9928,7 @@ "forks": 6, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10027,7 +10027,7 @@ "forks": 34, "open_issues": 21, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10132,7 +10132,7 @@ "forks": 103, "open_issues": 3, "watchers": 49, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-15.json index 864c2ab65..439230317 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-15.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-15.json @@ -91,7 +91,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 12, "open_issues": 2, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 5, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -388,7 +388,7 @@ "forks": 3, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -493,7 +493,7 @@ "forks": 5, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -697,7 +697,7 @@ "forks": 2353, "open_issues": 82, "watchers": 3296, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -802,7 +802,7 @@ "forks": 46, "open_issues": 3, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -901,7 +901,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1000,7 +1000,7 @@ "forks": 3, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1105,7 +1105,7 @@ "forks": 7, "open_issues": 1, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1204,7 +1204,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1309,7 +1309,7 @@ "forks": 7, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1414,7 +1414,7 @@ "forks": 11, "open_issues": 1, "watchers": 95, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1519,7 +1519,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1618,7 +1618,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1723,7 +1723,7 @@ "forks": 62, "open_issues": 0, "watchers": 65, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1828,7 +1828,7 @@ "forks": 19, "open_issues": 1, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1927,7 +1927,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2032,7 +2032,7 @@ "forks": 67, "open_issues": 1, "watchers": 38, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2137,7 +2137,7 @@ "forks": 214, "open_issues": 28, "watchers": 46, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2236,7 +2236,7 @@ "forks": 10, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2335,7 +2335,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2434,7 +2434,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2539,7 +2539,7 @@ "forks": 5, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2644,7 +2644,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2749,7 +2749,7 @@ "forks": 3, "open_issues": 3, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2848,7 +2848,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2953,7 +2953,7 @@ "forks": 24, "open_issues": 10, "watchers": 27, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3058,7 +3058,7 @@ "forks": 7, "open_issues": 3, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3157,7 +3157,7 @@ "forks": 6, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3256,7 +3256,7 @@ "forks": 5, "open_issues": 1, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3361,7 +3361,7 @@ "forks": 16, "open_issues": 11, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3466,7 +3466,7 @@ "forks": 8, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3571,7 +3571,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3670,7 +3670,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3769,7 +3769,7 @@ "forks": 5, "open_issues": 1, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3868,7 +3868,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3973,7 +3973,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4078,7 +4078,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4183,7 +4183,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4288,7 +4288,7 @@ "forks": 12, "open_issues": 1, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4393,7 +4393,7 @@ "forks": 3, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4498,7 +4498,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4597,7 +4597,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4702,7 +4702,7 @@ "forks": 61, "open_issues": 1, "watchers": 25, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4807,7 +4807,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4912,7 +4912,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5017,7 +5017,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5122,7 +5122,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5326,7 +5326,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5425,7 +5425,7 @@ "forks": 36, "open_issues": 4, "watchers": 74, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5530,7 +5530,7 @@ "forks": 10, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5635,7 +5635,7 @@ "forks": 16, "open_issues": 4, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5740,7 +5740,7 @@ "forks": 5, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5839,7 +5839,7 @@ "forks": 4, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5938,7 +5938,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6043,7 +6043,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6247,7 +6247,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6352,7 +6352,7 @@ "forks": 8, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6451,7 +6451,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6556,7 +6556,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6655,7 +6655,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6865,7 +6865,7 @@ "forks": 8, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6964,7 +6964,7 @@ "forks": 4, "open_issues": 7, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7069,7 +7069,7 @@ "forks": 7, "open_issues": 5, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7168,7 +7168,7 @@ "forks": 19, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7267,7 +7267,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7366,7 +7366,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7471,7 +7471,7 @@ "forks": 10, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7570,7 +7570,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7675,7 +7675,7 @@ "forks": 12, "open_issues": 2, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7780,7 +7780,7 @@ "forks": 11, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7879,7 +7879,7 @@ "forks": 9, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7984,7 +7984,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8089,7 +8089,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8194,7 +8194,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8293,7 +8293,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8392,7 +8392,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8491,7 +8491,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8596,7 +8596,7 @@ "forks": 29, "open_issues": 1, "watchers": 48, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8701,7 +8701,7 @@ "forks": 22, "open_issues": 0, "watchers": 27, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8800,7 +8800,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8905,7 +8905,7 @@ "forks": 27, "open_issues": 10, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9010,7 +9010,7 @@ "forks": 6, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9109,7 +9109,7 @@ "forks": 10, "open_issues": 5, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9208,7 +9208,7 @@ "forks": 5, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9313,7 +9313,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9412,7 +9412,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9511,7 +9511,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9616,7 +9616,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9715,7 +9715,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9814,7 +9814,7 @@ "forks": 5, "open_issues": 4, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9913,7 +9913,7 @@ "forks": 6, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10018,7 +10018,7 @@ "forks": 18, "open_issues": 8, "watchers": 39, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10117,7 +10117,7 @@ "forks": 13, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10222,7 +10222,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-16.json index 5598a5c5f..92dac82e4 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-16.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-16.json @@ -97,7 +97,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -202,7 +202,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -307,7 +307,7 @@ "forks": 4, "open_issues": 4, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -406,7 +406,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -505,7 +505,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -604,7 +604,7 @@ "forks": 66, "open_issues": 53, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -703,7 +703,7 @@ "forks": 4, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -808,7 +808,7 @@ "forks": 761, "open_issues": 24, "watchers": 1306, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -913,7 +913,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1012,7 +1012,7 @@ "forks": 3, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1111,7 +1111,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1216,7 +1216,7 @@ "forks": 10, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1321,7 +1321,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1426,7 +1426,7 @@ "forks": 10, "open_issues": 2, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1531,7 +1531,7 @@ "forks": 10, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1636,7 +1636,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1741,7 +1741,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1846,7 +1846,7 @@ "forks": 57, "open_issues": 9, "watchers": 56, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1945,7 +1945,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2050,7 +2050,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2155,7 +2155,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2254,7 +2254,7 @@ "forks": 5, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2353,7 +2353,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2458,7 +2458,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2563,7 +2563,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2662,7 +2662,7 @@ "forks": 54, "open_issues": 10, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2767,7 +2767,7 @@ "forks": 56, "open_issues": 5, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2872,7 +2872,7 @@ "forks": 5, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2977,7 +2977,7 @@ "forks": 7, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3082,7 +3082,7 @@ "forks": 20, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3181,7 +3181,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3280,7 +3280,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3379,7 +3379,7 @@ "forks": 6, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3484,7 +3484,7 @@ "forks": 86, "open_issues": 10, "watchers": 181, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3589,7 +3589,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3694,7 +3694,7 @@ "forks": 11, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3799,7 +3799,7 @@ "forks": 43, "open_issues": 4, "watchers": 36, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3809,8 +3809,8 @@ { "id": 34826886, "node_id": "MDEwOlJlcG9zaXRvcnkzNDgyNjg4Ng==", - "name": "inedo-buildmaster-plugin", - "full_name": "jenkinsci/inedo-buildmaster-plugin", + "name": "inedo-buildmain-plugin", + "full_name": "jenkinsci/inedo-buildmain-plugin", "private": false, "owner": { "login": "jenkinsci", @@ -3832,53 +3832,53 @@ "type": "Organization", "site_admin": false }, - "html_url": "https://github.com/jenkinsci/inedo-buildmaster-plugin", + "html_url": "https://github.com/jenkinsci/inedo-buildmain-plugin", "description": "Trigger builds in BuildMaster", "fork": false, - "url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin", - "forks_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/forks", - "keys_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/teams", - "hooks_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/hooks", - "issue_events_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/issues/events{/number}", - "events_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/events", - "assignees_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/assignees{/user}", - "branches_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/branches{/branch}", - "tags_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/tags", - "blobs_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/statuses/{sha}", - "languages_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/languages", - "stargazers_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/stargazers", - "contributors_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/contributors", - "subscribers_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/subscribers", - "subscription_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/subscription", - "commits_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/contents/{+path}", - "compare_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/merges", - "archive_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/downloads", - "issues_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/issues{/number}", - "pulls_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/pulls{/number}", - "milestones_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/milestones{/number}", - "notifications_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/labels{/name}", - "releases_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/releases{/id}", - "deployments_url": "https://api.github.com/repos/jenkinsci/inedo-buildmaster-plugin/deployments", + "url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/inedo-buildmain-plugin/deployments", "created_at": "2015-04-30T01:10:51Z", "updated_at": "2019-09-14T05:16:57Z", "pushed_at": "2019-09-14T05:21:35Z", - "git_url": "git://github.com/jenkinsci/inedo-buildmaster-plugin.git", - "ssh_url": "git@github.com:jenkinsci/inedo-buildmaster-plugin.git", - "clone_url": "https://github.com/jenkinsci/inedo-buildmaster-plugin.git", - "svn_url": "https://github.com/jenkinsci/inedo-buildmaster-plugin", + "git_url": "git://github.com/jenkinsci/inedo-buildmain-plugin.git", + "ssh_url": "git@github.com:jenkinsci/inedo-buildmain-plugin.git", + "clone_url": "https://github.com/jenkinsci/inedo-buildmain-plugin.git", + "svn_url": "https://github.com/jenkinsci/inedo-buildmain-plugin", "homepage": null, "size": 1798, "stargazers_count": 0, @@ -3898,7 +3898,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4003,7 +4003,7 @@ "forks": 13, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4108,7 +4108,7 @@ "forks": 21, "open_issues": 9, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4213,7 +4213,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4312,7 +4312,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4417,7 +4417,7 @@ "forks": 8, "open_issues": 8, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4516,7 +4516,7 @@ "forks": 3, "open_issues": 4, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4621,7 +4621,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4726,7 +4726,7 @@ "forks": 32, "open_issues": 2, "watchers": 38, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4831,7 +4831,7 @@ "forks": 18, "open_issues": 3, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4930,7 +4930,7 @@ "forks": 12, "open_issues": 7, "watchers": 39, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5035,7 +5035,7 @@ "forks": 298, "open_issues": 30, "watchers": 339, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5140,7 +5140,7 @@ "forks": 8, "open_issues": 4, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5174,7 +5174,7 @@ "site_admin": false }, "html_url": "https://github.com/jenkinsci/phabricator-plugin", - "description": "Jenkins plugin to integrate with Phabricator, Harbormaster, and Uberalls", + "description": "Jenkins plugin to integrate with Phabricator, Harbormain, and Uberalls", "fork": true, "url": "https://api.github.com/repos/jenkinsci/phabricator-plugin", "forks_url": "https://api.github.com/repos/jenkinsci/phabricator-plugin/forks", @@ -5245,7 +5245,7 @@ "forks": 9, "open_issues": 1, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5344,7 +5344,7 @@ "forks": 12, "open_issues": 4, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5449,7 +5449,7 @@ "forks": 5, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5554,7 +5554,7 @@ "forks": 6, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5653,7 +5653,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5758,7 +5758,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5857,7 +5857,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5962,7 +5962,7 @@ "forks": 6, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6061,7 +6061,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6166,7 +6166,7 @@ "forks": 4, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6271,7 +6271,7 @@ "forks": 6, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6376,7 +6376,7 @@ "forks": 11, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6481,7 +6481,7 @@ "forks": 9, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6586,7 +6586,7 @@ "forks": 7, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6691,7 +6691,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6796,7 +6796,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6901,7 +6901,7 @@ "forks": 9, "open_issues": 1, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7000,7 +7000,7 @@ "forks": 9, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7105,7 +7105,7 @@ "forks": 9, "open_issues": 4, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7204,7 +7204,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7303,7 +7303,7 @@ "forks": 9, "open_issues": 3, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7408,7 +7408,7 @@ "forks": 6, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7507,7 +7507,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7612,7 +7612,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7717,7 +7717,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7822,7 +7822,7 @@ "forks": 9, "open_issues": 0, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7927,7 +7927,7 @@ "forks": 27, "open_issues": 4, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8032,7 +8032,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8131,7 +8131,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8236,7 +8236,7 @@ "forks": 6, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8341,7 +8341,7 @@ "forks": 38, "open_issues": 32, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8551,7 +8551,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8656,7 +8656,7 @@ "forks": 8, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8761,7 +8761,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8866,7 +8866,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8971,7 +8971,7 @@ "forks": 5, "open_issues": 2, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9076,7 +9076,7 @@ "forks": 5, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9175,7 +9175,7 @@ "forks": 9, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9280,7 +9280,7 @@ "forks": 328, "open_issues": 20, "watchers": 226, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9379,7 +9379,7 @@ "forks": 86, "open_issues": 9, "watchers": 50, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9484,7 +9484,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9589,7 +9589,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9694,7 +9694,7 @@ "forks": 3, "open_issues": 0, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9799,7 +9799,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9898,7 +9898,7 @@ "forks": 55, "open_issues": 5, "watchers": 209, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10003,7 +10003,7 @@ "forks": 29, "open_issues": 3, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10102,7 +10102,7 @@ "forks": 113, "open_issues": 15, "watchers": 104, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10207,7 +10207,7 @@ "forks": 19, "open_issues": 1, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10306,7 +10306,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-17.json index d1968ed5d..c1f4280b6 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-17.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-17.json @@ -91,7 +91,7 @@ "forks": 2, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 145, "open_issues": 17, "watchers": 119, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -301,7 +301,7 @@ "forks": 2, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -406,7 +406,7 @@ "forks": 11, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -511,7 +511,7 @@ "forks": 6, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -616,7 +616,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -650,7 +650,7 @@ "site_admin": false }, "html_url": "https://github.com/jenkinsci/remote-jobs-view-plugin", - "description": "This Jenkins CI plugin provides a view that will show you the build status of jobs executed on remote (master) jenkins ci servers. You can specify several remote jenkins ci servers to be listed in one view. Also you can select which (remote) jobs should be listed.", + "description": "This Jenkins CI plugin provides a view that will show you the build status of jobs executed on remote (main) jenkins ci servers. You can specify several remote jenkins ci servers to be listed in one view. Also you can select which (remote) jobs should be listed.", "fork": true, "url": "https://api.github.com/repos/jenkinsci/remote-jobs-view-plugin", "forks_url": "https://api.github.com/repos/jenkinsci/remote-jobs-view-plugin/forks", @@ -721,7 +721,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -826,7 +826,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -931,7 +931,7 @@ "forks": 27, "open_issues": 1, "watchers": 78, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1036,7 +1036,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1135,7 +1135,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1240,7 +1240,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1345,7 +1345,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1450,7 +1450,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1555,7 +1555,7 @@ "forks": 17, "open_issues": 4, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1660,7 +1660,7 @@ "forks": 22, "open_issues": 3, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1765,7 +1765,7 @@ "forks": 8, "open_issues": 9, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1864,7 +1864,7 @@ "forks": 11, "open_issues": 5, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1969,7 +1969,7 @@ "forks": 216, "open_issues": 14, "watchers": 74, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2074,7 +2074,7 @@ "forks": 13, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2179,7 +2179,7 @@ "forks": 6, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2278,7 +2278,7 @@ "forks": 7, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2383,7 +2383,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2488,7 +2488,7 @@ "forks": 8, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2593,7 +2593,7 @@ "forks": 19, "open_issues": 0, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2698,7 +2698,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2797,7 +2797,7 @@ "forks": 14, "open_issues": 2, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2896,7 +2896,7 @@ "forks": 5, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3001,7 +3001,7 @@ "forks": 11, "open_issues": 0, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3100,7 +3100,7 @@ "forks": 6, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3205,7 +3205,7 @@ "forks": 32, "open_issues": 8, "watchers": 39, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3310,7 +3310,7 @@ "forks": 4, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3415,7 +3415,7 @@ "forks": 1932, "open_issues": 15, "watchers": 3067, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3514,7 +3514,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3613,7 +3613,7 @@ "forks": 2, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3718,7 +3718,7 @@ "forks": 23, "open_issues": 3, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3823,7 +3823,7 @@ "forks": 5, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3922,7 +3922,7 @@ "forks": 2, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4027,7 +4027,7 @@ "forks": 3, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4126,7 +4126,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4231,7 +4231,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4336,7 +4336,7 @@ "forks": 14, "open_issues": 3, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4441,7 +4441,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4546,7 +4546,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4645,7 +4645,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4744,7 +4744,7 @@ "forks": 4, "open_issues": 0, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4843,7 +4843,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4942,7 +4942,7 @@ "forks": 26, "open_issues": 5, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5041,7 +5041,7 @@ "forks": 15, "open_issues": 0, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5140,7 +5140,7 @@ "forks": 11, "open_issues": 0, "watchers": 44, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5245,7 +5245,7 @@ "forks": 5, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5350,7 +5350,7 @@ "forks": 7, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5455,7 +5455,7 @@ "forks": 11, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5560,7 +5560,7 @@ "forks": 39, "open_issues": 5, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5665,7 +5665,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5770,7 +5770,7 @@ "forks": 1, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5875,7 +5875,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5980,7 +5980,7 @@ "forks": 1, "open_issues": 4, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6190,7 +6190,7 @@ "forks": 21, "open_issues": 3, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6295,7 +6295,7 @@ "forks": 96, "open_issues": 5, "watchers": 143, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6394,7 +6394,7 @@ "forks": 7, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6499,7 +6499,7 @@ "forks": 3, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6604,7 +6604,7 @@ "forks": 61, "open_issues": 3, "watchers": 64, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6703,7 +6703,7 @@ "forks": 113, "open_issues": 13, "watchers": 135, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6808,7 +6808,7 @@ "forks": 77, "open_issues": 10, "watchers": 38, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6907,7 +6907,7 @@ "forks": 7, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7012,7 +7012,7 @@ "forks": 33, "open_issues": 0, "watchers": 70, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7117,7 +7117,7 @@ "forks": 1, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7222,7 +7222,7 @@ "forks": 17, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7327,7 +7327,7 @@ "forks": 53, "open_issues": 8, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7432,7 +7432,7 @@ "forks": 462, "open_issues": 18, "watchers": 2560, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7537,7 +7537,7 @@ "forks": 25, "open_issues": 17, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7642,7 +7642,7 @@ "forks": 25, "open_issues": 3, "watchers": 44, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7741,7 +7741,7 @@ "forks": 24, "open_issues": 4, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7840,7 +7840,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7945,7 +7945,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8050,7 +8050,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8155,7 +8155,7 @@ "forks": 8, "open_issues": 0, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8235,7 +8235,7 @@ "ssh_url": "git@github.com:jenkinsci/performance-signature-dynatrace-plugin.git", "clone_url": "https://github.com/jenkinsci/performance-signature-dynatrace-plugin.git", "svn_url": "https://github.com/jenkinsci/performance-signature-dynatrace-plugin", - "homepage": "https://github.com/jenkinsci/performance-signature-dynatrace-plugin/blob/master/README.md", + "homepage": "https://github.com/jenkinsci/performance-signature-dynatrace-plugin/blob/main/README.md", "size": 9318, "stargazers_count": 7, "watchers_count": 7, @@ -8260,7 +8260,7 @@ "forks": 13, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8365,7 +8365,7 @@ "forks": 54, "open_issues": 1, "watchers": 58, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8470,7 +8470,7 @@ "forks": 12, "open_issues": 16, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8575,7 +8575,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8674,7 +8674,7 @@ "forks": 4, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8773,7 +8773,7 @@ "forks": 26, "open_issues": 1, "watchers": 35, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8872,7 +8872,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8977,7 +8977,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9082,7 +9082,7 @@ "forks": 16, "open_issues": 5, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9181,7 +9181,7 @@ "forks": 208, "open_issues": 22, "watchers": 121, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9280,7 +9280,7 @@ "forks": 37, "open_issues": 3, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9490,7 +9490,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9595,7 +9595,7 @@ "forks": 4, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9700,7 +9700,7 @@ "forks": 10, "open_issues": 2, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9799,7 +9799,7 @@ "forks": 7, "open_issues": 3, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9898,7 +9898,7 @@ "forks": 4, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10003,7 +10003,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10102,7 +10102,7 @@ "forks": 9, "open_issues": 1, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10207,7 +10207,7 @@ "forks": 1, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10312,7 +10312,7 @@ "forks": 13, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-18.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-18.json index b81f387e4..0813766de 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-18.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-18.json @@ -97,7 +97,7 @@ "forks": 12, "open_issues": 0, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 38, "open_issues": 3, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -295,7 +295,7 @@ "forks": 34, "open_issues": 6, "watchers": 29, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -394,7 +394,7 @@ "forks": 42, "open_issues": 12, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -493,7 +493,7 @@ "forks": 48, "open_issues": 6, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 79, "open_issues": 14, "watchers": 28, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -691,7 +691,7 @@ "forks": 62, "open_issues": 14, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -790,7 +790,7 @@ "forks": 51, "open_issues": 4, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -889,7 +889,7 @@ "forks": 33, "open_issues": 10, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -988,7 +988,7 @@ "forks": 32, "open_issues": 7, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1087,7 +1087,7 @@ "forks": 22, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1186,7 +1186,7 @@ "forks": 137, "open_issues": 22, "watchers": 87, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1285,7 +1285,7 @@ "forks": 76, "open_issues": 5, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1384,7 +1384,7 @@ "forks": 82, "open_issues": 5, "watchers": 48, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1483,7 +1483,7 @@ "forks": 109, "open_issues": 18, "watchers": 174, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1582,7 +1582,7 @@ "forks": 101, "open_issues": 7, "watchers": 187, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1681,7 +1681,7 @@ "forks": 21, "open_issues": 6, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1786,7 +1786,7 @@ "forks": 3, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1885,7 +1885,7 @@ "forks": 18, "open_issues": 0, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1990,7 +1990,7 @@ "forks": 26, "open_issues": 5, "watchers": 29, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2095,7 +2095,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2194,7 +2194,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2299,7 +2299,7 @@ "forks": 64, "open_issues": 11, "watchers": 84, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2398,7 +2398,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2497,7 +2497,7 @@ "forks": 4, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2596,7 +2596,7 @@ "forks": 3, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2695,7 +2695,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2800,7 +2800,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2905,7 +2905,7 @@ "forks": 71, "open_issues": 28, "watchers": 75, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3010,7 +3010,7 @@ "forks": 5, "open_issues": 3, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3115,7 +3115,7 @@ "forks": 28, "open_issues": 10, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3220,7 +3220,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3319,7 +3319,7 @@ "forks": 14, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3424,7 +3424,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3529,7 +3529,7 @@ "forks": 6, "open_issues": 9, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3634,7 +3634,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3739,7 +3739,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3844,7 +3844,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3949,7 +3949,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4054,7 +4054,7 @@ "forks": 42, "open_issues": 2, "watchers": 109, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4159,7 +4159,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4264,7 +4264,7 @@ "forks": 11, "open_issues": 6, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4369,7 +4369,7 @@ "forks": 0, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4403,7 +4403,7 @@ "site_admin": false }, "html_url": "https://github.com/jenkinsci/node-sharing-plugin", - "description": "Jenkins plugin to allow a sharing Jenkins nodes between multiple masters", + "description": "Jenkins plugin to allow a sharing Jenkins nodes between multiple mains", "fork": false, "url": "https://api.github.com/repos/jenkinsci/node-sharing-plugin", "forks_url": "https://api.github.com/repos/jenkinsci/node-sharing-plugin/forks", @@ -4468,7 +4468,7 @@ "forks": 9, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4573,7 +4573,7 @@ "forks": 34, "open_issues": 3, "watchers": 58, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4672,7 +4672,7 @@ "forks": 4, "open_issues": 2, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4777,7 +4777,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4987,7 +4987,7 @@ "forks": 44, "open_issues": 34, "watchers": 51, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5086,7 +5086,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5191,7 +5191,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5296,7 +5296,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5401,7 +5401,7 @@ "forks": 7, "open_issues": 1, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5500,7 +5500,7 @@ "forks": 16, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5599,7 +5599,7 @@ "forks": 30, "open_issues": 1, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5704,7 +5704,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5809,7 +5809,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5908,7 +5908,7 @@ "forks": 5, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6007,7 +6007,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6106,7 +6106,7 @@ "forks": 15, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6211,7 +6211,7 @@ "forks": 49, "open_issues": 3, "watchers": 29, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6310,7 +6310,7 @@ "forks": 5, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6409,7 +6409,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6508,7 +6508,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6613,7 +6613,7 @@ "forks": 5, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6718,7 +6718,7 @@ "forks": 3, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6823,7 +6823,7 @@ "forks": 62, "open_issues": 0, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6922,7 +6922,7 @@ "forks": 20, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7021,7 +7021,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7120,7 +7120,7 @@ "forks": 5, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7225,7 +7225,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7330,7 +7330,7 @@ "forks": 21, "open_issues": 0, "watchers": 47, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7435,7 +7435,7 @@ "forks": 69, "open_issues": 3, "watchers": 125, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7540,7 +7540,7 @@ "forks": 16, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7645,7 +7645,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7750,7 +7750,7 @@ "forks": 16, "open_issues": 0, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7849,7 +7849,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7954,7 +7954,7 @@ "forks": 17, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8059,7 +8059,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8164,7 +8164,7 @@ "forks": 14, "open_issues": 2, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8269,7 +8269,7 @@ "forks": 12, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8368,7 +8368,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8473,7 +8473,7 @@ "forks": 42, "open_issues": 20, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8572,7 +8572,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8677,7 +8677,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8776,7 +8776,7 @@ "forks": 7, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8881,7 +8881,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8980,7 +8980,7 @@ "forks": 21, "open_issues": 11, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9085,7 +9085,7 @@ "forks": 12, "open_issues": 11, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9190,7 +9190,7 @@ "forks": 5, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9295,7 +9295,7 @@ "forks": 62, "open_issues": 5, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9400,7 +9400,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9604,7 +9604,7 @@ "forks": 6, "open_issues": 3, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9709,7 +9709,7 @@ "forks": 43, "open_issues": 7, "watchers": 62, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9808,7 +9808,7 @@ "forks": 6, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9913,7 +9913,7 @@ "forks": 3, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10018,7 +10018,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10117,7 +10117,7 @@ "forks": 5, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10222,7 +10222,7 @@ "forks": 12, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-19.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-19.json index c412bb855..5cc1c235b 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-19.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-19.json @@ -97,7 +97,7 @@ "forks": 30, "open_issues": 12, "watchers": 29, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -202,7 +202,7 @@ "forks": 7, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -307,7 +307,7 @@ "forks": 70, "open_issues": 3, "watchers": 136, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -412,7 +412,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -517,7 +517,7 @@ "forks": 10, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -622,7 +622,7 @@ "forks": 10, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -727,7 +727,7 @@ "forks": 23, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -826,7 +826,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -931,7 +931,7 @@ "forks": 6, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1030,7 +1030,7 @@ "forks": 6, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1135,7 +1135,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1234,7 +1234,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1339,7 +1339,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1444,7 +1444,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1549,7 +1549,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1654,7 +1654,7 @@ "forks": 1, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1759,7 +1759,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1864,7 +1864,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1969,7 +1969,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2074,7 +2074,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2173,7 +2173,7 @@ "forks": 157, "open_issues": 13, "watchers": 423, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2278,7 +2278,7 @@ "forks": 17, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2383,7 +2383,7 @@ "forks": 4, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2488,7 +2488,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2593,7 +2593,7 @@ "forks": 2, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2698,7 +2698,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2803,7 +2803,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2908,7 +2908,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3013,7 +3013,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3118,7 +3118,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3223,7 +3223,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3328,7 +3328,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3433,7 +3433,7 @@ "forks": 15, "open_issues": 3, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3538,7 +3538,7 @@ "forks": 20, "open_issues": 12, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3643,7 +3643,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3748,7 +3748,7 @@ "forks": 6, "open_issues": 3, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4063,7 +4063,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4168,7 +4168,7 @@ "forks": 5, "open_issues": 5, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4273,7 +4273,7 @@ "forks": 20, "open_issues": 4, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4378,7 +4378,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4477,7 +4477,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4582,7 +4582,7 @@ "forks": 15, "open_issues": 0, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4687,7 +4687,7 @@ "forks": 3, "open_issues": 4, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4792,7 +4792,7 @@ "forks": 8, "open_issues": 4, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4891,7 +4891,7 @@ "forks": 15, "open_issues": 0, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4990,7 +4990,7 @@ "forks": 16, "open_issues": 3, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5089,7 +5089,7 @@ "forks": 11, "open_issues": 2, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5188,7 +5188,7 @@ "forks": 9, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5287,7 +5287,7 @@ "forks": 94, "open_issues": 11, "watchers": 151, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5392,7 +5392,7 @@ "forks": 135, "open_issues": 45, "watchers": 293, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5497,7 +5497,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5602,7 +5602,7 @@ "forks": 4, "open_issues": 3, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5707,7 +5707,7 @@ "forks": 9, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5812,7 +5812,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5917,7 +5917,7 @@ "forks": 18, "open_issues": 2, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6016,7 +6016,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6121,7 +6121,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6226,7 +6226,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6331,7 +6331,7 @@ "forks": 4, "open_issues": 2, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6430,7 +6430,7 @@ "forks": 6, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6535,7 +6535,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6745,7 +6745,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6844,7 +6844,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6943,7 +6943,7 @@ "forks": 1, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7048,7 +7048,7 @@ "forks": 5, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7153,7 +7153,7 @@ "forks": 5, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7258,7 +7258,7 @@ "forks": 21, "open_issues": 5, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7357,7 +7357,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7462,7 +7462,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7567,7 +7567,7 @@ "forks": 28, "open_issues": 12, "watchers": 35, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7672,7 +7672,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7777,7 +7777,7 @@ "forks": 9, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7975,7 +7975,7 @@ "forks": 18, "open_issues": 14, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8074,7 +8074,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8179,7 +8179,7 @@ "forks": 11, "open_issues": 4, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8284,7 +8284,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8389,7 +8389,7 @@ "forks": 17, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8488,7 +8488,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8593,7 +8593,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8698,7 +8698,7 @@ "forks": 8, "open_issues": 4, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8803,7 +8803,7 @@ "forks": 7, "open_issues": 1, "watchers": 27, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8908,7 +8908,7 @@ "forks": 26, "open_issues": 1, "watchers": 47, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9013,7 +9013,7 @@ "forks": 4, "open_issues": 0, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9112,7 +9112,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9217,7 +9217,7 @@ "forks": 4, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9322,7 +9322,7 @@ "forks": 6, "open_issues": 8, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9427,7 +9427,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9532,7 +9532,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9637,7 +9637,7 @@ "forks": 4, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9742,7 +9742,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9847,7 +9847,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9952,7 +9952,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10057,7 +10057,7 @@ "forks": 177, "open_issues": 59, "watchers": 815, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10156,7 +10156,7 @@ "forks": 13, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10261,7 +10261,7 @@ "forks": 4, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10366,7 +10366,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-20.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-20.json index 9d4fab81e..15b3ef0bd 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-20.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-20.json @@ -97,7 +97,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -202,7 +202,7 @@ "forks": 44, "open_issues": 2, "watchers": 64, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -307,7 +307,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -412,7 +412,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -517,7 +517,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -622,7 +622,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -727,7 +727,7 @@ "forks": 7, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -826,7 +826,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -925,7 +925,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1030,7 +1030,7 @@ "forks": 6, "open_issues": 5, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1129,7 +1129,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1333,7 +1333,7 @@ "forks": 55, "open_issues": 8, "watchers": 144, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1438,7 +1438,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1543,7 +1543,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1648,7 +1648,7 @@ "forks": 16, "open_issues": 1, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1747,7 +1747,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1852,7 +1852,7 @@ "forks": 2, "open_issues": 4, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1951,7 +1951,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2056,7 +2056,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2161,7 +2161,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2266,7 +2266,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2371,7 +2371,7 @@ "forks": 7, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2476,7 +2476,7 @@ "forks": 8, "open_issues": 9, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2581,7 +2581,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2686,7 +2686,7 @@ "forks": 3, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2791,7 +2791,7 @@ "forks": 8, "open_issues": 0, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2890,7 +2890,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2995,7 +2995,7 @@ "forks": 24, "open_issues": 9, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3094,7 +3094,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3199,7 +3199,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3304,7 +3304,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3409,7 +3409,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3514,7 +3514,7 @@ "forks": 3, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3619,7 +3619,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3718,7 +3718,7 @@ "forks": 1, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3817,7 +3817,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3916,7 +3916,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4015,7 +4015,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4114,7 +4114,7 @@ "forks": 5, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4219,7 +4219,7 @@ "forks": 5, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4324,7 +4324,7 @@ "forks": 7, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4429,7 +4429,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4534,7 +4534,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4639,7 +4639,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4744,7 +4744,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4849,7 +4849,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4948,7 +4948,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5053,7 +5053,7 @@ "forks": 11, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5158,7 +5158,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5263,7 +5263,7 @@ "forks": 38, "open_issues": 14, "watchers": 93, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5368,7 +5368,7 @@ "forks": 22, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5473,7 +5473,7 @@ "forks": 12, "open_issues": 0, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5572,7 +5572,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5677,7 +5677,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5782,7 +5782,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5881,7 +5881,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5986,7 +5986,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6085,7 +6085,7 @@ "forks": 3, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6184,7 +6184,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6289,7 +6289,7 @@ "forks": 1, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6388,7 +6388,7 @@ "forks": 7, "open_issues": 4, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6493,7 +6493,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6598,7 +6598,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6703,7 +6703,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6808,7 +6808,7 @@ "forks": 5, "open_issues": 1, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6913,7 +6913,7 @@ "forks": 1, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7018,7 +7018,7 @@ "forks": 2, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7123,7 +7123,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7228,7 +7228,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7333,7 +7333,7 @@ "forks": 26, "open_issues": 5, "watchers": 54, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7432,7 +7432,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7537,7 +7537,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7642,7 +7642,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7747,7 +7747,7 @@ "forks": 28, "open_issues": 12, "watchers": 39, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7852,7 +7852,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7957,7 +7957,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8167,7 +8167,7 @@ "forks": 3, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8272,7 +8272,7 @@ "forks": 3, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8377,7 +8377,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8476,7 +8476,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8674,7 +8674,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8779,7 +8779,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8884,7 +8884,7 @@ "forks": 18, "open_issues": 6, "watchers": 59, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8983,7 +8983,7 @@ "forks": 13, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9088,7 +9088,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9193,7 +9193,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9298,7 +9298,7 @@ "forks": 9, "open_issues": 6, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9403,7 +9403,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9508,7 +9508,7 @@ "forks": 3, "open_issues": 3, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9613,7 +9613,7 @@ "forks": 10, "open_issues": 11, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9718,7 +9718,7 @@ "forks": 16, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9823,7 +9823,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9922,7 +9922,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10027,7 +10027,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10132,7 +10132,7 @@ "forks": 15, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10237,7 +10237,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10342,7 +10342,7 @@ "forks": 5, "open_issues": 1, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-21.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-21.json index e988596a1..1054f2180 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-21.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-21.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -202,7 +202,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -307,7 +307,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -406,7 +406,7 @@ "forks": 23, "open_issues": 0, "watchers": 28, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -505,7 +505,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -610,7 +610,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -715,7 +715,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -820,7 +820,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -925,7 +925,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1024,7 +1024,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1129,7 +1129,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1234,7 +1234,7 @@ "forks": 0, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1339,7 +1339,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1549,7 +1549,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1654,7 +1654,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1759,7 +1759,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1864,7 +1864,7 @@ "forks": 2, "open_issues": 7, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1969,7 +1969,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2068,7 +2068,7 @@ "forks": 64, "open_issues": 0, "watchers": 100, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2167,7 +2167,7 @@ "forks": 14, "open_issues": 0, "watchers": 46, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2266,7 +2266,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2371,7 +2371,7 @@ "forks": 5, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2470,7 +2470,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2575,7 +2575,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2680,7 +2680,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2785,7 +2785,7 @@ "forks": 9, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2995,7 +2995,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3100,7 +3100,7 @@ "forks": 5, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3205,7 +3205,7 @@ "forks": 10, "open_issues": 2, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3718,7 +3718,7 @@ "forks": 28, "open_issues": 0, "watchers": 65, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3817,7 +3817,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3916,7 +3916,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4021,7 +4021,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4126,7 +4126,7 @@ "forks": 5, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4336,7 +4336,7 @@ "forks": 3, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4441,7 +4441,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4546,7 +4546,7 @@ "forks": 16, "open_issues": 9, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4651,7 +4651,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4750,7 +4750,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4855,7 +4855,7 @@ "forks": 7, "open_issues": 10, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4960,7 +4960,7 @@ "forks": 9, "open_issues": 1, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5059,7 +5059,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5158,7 +5158,7 @@ "forks": 7, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5263,7 +5263,7 @@ "forks": 295, "open_issues": 96, "watchers": 1375, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5368,7 +5368,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5683,7 +5683,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5788,7 +5788,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5893,7 +5893,7 @@ "forks": 17, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5992,7 +5992,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6091,7 +6091,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6196,7 +6196,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6301,7 +6301,7 @@ "forks": 29, "open_issues": 14, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6406,7 +6406,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6511,7 +6511,7 @@ "forks": 4, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6616,7 +6616,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6721,7 +6721,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6826,7 +6826,7 @@ "forks": 7, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6925,7 +6925,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7030,7 +7030,7 @@ "forks": 3, "open_issues": 3, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7129,7 +7129,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7234,7 +7234,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7339,7 +7339,7 @@ "forks": 10, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7549,7 +7549,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7654,7 +7654,7 @@ "forks": 15, "open_issues": 2, "watchers": 41, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7759,7 +7759,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7864,7 +7864,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7969,7 +7969,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8074,7 +8074,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8179,7 +8179,7 @@ "forks": 2, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8284,7 +8284,7 @@ "forks": 3, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8389,7 +8389,7 @@ "forks": 1, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8494,7 +8494,7 @@ "forks": 18, "open_issues": 0, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8599,7 +8599,7 @@ "forks": 7, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8704,7 +8704,7 @@ "forks": 19, "open_issues": 0, "watchers": 29, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8809,7 +8809,7 @@ "forks": 8, "open_issues": 4, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8908,7 +8908,7 @@ "forks": 5, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9013,7 +9013,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9118,7 +9118,7 @@ "forks": 1, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9223,7 +9223,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9322,7 +9322,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9427,7 +9427,7 @@ "forks": 9, "open_issues": 6, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9532,7 +9532,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9637,7 +9637,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9742,7 +9742,7 @@ "forks": 19, "open_issues": 2, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9841,7 +9841,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9946,7 +9946,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10051,7 +10051,7 @@ "forks": 7, "open_issues": 0, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10156,7 +10156,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10261,7 +10261,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10366,7 +10366,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-22.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-22.json index 881e9dea3..6c3499580 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-22.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-22.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -202,7 +202,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -307,7 +307,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -412,7 +412,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -517,7 +517,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -622,7 +622,7 @@ "forks": 18, "open_issues": 21, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -727,7 +727,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -832,7 +832,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -937,7 +937,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1042,7 +1042,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1141,7 +1141,7 @@ "forks": 15, "open_issues": 2, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1246,7 +1246,7 @@ "forks": 1, "open_issues": 0, "watchers": 48, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1351,7 +1351,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1456,7 +1456,7 @@ "forks": 121, "open_issues": 27, "watchers": 397, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1561,7 +1561,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1666,7 +1666,7 @@ "forks": 5, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1771,7 +1771,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1876,7 +1876,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1981,7 +1981,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2080,7 +2080,7 @@ "forks": 11, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2185,7 +2185,7 @@ "forks": 20, "open_issues": 21, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2290,7 +2290,7 @@ "forks": 21, "open_issues": 2, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2395,7 +2395,7 @@ "forks": 41, "open_issues": 21, "watchers": 57, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2500,7 +2500,7 @@ "forks": 5, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2605,7 +2605,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2710,7 +2710,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2809,7 +2809,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2908,7 +2908,7 @@ "forks": 26, "open_issues": 8, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3007,7 +3007,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3112,7 +3112,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3217,7 +3217,7 @@ "forks": 6, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3322,7 +3322,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3427,7 +3427,7 @@ "forks": 9, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3526,7 +3526,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3625,7 +3625,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3724,7 +3724,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3829,7 +3829,7 @@ "forks": 5, "open_issues": 4, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3928,7 +3928,7 @@ "forks": 0, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4033,7 +4033,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4138,7 +4138,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4243,7 +4243,7 @@ "forks": 19, "open_issues": 2, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4447,7 +4447,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4552,7 +4552,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4657,7 +4657,7 @@ "forks": 12, "open_issues": 2, "watchers": 25, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4762,7 +4762,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4861,7 +4861,7 @@ "forks": 9, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4966,7 +4966,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5065,7 +5065,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5170,7 +5170,7 @@ "forks": 0, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5269,7 +5269,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5374,7 +5374,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5479,7 +5479,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5584,7 +5584,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5689,7 +5689,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5794,7 +5794,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5899,7 +5899,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6004,7 +6004,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6109,7 +6109,7 @@ "forks": 14, "open_issues": 5, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6208,7 +6208,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6313,7 +6313,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6412,7 +6412,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6511,7 +6511,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6616,7 +6616,7 @@ "forks": 6, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6715,7 +6715,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6820,7 +6820,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6925,7 +6925,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7024,7 +7024,7 @@ "forks": 7, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7129,7 +7129,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7234,7 +7234,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7339,7 +7339,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7438,7 +7438,7 @@ "forks": 7, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7543,7 +7543,7 @@ "forks": 23, "open_issues": 0, "watchers": 93, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7642,7 +7642,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7747,7 +7747,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7846,7 +7846,7 @@ "forks": 4, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7951,7 +7951,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8056,7 +8056,7 @@ "forks": 2, "open_issues": 4, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8161,7 +8161,7 @@ "forks": 10, "open_issues": 10, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8266,7 +8266,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8365,7 +8365,7 @@ "forks": 1, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8470,7 +8470,7 @@ "forks": 7, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8575,7 +8575,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8674,7 +8674,7 @@ "forks": 2, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8884,7 +8884,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8983,7 +8983,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9088,7 +9088,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9187,7 +9187,7 @@ "forks": 2, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9292,7 +9292,7 @@ "forks": 3, "open_issues": 7, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9391,7 +9391,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9490,7 +9490,7 @@ "forks": 2, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9595,7 +9595,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9694,7 +9694,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9793,7 +9793,7 @@ "forks": 6, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9898,7 +9898,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10003,7 +10003,7 @@ "forks": 2, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10108,7 +10108,7 @@ "forks": 7, "open_issues": 1, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10213,7 +10213,7 @@ "forks": 3, "open_issues": 1, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10312,7 +10312,7 @@ "forks": 6, "open_issues": 12, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-23.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-23.json index 57ca28e79..5ec25c2be 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-23.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-23.json @@ -97,7 +97,7 @@ "forks": 5, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -301,7 +301,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -400,7 +400,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -505,7 +505,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -610,7 +610,7 @@ "forks": 21, "open_issues": 17, "watchers": 27, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -715,7 +715,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -820,7 +820,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -925,7 +925,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1030,7 +1030,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1129,7 +1129,7 @@ "forks": 5, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1234,7 +1234,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1339,7 +1339,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1444,7 +1444,7 @@ "forks": 4, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1549,7 +1549,7 @@ "forks": 0, "open_issues": 7, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1654,7 +1654,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1759,7 +1759,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1864,7 +1864,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1969,7 +1969,7 @@ "forks": 12, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2074,7 +2074,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2179,7 +2179,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2278,7 +2278,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2383,7 +2383,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2482,7 +2482,7 @@ "forks": 10, "open_issues": 0, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2587,7 +2587,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2692,7 +2692,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2797,7 +2797,7 @@ "forks": 4, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2902,7 +2902,7 @@ "forks": 102, "open_issues": 5, "watchers": 142, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3007,7 +3007,7 @@ "forks": 6, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3112,7 +3112,7 @@ "forks": 9, "open_issues": 5, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3122,8 +3122,8 @@ { "id": 153618701, "node_id": "MDEwOlJlcG9zaXRvcnkxNTM2MTg3MDE=", - "name": "huaweicloud-mastermonitor-plugin", - "full_name": "jenkinsci/huaweicloud-mastermonitor-plugin", + "name": "huaweicloud-mainmonitor-plugin", + "full_name": "jenkinsci/huaweicloud-mainmonitor-plugin", "private": false, "owner": { "login": "jenkinsci", @@ -3145,53 +3145,53 @@ "type": "Organization", "site_admin": false }, - "html_url": "https://github.com/jenkinsci/huaweicloud-mastermonitor-plugin", - "description": "huaweicloud master monitor", + "html_url": "https://github.com/jenkinsci/huaweicloud-mainmonitor-plugin", + "description": "huaweicloud main monitor", "fork": false, - "url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin", - "forks_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/forks", - "keys_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/teams", - "hooks_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/hooks", - "issue_events_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/issues/events{/number}", - "events_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/events", - "assignees_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/assignees{/user}", - "branches_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/branches{/branch}", - "tags_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/tags", - "blobs_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/statuses/{sha}", - "languages_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/languages", - "stargazers_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/stargazers", - "contributors_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/contributors", - "subscribers_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/subscribers", - "subscription_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/subscription", - "commits_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/contents/{+path}", - "compare_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/merges", - "archive_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/downloads", - "issues_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/issues{/number}", - "pulls_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/pulls{/number}", - "milestones_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/milestones{/number}", - "notifications_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/labels{/name}", - "releases_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/releases{/id}", - "deployments_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mastermonitor-plugin/deployments", + "url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/huaweicloud-mainmonitor-plugin/deployments", "created_at": "2018-10-18T12:16:57Z", "updated_at": "2018-10-19T07:33:29Z", "pushed_at": "2018-10-16T03:28:33Z", - "git_url": "git://github.com/jenkinsci/huaweicloud-mastermonitor-plugin.git", - "ssh_url": "git@github.com:jenkinsci/huaweicloud-mastermonitor-plugin.git", - "clone_url": "https://github.com/jenkinsci/huaweicloud-mastermonitor-plugin.git", - "svn_url": "https://github.com/jenkinsci/huaweicloud-mastermonitor-plugin", + "git_url": "git://github.com/jenkinsci/huaweicloud-mainmonitor-plugin.git", + "ssh_url": "git@github.com:jenkinsci/huaweicloud-mainmonitor-plugin.git", + "clone_url": "https://github.com/jenkinsci/huaweicloud-mainmonitor-plugin.git", + "svn_url": "https://github.com/jenkinsci/huaweicloud-mainmonitor-plugin", "homepage": "", "size": 44, "stargazers_count": 0, @@ -3217,7 +3217,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3356,7 +3356,7 @@ "site_admin": false }, "html_url": "https://github.com/jenkinsci/jenkinsfile-runner-github-actions", - "description": "Jenkins single-shot master GitHub Action POC", + "description": "Jenkins single-shot main GitHub Action POC", "fork": false, "url": "https://api.github.com/repos/jenkinsci/jenkinsfile-runner-github-actions", "forks_url": "https://api.github.com/repos/jenkinsci/jenkinsfile-runner-github-actions/forks", @@ -3427,7 +3427,7 @@ "forks": 13, "open_issues": 1, "watchers": 93, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3532,7 +3532,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3631,7 +3631,7 @@ "forks": 1, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3736,7 +3736,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3841,7 +3841,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3946,7 +3946,7 @@ "forks": 8, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4051,7 +4051,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4156,7 +4156,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4261,7 +4261,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4366,7 +4366,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4465,7 +4465,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4570,7 +4570,7 @@ "forks": 5, "open_issues": 3, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4675,7 +4675,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4780,7 +4780,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4885,7 +4885,7 @@ "forks": 4, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4990,7 +4990,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5089,7 +5089,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5194,7 +5194,7 @@ "forks": 2, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5299,7 +5299,7 @@ "forks": 14, "open_issues": 14, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -5404,7 +5404,7 @@ "forks": 0, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5509,7 +5509,7 @@ "forks": 13, "open_issues": 15, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5614,7 +5614,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5719,7 +5719,7 @@ "forks": 7, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5818,7 +5818,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5923,7 +5923,7 @@ "forks": 3, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6028,7 +6028,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6127,7 +6127,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6232,7 +6232,7 @@ "forks": 13, "open_issues": 12, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6337,7 +6337,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6442,7 +6442,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6547,7 +6547,7 @@ "forks": 6, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6652,7 +6652,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6757,7 +6757,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6862,7 +6862,7 @@ "forks": 0, "open_issues": 9, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6961,7 +6961,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7060,7 +7060,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7165,7 +7165,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7264,7 +7264,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7474,7 +7474,7 @@ "forks": 4, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7573,7 +7573,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7672,7 +7672,7 @@ "forks": 6, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7777,7 +7777,7 @@ "forks": 1, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7882,7 +7882,7 @@ "forks": 3, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7981,7 +7981,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8086,7 +8086,7 @@ "forks": 2, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8185,7 +8185,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8284,7 +8284,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8389,7 +8389,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8494,7 +8494,7 @@ "forks": 39, "open_issues": 18, "watchers": 137, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8599,7 +8599,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8809,7 +8809,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8908,7 +8908,7 @@ "forks": 2, "open_issues": 1, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9013,7 +9013,7 @@ "forks": 8, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9112,7 +9112,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9217,7 +9217,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9316,7 +9316,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9415,7 +9415,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9514,7 +9514,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9619,7 +9619,7 @@ "forks": 8, "open_issues": 3, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9718,7 +9718,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9823,7 +9823,7 @@ "forks": 8, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9928,7 +9928,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10033,7 +10033,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10243,7 +10243,7 @@ "forks": 6, "open_issues": 5, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10348,7 +10348,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-24.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-24.json index 8221de583..be51f5695 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-24.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-24.json @@ -91,7 +91,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -295,7 +295,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -400,7 +400,7 @@ "forks": 5, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -499,7 +499,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -604,7 +604,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -709,7 +709,7 @@ "forks": 0, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -814,7 +814,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -919,7 +919,7 @@ "forks": 0, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1018,7 +1018,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1123,7 +1123,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1228,7 +1228,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1327,7 +1327,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1432,7 +1432,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1531,7 +1531,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1630,7 +1630,7 @@ "forks": 11, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1735,7 +1735,7 @@ "forks": 5, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1834,7 +1834,7 @@ "forks": 4, "open_issues": 0, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1939,7 +1939,7 @@ "forks": 2, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2044,7 +2044,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2149,7 +2149,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2254,7 +2254,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2359,7 +2359,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2464,7 +2464,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2569,7 +2569,7 @@ "forks": 0, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2674,7 +2674,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2779,7 +2779,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2884,7 +2884,7 @@ "forks": 7, "open_issues": 1, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2989,7 +2989,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3094,7 +3094,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3199,7 +3199,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3304,7 +3304,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3409,7 +3409,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3514,7 +3514,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3619,7 +3619,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3724,7 +3724,7 @@ "forks": 7, "open_issues": 4, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3823,7 +3823,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3928,7 +3928,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4138,7 +4138,7 @@ "forks": 18, "open_issues": 3, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4172,7 +4172,7 @@ "site_admin": false }, "html_url": "https://github.com/jenkinsci/git-automerger-plugin", - "description": "Tool for auto-merging releases branches into master. ", + "description": "Tool for auto-merging releases branches into main. ", "fork": false, "url": "https://api.github.com/repos/jenkinsci/git-automerger-plugin", "forks_url": "https://api.github.com/repos/jenkinsci/git-automerger-plugin/forks", @@ -4243,7 +4243,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4348,7 +4348,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4453,7 +4453,7 @@ "forks": 9, "open_issues": 1, "watchers": 36, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4552,7 +4552,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4651,7 +4651,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4756,7 +4756,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4861,7 +4861,7 @@ "forks": 0, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4966,7 +4966,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5071,7 +5071,7 @@ "forks": 3, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5176,7 +5176,7 @@ "forks": 1, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5281,7 +5281,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5380,7 +5380,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5485,7 +5485,7 @@ "forks": 3, "open_issues": 0, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5584,7 +5584,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5689,7 +5689,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5794,7 +5794,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5899,7 +5899,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6004,7 +6004,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6103,7 +6103,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6208,7 +6208,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6307,7 +6307,7 @@ "forks": 7, "open_issues": 9, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6412,7 +6412,7 @@ "forks": 2, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6511,7 +6511,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6610,7 +6610,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6715,7 +6715,7 @@ "forks": 4, "open_issues": 3, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6820,7 +6820,7 @@ "forks": 11, "open_issues": 3, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6925,7 +6925,7 @@ "forks": 0, "open_issues": 7, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7030,7 +7030,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7135,7 +7135,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7234,7 +7234,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7339,7 +7339,7 @@ "forks": 10, "open_issues": 0, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7444,7 +7444,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7549,7 +7549,7 @@ "forks": 2, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7654,7 +7654,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7759,7 +7759,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7864,7 +7864,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7963,7 +7963,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8068,7 +8068,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8173,7 +8173,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8278,7 +8278,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8377,7 +8377,7 @@ "forks": 1, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8482,7 +8482,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8581,7 +8581,7 @@ "forks": 1, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8686,7 +8686,7 @@ "forks": 2, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8791,7 +8791,7 @@ "forks": 3, "open_issues": 4, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8890,7 +8890,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8995,7 +8995,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9100,7 +9100,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9205,7 +9205,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9310,7 +9310,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9415,7 +9415,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9520,7 +9520,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9625,7 +9625,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9730,7 +9730,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9934,7 +9934,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10033,7 +10033,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10138,7 +10138,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10243,7 +10243,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10348,7 +10348,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-25.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-25.json index 5956daf95..7143fd19d 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-25.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-25.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -202,7 +202,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -301,7 +301,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -406,7 +406,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-4.json index 3dc7df2e6..f65e4d904 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-4.json @@ -91,7 +91,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 4, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -394,7 +394,7 @@ "forks": 113, "open_issues": 42, "watchers": 94, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -493,7 +493,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 8, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -697,7 +697,7 @@ "forks": 71, "open_issues": 1, "watchers": 39, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -796,7 +796,7 @@ "forks": 8, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -895,7 +895,7 @@ "forks": 40, "open_issues": 6, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -994,7 +994,7 @@ "forks": 6, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1093,7 +1093,7 @@ "forks": 11, "open_issues": 3, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1192,7 +1192,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1291,7 +1291,7 @@ "forks": 18, "open_issues": 3, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1390,7 +1390,7 @@ "forks": 30, "open_issues": 7, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1489,7 +1489,7 @@ "forks": 109, "open_issues": 2, "watchers": 75, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1588,7 +1588,7 @@ "forks": 3, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1693,7 +1693,7 @@ "forks": 29, "open_issues": 2, "watchers": 29, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1792,7 +1792,7 @@ "forks": 7, "open_issues": 3, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1897,7 +1897,7 @@ "forks": 54, "open_issues": 3, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1996,7 +1996,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2095,7 +2095,7 @@ "forks": 7, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2194,7 +2194,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2293,7 +2293,7 @@ "forks": 7, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2392,7 +2392,7 @@ "forks": 24, "open_issues": 5, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2491,7 +2491,7 @@ "forks": 5, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2596,7 +2596,7 @@ "forks": 17, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2701,7 +2701,7 @@ "forks": 74, "open_issues": 3, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2800,7 +2800,7 @@ "forks": 9, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2899,7 +2899,7 @@ "forks": 35, "open_issues": 4, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3004,7 +3004,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3109,7 +3109,7 @@ "forks": 12, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3214,7 +3214,7 @@ "forks": 17, "open_issues": 3, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3313,7 +3313,7 @@ "forks": 4, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3412,7 +3412,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3517,7 +3517,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3616,7 +3616,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3721,7 +3721,7 @@ "forks": 563, "open_issues": 1, "watchers": 263, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3820,7 +3820,7 @@ "forks": 65, "open_issues": 1, "watchers": 28, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3925,7 +3925,7 @@ "forks": 329, "open_issues": 12, "watchers": 235, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4024,7 +4024,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4123,7 +4123,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4222,7 +4222,7 @@ "forks": 5, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4321,7 +4321,7 @@ "forks": 7, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4426,7 +4426,7 @@ "forks": 35, "open_issues": 5, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4525,7 +4525,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4630,7 +4630,7 @@ "forks": 9, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4729,7 +4729,7 @@ "forks": 19, "open_issues": 3, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4828,7 +4828,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4927,7 +4927,7 @@ "forks": 5, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5026,7 +5026,7 @@ "forks": 18, "open_issues": 4, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5131,7 +5131,7 @@ "forks": 85, "open_issues": 9, "watchers": 88, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5230,7 +5230,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5329,7 +5329,7 @@ "forks": 6, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5428,7 +5428,7 @@ "forks": 40, "open_issues": 0, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5527,7 +5527,7 @@ "forks": 41, "open_issues": 2, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5626,7 +5626,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5725,7 +5725,7 @@ "forks": 11, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5824,7 +5824,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5923,7 +5923,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6022,7 +6022,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6121,7 +6121,7 @@ "forks": 21, "open_issues": 4, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6220,7 +6220,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6319,7 +6319,7 @@ "forks": 97, "open_issues": 0, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6418,7 +6418,7 @@ "forks": 5, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6523,7 +6523,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6628,7 +6628,7 @@ "forks": 112, "open_issues": 1, "watchers": 63, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6727,7 +6727,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6832,7 +6832,7 @@ "forks": 48, "open_issues": 4, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6931,7 +6931,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7030,7 +7030,7 @@ "forks": 6, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7129,7 +7129,7 @@ "forks": 43, "open_issues": 1, "watchers": 30, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7228,7 +7228,7 @@ "forks": 4, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7327,7 +7327,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7426,7 +7426,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7525,7 +7525,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7624,7 +7624,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7723,7 +7723,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7828,7 +7828,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7927,7 +7927,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8026,7 +8026,7 @@ "forks": 5, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8131,7 +8131,7 @@ "forks": 5, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8230,7 +8230,7 @@ "forks": 10, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8329,7 +8329,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8428,7 +8428,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8527,7 +8527,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8632,7 +8632,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8731,7 +8731,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8830,7 +8830,7 @@ "forks": 41, "open_issues": 3, "watchers": 30, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8935,7 +8935,7 @@ "forks": 65, "open_issues": 2, "watchers": 35, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9040,7 +9040,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9145,7 +9145,7 @@ "forks": 35, "open_issues": 4, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9244,7 +9244,7 @@ "forks": 4, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9343,7 +9343,7 @@ "forks": 23, "open_issues": 1, "watchers": 25, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9442,7 +9442,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9547,7 +9547,7 @@ "forks": 247, "open_issues": 8, "watchers": 128, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9652,7 +9652,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9751,7 +9751,7 @@ "forks": 20, "open_issues": 3, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9850,7 +9850,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9949,7 +9949,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10048,7 +10048,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-5.json index 31d0a1e87..d1e737407 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-5.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-5.json @@ -91,7 +91,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 35, "open_issues": 3, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -388,7 +388,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -487,7 +487,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -586,7 +586,7 @@ "forks": 56, "open_issues": 0, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -685,7 +685,7 @@ "forks": 11, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -790,7 +790,7 @@ "forks": 43, "open_issues": 1, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -889,7 +889,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -994,7 +994,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1093,7 +1093,7 @@ "forks": 4, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1192,7 +1192,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1291,7 +1291,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1396,7 +1396,7 @@ "forks": 14, "open_issues": 4, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1495,7 +1495,7 @@ "forks": 9, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1600,7 +1600,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1699,7 +1699,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1798,7 +1798,7 @@ "forks": 10, "open_issues": 6, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1897,7 +1897,7 @@ "forks": 3, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1996,7 +1996,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2101,7 +2101,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2200,7 +2200,7 @@ "forks": 18, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2299,7 +2299,7 @@ "forks": 9, "open_issues": 3, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2398,7 +2398,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2497,7 +2497,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2596,7 +2596,7 @@ "forks": 9, "open_issues": 2, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2695,7 +2695,7 @@ "forks": 8, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2794,7 +2794,7 @@ "forks": 56, "open_issues": 0, "watchers": 48, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2893,7 +2893,7 @@ "forks": 21, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2992,7 +2992,7 @@ "forks": 4, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3097,7 +3097,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3196,7 +3196,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3295,7 +3295,7 @@ "forks": 5, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3400,7 +3400,7 @@ "forks": 26, "open_issues": 1, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3499,7 +3499,7 @@ "forks": 40, "open_issues": 2, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3598,7 +3598,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3697,7 +3697,7 @@ "forks": 68, "open_issues": 3, "watchers": 55, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3796,7 +3796,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3895,7 +3895,7 @@ "forks": 5, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4000,7 +4000,7 @@ "forks": 14, "open_issues": 0, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4099,7 +4099,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4198,7 +4198,7 @@ "forks": 18, "open_issues": 3, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4303,7 +4303,7 @@ "forks": 49, "open_issues": 1, "watchers": 35, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4402,7 +4402,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4501,7 +4501,7 @@ "forks": 18, "open_issues": 2, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4606,7 +4606,7 @@ "forks": 15, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4705,7 +4705,7 @@ "forks": 10, "open_issues": 3, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4804,7 +4804,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4903,7 +4903,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5002,7 +5002,7 @@ "forks": 150, "open_issues": 13, "watchers": 47, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5101,7 +5101,7 @@ "forks": 27, "open_issues": 2, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5200,7 +5200,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5299,7 +5299,7 @@ "forks": 3, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5398,7 +5398,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5497,7 +5497,7 @@ "forks": 12, "open_issues": 3, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5602,7 +5602,7 @@ "forks": 82, "open_issues": 1, "watchers": 48, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5701,7 +5701,7 @@ "forks": 7, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5806,7 +5806,7 @@ "forks": 4, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5905,7 +5905,7 @@ "forks": 14, "open_issues": 2, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6004,7 +6004,7 @@ "forks": 3, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6103,7 +6103,7 @@ "forks": 11, "open_issues": 3, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6202,7 +6202,7 @@ "forks": 31, "open_issues": 6, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6307,7 +6307,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6406,7 +6406,7 @@ "forks": 114, "open_issues": 2, "watchers": 52, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6505,7 +6505,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6604,7 +6604,7 @@ "forks": 35, "open_issues": 3, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6703,7 +6703,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6802,7 +6802,7 @@ "forks": 3, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6901,7 +6901,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7000,7 +7000,7 @@ "forks": 45, "open_issues": 5, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7099,7 +7099,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7204,7 +7204,7 @@ "forks": 96, "open_issues": 15, "watchers": 60, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7303,7 +7303,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7402,7 +7402,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7507,7 +7507,7 @@ "forks": 6, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7612,7 +7612,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7711,7 +7711,7 @@ "forks": 50, "open_issues": 3, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7810,7 +7810,7 @@ "forks": 37, "open_issues": 1, "watchers": 25, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7909,7 +7909,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8008,7 +8008,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8107,7 +8107,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8212,7 +8212,7 @@ "forks": 133, "open_issues": 46, "watchers": 117, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8311,7 +8311,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8410,7 +8410,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8509,7 +8509,7 @@ "forks": 9, "open_issues": 4, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8614,7 +8614,7 @@ "forks": 43, "open_issues": 3, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8713,7 +8713,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8818,7 +8818,7 @@ "forks": 149, "open_issues": 14, "watchers": 93, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8923,7 +8923,7 @@ "forks": 80, "open_issues": 5, "watchers": 54, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9022,7 +9022,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9127,7 +9127,7 @@ "forks": 40, "open_issues": 2, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9226,7 +9226,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9325,7 +9325,7 @@ "forks": 32, "open_issues": 10, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9424,7 +9424,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9523,7 +9523,7 @@ "forks": 4, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9622,7 +9622,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9721,7 +9721,7 @@ "forks": 6, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9826,7 +9826,7 @@ "forks": 27, "open_issues": 7, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9925,7 +9925,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10024,7 +10024,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-6.json index 21f402a47..796869134 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-6.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-6.json @@ -91,7 +91,7 @@ "forks": 19, "open_issues": 2, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 15, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -388,7 +388,7 @@ "forks": 4, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -493,7 +493,7 @@ "forks": 26, "open_issues": 5, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 9, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -691,7 +691,7 @@ "forks": 7, "open_issues": 2, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -790,7 +790,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -889,7 +889,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -988,7 +988,7 @@ "forks": 24, "open_issues": 2, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1087,7 +1087,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1186,7 +1186,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1291,7 +1291,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1390,7 +1390,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1495,7 +1495,7 @@ "forks": 28, "open_issues": 1, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1594,7 +1594,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1693,7 +1693,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1792,7 +1792,7 @@ "forks": 28, "open_issues": 4, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1891,7 +1891,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1996,7 +1996,7 @@ "forks": 17, "open_issues": 2, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2095,7 +2095,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2194,7 +2194,7 @@ "forks": 5, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2293,7 +2293,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2398,7 +2398,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2497,7 +2497,7 @@ "forks": 4, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2596,7 +2596,7 @@ "forks": 95, "open_issues": 3, "watchers": 104, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2701,7 +2701,7 @@ "forks": 35, "open_issues": 7, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2800,7 +2800,7 @@ "forks": 14, "open_issues": 2, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2905,7 +2905,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3004,7 +3004,7 @@ "forks": 73, "open_issues": 5, "watchers": 43, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3103,7 +3103,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3202,7 +3202,7 @@ "forks": 24, "open_issues": 4, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3301,7 +3301,7 @@ "forks": 7, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3400,7 +3400,7 @@ "forks": 83, "open_issues": 4, "watchers": 53, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3499,7 +3499,7 @@ "forks": 7, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3598,7 +3598,7 @@ "forks": 48, "open_issues": 6, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3703,7 +3703,7 @@ "forks": 106, "open_issues": 2, "watchers": 49, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3802,7 +3802,7 @@ "forks": 49, "open_issues": 3, "watchers": 45, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3901,7 +3901,7 @@ "forks": 5, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4006,7 +4006,7 @@ "forks": 20, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4105,7 +4105,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4204,7 +4204,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4303,7 +4303,7 @@ "forks": 5, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4402,7 +4402,7 @@ "forks": 33, "open_issues": 2, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4501,7 +4501,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4606,7 +4606,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4705,7 +4705,7 @@ "forks": 29, "open_issues": 2, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4804,7 +4804,7 @@ "forks": 14, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4903,7 +4903,7 @@ "forks": 30, "open_issues": 10, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5002,7 +5002,7 @@ "forks": 12, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5101,7 +5101,7 @@ "forks": 162, "open_issues": 28, "watchers": 126, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5206,7 +5206,7 @@ "forks": 26, "open_issues": 4, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5305,7 +5305,7 @@ "forks": 3, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5410,7 +5410,7 @@ "forks": 6, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5515,7 +5515,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5614,7 +5614,7 @@ "forks": 62, "open_issues": 3, "watchers": 32, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5719,7 +5719,7 @@ "forks": 12, "open_issues": 2, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5818,7 +5818,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5917,7 +5917,7 @@ "forks": 2, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6022,7 +6022,7 @@ "forks": 8, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6121,7 +6121,7 @@ "forks": 9, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6220,7 +6220,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6319,7 +6319,7 @@ "forks": 35, "open_issues": 6, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6424,7 +6424,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6523,7 +6523,7 @@ "forks": 17, "open_issues": 1, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6622,7 +6622,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6721,7 +6721,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6820,7 +6820,7 @@ "forks": 6, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6919,7 +6919,7 @@ "forks": 75, "open_issues": 38, "watchers": 54, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7018,7 +7018,7 @@ "forks": 16, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7123,7 +7123,7 @@ "forks": 93, "open_issues": 4, "watchers": 66, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7222,7 +7222,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7321,7 +7321,7 @@ "forks": 32, "open_issues": 6, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7420,7 +7420,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7525,7 +7525,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7630,7 +7630,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7729,7 +7729,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7828,7 +7828,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7927,7 +7927,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8026,7 +8026,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8131,7 +8131,7 @@ "forks": 76, "open_issues": 9, "watchers": 34, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8230,7 +8230,7 @@ "forks": 51, "open_issues": 4, "watchers": 38, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8329,7 +8329,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8428,7 +8428,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8533,7 +8533,7 @@ "forks": 11, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8632,7 +8632,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8737,7 +8737,7 @@ "forks": 102, "open_issues": 23, "watchers": 108, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8836,7 +8836,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8941,7 +8941,7 @@ "forks": 65, "open_issues": 9, "watchers": 27, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9046,7 +9046,7 @@ "forks": 15, "open_issues": 1, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9151,7 +9151,7 @@ "forks": 446, "open_issues": 19, "watchers": 205, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9256,7 +9256,7 @@ "forks": 20, "open_issues": 1, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9355,7 +9355,7 @@ "forks": 7, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9460,7 +9460,7 @@ "forks": 182, "open_issues": 1, "watchers": 154, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9565,7 +9565,7 @@ "forks": 9, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9670,7 +9670,7 @@ "forks": 158, "open_issues": 1, "watchers": 69, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9769,7 +9769,7 @@ "forks": 120, "open_issues": 2, "watchers": 63, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9868,7 +9868,7 @@ "forks": 50, "open_issues": 0, "watchers": 42, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9973,7 +9973,7 @@ "forks": 167, "open_issues": 18, "watchers": 96, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10072,7 +10072,7 @@ "forks": 11, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-7.json index f27e5c513..203ab3d87 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-7.json @@ -91,7 +91,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 87, "open_issues": 4, "watchers": 47, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -295,7 +295,7 @@ "forks": 29, "open_issues": 8, "watchers": 61, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -394,7 +394,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -499,7 +499,7 @@ "forks": 12, "open_issues": 0, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -604,7 +604,7 @@ "forks": 5, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -703,7 +703,7 @@ "forks": 25, "open_issues": 12, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -802,7 +802,7 @@ "forks": 4, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -901,7 +901,7 @@ "forks": 33, "open_issues": 1, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1006,7 +1006,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1111,7 +1111,7 @@ "forks": 6, "open_issues": 1, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1216,7 +1216,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1315,7 +1315,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1420,7 +1420,7 @@ "forks": 2, "open_issues": 1, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1525,7 +1525,7 @@ "forks": 6, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1624,7 +1624,7 @@ "forks": 7, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1723,7 +1723,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1822,7 +1822,7 @@ "forks": 2, "open_issues": 3, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1921,7 +1921,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2020,7 +2020,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2230,7 +2230,7 @@ "forks": 4, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2329,7 +2329,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2428,7 +2428,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2527,7 +2527,7 @@ "forks": 6, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2626,7 +2626,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2725,7 +2725,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2824,7 +2824,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2923,7 +2923,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3022,7 +3022,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3121,7 +3121,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3220,7 +3220,7 @@ "forks": 28, "open_issues": 0, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3319,7 +3319,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3418,7 +3418,7 @@ "forks": 21, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3517,7 +3517,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3616,7 +3616,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3715,7 +3715,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3814,7 +3814,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3913,7 +3913,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4012,7 +4012,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4111,7 +4111,7 @@ "forks": 3, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4210,7 +4210,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4309,7 +4309,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4408,7 +4408,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4513,7 +4513,7 @@ "forks": 6, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4612,7 +4612,7 @@ "forks": 18, "open_issues": 2, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4711,7 +4711,7 @@ "forks": 24, "open_issues": 0, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4810,7 +4810,7 @@ "forks": 82, "open_issues": 5, "watchers": 64, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4915,7 +4915,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5020,7 +5020,7 @@ "forks": 39, "open_issues": 3, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5125,7 +5125,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5230,7 +5230,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5335,7 +5335,7 @@ "forks": 8, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5440,7 +5440,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5539,7 +5539,7 @@ "forks": 43, "open_issues": 0, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5638,7 +5638,7 @@ "forks": 1, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5743,7 +5743,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5848,7 +5848,7 @@ "forks": 23, "open_issues": 3, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5947,7 +5947,7 @@ "forks": 39, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6046,7 +6046,7 @@ "forks": 36, "open_issues": 1, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6151,7 +6151,7 @@ "forks": 27, "open_issues": 1, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6250,7 +6250,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6349,7 +6349,7 @@ "forks": 64, "open_issues": 3, "watchers": 49, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6454,7 +6454,7 @@ "forks": 15, "open_issues": 1, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6553,7 +6553,7 @@ "forks": 32, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6658,7 +6658,7 @@ "forks": 60, "open_issues": 3, "watchers": 39, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6757,7 +6757,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6856,7 +6856,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6955,7 +6955,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7054,7 +7054,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7153,7 +7153,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7252,7 +7252,7 @@ "forks": 5, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7351,7 +7351,7 @@ "forks": 24, "open_issues": 2, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7450,7 +7450,7 @@ "forks": 12, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7555,7 +7555,7 @@ "forks": 14, "open_issues": 5, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7654,7 +7654,7 @@ "forks": 5, "open_issues": 4, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7753,7 +7753,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7852,7 +7852,7 @@ "forks": 7, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7951,7 +7951,7 @@ "forks": 37, "open_issues": 2, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8050,7 +8050,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8149,7 +8149,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8248,7 +8248,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8353,7 +8353,7 @@ "forks": 2, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8452,7 +8452,7 @@ "forks": 2, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8557,7 +8557,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8662,7 +8662,7 @@ "forks": 33, "open_issues": 18, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8761,7 +8761,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8860,7 +8860,7 @@ "forks": 1, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8965,7 +8965,7 @@ "forks": 8, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9064,7 +9064,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9163,7 +9163,7 @@ "forks": 1, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9262,7 +9262,7 @@ "forks": 23, "open_issues": 1, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9361,7 +9361,7 @@ "forks": 2, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9460,7 +9460,7 @@ "forks": 30, "open_issues": 1, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9565,7 +9565,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9664,7 +9664,7 @@ "forks": 10, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9763,7 +9763,7 @@ "forks": 21, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9862,7 +9862,7 @@ "forks": 14, "open_issues": 3, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9961,7 +9961,7 @@ "forks": 3, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10060,7 +10060,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-8.json index 108d9bd36..f294a30a2 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-8.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-8.json @@ -91,7 +91,7 @@ "forks": 7, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 23, "open_issues": 3, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -295,7 +295,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -394,7 +394,7 @@ "forks": 7, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -499,7 +499,7 @@ "forks": 16, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -598,7 +598,7 @@ "forks": 17, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -697,7 +697,7 @@ "forks": 9, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -796,7 +796,7 @@ "forks": 32, "open_issues": 3, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -895,7 +895,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1000,7 +1000,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1099,7 +1099,7 @@ "forks": 7, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1198,7 +1198,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1297,7 +1297,7 @@ "forks": 10, "open_issues": 1, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1396,7 +1396,7 @@ "forks": 38, "open_issues": 3, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1495,7 +1495,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1594,7 +1594,7 @@ "forks": 9, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1699,7 +1699,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1798,7 +1798,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1897,7 +1897,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2002,7 +2002,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2107,7 +2107,7 @@ "forks": 8, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2206,7 +2206,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2305,7 +2305,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2404,7 +2404,7 @@ "forks": 7, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2503,7 +2503,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2602,7 +2602,7 @@ "forks": 9, "open_issues": 2, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2707,7 +2707,7 @@ "forks": 33, "open_issues": 4, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2806,7 +2806,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2905,7 +2905,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3010,7 +3010,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3115,7 +3115,7 @@ "forks": 136, "open_issues": 6, "watchers": 79, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3220,7 +3220,7 @@ "forks": 144, "open_issues": 12, "watchers": 96, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3319,7 +3319,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3418,7 +3418,7 @@ "forks": 103, "open_issues": 7, "watchers": 67, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3517,7 +3517,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3616,7 +3616,7 @@ "forks": 3, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3715,7 +3715,7 @@ "forks": 5, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3820,7 +3820,7 @@ "forks": 34, "open_issues": 6, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3919,7 +3919,7 @@ "forks": 72, "open_issues": 18, "watchers": 32, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4018,7 +4018,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4117,7 +4117,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4222,7 +4222,7 @@ "forks": 20, "open_issues": 1, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4321,7 +4321,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4420,7 +4420,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4519,7 +4519,7 @@ "forks": 66, "open_issues": 5, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4624,7 +4624,7 @@ "forks": 8, "open_issues": 1, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4723,7 +4723,7 @@ "forks": 4, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4828,7 +4828,7 @@ "forks": 64, "open_issues": 5, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4927,7 +4927,7 @@ "forks": 6, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5026,7 +5026,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5125,7 +5125,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5224,7 +5224,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5323,7 +5323,7 @@ "forks": 16, "open_issues": 1, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5428,7 +5428,7 @@ "forks": 4, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5533,7 +5533,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5638,7 +5638,7 @@ "forks": 6, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5737,7 +5737,7 @@ "forks": 11, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5842,7 +5842,7 @@ "forks": 32, "open_issues": 0, "watchers": 35, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5947,7 +5947,7 @@ "forks": 6, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6046,7 +6046,7 @@ "forks": 33, "open_issues": 4, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6145,7 +6145,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6250,7 +6250,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6355,7 +6355,7 @@ "forks": 28, "open_issues": 3, "watchers": 39, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6454,7 +6454,7 @@ "forks": 5, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6559,7 +6559,7 @@ "forks": 70, "open_issues": 47, "watchers": 208, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6658,7 +6658,7 @@ "forks": 7, "open_issues": 1, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6757,7 +6757,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6862,7 +6862,7 @@ "forks": 0, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7066,7 +7066,7 @@ "forks": 36, "open_issues": 3, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7165,7 +7165,7 @@ "forks": 13, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7270,7 +7270,7 @@ "forks": 1, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7375,7 +7375,7 @@ "forks": 10, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7474,7 +7474,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7573,7 +7573,7 @@ "forks": 6, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7678,7 +7678,7 @@ "forks": 18, "open_issues": 3, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7777,7 +7777,7 @@ "forks": 11, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7876,7 +7876,7 @@ "forks": 3, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7981,7 +7981,7 @@ "forks": 45, "open_issues": 4, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8086,7 +8086,7 @@ "forks": 1, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8191,7 +8191,7 @@ "forks": 24, "open_issues": 2, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8296,7 +8296,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8395,7 +8395,7 @@ "forks": 2, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8494,7 +8494,7 @@ "forks": 3, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8593,7 +8593,7 @@ "forks": 61, "open_issues": 1, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8698,7 +8698,7 @@ "forks": 85, "open_issues": 5, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8797,7 +8797,7 @@ "forks": 25, "open_issues": 3, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8896,7 +8896,7 @@ "forks": 6, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8995,7 +8995,7 @@ "forks": 0, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9094,7 +9094,7 @@ "forks": 13, "open_issues": 0, "watchers": 25, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9193,7 +9193,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9298,7 +9298,7 @@ "forks": 10, "open_issues": 4, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9403,7 +9403,7 @@ "forks": 5, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9502,7 +9502,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9607,7 +9607,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9706,7 +9706,7 @@ "forks": 99, "open_issues": 8, "watchers": 83, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9805,7 +9805,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9910,7 +9910,7 @@ "forks": 9, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10009,7 +10009,7 @@ "forks": 173, "open_issues": 0, "watchers": 253, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10108,7 +10108,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-9.json index bc913a39d..a7b3e270f 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-9.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/organizations_107424_repos-9.json @@ -91,7 +91,7 @@ "forks": 14, "open_issues": 2, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -388,7 +388,7 @@ "forks": 17, "open_issues": 4, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -487,7 +487,7 @@ "forks": 10, "open_issues": 2, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -586,7 +586,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -685,7 +685,7 @@ "forks": 17, "open_issues": 2, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -784,7 +784,7 @@ "forks": 11, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -883,7 +883,7 @@ "forks": 4, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -982,7 +982,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1081,7 +1081,7 @@ "forks": 33, "open_issues": 1, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1180,7 +1180,7 @@ "forks": 6, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1279,7 +1279,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1384,7 +1384,7 @@ "forks": 41, "open_issues": 0, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1483,7 +1483,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1582,7 +1582,7 @@ "forks": 6, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1681,7 +1681,7 @@ "forks": 5, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1780,7 +1780,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1879,7 +1879,7 @@ "forks": 43, "open_issues": 2, "watchers": 55, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1978,7 +1978,7 @@ "forks": 315, "open_issues": 5, "watchers": 625, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2077,7 +2077,7 @@ "forks": 1, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2176,7 +2176,7 @@ "forks": 2, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2275,7 +2275,7 @@ "forks": 17, "open_issues": 3, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2374,7 +2374,7 @@ "forks": 33, "open_issues": 7, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2473,7 +2473,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2572,7 +2572,7 @@ "forks": 10, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2671,7 +2671,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2770,7 +2770,7 @@ "forks": 21, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2869,7 +2869,7 @@ "forks": 8, "open_issues": 2, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2968,7 +2968,7 @@ "forks": 4, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3073,7 +3073,7 @@ "forks": 24, "open_issues": 1, "watchers": 28, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3172,7 +3172,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3271,7 +3271,7 @@ "forks": 7, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3370,7 +3370,7 @@ "forks": 46, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3469,7 +3469,7 @@ "forks": 2, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3568,7 +3568,7 @@ "forks": 3, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3667,7 +3667,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3772,7 +3772,7 @@ "forks": 13, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3877,7 +3877,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3976,7 +3976,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4075,7 +4075,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4180,7 +4180,7 @@ "forks": 49, "open_issues": 16, "watchers": 78, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4285,7 +4285,7 @@ "forks": 120, "open_issues": 64, "watchers": 61, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4384,7 +4384,7 @@ "forks": 18, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4489,7 +4489,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4594,7 +4594,7 @@ "forks": 6, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4693,7 +4693,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4792,7 +4792,7 @@ "forks": 91, "open_issues": 17, "watchers": 56, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4891,7 +4891,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4990,7 +4990,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5095,7 +5095,7 @@ "forks": 8, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5194,7 +5194,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5299,7 +5299,7 @@ "forks": 19, "open_issues": 0, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5398,7 +5398,7 @@ "forks": 6, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5497,7 +5497,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5596,7 +5596,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5695,7 +5695,7 @@ "forks": 5, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5800,7 +5800,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5905,7 +5905,7 @@ "forks": 28, "open_issues": 6, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6010,7 +6010,7 @@ "forks": 4, "open_issues": 3, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6109,7 +6109,7 @@ "forks": 23, "open_issues": 7, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6208,7 +6208,7 @@ "forks": 13, "open_issues": 4, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6313,7 +6313,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6418,7 +6418,7 @@ "forks": 1, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6523,7 +6523,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6622,7 +6622,7 @@ "forks": 4, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6727,7 +6727,7 @@ "forks": 6, "open_issues": 3, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6832,7 +6832,7 @@ "forks": 156, "open_issues": 4, "watchers": 45, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6931,7 +6931,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7036,7 +7036,7 @@ "forks": 47, "open_issues": 1, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7135,7 +7135,7 @@ "forks": 7, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7240,7 +7240,7 @@ "forks": 5, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7345,7 +7345,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7450,7 +7450,7 @@ "forks": 6, "open_issues": 3, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7549,7 +7549,7 @@ "forks": 35, "open_issues": 2, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7654,7 +7654,7 @@ "forks": 4, "open_issues": 3, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7753,7 +7753,7 @@ "forks": 27, "open_issues": 1, "watchers": 44, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7852,7 +7852,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7957,7 +7957,7 @@ "forks": 20, "open_issues": 15, "watchers": 61, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8062,7 +8062,7 @@ "forks": 19, "open_issues": 0, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8161,7 +8161,7 @@ "forks": 3, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8260,7 +8260,7 @@ "forks": 5, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8359,7 +8359,7 @@ "forks": 6, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8458,7 +8458,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8557,7 +8557,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8656,7 +8656,7 @@ "forks": 3, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8755,7 +8755,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8854,7 +8854,7 @@ "forks": 3, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8953,7 +8953,7 @@ "forks": 9, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9058,7 +9058,7 @@ "forks": 100, "open_issues": 5, "watchers": 103, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9157,7 +9157,7 @@ "forks": 7, "open_issues": 2, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9256,7 +9256,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9355,7 +9355,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9460,7 +9460,7 @@ "forks": 9, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9565,7 +9565,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9664,7 +9664,7 @@ "forks": 7, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9763,7 +9763,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9868,7 +9868,7 @@ "forks": 18, "open_issues": 1, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9967,7 +9967,7 @@ "forks": 14, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10066,7 +10066,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/orgs_jenkinsci_repos-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/orgs_jenkinsci_repos-3.json index 153d1aefb..26f4c8069 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/orgs_jenkinsci_repos-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrgRepositories/__files/orgs_jenkinsci_repos-3.json @@ -97,7 +97,7 @@ "forks": 3, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -202,7 +202,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -307,7 +307,7 @@ "forks": 9, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -412,7 +412,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -511,7 +511,7 @@ "forks": 13, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -610,7 +610,7 @@ "forks": 9, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -715,7 +715,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -820,7 +820,7 @@ "forks": 26, "open_issues": 2, "watchers": 22, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -925,7 +925,7 @@ "forks": 68, "open_issues": 0, "watchers": 100, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1030,7 +1030,7 @@ "forks": 51, "open_issues": 2, "watchers": 52, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1135,7 +1135,7 @@ "forks": 17, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1240,7 +1240,7 @@ "forks": 3, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1444,7 +1444,7 @@ "forks": 80, "open_issues": 35, "watchers": 401, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1549,7 +1549,7 @@ "forks": 817, "open_issues": 13, "watchers": 538, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1648,7 +1648,7 @@ "forks": 28, "open_issues": 5, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1747,7 +1747,7 @@ "forks": 4, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1852,7 +1852,7 @@ "forks": 88, "open_issues": 17, "watchers": 76, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2056,7 +2056,7 @@ "forks": 224, "open_issues": 18, "watchers": 173, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2155,7 +2155,7 @@ "forks": 1, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2254,7 +2254,7 @@ "forks": 25, "open_issues": 19, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2353,7 +2353,7 @@ "forks": 27, "open_issues": 17, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2458,7 +2458,7 @@ "forks": 37, "open_issues": 5, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2557,7 +2557,7 @@ "forks": 3, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2662,7 +2662,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2767,7 +2767,7 @@ "forks": 70, "open_issues": 3, "watchers": 43, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2866,7 +2866,7 @@ "forks": 11, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2965,7 +2965,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3064,7 +3064,7 @@ "forks": 4, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3163,7 +3163,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3268,7 +3268,7 @@ "forks": 68, "open_issues": 16, "watchers": 43, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3367,7 +3367,7 @@ "forks": 246, "open_issues": 23, "watchers": 104, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3466,7 +3466,7 @@ "forks": 6, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3565,7 +3565,7 @@ "forks": 13, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3664,7 +3664,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3763,7 +3763,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3862,7 +3862,7 @@ "forks": 26, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3967,7 +3967,7 @@ "forks": 5, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4066,7 +4066,7 @@ "forks": 133, "open_issues": 8, "watchers": 179, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4165,7 +4165,7 @@ "forks": 5, "open_issues": 3, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4270,7 +4270,7 @@ "forks": 5, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4375,7 +4375,7 @@ "forks": 19, "open_issues": 0, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4474,7 +4474,7 @@ "forks": 17, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4573,7 +4573,7 @@ "forks": 7, "open_issues": 1, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4672,7 +4672,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4771,7 +4771,7 @@ "forks": 9, "open_issues": 0, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4876,7 +4876,7 @@ "forks": 95, "open_issues": 3, "watchers": 42, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4975,7 +4975,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5080,7 +5080,7 @@ "forks": 233, "open_issues": 16, "watchers": 78, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5179,7 +5179,7 @@ "forks": 30, "open_issues": 1, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5278,7 +5278,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5377,7 +5377,7 @@ "forks": 13, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5476,7 +5476,7 @@ "forks": 76, "open_issues": 5, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5575,7 +5575,7 @@ "forks": 4, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5680,7 +5680,7 @@ "forks": 5, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5779,7 +5779,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5884,7 +5884,7 @@ "forks": 6, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5983,7 +5983,7 @@ "forks": 10, "open_issues": 3, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6082,7 +6082,7 @@ "forks": 19, "open_issues": 2, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6181,7 +6181,7 @@ "forks": 5, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6280,7 +6280,7 @@ "forks": 25, "open_issues": 0, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6385,7 +6385,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6484,7 +6484,7 @@ "forks": 11, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6583,7 +6583,7 @@ "forks": 56, "open_issues": 5, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6682,7 +6682,7 @@ "forks": 6, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6781,7 +6781,7 @@ "forks": 6, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6880,7 +6880,7 @@ "forks": 2, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6985,7 +6985,7 @@ "forks": 74, "open_issues": 7, "watchers": 73, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7084,7 +7084,7 @@ "forks": 3, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7189,7 +7189,7 @@ "forks": 17, "open_issues": 2, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7288,7 +7288,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7387,7 +7387,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7486,7 +7486,7 @@ "forks": 59, "open_issues": 0, "watchers": 13, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7585,7 +7585,7 @@ "forks": 12, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7684,7 +7684,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7789,7 +7789,7 @@ "forks": 3, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7888,7 +7888,7 @@ "forks": 4, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -7987,7 +7987,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8086,7 +8086,7 @@ "forks": 8, "open_issues": 2, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8191,7 +8191,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8290,7 +8290,7 @@ "forks": 16, "open_issues": 0, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8389,7 +8389,7 @@ "forks": 34, "open_issues": 4, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8488,7 +8488,7 @@ "forks": 6, "open_issues": 2, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8587,7 +8587,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8686,7 +8686,7 @@ "forks": 7, "open_issues": 2, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8785,7 +8785,7 @@ "forks": 31, "open_issues": 1, "watchers": 16, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8884,7 +8884,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -8983,7 +8983,7 @@ "forks": 23, "open_issues": 5, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9082,7 +9082,7 @@ "forks": 7, "open_issues": 5, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9181,7 +9181,7 @@ "forks": 92, "open_issues": 4, "watchers": 49, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9280,7 +9280,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9379,7 +9379,7 @@ "forks": 10, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9478,7 +9478,7 @@ "forks": 39, "open_issues": 6, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9577,7 +9577,7 @@ "forks": 37, "open_issues": 10, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9676,7 +9676,7 @@ "forks": 6, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9775,7 +9775,7 @@ "forks": 8, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9874,7 +9874,7 @@ "forks": 6, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -9973,7 +9973,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -10072,7 +10072,7 @@ "forks": 13, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrganization/__files/repos_hub4j-test-org_jenkins-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrganization/__files/repos_hub4j-test-org_jenkins-4.json index 1200424cf..ea96127ee 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrganization/__files/repos_hub4j-test-org_jenkins-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testOrganization/__files/repos_hub4j-test-org_jenkins-4.json @@ -96,7 +96,7 @@ "forks": 3, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 1103607, @@ -323,7 +323,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master" + "default_branch": "main" }, "network_count": 5807, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testReadme/__files/repos_hub4j-test-org_test-readme-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testReadme/__files/repos_hub4j-test-org_test-readme-2.json index 42e9d8caa..565c4c106 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testReadme/__files/repos_hub4j-test-org_test-readme-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testReadme/__files/repos_hub4j-test-org_test-readme-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testReadme/__files/repos_hub4j-test-org_test-readme_readme-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testReadme/__files/repos_hub4j-test-org_test-readme_readme-3.json index 767c55616..3615c8b77 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testReadme/__files/repos_hub4j-test-org_test-readme_readme-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testReadme/__files/repos_hub4j-test-org_test-readme_readme-3.json @@ -3,16 +3,16 @@ "path": "README.md", "sha": "aba4d4a6526eee836f7ec78f9282a8ee3bfb5a25", "size": 27, - "url": "https://api.github.com/repos/hub4j-test-org/test-readme/contents/README.md?ref=master", - "html_url": "https://github.com/hub4j-test-org/test-readme/blob/master/README.md", + "url": "https://api.github.com/repos/hub4j-test-org/test-readme/contents/README.md?ref=main", + "html_url": "https://github.com/hub4j-test-org/test-readme/blob/main/README.md", "git_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/blobs/aba4d4a6526eee836f7ec78f9282a8ee3bfb5a25", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/test-readme/master/README.md", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/test-readme/main/README.md", "type": "file", "content": "VGhpcyBpcyBhIG1hcmtkb3duIHJlYWRtZS4K\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/test-readme/contents/README.md?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/test-readme/contents/README.md?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/test-readme/git/blobs/aba4d4a6526eee836f7ec78f9282a8ee3bfb5a25", - "html": "https://github.com/hub4j-test-org/test-readme/blob/master/README.md" + "html": "https://github.com/hub4j-test-org/test-readme/blob/main/README.md" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins-2.json index 5f1a035df..9a9bd17d1 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins-2.json @@ -96,7 +96,7 @@ "forks": 5807, "open_issues": 74, "watchers": 14167, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins_git_refs_heads_main-3.json similarity index 87% rename from src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins_git_refs_heads_main-3.json index 494b3af0a..5c9673ab8 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/__files/repos_jenkinsci_jenkins_git_refs_heads_main-3.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMTEwMzYwNzptYXN0ZXI=", - "url": "https://api.github.com/repos/jenkinsci/jenkins/git/refs/heads/master", + "url": "https://api.github.com/repos/jenkinsci/jenkins/git/refs/heads/main", "object": { "sha": "9225492a0ab390967cc988b825ecc642c2886c42", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/mappings/repos_jenkinsci_jenkins_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/mappings/repos_jenkinsci_jenkins_git_refs_heads_main-3.json similarity index 90% rename from src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/mappings/repos_jenkinsci_jenkins_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/mappings/repos_jenkinsci_jenkins_git_refs_heads_main-3.json index 29b0ac76b..646e86adc 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/mappings/repos_jenkinsci_jenkins_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRef/mappings/repos_jenkinsci_jenkins_git_refs_heads_main-3.json @@ -1,8 +1,8 @@ { "id": "257aa346-b2fa-4808-a587-ce26a6859bf7", - "name": "repos_jenkinsci_jenkins_git_refs_heads_master", + "name": "repos_jenkinsci_jenkins_git_refs_heads_main", "request": { - "url": "/repos/jenkinsci/jenkins/git/refs/heads/master", + "url": "/repos/jenkinsci/jenkins/git/refs/heads/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_jenkinsci_jenkins_git_refs_heads_master-3.json", + "bodyFileName": "repos_jenkinsci_jenkins_git_refs_heads_main-3.json", "headers": { "Date": "Sat, 26 Oct 2019 01:27:33 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoLabel/__files/repos_hub4j-test-org_test-labels-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoLabel/__files/repos_hub4j-test-org_test-labels-2.json index 383e3874a..d3663afc5 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoLabel/__files/repos_hub4j-test-org_test-labels-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoLabel/__files/repos_hub4j-test-org_test-labels-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit_readme-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit_readme-3.json index 63ca2a8ce..6f55dcbb2 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit_readme-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/repos_bitwiseman_github-api-test-autoinit_readme-3.json @@ -3,16 +3,16 @@ "path": "README.md", "sha": "9ab0314e21ff2990ac133d0dc5c5c79437edeb83", "size": 59, - "url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/README.md?ref=master", - "html_url": "https://github.com/bitwiseman/github-api-test-autoinit/blob/master/README.md", + "url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/README.md?ref=main", + "html_url": "https://github.com/bitwiseman/github-api-test-autoinit/blob/main/README.md", "git_url": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/blobs/9ab0314e21ff2990ac133d0dc5c5c79437edeb83", - "download_url": "https://raw.githubusercontent.com/bitwiseman/github-api-test-autoinit/master/README.md", + "download_url": "https://raw.githubusercontent.com/bitwiseman/github-api-test-autoinit/main/README.md", "type": "file", "content": "IyBnaXRodWItYXBpLXRlc3QtYXV0b2luaXQKYSB0ZXN0IHJlcG9zaXRvcnkg\nZm9yIGF1dG8gaW5pdAo=\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/README.md?ref=master", + "self": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/contents/README.md?ref=main", "git": "https://api.github.com/repos/bitwiseman/github-api-test-autoinit/git/blobs/9ab0314e21ff2990ac133d0dc5c5c79437edeb83", - "html": "https://github.com/bitwiseman/github-api-test-autoinit/blob/master/README.md" + "html": "https://github.com/bitwiseman/github-api-test-autoinit/blob/main/README.md" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user_repos-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user_repos-2.json index 5f768857d..1fea8e303 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user_repos-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepositoryWithAutoInitializationCRUD/__files/user_repos-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/repos_bitwiseman_github-api-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/repos_bitwiseman_github-api-2.json index 501f5f72d..7ca22cefb 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/repos_bitwiseman_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/repos_bitwiseman_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -203,7 +203,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -303,7 +303,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master" + "default_branch": "main" }, "network_count": 433, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-10.json index c8934e284..1ce18a29c 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-10.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-10.json @@ -91,7 +91,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -190,7 +190,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -289,7 +289,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -394,7 +394,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -493,7 +493,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -598,7 +598,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -703,7 +703,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -808,7 +808,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -913,7 +913,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1018,7 +1018,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1117,7 +1117,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1216,7 +1216,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1315,7 +1315,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1414,7 +1414,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1513,7 +1513,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1612,7 +1612,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1711,7 +1711,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1816,7 +1816,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1915,7 +1915,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-6.json index b78d9fe04..87a7438a4 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-6.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-6.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -202,7 +202,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -307,7 +307,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -406,7 +406,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -505,7 +505,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -610,7 +610,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -715,7 +715,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -820,7 +820,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -925,7 +925,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1024,7 +1024,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1129,7 +1129,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1234,7 +1234,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1339,7 +1339,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1438,7 +1438,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1543,7 +1543,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1648,7 +1648,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1852,7 +1852,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1957,7 +1957,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2056,7 +2056,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2161,7 +2161,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2266,7 +2266,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2371,7 +2371,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2476,7 +2476,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2575,7 +2575,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2680,7 +2680,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2785,7 +2785,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2884,7 +2884,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2983,7 +2983,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -3088,7 +3088,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-7.json index 13f93c83c..c4f1efacc 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-7.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -202,7 +202,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -307,7 +307,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -412,7 +412,7 @@ "forks": 7, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -517,7 +517,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -622,7 +622,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -727,7 +727,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -832,7 +832,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -937,7 +937,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1042,7 +1042,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1147,7 +1147,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1252,7 +1252,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1357,7 +1357,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1462,7 +1462,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1567,7 +1567,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1666,7 +1666,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1771,7 +1771,7 @@ "forks": 39, "open_issues": 1, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1876,7 +1876,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1975,7 +1975,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2074,7 +2074,7 @@ "forks": 2, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2179,7 +2179,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2278,7 +2278,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2377,7 +2377,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2587,7 +2587,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2686,7 +2686,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2791,7 +2791,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2896,7 +2896,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2995,7 +2995,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -3100,7 +3100,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-8.json index 9f3d14ed4..ade2aca06 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-8.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-8.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -196,7 +196,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -295,7 +295,7 @@ "forks": 22, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -400,7 +400,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -505,7 +505,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -610,7 +610,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -715,7 +715,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -820,7 +820,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -925,7 +925,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1024,7 +1024,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1129,7 +1129,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1234,7 +1234,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1339,7 +1339,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1438,7 +1438,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1543,7 +1543,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1648,7 +1648,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1846,7 +1846,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1951,7 +1951,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2056,7 +2056,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2161,7 +2161,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2266,7 +2266,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2365,7 +2365,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2470,7 +2470,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2575,7 +2575,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2674,7 +2674,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2779,7 +2779,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2884,7 +2884,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2983,7 +2983,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -3088,7 +3088,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-9.json index f18b08a4f..dcff7762e 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-9.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/user_1958953_repos-9.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -202,7 +202,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -307,7 +307,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -412,7 +412,7 @@ "forks": 4, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -511,7 +511,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -610,7 +610,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -715,7 +715,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -814,7 +814,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -913,7 +913,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1018,7 +1018,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1117,7 +1117,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1216,7 +1216,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1315,7 +1315,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1420,7 +1420,7 @@ "forks": 3, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1519,7 +1519,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1618,7 +1618,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1723,7 +1723,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1822,7 +1822,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1921,7 +1921,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2026,7 +2026,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2224,7 +2224,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2329,7 +2329,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2434,7 +2434,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2539,7 +2539,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2749,7 +2749,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2854,7 +2854,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2953,7 +2953,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -3052,7 +3052,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/users_bitwiseman_repos-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/users_bitwiseman_repos-5.json index e25c6fc0b..07dd6e5cf 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/users_bitwiseman_repos-5.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testSubscribers/__files/users_bitwiseman_repos-5.json @@ -91,7 +91,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -406,7 +406,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -505,7 +505,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -604,7 +604,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -703,7 +703,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -808,7 +808,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -907,7 +907,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1012,7 +1012,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1117,7 +1117,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1216,7 +1216,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1321,7 +1321,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1420,7 +1420,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1519,7 +1519,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1624,7 +1624,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1723,7 +1723,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1828,7 +1828,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -1933,7 +1933,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2032,7 +2032,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2137,7 +2137,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2242,7 +2242,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2347,7 +2347,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2452,7 +2452,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2557,7 +2557,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2662,7 +2662,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2767,7 +2767,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2866,7 +2866,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -2965,7 +2965,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -3070,7 +3070,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api-1c232f75.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api-1c232f75.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api-1c232f75.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api-1c232f75.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api_git_trees_master-ffd3e351.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api_git_trees_main-ffd3e351.json similarity index 99% rename from src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api_git_trees_master-ffd3e351.json rename to src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api_git_trees_main-ffd3e351.json index 361e14d0f..1457eb2e0 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api_git_trees_master-ffd3e351.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/__files/repos_hub4j_github-api_git_trees_main-ffd3e351.json @@ -6556,7 +6556,7 @@ "url": "https://api.github.com/repos/hub4j/github-api/git/trees/9b97baf29c5808831e7bbfca7dc68efe7ab82df9" }, { - "path": "src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/__files/pomes_pomes_master_license-050b93b9-0d3b-4dd2-bde1-a220548659e4.txt", + "path": "src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/__files/pomes_pomes_main_license-050b93b9-0d3b-4dd2-bde1-a220548659e4.txt", "mode": "100644", "type": "blob", "sha": "8371492840f9485d7baf719dc2ae3e4cb9e8c03b", @@ -6571,7 +6571,7 @@ "url": "https://api.github.com/repos/hub4j/github-api/git/trees/b1f0433a7992f5cf8ce8e382e8daa1703b72dab3" }, { - "path": "src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/mappings/pomes_pomes_master_license-1-050b93.json", + "path": "src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/mappings/pomes_pomes_main_license-1-050b93.json", "mode": "100644", "type": "blob", "sha": "021d4f13ce2dd2cf8866951d5b455e0bb20ae123", @@ -10852,7 +10852,7 @@ "url": "https://api.github.com/repos/hub4j/github-api/git/blobs/4dcdf6a7d1e945cc823430641cd5bb9b32758c0a" }, { - "path": "src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_master-7bfa9315-c036-44af-bc3c-1e639325a8fe.json", + "path": "src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_main-7bfa9315-c036-44af-bc3c-1e639325a8fe.json", "mode": "100644", "type": "blob", "sha": "51f91ef861f99e53b1c46431172a64b2f600eb97", @@ -10947,7 +10947,7 @@ "url": "https://api.github.com/repos/hub4j/github-api/git/blobs/c8d24f64582af9b4d9074c3024680f54e76069cb" }, { - "path": "src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_master-4-7bfa93.json", + "path": "src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_main-4-7bfa93.json", "mode": "100644", "type": "blob", "sha": "9879524f5490579c5678110d47fcc533591e7e39", @@ -11363,7 +11363,7 @@ "url": "https://api.github.com/repos/hub4j/github-api/git/blobs/c30e880e49a76fd406fd9a44dc0b4d6830855863" }, { - "path": "src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_master-fa77be60-4286-4610-bff6-3ab0bac74b1f.json", + "path": "src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_main-fa77be60-4286-4610-bff6-3ab0bac74b1f.json", "mode": "100644", "type": "blob", "sha": "c80084fd4fd398cd5784539d88f1fdb3be71ec30", @@ -11474,7 +11474,7 @@ "url": "https://api.github.com/repos/hub4j/github-api/git/blobs/cca0beb8681931f7e1d6c5ecec9fa9641e8d0270" }, { - "path": "src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_master-4-fa77be.json", + "path": "src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_main-4-fa77be.json", "mode": "100644", "type": "blob", "sha": "ccc5710744fb0886b5aac2c65de2c29472995613", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/mappings/repos_hub4j_github-api_git_trees_master-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/mappings/repos_hub4j_github-api_git_trees_main-3.json similarity index 90% rename from src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/mappings/repos_hub4j_github-api_git_trees_master-3.json rename to src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/mappings/repos_hub4j_github-api_git_trees_main-3.json index 81f301422..e9ecc6915 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/mappings/repos_hub4j_github-api_git_trees_master-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testTreesRecursive/mappings/repos_hub4j_github-api_git_trees_main-3.json @@ -1,8 +1,8 @@ { "id": "ffd3e351-e215-4bef-9756-a608a46e6c42", - "name": "repos_hub4j_github-api_git_trees_master", + "name": "repos_hub4j_github-api_git_trees_main", "request": { - "url": "/repos/hub4j/github-api/git/trees/master?recursive=1", + "url": "/repos/hub4j/github-api/git/trees/main?recursive=1", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j_github-api_git_trees_master-ffd3e351.json", + "bodyFileName": "repos_hub4j_github-api_git_trees_main-ffd3e351.json", "headers": { "Date": "Sat, 26 Oct 2019 01:27:04 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/tryHook/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/tryHook/__files/repos_hub4j-test-org_github-api-3.json index d8db7ecea..75d8bd558 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/tryHook/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/tryHook/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 520, "open_issues": 77, "watchers": 728, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 520, "open_issues": 77, "watchers": 728, - "default_branch": "master" + "default_branch": "main" }, "network_count": 520, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitDateNotNull/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitDateNotNull/__files/repos_hub4j_github-api-2.json index c65eb22fa..d06125a71 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitDateNotNull/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitDateNotNull/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 514, "open_issues": 74, "watchers": 725, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitDateNotNull/__files/repos_hub4j_github-api_commits_865a49d2e86c24c5777985f0f103e975c4b765b9-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitDateNotNull/__files/repos_hub4j_github-api_commits_865a49d2e86c24c5777985f0f103e975c4b765b9-3.json index 21cde1c17..185489a5e 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitDateNotNull/__files/repos_hub4j_github-api_commits_865a49d2e86c24c5777985f0f103e975c4b765b9-3.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitDateNotNull/__files/repos_hub4j_github-api_commits_865a49d2e86c24c5777985f0f103e975c4b765b9-3.json @@ -140,7 +140,7 @@ "blob_url": "https://github.com/hub4j/github-api/blob/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-3.json", "raw_url": "https://github.com/hub4j/github-api/raw/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-3.json", "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-3.json?ref=865a49d2e86c24c5777985f0f103e975c4b765b9", - "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:45Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:48Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"master\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," + "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:45Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:48Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"main\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," }, { "sha": "2291388ec0ec8d1937efe3a1da8f8f1c650ac942", @@ -152,7 +152,7 @@ "blob_url": "https://github.com/hub4j/github-api/blob/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-4.json", "raw_url": "https://github.com/hub4j/github-api/raw/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-4.json", "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-4.json?ref=865a49d2e86c24c5777985f0f103e975c4b765b9", - "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:46Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:49Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"master\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," + "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:46Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:49Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"main\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," }, { "sha": "3b5f16b191faf5e399245c5896dbe31ad0c3478a", @@ -164,7 +164,7 @@ "blob_url": "https://github.com/hub4j/github-api/blob/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-5.json", "raw_url": "https://github.com/hub4j/github-api/raw/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-5.json", "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-5.json?ref=865a49d2e86c24c5777985f0f103e975c4b765b9", - "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:46Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:49Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"master\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," + "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:46Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:49Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"main\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," }, { "sha": "e7874ecf30457ab1e676f81142822de727a14cf0", @@ -176,7 +176,7 @@ "blob_url": "https://github.com/hub4j/github-api/blob/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-6.json", "raw_url": "https://github.com/hub4j/github-api/raw/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-6.json", "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-6.json?ref=865a49d2e86c24c5777985f0f103e975c4b765b9", - "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:47Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:49Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -77,7 +77,7 @@\n \"watchers_count\": 0,\n \"language\": null,\n \"has_issues\": false,\n- \"has_projects\": true,\n+ \"has_projects\": false,\n \"has_downloads\": false,\n \"has_wiki\": false,\n \"has_pages\": false,\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"master\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," + "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:47Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:49Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -77,7 +77,7 @@\n \"watchers_count\": 0,\n \"language\": null,\n \"has_issues\": false,\n- \"has_projects\": true,\n+ \"has_projects\": false,\n \"has_downloads\": false,\n \"has_wiki\": false,\n \"has_pages\": false,\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"main\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," }, { "sha": "9eb09eae991b3be4efa4b99e540f80cdf2d811f8", @@ -188,7 +188,7 @@ "blob_url": "https://github.com/hub4j/github-api/blob/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-7.json", "raw_url": "https://github.com/hub4j/github-api/raw/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-7.json", "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename-7.json?ref=865a49d2e86c24c5777985f0f103e975c4b765b9", - "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename2\",\n \"full_name\": \"bitwiseman/github-api-test-rename2\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:47Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:50Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename2.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename2.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename2.git\",\n@@ -77,7 +77,7 @@\n \"watchers_count\": 0,\n \"language\": null,\n \"has_issues\": false,\n- \"has_projects\": true,\n+ \"has_projects\": false,\n \"has_downloads\": false,\n \"has_wiki\": false,\n \"has_pages\": false,\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"master\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," + "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename2\",\n \"full_name\": \"bitwiseman/github-api-test-rename2\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:47Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:50Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename2.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename2.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename2.git\",\n@@ -77,7 +77,7 @@\n \"watchers_count\": 0,\n \"language\": null,\n \"has_issues\": false,\n- \"has_projects\": true,\n+ \"has_projects\": false,\n \"has_downloads\": false,\n \"has_wiki\": false,\n \"has_pages\": false,\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"main\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," }, { "sha": "4c6616133ec18d51f0a47ecba920a6fbcd0c0bd3", @@ -200,7 +200,7 @@ "blob_url": "https://github.com/hub4j/github-api/blob/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename2-8.json", "raw_url": "https://github.com/hub4j/github-api/raw/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename2-8.json", "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/repos_bitwiseman_github-api-test-rename2-8.json?ref=865a49d2e86c24c5777985f0f103e975c4b765b9", - "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename2\",\n \"full_name\": \"bitwiseman/github-api-test-rename2\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:47Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:50Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename2.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename2.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename2.git\",\n@@ -77,7 +77,7 @@\n \"watchers_count\": 0,\n \"language\": null,\n \"has_issues\": false,\n- \"has_projects\": true,\n+ \"has_projects\": false,\n \"has_downloads\": false,\n \"has_wiki\": false,\n \"has_pages\": false,\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"master\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," + "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename2\",\n \"full_name\": \"bitwiseman/github-api-test-rename2\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename2/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:47Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:50Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename2.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename2.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename2.git\",\n@@ -77,7 +77,7 @@\n \"watchers_count\": 0,\n \"language\": null,\n \"has_issues\": false,\n- \"has_projects\": true,\n+ \"has_projects\": false,\n \"has_downloads\": false,\n \"has_wiki\": false,\n \"has_pages\": false,\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"main\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," }, { "sha": "b0b7a9c63826d980c6cbb958e711cee14d05822e", @@ -224,7 +224,7 @@ "blob_url": "https://github.com/hub4j/github-api/blob/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/user_repos-2.json", "raw_url": "https://github.com/hub4j/github-api/raw/865a49d2e86c24c5777985f0f103e975c4b765b9/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/user_repos-2.json", "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/src/test/resources/org/kohsuke/github/AppTest/wiremock/testRepoCRUD/__files/user_repos-2.json?ref=865a49d2e86c24c5777985f0f103e975c4b765b9", - "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:44Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:46Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"master\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," + "patch": "@@ -1,6 +1,6 @@\n {\n- \"id\": 251751384,\n- \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTE3NTEzODQ=\",\n+ \"id\": 325161462,\n+ \"node_id\": \"MDEwOlJlcG9zaXRvcnkzMjUxNjE0NjI=\",\n \"name\": \"github-api-test-rename\",\n \"full_name\": \"bitwiseman/github-api-test-rename\",\n \"private\": false,\n@@ -64,9 +64,9 @@\n \"labels_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/bitwiseman/github-api-test-rename/deployments\",\n- \"created_at\": \"2020-03-31T21:52:44Z\",\n- \"updated_at\": \"2020-03-31T21:52:44Z\",\n- \"pushed_at\": \"2020-03-31T21:52:45Z\",\n+ \"created_at\": \"2020-12-29T02:01:46Z\",\n+ \"updated_at\": \"2020-12-29T02:01:46Z\",\n+ \"pushed_at\": \"2020-12-29T02:01:48Z\",\n \"git_url\": \"git://github.com/bitwiseman/github-api-test-rename.git\",\n \"ssh_url\": \"git@github.com:bitwiseman/github-api-test-rename.git\",\n \"clone_url\": \"https://github.com/bitwiseman/github-api-test-rename.git\",\n@@ -90,7 +90,7 @@\n \"forks\": 0,\n \"open_issues\": 0,\n \"watchers\": 0,\n- \"default_branch\": \"main\",\n+ \"default_branch\": \"main\",\n \"permissions\": {\n \"admin\": true,\n \"push\": true," }, { "sha": "e9c342cead912193d36af7ec1768a55d1f5367ef", diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler-2.json index 75cda211b..45798df59 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/commitSignatureVerification/__files/repos_stapler_stapler-2.json @@ -96,7 +96,7 @@ "forks": 81, "open_issues": 36, "watchers": 119, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler-2.json index 2b0dafa93..7ed6e3aac 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler-2.json @@ -96,7 +96,7 @@ "forks": 75, "open_issues": 28, "watchers": 112, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-4.json index 640e982ae..6cf30b353 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/lastStatus/__files/repos_stapler_stapler_statuses_6a243869aa3c3f80579102d00848a0083953d654-4.json @@ -6,7 +6,7 @@ "node_id": "MDEzOlN0YXR1c0NvbnRleHQ3NDU1MjE4MDYw", "state": "error", "description": "This commit cannot be built", - "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect", + "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/main/50/display/redirect", "context": "continuous-integration/jenkins/branch", "created_at": "2019-08-19T18:45:31Z", "updated_at": "2019-08-19T18:45:31Z", @@ -38,7 +38,7 @@ "node_id": "MDEzOlN0YXR1c0NvbnRleHQ3NDU1MTU3NzUy", "state": "pending", "description": "This commit is being built", - "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect", + "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/main/50/display/redirect", "context": "continuous-integration/jenkins/branch", "created_at": "2019-08-19T18:39:00Z", "updated_at": "2019-08-19T18:39:00Z", @@ -70,7 +70,7 @@ "node_id": "MDEzOlN0YXR1c0NvbnRleHQ3NDU1MTU2NjM2", "state": "pending", "description": "This commit is being built", - "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/master/50/display/redirect", + "target_url": "https://ci.jenkins.io/job/Stapler/job/stapler/job/main/50/display/redirect", "context": "continuous-integration/jenkins/branch", "created_at": "2019-08-19T18:38:52Z", "updated_at": "2019-08-19T18:38:52Z", diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead/__files/repos_hub4j-test-org_listprslistheads-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead/__files/repos_hub4j-test-org_listprslistheads-2.json index 46abb5e05..179259619 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead/__files/repos_hub4j-test-org_listprslistheads-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead/__files/repos_hub4j-test-org_listprslistheads-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead/__files/repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead/__files/repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json index 3981d0e0c..8d8941c52 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead/__files/repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead/__files/repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json @@ -1,6 +1,6 @@ [ { - "name": "master", + "name": "main", "commit": { "sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c", "url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c" diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead2Heads/__files/repos_hub4j-test-org_listprslistheads-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead2Heads/__files/repos_hub4j-test-org_listprslistheads-2.json index 3b592c366..61b84427d 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead2Heads/__files/repos_hub4j-test-org_listprslistheads-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead2Heads/__files/repos_hub4j-test-org_listprslistheads-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead2Heads/__files/repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead2Heads/__files/repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json index 3981d0e0c..8d8941c52 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead2Heads/__files/repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHead2Heads/__files/repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json @@ -1,6 +1,6 @@ [ { - "name": "master", + "name": "main", "commit": { "sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c", "url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c" diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHeadOfCommitWithHeadNowhere/__files/repos_hub4j-test-org_listprslistheads-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHeadOfCommitWithHeadNowhere/__files/repos_hub4j-test-org_listprslistheads-2.json index 94f12553f..849b85a28 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHeadOfCommitWithHeadNowhere/__files/repos_hub4j-test-org_listprslistheads-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listBranchesWhereHeadOfCommitWithHeadNowhere/__files/repos_hub4j-test-org_listprslistheads-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-2.json index 2b0dafa93..7ed6e3aac 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-2.json @@ -96,7 +96,7 @@ "forks": 75, "open_issues": 28, "watchers": 112, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequests/__files/repos_hub4j-test-org_listprslistheads-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequests/__files/repos_hub4j-test-org_listprslistheads-2.json index 7ab2363ba..a8141c03a 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequests/__files/repos_hub4j-test-org_listprslistheads-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequests/__files/repos_hub4j-test-org_listprslistheads-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequests/__files/repos_hub4j-test-org_listprslistheads_commits_6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc_pulls-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequests/__files/repos_hub4j-test-org_listprslistheads_commits_6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc_pulls-4.json index 8a1c47ab8..2d8b39185 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequests/__files/repos_hub4j-test-org_listprslistheads_commits_6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequests/__files/repos_hub4j-test-org_listprslistheads_commits_6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc_pulls-4.json @@ -165,12 +165,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c", "user": { "login": "hub4j-test-org", @@ -284,7 +284,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfCommitWith2PullRequests/__files/repos_hub4j-test-org_listprslistheads-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfCommitWith2PullRequests/__files/repos_hub4j-test-org_listprslistheads-2.json index 19d414d5f..2e2c26f45 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfCommitWith2PullRequests/__files/repos_hub4j-test-org_listprslistheads-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfCommitWith2PullRequests/__files/repos_hub4j-test-org_listprslistheads-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfCommitWith2PullRequests/__files/repos_hub4j-test-org_listprslistheads_commits_442aa213f924a5984856f16e52a18153aaf41ad3_pulls-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfCommitWith2PullRequests/__files/repos_hub4j-test-org_listprslistheads_commits_442aa213f924a5984856f16e52a18153aaf41ad3_pulls-4.json index ef135f43c..19c5f7126 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfCommitWith2PullRequests/__files/repos_hub4j-test-org_listprslistheads_commits_442aa213f924a5984856f16e52a18153aaf41ad3_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfCommitWith2PullRequests/__files/repos_hub4j-test-org_listprslistheads_commits_442aa213f924a5984856f16e52a18153aaf41ad3_pulls-4.json @@ -165,12 +165,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c", "user": { "login": "hub4j-test-org", @@ -284,7 +284,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -482,12 +482,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c", "user": { "login": "hub4j-test-org", @@ -601,7 +601,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfNotIncludedCommit/__files/repos_hub4j-test-org_listprslistheads-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfNotIncludedCommit/__files/repos_hub4j-test-org_listprslistheads-2.json index 6282ac4b6..e59268481 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfNotIncludedCommit/__files/repos_hub4j-test-org_listprslistheads-2.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listPullRequestsOfNotIncludedCommit/__files/repos_hub4j-test-org_listprslistheads-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-11.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-11.json index 98d4d85ed..9e44892fe 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-11.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-11.json @@ -96,7 +96,7 @@ "forks": 6657, "open_issues": 56, "watchers": 16792, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-15.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-15.json index 98d4d85ed..9e44892fe 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-15.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-15.json @@ -96,7 +96,7 @@ "forks": 6657, "open_issues": 56, "watchers": 16792, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-3.json index 98d4d85ed..9e44892fe 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-3.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-3.json @@ -96,7 +96,7 @@ "forks": 6657, "open_issues": 56, "watchers": 16792, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-5.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-5.json index 98d4d85ed..9e44892fe 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-5.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-5.json @@ -96,7 +96,7 @@ "forks": 6657, "open_issues": 56, "watchers": 16792, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-7.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-7.json index 98d4d85ed..9e44892fe 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-7.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-7.json @@ -96,7 +96,7 @@ "forks": 6657, "open_issues": 56, "watchers": 16792, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-9.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-9.json index 98d4d85ed..9e44892fe 100644 --- a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-9.json +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/testQueryCommits/__files/repos_jenkinsci_jenkins-9.json @@ -96,7 +96,7 @@ "forks": 6657, "open_issues": 56, "watchers": 16792, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/installation_repositories-4.json b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/installation_repositories-4.json index 151249d33..f5ecd1668 100644 --- a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/installation_repositories-4.json +++ b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/installation_repositories-4.json @@ -94,7 +94,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -193,7 +193,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createToken/__files/body-githubapp-create-installation-accesstokens.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createToken/__files/body-githubapp-create-installation-accesstokens.json index d891cc0e7..d31621e3c 100644 --- a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createToken/__files/body-githubapp-create-installation-accesstokens.json +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createToken/__files/body-githubapp-create-installation-accesstokens.json @@ -101,7 +101,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } ] } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly-2.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly-2.json index c11b6e51a..7cc444b44 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly-2.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-3.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-3.json index d94bdc853..dab9da790 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-3.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "dd8ce25034e85973a8cfacb1b379571ea3b4a8a6", "node_id": "MDY6Q29tbWl0MjU4Mjg4MzQyOmRkOGNlMjUwMzRlODU5NzNhOGNmYWNiMWIzNzk1NzFlYTNiNGE4YTY=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testDisableProtectionOnly/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testDisableProtectionOnly/tree/main" }, "protected": false, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-5.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-5.json index e96d56449..45b228b00 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-5.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "dd8ce25034e85973a8cfacb1b379571ea3b4a8a6", "node_id": "MDY6Q29tbWl0MjU4Mjg4MzQyOmRkOGNlMjUwMzRlODU5NzNhOGNmYWNiMWIzNzk1NzFlYTNiNGE4YTY=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testDisableProtectionOnly/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testDisableProtectionOnly/tree/main" }, "protected": true, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-7.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-7.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-7.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-7.json index d94bdc853..dab9da790 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-7.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-7.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "dd8ce25034e85973a8cfacb1b379571ea3b4a8a6", "node_id": "MDY6Q29tbWl0MjU4Mjg4MzQyOmRkOGNlMjUwMzRlODU5NzNhOGNmYWNiMWIzNzk1NzFlYTNiNGE4YTY=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testDisableProtectionOnly/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testDisableProtectionOnly/tree/main" }, "protected": false, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-4.json similarity index 74% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-4.json index bc380510b..dee1e7d66 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/__files/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-4.json @@ -1,7 +1,7 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main/protection", "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main/protection/enforce_admins", "enabled": false }, "required_linear_history": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-3.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-3.json index 5a21fdde8..5f2352856 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-3.json @@ -1,8 +1,8 @@ { "id": "1b81c7e8-f51d-42f3-bcfe-e0893ea2b29d", - "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master", + "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master", + "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-3.json", + "bodyFileName": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-3.json", "headers": { "Date": "Thu, 23 Apr 2020 17:59:08 GMT", "Content-Type": "application/json; charset=utf-8", @@ -41,8 +41,8 @@ }, "uuid": "1b81c7e8-f51d-42f3-bcfe-e0893ea2b29d", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-master", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-main", "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-master-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-main-2", "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-5.json similarity index 90% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-5.json index fdb85681b..de2583768 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-5.json @@ -1,8 +1,8 @@ { "id": "e5ca49c0-ac4e-4372-a3b7-128ed8ebff41", - "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master", + "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master", + "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-5.json", + "bodyFileName": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-5.json", "headers": { "Date": "Thu, 23 Apr 2020 17:59:08 GMT", "Content-Type": "application/json; charset=utf-8", @@ -41,8 +41,8 @@ }, "uuid": "e5ca49c0-ac4e-4372-a3b7-128ed8ebff41", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-master", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-master-2", - "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-master-3", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-main", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-main-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-main-3", "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-7.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-7.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-7.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-7.json index 3e35e218f..56e149115 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-7.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-7.json @@ -1,8 +1,8 @@ { "id": "e224c5e4-46a7-4ada-970d-946f4c31c8b4", - "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master", + "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master", + "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master-7.json", + "bodyFileName": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main-7.json", "headers": { "Date": "Thu, 23 Apr 2020 17:59:09 GMT", "Content-Type": "application/json; charset=utf-8", @@ -41,7 +41,7 @@ }, "uuid": "e224c5e4-46a7-4ada-970d-946f4c31c8b4", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-master", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-master-3", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-main", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testDisableProtectionOnly-branches-main-3", "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-4.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-4.json index b4ad1d17c..6138584e2 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-4.json @@ -1,8 +1,8 @@ { "id": "9b035670-667b-480f-9a95-29acd553979f", - "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main/protection", "method": "PUT", "headers": { "Accept": { @@ -19,7 +19,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-4.json", + "bodyFileName": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-4.json", "headers": { "Date": "Thu, 23 Apr 2020 17:59:08 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-6.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-6.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-6.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-6.json index d9086da86..9f322f4fc 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection-6.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testDisableProtectionOnly/mappings/repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection-6.json @@ -1,8 +1,8 @@ { "id": "8ba747c1-29f2-4096-ad2e-5a148448adc2", - "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testdisableprotectiononly_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testDisableProtectionOnly/branches/main/protection", "method": "DELETE", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections-2.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections-2.json index d2b848509..40b435197 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections-2.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main-3.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main-3.json index 51986b134..11418489f 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main-3.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "7b85665b2b0b99ac61e7c23a35b0479daa9014d7", "node_id": "MDY6Q29tbWl0MjgwNDg4MzYyOjdiODU2NjViMmIwYjk5YWM2MWU3YzIzYTM1YjA0NzlkYWE5MDE0ZDc=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testEnableBranchProtections/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testEnableBranchProtections/tree/main" }, "protected": false, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-4.json similarity index 67% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-4.json index 5161d5613..ee226bab7 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-4.json @@ -1,21 +1,21 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection", "required_status_checks": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection/required_status_checks", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection/required_status_checks", "strict": true, "contexts": [ "test-status-check" ], - "contexts_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection/required_status_checks/contexts" + "contexts_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection/required_status_checks/contexts" }, "required_pull_request_reviews": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection/required_pull_request_reviews", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection/required_pull_request_reviews", "dismiss_stale_reviews": true, "require_code_owner_reviews": true, "required_approving_review_count": 2 }, "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection/enforce_admins", "enabled": true }, "required_linear_history": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-5.json similarity index 67% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-5.json index 5161d5613..ee226bab7 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/__files/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-5.json @@ -1,21 +1,21 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection", "required_status_checks": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection/required_status_checks", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection/required_status_checks", "strict": true, "contexts": [ "test-status-check" ], - "contexts_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection/required_status_checks/contexts" + "contexts_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection/required_status_checks/contexts" }, "required_pull_request_reviews": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection/required_pull_request_reviews", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection/required_pull_request_reviews", "dismiss_stale_reviews": true, "require_code_owner_reviews": true, "required_approving_review_count": 2 }, "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection/enforce_admins", "enabled": true }, "required_linear_history": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main-3.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main-3.json index 575fc16d0..7ad31c1da 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main-3.json @@ -1,8 +1,8 @@ { "id": "74041767-9edf-4710-baa8-823cb96977dc", - "name": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_master", + "name": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master", + "url": "/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_master-3.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_main-3.json", "headers": { "Server": "GitHub.com", "Date": "Fri, 17 Jul 2020 17:40:28 GMT", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-4.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-4.json index f99039797..31a205713 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-4.json @@ -1,8 +1,8 @@ { "id": "3cdd44cf-a62c-43f6-abad-de7c8b65bfe3", - "name": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection", "method": "PUT", "headers": { "Accept": { @@ -19,7 +19,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-4.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-4.json", "headers": { "Server": "GitHub.com", "Date": "Fri, 17 Jul 2020 17:40:28 GMT", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-5.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-5.json index 79107d2d9..cefeda472 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableBranchProtections/mappings/repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-5.json @@ -1,8 +1,8 @@ { "id": "d0f2e4e4-01a4-48d4-862a-ae1549171db1", - "name": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testEnableBranchProtections/branches/main/protection", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_master_protection-5.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenablebranchprotections_branches_main_protection-5.json", "headers": { "Server": "GitHub.com", "Date": "Fri, 17 Jul 2020 17:40:29 GMT", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly-2.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly-2.json index 423561a15..a4c37affb 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly-2.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-3.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-3.json index f2b259ba7..2667a4fd3 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-3.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "b9a9b314add8ca449fc2de050518c0fad721a60c", "node_id": "MDY6Q29tbWl0MjIyNTk2MDkwOmI5YTliMzE0YWRkOGNhNDQ5ZmMyZGUwNTA1MThjMGZhZDcyMWE2MGM=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testEnableProtectionOnly/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testEnableProtectionOnly/tree/main" }, "protected": false, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-5.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-5.json index cb6aa6d42..13e248cd4 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-5.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "b9a9b314add8ca449fc2de050518c0fad721a60c", "node_id": "MDY6Q29tbWl0MjIyNTk2MDkwOmI5YTliMzE0YWRkOGNhNDQ5ZmMyZGUwNTA1MThjMGZhZDcyMWE2MGM=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testEnableProtectionOnly/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testEnableProtectionOnly/tree/main" }, "protected": true, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main_protection-4.json similarity index 60% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main_protection-4.json index 57785acdb..4ca8d691e 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/__files/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main_protection-4.json @@ -1,7 +1,7 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main/protection", "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main/protection/enforce_admins", "enabled": false } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-3.json similarity index 93% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-3.json index fd93c688a..d04211759 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-3.json @@ -1,8 +1,8 @@ { "id": "88328244-0928-4737-b1a5-674c59027a58", - "name": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_master", + "name": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master", + "url": "/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-3.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-3.json", "headers": { "Date": "Tue, 19 Nov 2019 03:01:50 GMT", "Content-Type": "application/json; charset=utf-8", @@ -43,8 +43,8 @@ }, "uuid": "88328244-0928-4737-b1a5-674c59027a58", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testEnableProtectionOnly-branches-master", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testEnableProtectionOnly-branches-main", "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testEnableProtectionOnly-branches-master-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testEnableProtectionOnly-branches-main-2", "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-5.json similarity index 93% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-5.json index cc380217e..14b91af08 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-5.json @@ -1,8 +1,8 @@ { "id": "90ab1b21-6ee8-4607-bcf5-f14061c3936f", - "name": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_master", + "name": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master", + "url": "/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_master-5.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_main-5.json", "headers": { "Date": "Tue, 19 Nov 2019 03:01:50 GMT", "Content-Type": "application/json; charset=utf-8", @@ -43,7 +43,7 @@ }, "uuid": "90ab1b21-6ee8-4607-bcf5-f14061c3936f", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testEnableProtectionOnly-branches-master", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testEnableProtectionOnly-branches-master-2", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testEnableProtectionOnly-branches-main", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testEnableProtectionOnly-branches-main-2", "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main_protection-4.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main_protection-4.json index 19b80d3ff..14f951733 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableProtectionOnly/mappings/repos_hub4j-test-org_temp-testenableprotectiononly_branches_main_protection-4.json @@ -1,8 +1,8 @@ { "id": "857c661d-4431-4504-9088-c0bbf3a8d667", - "name": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testEnableProtectionOnly/branches/main/protection", "method": "PUT", "bodyPatterns": [ { @@ -19,7 +19,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_master_protection-4.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenableprotectiononly_branches_main_protection-4.json", "headers": { "Date": "Tue, 19 Nov 2019 03:01:50 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly-2.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly-2.json index f0b36043a..172340620 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly-2.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main-3.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main-3.json index 290d442c6..c2347f56b 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main-3.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "6838de84c122870ab80c61f844a86383e082756b", "node_id": "MDY6Q29tbWl0MjgwNDkwNDc2OjY4MzhkZTg0YzEyMjg3MGFiODBjNjFmODQ0YTg2MzgzZTA4Mjc1NmI=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testEnableRequireReviewsOnly/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testEnableRequireReviewsOnly/tree/main" }, "protected": false, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-4.json similarity index 72% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-4.json index 38a4dca66..05be14b18 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-4.json @@ -1,13 +1,13 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection", "required_pull_request_reviews": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection/required_pull_request_reviews", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection/required_pull_request_reviews", "dismiss_stale_reviews": false, "require_code_owner_reviews": false, "required_approving_review_count": 1 }, "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection/enforce_admins", "enabled": false }, "required_linear_history": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-5.json similarity index 72% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-5.json index 38a4dca66..05be14b18 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/__files/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-5.json @@ -1,13 +1,13 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection", "required_pull_request_reviews": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection/required_pull_request_reviews", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection/required_pull_request_reviews", "dismiss_stale_reviews": false, "require_code_owner_reviews": false, "required_approving_review_count": 1 }, "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection/enforce_admins", "enabled": false }, "required_linear_history": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main-3.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main-3.json index 0ec226efd..eec708d11 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main-3.json @@ -1,8 +1,8 @@ { "id": "210178dc-b484-4bc9-82f5-6b790d736fe1", - "name": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master", + "name": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master", + "url": "/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master-3.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main-3.json", "headers": { "Server": "GitHub.com", "Date": "Fri, 17 Jul 2020 17:50:37 GMT", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-4.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-4.json index 73afb6d0f..dd1a75196 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-4.json @@ -1,8 +1,8 @@ { "id": "816d7fb5-30e5-486c-8948-11c4e46d9dab", - "name": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection", "method": "PUT", "headers": { "Accept": { @@ -19,7 +19,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-4.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-4.json", "headers": { "Server": "GitHub.com", "Date": "Fri, 17 Jul 2020 17:50:38 GMT", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-5.json similarity index 93% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-5.json index 56859300b..3a1c0628a 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testEnableRequireReviewsOnly/mappings/repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-5.json @@ -1,8 +1,8 @@ { "id": "b1c8333e-1271-46b7-8af0-74517e351f3a", - "name": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testEnableRequireReviewsOnly/branches/main/protection", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_master_protection-5.json", + "bodyFileName": "repos_hub4j-test-org_temp-testenablerequirereviewsonly_branches_main_protection-5.json", "headers": { "Server": "GitHub.com", "Date": "Fri, 17 Jul 2020 17:50:38 GMT", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection-2.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection-2.json index d92114520..ac28b5cd9 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection-2.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-3.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-3.json index 8992b8d90..7e11880ff 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-3.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "24fbd7cfa8192262e63efd9e64c4005e64429508", "node_id": "MDY6Q29tbWl0MjU4MjgzOTM1OjI0ZmJkN2NmYTgxOTIyNjJlNjNlZmQ5ZTY0YzQwMDVlNjQ0Mjk1MDg=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testGetProtection/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testGetProtection/tree/main" }, "protected": false, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-7.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-5.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-7.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-5.json index c36e7f343..288f59c85 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-7.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-5.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "24fbd7cfa8192262e63efd9e64c4005e64429508", "node_id": "MDY6Q29tbWl0MjU4MjgzOTM1OjI0ZmJkN2NmYTgxOTIyNjJlNjNlZmQ5ZTY0YzQwMDVlNjQ0Mjk1MDg=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testGetProtection/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testGetProtection/tree/main" }, "protected": true, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-7.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-7.json index c36e7f343..288f59c85 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main-7.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "24fbd7cfa8192262e63efd9e64c4005e64429508", "node_id": "MDY6Q29tbWl0MjU4MjgzOTM1OjI0ZmJkN2NmYTgxOTIyNjJlNjNlZmQ5ZTY0YzQwMDVlNjQ0Mjk1MDg=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testGetProtection/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testGetProtection/tree/main" }, "protected": true, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-6.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-4.json similarity index 76% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-6.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-4.json index 3ffff30e7..4f1a3328e 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-6.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-4.json @@ -1,7 +1,7 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection", "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection/enforce_admins", "enabled": false }, "required_linear_history": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-6.json similarity index 76% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-6.json index 3ffff30e7..4f1a3328e 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/__files/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-6.json @@ -1,7 +1,7 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection", "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection/enforce_admins", "enabled": false }, "required_linear_history": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-3.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-3.json index b18b1f54f..bf1c35460 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-3.json @@ -1,8 +1,8 @@ { "id": "1b37059d-fd2e-4bf9-91aa-320203aad872", - "name": "repos_hub4j-test-org_temp-testgetprotection_branches_master", + "name": "repos_hub4j-test-org_temp-testgetprotection_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/master", + "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_master-3.json", + "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_main-3.json", "headers": { "Date": "Thu, 23 Apr 2020 17:42:05 GMT", "Content-Type": "application/json; charset=utf-8", @@ -41,8 +41,8 @@ }, "uuid": "1b37059d-fd2e-4bf9-91aa-320203aad872", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-master", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-main", "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-master-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-main-2", "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-5.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-5.json index 81ec9d99a..e9891a8b8 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-5.json @@ -1,8 +1,8 @@ { "id": "a5a370a5-6d8e-4e98-bdd9-324083d7b521", - "name": "repos_hub4j-test-org_temp-testgetprotection_branches_master", + "name": "repos_hub4j-test-org_temp-testgetprotection_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/master", + "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_master-5.json", + "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_main-5.json", "headers": { "Date": "Thu, 23 Apr 2020 17:42:05 GMT", "Content-Type": "application/json; charset=utf-8", @@ -41,8 +41,8 @@ }, "uuid": "a5a370a5-6d8e-4e98-bdd9-324083d7b521", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-master", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-master-2", - "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-master-3", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-main", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-main-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-main-3", "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-7.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-7.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-7.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-7.json index f63fa3ccb..d25423419 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master-7.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main-7.json @@ -1,8 +1,8 @@ { "id": "12d8726c-e383-45d3-8da7-cfec0d043b64", - "name": "repos_hub4j-test-org_temp-testgetprotection_branches_master", + "name": "repos_hub4j-test-org_temp-testgetprotection_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/master", + "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_master-7.json", + "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_main-7.json", "headers": { "Date": "Thu, 23 Apr 2020 17:42:06 GMT", "Content-Type": "application/json; charset=utf-8", @@ -41,7 +41,7 @@ }, "uuid": "12d8726c-e383-45d3-8da7-cfec0d043b64", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-master", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-master-3", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-main", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testGetProtection-branches-main-3", "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-4.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-4.json index 50aead383..fb5c354bb 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-4.json @@ -1,8 +1,8 @@ { "id": "d52c7355-8eac-4c62-b83d-54ebacfc0c70", - "name": "repos_hub4j-test-org_temp-testgetprotection_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testgetprotection_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection", "method": "PUT", "headers": { "Accept": { @@ -19,7 +19,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-4.json", + "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-4.json", "headers": { "Date": "Thu, 23 Apr 2020 17:42:05 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-6.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-6.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-6.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-6.json index e26951bc4..1df15af5c 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-6.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testGetProtection/mappings/repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-6.json @@ -1,8 +1,8 @@ { "id": "d15b0d15-1264-481d-9ec5-0e156de6f80a", - "name": "repos_hub4j-test-org_temp-testgetprotection_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testgetprotection_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testGetProtection/branches/main/protection", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_master_protection-6.json", + "bodyFileName": "repos_hub4j-test-org_temp-testgetprotection_branches_main_protection-6.json", "headers": { "Date": "Thu, 23 Apr 2020 17:42:05 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits-2.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits-2.json index 63373278a..e3a31820c 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits-2.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_main-3.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_main-3.json index 27788fad7..004a3cd28 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_main-3.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "9ef208e9f31fee7de1f0d10728f914022791e127", "node_id": "MDY6Q29tbWl0MjIyNTk2MTE3OjllZjIwOGU5ZjMxZmVlN2RlMWYwZDEwNzI4ZjkxNDAyMjc5MWUxMjc=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testSignedCommits/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testSignedCommits/tree/main" }, "protected": false, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection-4.json similarity index 63% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection-4.json index 15de20aa7..156771060 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/__files/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection-4.json @@ -1,7 +1,7 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection", "enforce_admins": { - "url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/enforce_admins", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/enforce_admins", "enabled": false } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main-3.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main-3.json index 76f3f4cd7..11a67713d 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main-3.json @@ -1,8 +1,8 @@ { "id": "7a0577f3-c41c-4cbe-9965-f6f53aea602d", - "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_master", + "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/master", + "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testsignedcommits_branches_master-3.json", + "bodyFileName": "repos_hub4j-test-org_temp-testsignedcommits_branches_main-3.json", "headers": { "Date": "Tue, 19 Nov 2019 03:01:58 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection-4.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection-4.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection-4.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection-4.json index cf9b7db77..de8402d03 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection-4.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection-4.json @@ -1,8 +1,8 @@ { "id": "4b8a92a8-3dc5-40ba-96aa-f5fcd41eedd5", - "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection", + "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection", "request": { - "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection", + "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection", "method": "PUT", "bodyPatterns": [ { @@ -19,7 +19,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection-4.json", + "bodyFileName": "repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection-4.json", "headers": { "Date": "Tue, 19 Nov 2019 03:01:58 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-5.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-5.json similarity index 87% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-5.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-5.json index 068262a58..5e4a20806 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-5.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-5.json @@ -1,8 +1,8 @@ { "id": "c0150d3b-dbf8-4426-9a59-af31e3448299", - "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures", + "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures", "request": { - "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures", + "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "body": "{\"url\":\"https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures\",\"enabled\":false}", + "body": "{\"url\":\"https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures\",\"enabled\":false}", "headers": { "Date": "Tue, 19 Nov 2019 03:01:59 GMT", "Content-Type": "application/json; charset=utf-8", @@ -43,8 +43,8 @@ }, "uuid": "c0150d3b-dbf8-4426-9a59-af31e3448299", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-master-protection-required_signatures", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-main-protection-required_signatures", "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-master-protection-required_signatures-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-main-protection-required_signatures-2", "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-6.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-6.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-6.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-6.json index ca4892019..978152700 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-6.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-6.json @@ -1,8 +1,8 @@ { "id": "e2970726-71d5-4880-bd8f-bb6ad1f578a8", - "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures", + "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures", "request": { - "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures", + "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures", "method": "POST", "bodyPatterns": [ { @@ -19,7 +19,7 @@ }, "response": { "status": 200, - "body": "{\"url\":\"https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures\",\"enabled\":true}", + "body": "{\"url\":\"https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures\",\"enabled\":true}", "headers": { "Date": "Tue, 19 Nov 2019 03:01:59 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-7.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-7.json similarity index 85% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-7.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-7.json index 106b3c215..24f0b5a50 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-7.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-7.json @@ -1,8 +1,8 @@ { "id": "fa5a0df8-3cdd-424a-a744-9b96a2455f68", - "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures", + "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures", "request": { - "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures", + "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "body": "{\"url\":\"https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures\",\"enabled\":true}", + "body": "{\"url\":\"https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures\",\"enabled\":true}", "headers": { "Date": "Tue, 19 Nov 2019 03:01:59 GMT", "Content-Type": "application/json; charset=utf-8", @@ -43,8 +43,8 @@ }, "uuid": "fa5a0df8-3cdd-424a-a744-9b96a2455f68", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-master-protection-required_signatures", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-master-protection-required_signatures-2", - "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-master-protection-required_signatures-3", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-main-protection-required_signatures", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-main-protection-required_signatures-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-main-protection-required_signatures-3", "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-8.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-8.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-8.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-8.json index cdbc98c15..7dba3450c 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-8.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-8.json @@ -1,8 +1,8 @@ { "id": "8c2a0866-3d67-4b80-a36a-a37714ca5af9", - "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures", + "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures", "request": { - "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures", + "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures", "method": "DELETE", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-9.json b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-9.json similarity index 87% rename from src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-9.json rename to src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-9.json index 9745c00bb..48a1de13b 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures-9.json +++ b/src/test/resources/org/kohsuke/github/GHBranchProtectionTest/wiremock/testSignedCommits/mappings/repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures-9.json @@ -1,8 +1,8 @@ { "id": "c0efc3bb-2eaf-4225-a416-dc9f9371d508", - "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_master_protection_required_signatures", + "name": "repos_hub4j-test-org_temp-testsignedcommits_branches_main_protection_required_signatures", "request": { - "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures", + "url": "/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "body": "{\"url\":\"https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/master/protection/required_signatures\",\"enabled\":false}", + "body": "{\"url\":\"https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches/main/protection/required_signatures\",\"enabled\":false}", "headers": { "Date": "Tue, 19 Nov 2019 03:02:00 GMT", "Content-Type": "application/json; charset=utf-8", @@ -43,7 +43,7 @@ }, "uuid": "c0efc3bb-2eaf-4225-a416-dc9f9371d508", "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-master-protection-required_signatures", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-master-protection-required_signatures-3", + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-main-protection-required_signatures", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testSignedCommits-branches-main-protection-required_signatures-3", "insertionIndex": 9 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch-2.json b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch-2.json index 563abbe8d..6826f95ac 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch-2.json +++ b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_branches_master-11.json b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_branches_main-11.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_branches_master-11.json rename to src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_branches_main-11.json index 95014f264..ece5064c5 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_branches_master-11.json +++ b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_branches_main-11.json @@ -1,5 +1,5 @@ { - "name": "master", + "name": "main", "commit": { "sha": "688a1c3f8bc67deb767f68560ed8c7350d70d50f", "node_id": "MDY6Q29tbWl0MjgzMzEzNTkzOjY4OGExYzNmOGJjNjdkZWI3NjdmNjg1NjBlZDhjNzM1MGQ3MGQ1MGY=", @@ -74,8 +74,8 @@ "parents": [] }, "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/branches/master", - "html": "https://github.com/hub4j-test-org/temp-testMergeBranch/tree/master" + "self": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/branches/main", + "html": "https://github.com/hub4j-test-org/temp-testMergeBranch/tree/main" }, "protected": false, "protection": { @@ -85,5 +85,5 @@ "contexts": [] } }, - "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/branches/master/protection" + "protection_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/branches/main/protection" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_main-3.json similarity index 84% rename from src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_main-3.json index d9e93d0e9..54cf96990 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/__files/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_main-3.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjgzMzEzNTkzOnJlZnMvaGVhZHMvbWFzdGVy", - "url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/git/refs/heads/main", "object": { "sha": "688a1c3f8bc67deb767f68560ed8c7350d70d50f", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_branches_master-11.json b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_branches_main-11.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_branches_master-11.json rename to src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_branches_main-11.json index 1f74650e2..8ffef7dab 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_branches_master-11.json +++ b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_branches_main-11.json @@ -1,8 +1,8 @@ { "id": "149b51b4-e911-42b7-b181-488bb6a2bf95", - "name": "repos_hub4j-test-org_temp-testmergebranch_branches_master", + "name": "repos_hub4j-test-org_temp-testmergebranch_branches_main", "request": { - "url": "/repos/hub4j-test-org/temp-testMergeBranch/branches/master", + "url": "/repos/hub4j-test-org/temp-testMergeBranch/branches/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testmergebranch_branches_master-11.json", + "bodyFileName": "repos_hub4j-test-org_temp-testmergebranch_branches_main-11.json", "headers": { "Date": "Tue, 28 Jul 2020 19:55:00 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_main-3.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_main-3.json index db93ee649..e67ea4a2a 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_main-3.json @@ -1,8 +1,8 @@ { "id": "c4e8c18e-a010-46fb-a605-9c4b83b5ee3b", - "name": "repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_master", + "name": "repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_main", "request": { - "url": "/repos/hub4j-test-org/temp-testMergeBranch/git/refs/heads/master", + "url": "/repos/hub4j-test-org/temp-testMergeBranch/git/refs/heads/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_master-3.json", + "bodyFileName": "repos_hub4j-test-org_temp-testmergebranch_git_refs_heads_main-3.json", "headers": { "Date": "Tue, 28 Jul 2020 19:54:54 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_merges-12.json b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_merges-12.json index a458d361e..26cdaaa7e 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_merges-12.json +++ b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_merges-12.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"4cfa1cac01c59db507f550c8c870dac98859b353\",\"commit_message\":\"merging from 4cfa1cac01c59db507f550c8c870dac98859b353\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"4cfa1cac01c59db507f550c8c870dac98859b353\",\"commit_message\":\"merging from 4cfa1cac01c59db507f550c8c870dac98859b353\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_merges-13.json b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_merges-13.json index 2bc4b3621..1301af196 100644 --- a/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_merges-13.json +++ b/src/test/resources/org/kohsuke/github/GHBranchTest/wiremock/testMergeBranch/mappings/repos_hub4j-test-org_temp-testmergebranch_merges-13.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"223608e290ccc2f8902385528a24b1f7aec92acf\",\"commit_message\":\"merging from 4cfa1cac01c59db507f550c8c870dac98859b353\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"223608e290ccc2f8902385528a24b1f7aec92acf\",\"commit_message\":\"merging from 4cfa1cac01c59db507f550c8c870dac98859b353\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50-3cdae02b.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50-3cdae02b.json index e3be0d662..e850566e6 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50-3cdae02b.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50-3cdae02b.json @@ -4,15 +4,15 @@ "path": "test+directory #50/test file-to+create-#1.txt", "sha": "8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", "size": 34, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" } } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-04f85e50.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-04f85e50.json index c9be1b850..553713ed0 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-04f85e50.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-04f85e50.json @@ -4,15 +4,15 @@ "path": "test+directory #50/test file-to+create-#1.txt", "sha": "da2d3cc78776aec68881668775c46a53f0ee2288", "size": 25, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/da2d3cc78776aec68881668775c46a53f0ee2288", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/da2d3cc78776aec68881668775c46a53f0ee2288", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" } }, "commit": { diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-1d4297f8.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-1d4297f8.json index a5d5a1950..00bb96252 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-1d4297f8.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-1d4297f8.json @@ -3,16 +3,16 @@ "path": "test+directory #50/test file-to+create-#1.txt", "sha": "da2d3cc78776aec68881668775c46a53f0ee2288", "size": 25, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/da2d3cc78776aec68881668775c46a53f0ee2288", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "type": "file", "content": "dGhpcyBpcyBzb21lIG5ldyBjb250ZW50Cg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/da2d3cc78776aec68881668775c46a53f0ee2288", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-4be43bcb.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-4be43bcb.json index 826dfd982..471a17c37 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-4be43bcb.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-4be43bcb.json @@ -3,16 +3,16 @@ "path": "test+directory #50/test file-to+create-#1.txt", "sha": "8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", "size": 34, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "type": "file", "content": "dGhpcyBpcyBhbiBhd2Vzb21lIGZpbGUgSSBjcmVhdGVkCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-5b2d0899.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-5b2d0899.json index 826dfd982..471a17c37 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-5b2d0899.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-5b2d0899.json @@ -3,16 +3,16 @@ "path": "test+directory #50/test file-to+create-#1.txt", "sha": "8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", "size": 34, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "type": "file", "content": "dGhpcyBpcyBhbiBhd2Vzb21lIGZpbGUgSSBjcmVhdGVkCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-64a83a7d.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-64a83a7d.json index 826dfd982..471a17c37 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-64a83a7d.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-64a83a7d.json @@ -3,16 +3,16 @@ "path": "test+directory #50/test file-to+create-#1.txt", "sha": "8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", "size": 34, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "type": "file", "content": "dGhpcyBpcyBhbiBhd2Vzb21lIGZpbGUgSSBjcmVhdGVkCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-a971220e.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-a971220e.json index 010d0f501..f5046a47c 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-a971220e.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-50_test-file-tocreate-1txt-a971220e.json @@ -4,15 +4,15 @@ "path": "test+directory #50/test file-to+create-#1.txt", "sha": "8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", "size": 34, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/8db9c31d79dfb9d0411c7af11b7ec7fabc72c5b1", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt" } }, "commit": { diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-e5080341.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-e5080341.json index aa15c5159..1fbcfefd6 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-e5080341.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-e5080341.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -211,7 +211,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -305,7 +305,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-4.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-4.json index 5929e6f82..31af2c544 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-4.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-4.json @@ -2,7 +2,7 @@ "id": "5b2d0899-ece6-4a5f-a8dc-4b0f296b21a1", "name": "repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt", "request": { - "url": "/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "url": "/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "method": "GET", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-7.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-7.json index b8c13be98..e5e72f4ac 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-7.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-7.json @@ -2,7 +2,7 @@ "id": "64a83a7d-a195-4f3b-989e-293e3f23611a", "name": "repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt", "request": { - "url": "/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "url": "/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "method": "GET", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-9.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-9.json index 20f9eee2e..be34adbd9 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-9.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testCRUDContent/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt-9.json @@ -2,7 +2,7 @@ "id": "1d4297f8-515f-48b0-8f13-99894911d416", "name": "repos_hub4j-test-org_ghcontentintegrationtest_contents_testdirectory-50_test-file-tocreate-1txt", "request": { - "url": "/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=master", + "url": "/repos/hub4j-test-org/GHContentIntegrationTest/contents/test%2Bdirectory%20%2350/test%20file-to%2Bcreate-%231.txt?ref=main", "method": "GET", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json index aa15c5159..1fbcfefd6 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -211,7 +211,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -305,7 +305,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-2d908c73.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-2d908c73.json index 72ae482b4..2afd66611 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-2d908c73.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-2d908c73.json @@ -4,15 +4,15 @@ "path": "ghcontent-ro/a-dir-with-3-entries/entry-one", "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "size": 0, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-one?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-one", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-one?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-one", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-dir-with-3-entries/entry-one", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-dir-with-3-entries/entry-one", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-one?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-one?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-one" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-one" } }, { @@ -20,15 +20,15 @@ "path": "ghcontent-ro/a-dir-with-3-entries/entry-three", "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "size": 0, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-three?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-three", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-three?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-three", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-dir-with-3-entries/entry-three", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-dir-with-3-entries/entry-three", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-three?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-three?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-three" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-three" } }, { @@ -36,15 +36,15 @@ "path": "ghcontent-ro/a-dir-with-3-entries/entry-two", "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "size": 0, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-two?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-two", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-two?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-two", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-dir-with-3-entries/entry-two", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-dir-with-3-entries/entry-two", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-two?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-two?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-two" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-two" } } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json index aa15c5159..1fbcfefd6 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -211,7 +211,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -305,7 +305,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-462ae734.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-462ae734.json index 72ae482b4..2afd66611 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-462ae734.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-462ae734.json @@ -4,15 +4,15 @@ "path": "ghcontent-ro/a-dir-with-3-entries/entry-one", "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "size": 0, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-one?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-one", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-one?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-one", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-dir-with-3-entries/entry-one", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-dir-with-3-entries/entry-one", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-one?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-one?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-one" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-one" } }, { @@ -20,15 +20,15 @@ "path": "ghcontent-ro/a-dir-with-3-entries/entry-three", "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "size": 0, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-three?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-three", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-three?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-three", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-dir-with-3-entries/entry-three", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-dir-with-3-entries/entry-three", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-three?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-three?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-three" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-three" } }, { @@ -36,15 +36,15 @@ "path": "ghcontent-ro/a-dir-with-3-entries/entry-two", "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "size": 0, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-two?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-two", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-two?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-two", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-dir-with-3-entries/entry-two", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-dir-with-3-entries/entry-two", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-two?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries/entry-two?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-dir-with-3-entries/entry-two" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-dir-with-3-entries/entry-two" } } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-3.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-3.json index d21df5b87..9b0f16cd5 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-3.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetDirectoryContentTrailingSlash/mappings/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries-3.json @@ -2,7 +2,7 @@ "id": "462ae734-fe48-4be5-b432-ddd9912ca0e5", "name": "repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-dir-with-3-entries", "request": { - "url": "/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries?ref=master", + "url": "/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-dir-with-3-entries?ref=main", "method": "GET", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetEmptyFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetEmptyFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json index aa15c5159..1fbcfefd6 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetEmptyFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetEmptyFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -211,7 +211,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -305,7 +305,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetEmptyFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_an-empty-file-3.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetEmptyFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_an-empty-file-3.json index 4624afaea..9486b781e 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetEmptyFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_an-empty-file-3.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetEmptyFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_an-empty-file-3.json @@ -3,16 +3,16 @@ "path": "ghcontent-ro/an-empty-file", "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "size": 0, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/an-empty-file?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/an-empty-file", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/an-empty-file?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/an-empty-file", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/an-empty-file", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/an-empty-file", "type": "file", "content": "", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/an-empty-file?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/an-empty-file?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/an-empty-file" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/an-empty-file" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json index 45327bece..2eb3d9db8 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -211,7 +211,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -305,7 +305,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-3.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-3.json index 45327bece..2eb3d9db8 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-3.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest-3.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -211,7 +211,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -305,7 +305,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-file-with-content-3e4aa25e.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-file-with-content-3e4aa25e.json index 8bc25c6a2..b2bf0b673 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-file-with-content-3e4aa25e.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContent/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-file-with-content-3e4aa25e.json @@ -3,16 +3,16 @@ "path": "ghcontent-ro/a-file-with-content", "sha": "901fd87750a8e53fe39a219cad50d4f7c80ca272", "size": 22, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-file-with-content?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-file-with-content", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-file-with-content?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-file-with-content", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/901fd87750a8e53fe39a219cad50d4f7c80ca272", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-file-with-content", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-file-with-content", "type": "file", "content": "dGhhbmtzIGZvciByZWFkaW5nIG1lCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-file-with-content?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-file-with-content?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/901fd87750a8e53fe39a219cad50d4f7c80ca272", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-file-with-content" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-file-with-content" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithNonAsciiPath/__files/repos_hub4j-test-org_ghcontentintegrationtest-4.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithNonAsciiPath/__files/repos_hub4j-test-org_ghcontentintegrationtest-4.json index d0af3e85f..9683069df 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithNonAsciiPath/__files/repos_hub4j-test-org_ghcontentintegrationtest-4.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithNonAsciiPath/__files/repos_hub4j-test-org_ghcontentintegrationtest-4.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -209,7 +209,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -303,7 +303,7 @@ "forks": 59, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 59, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithNonAsciiPath/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-file-with-o-5.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithNonAsciiPath/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-file-with-o-5.json index de60f92ad..70bb4db47 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithNonAsciiPath/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-file-with-o-5.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithNonAsciiPath/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-file-with-o-5.json @@ -3,16 +3,16 @@ "path": "ghcontent-ro/a-file-with-ö", "sha": "9daeafb9864cf43055ae93beb0afd6c7d144bfa4", "size": 5, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-file-with-%C3%B6?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-file-with-%C3%B6", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-file-with-%C3%B6?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-file-with-%C3%B6", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/9daeafb9864cf43055ae93beb0afd6c7d144bfa4", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-file-with-%C3%B6", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-file-with-%C3%B6", "type": "file", "content": "dGVzdAo=\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-file-with-%C3%B6?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-file-with-%C3%B6?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/9daeafb9864cf43055ae93beb0afd6c7d144bfa4", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-file-with-%C3%B6" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-file-with-%C3%B6" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest-054974d2-b150-4d00-9027-c3ad6bbaf023.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest-054974d2-b150-4d00-9027-c3ad6bbaf023.json index 9a9b9ce10..7bd9ac213 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest-054974d2-b150-4d00-9027-c3ad6bbaf023.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest-054974d2-b150-4d00-9027-c3ad6bbaf023.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "temp_clone_token": null, "organization": { "login": "hub4j-test-org", @@ -204,7 +204,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -298,7 +298,7 @@ "forks": 59, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 59, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest-81f3af1c-4fb1-4e3b-baa0-c682510d1137.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest-81f3af1c-4fb1-4e3b-baa0-c682510d1137.json index 9a9b9ce10..7bd9ac213 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest-81f3af1c-4fb1-4e3b-baa0-c682510d1137.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest-81f3af1c-4fb1-4e3b-baa0-c682510d1137.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "temp_clone_token": null, "organization": { "login": "hub4j-test-org", @@ -204,7 +204,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -298,7 +298,7 @@ "forks": 59, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 59, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-symlink-to-a-dir-4.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-symlink-to-a-dir-4.json index 741c6fcde..0461055d9 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-symlink-to-a-dir-4.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-symlink-to-a-dir-4.json @@ -3,15 +3,15 @@ "path": "ghcontent-ro/a-symlink-to-a-dir", "sha": "fba4aa592c12413933e5583d5ac0bdfd3ed4eb73", "size": 20, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-symlink-to-a-dir?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-symlink-to-a-dir", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-symlink-to-a-dir?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-symlink-to-a-dir", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/fba4aa592c12413933e5583d5ac0bdfd3ed4eb73", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-symlink-to-a-dir", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-symlink-to-a-dir", "type": "symlink", "target": "a-dir-with-3-entries", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-symlink-to-a-dir?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-symlink-to-a-dir?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/fba4aa592c12413933e5583d5ac0bdfd3ed4eb73", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-symlink-to-a-dir" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-symlink-to-a-dir" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-symlink-to-a-file-3.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-symlink-to-a-file-3.json index 65b7d6f1a..58d669346 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-symlink-to-a-file-3.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetFileContentWithSymlink/__files/repos_hub4j-test-org_ghcontentintegrationtest_contents_ghcontent-ro_a-symlink-to-a-file-3.json @@ -3,16 +3,16 @@ "path": "ghcontent-ro/a-symlink-to-a-file", "sha": "dbb84a81d2b1b5eb4077c9b72b7497eb16ed9bf6", "size": 22, - "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-symlink-to-a-file?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-symlink-to-a-file", + "url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-symlink-to-a-file?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-symlink-to-a-file", "git_url": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/dbb84a81d2b1b5eb4077c9b72b7497eb16ed9bf6", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/master/ghcontent-ro/a-symlink-to-a-file", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHContentIntegrationTest/main/ghcontent-ro/a-symlink-to-a-file", "type": "file", "content": "dGhhbmtzIGZvciByZWFkaW5nIG1lCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-symlink-to-a-file?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/contents/ghcontent-ro/a-symlink-to-a-file?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHContentIntegrationTest/git/blobs/dbb84a81d2b1b5eb4077c9b72b7497eb16ed9bf6", - "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/master/ghcontent-ro/a-symlink-to-a-file" + "html": "https://github.com/hub4j-test-org/GHContentIntegrationTest/blob/main/ghcontent-ro/a-symlink-to-a-file" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json index 8d42dbe0e..01b9a9473 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -213,7 +213,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -307,7 +307,7 @@ "forks": 59, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 59, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repositories_40763577-3.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repositories_40763577-3.json index 8d42dbe0e..01b9a9473 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repositories_40763577-3.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repositories_40763577-3.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -213,7 +213,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -307,7 +307,7 @@ "forks": 59, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 59, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repositories_40763577-4.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repositories_40763577-4.json index 8d42dbe0e..01b9a9473 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repositories_40763577-4.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testGetRepository/__files/repositories_40763577-4.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -213,7 +213,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -307,7 +307,7 @@ "forks": 59, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 59, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json index 265585328..68e3d4f42 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -212,7 +212,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -306,7 +306,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_temp-testmimelong-3.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_temp-testmimelong-3.json index ad1b19bfc..30f7a4362 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_temp-testmimelong-3.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_temp-testmimelong-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_temp-testmimelong_contents_mime-longmd-4.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_temp-testmimelong_contents_mime-longmd-4.json index 005148e9e..43c7ec1b0 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_temp-testmimelong_contents_mime-longmd-4.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELong/__files/repos_hub4j-test-org_temp-testmimelong_contents_mime-longmd-4.json @@ -4,15 +4,15 @@ "path": "MIME-Long.md", "sha": "e6a493cf0e30d4fc2d3cc60f690d96fec005a170", "size": 58, - "url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/contents/MIME-Long.md?ref=master", - "html_url": "https://github.com/hub4j-test-org/temp-testMIMELong/blob/master/MIME-Long.md", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/contents/MIME-Long.md?ref=main", + "html_url": "https://github.com/hub4j-test-org/temp-testMIMELong/blob/main/MIME-Long.md", "git_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/git/blobs/e6a493cf0e30d4fc2d3cc60f690d96fec005a170", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/temp-testMIMELong/master/MIME-Long.md", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/temp-testMIMELong/main/MIME-Long.md", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/contents/MIME-Long.md?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/contents/MIME-Long.md?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/git/blobs/e6a493cf0e30d4fc2d3cc60f690d96fec005a170", - "html": "https://github.com/hub4j-test-org/temp-testMIMELong/blob/master/MIME-Long.md" + "html": "https://github.com/hub4j-test-org/temp-testMIMELong/blob/main/MIME-Long.md" } }, "commit": { diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json index 265585328..68e3d4f42 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -212,7 +212,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -306,7 +306,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_temp-testmimelonger-3.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_temp-testmimelonger-3.json index f529161f3..8270552f5 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_temp-testmimelonger-3.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_temp-testmimelonger-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_temp-testmimelonger_contents_mime-longmd-4.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_temp-testmimelonger_contents_mime-longmd-4.json index dda0c20ae..cd8defa4f 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_temp-testmimelonger_contents_mime-longmd-4.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMELonger/__files/repos_hub4j-test-org_temp-testmimelonger_contents_mime-longmd-4.json @@ -4,15 +4,15 @@ "path": "MIME-Long.md", "sha": "44ebc5ca4ed19db1914770286bb94d30acfee5ad", "size": 240, - "url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELonger/contents/MIME-Long.md?ref=master", - "html_url": "https://github.com/hub4j-test-org/temp-testMIMELonger/blob/master/MIME-Long.md", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELonger/contents/MIME-Long.md?ref=main", + "html_url": "https://github.com/hub4j-test-org/temp-testMIMELonger/blob/main/MIME-Long.md", "git_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELonger/git/blobs/44ebc5ca4ed19db1914770286bb94d30acfee5ad", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/temp-testMIMELonger/master/MIME-Long.md", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/temp-testMIMELonger/main/MIME-Long.md", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELonger/contents/MIME-Long.md?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELonger/contents/MIME-Long.md?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELonger/git/blobs/44ebc5ca4ed19db1914770286bb94d30acfee5ad", - "html": "https://github.com/hub4j-test-org/temp-testMIMELonger/blob/master/MIME-Long.md" + "html": "https://github.com/hub4j-test-org/temp-testMIMELonger/blob/main/MIME-Long.md" } }, "commit": { diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json index 265585328..68e3d4f42 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_ghcontentintegrationtest-2.json @@ -90,7 +90,7 @@ "forks": 41, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -212,7 +212,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 14779458, @@ -306,7 +306,7 @@ "forks": 60, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "network_count": 60, "subscribers_count": 1 diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_temp-testmimesmall-3.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_temp-testmimesmall-3.json index 7d88461b0..c41bd13a7 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_temp-testmimesmall-3.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_temp-testmimesmall-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_temp-testmimesmall_contents_mime-smallmd-4.json b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_temp-testmimesmall_contents_mime-smallmd-4.json index fd5774240..fb0b58a5b 100644 --- a/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_temp-testmimesmall_contents_mime-smallmd-4.json +++ b/src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/testMIMESmall/__files/repos_hub4j-test-org_temp-testmimesmall_contents_mime-smallmd-4.json @@ -4,15 +4,15 @@ "path": "MIME-Small.md", "sha": "378ea1c90acccc8371c391c7ad0639b20d6043ec", "size": 57, - "url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/contents/MIME-Small.md?ref=master", - "html_url": "https://github.com/hub4j-test-org/temp-testMIMESmall/blob/master/MIME-Small.md", + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/contents/MIME-Small.md?ref=main", + "html_url": "https://github.com/hub4j-test-org/temp-testMIMESmall/blob/main/MIME-Small.md", "git_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/git/blobs/378ea1c90acccc8371c391c7ad0639b20d6043ec", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/temp-testMIMESmall/master/MIME-Small.md", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/temp-testMIMESmall/main/MIME-Small.md", "type": "file", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/contents/MIME-Small.md?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/contents/MIME-Small.md?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/git/blobs/378ea1c90acccc8371c391c7ad0639b20d6043ec", - "html": "https://github.com/hub4j-test-org/temp-testMIMESmall/blob/master/MIME-Small.md" + "html": "https://github.com/hub4j-test-org/temp-testMIMESmall/blob/main/MIME-Small.md" } }, "commit": { diff --git a/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdObjectPayload/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdObjectPayload/__files/repos_hub4j-test-org_github-api-2.json index edb9ea2cb..02c3a0030 100644 --- a/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdObjectPayload/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdObjectPayload/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 433, "open_issues": 66, "watchers": 568, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 433, "open_issues": 66, "watchers": 568, - "default_branch": "master" + "default_branch": "main" }, "network_count": 433, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdObjectPayload/__files/repos_hub4j-test-org_github-api_deployments_178653229-3.json b/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdObjectPayload/__files/repos_hub4j-test-org_github-api_deployments_178653229-3.json index ea8585e62..56975b6cc 100644 --- a/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdObjectPayload/__files/repos_hub4j-test-org_github-api_deployments_178653229-3.json +++ b/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdObjectPayload/__files/repos_hub4j-test-org_github-api_deployments_178653229-3.json @@ -3,7 +3,7 @@ "id": 178653229, "node_id": "MDEwOkRlcGxveW1lbnQxNzg2NTMyMjk=", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", - "ref": "master", + "ref": "main", "task": "deploy", "payload": { "custom1": 1, diff --git a/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdStringPayload/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdStringPayload/__files/repos_hub4j-test-org_github-api-2.json index edb9ea2cb..02c3a0030 100644 --- a/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdStringPayload/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdStringPayload/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 433, "open_issues": 66, "watchers": 568, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 433, "open_issues": 66, "watchers": 568, - "default_branch": "master" + "default_branch": "main" }, "network_count": 433, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdStringPayload/__files/repos_hub4j-test-org_github-api_deployments_178653229-3.json b/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdStringPayload/__files/repos_hub4j-test-org_github-api_deployments_178653229-3.json index dede6d12e..8a5f1a808 100644 --- a/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdStringPayload/__files/repos_hub4j-test-org_github-api_deployments_178653229-3.json +++ b/src/test/resources/org/kohsuke/github/GHDeploymentTest/wiremock/testGetDeploymentByIdStringPayload/__files/repos_hub4j-test-org_github-api_deployments_178653229-3.json @@ -3,7 +3,7 @@ "id": 178653229, "node_id": "MDEwOkRlcGxveW1lbnQxNzg2NTMyMjk=", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", - "ref": "master", + "ref": "main", "task": "deploy", "payload": "custom", "original_environment": "production", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/check-run.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/check-run.json index 849ef4808..26dc39702 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/check-run.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/check-run.json @@ -45,7 +45,7 @@ } }, "base": { - "ref": "master", + "ref": "main", "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", "repo": { "id": 186853002, @@ -181,7 +181,7 @@ } }, "base": { - "ref": "master", + "ref": "main", "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", "repo": { "id": 186853002, @@ -284,7 +284,7 @@ "forks": 1, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "Codertocat", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/check-suite.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/check-suite.json index 4f3dfdcfe..445b607be 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/check-suite.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/check-suite.json @@ -25,7 +25,7 @@ } }, "base": { - "ref": "master", + "ref": "main", "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", "repo": { "id": 186853002, @@ -200,7 +200,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "Codertocat", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/commit_comment.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/commit_comment.json index 4afa1f39d..71924372d 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/commit_comment.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/commit_comment.json @@ -116,7 +116,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/create.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/create.json index 2d48b54f0..ae3324030 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/create.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/create.json @@ -1,7 +1,7 @@ { "ref": "0.0.1", "ref_type": "tag", - "master_branch": "master", + "master_branch": "main", "description": "", "pusher_type": "user", "repository": { @@ -89,7 +89,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/delete.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/delete.json index f8dfc8734..868059ab4 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/delete.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/delete.json @@ -87,7 +87,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/deployment.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/deployment.json index 5d8c5bbe9..63afa9a5b 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/deployment.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/deployment.json @@ -3,7 +3,7 @@ "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692", "id": 710692, "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", - "ref": "master", + "ref": "main", "task": "deploy", "payload": {}, "environment": "production", @@ -117,7 +117,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/deployment_status.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/deployment_status.json index 904ffd88a..c8f7fb621 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/deployment_status.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/deployment_status.json @@ -33,7 +33,7 @@ "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692", "id": 710692, "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", - "ref": "master", + "ref": "main", "task": "deploy", "payload": {}, "environment": "production", @@ -147,7 +147,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/fork.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/fork.json index 36a2a4324..b2f8de413 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/fork.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/fork.json @@ -84,7 +84,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "public": true }, "repository": { @@ -172,7 +172,7 @@ "forks": 1, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterandthehackers", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/gollum.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/gollum.json index 441311830..d884b986d 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/gollum.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/gollum.json @@ -94,7 +94,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "jasonrudolph", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/issue_comment.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/issue_comment.json index 758eb2f38..51ff7cbac 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/issue_comment.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/issue_comment.json @@ -158,7 +158,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/issues.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/issues.json index d3fe4b8c3..f04776181 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/issues.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/issues.json @@ -132,7 +132,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json index 807d8c43f..2d8c6eae3 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json @@ -91,7 +91,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "organization": { "login": "baxterandthehackers", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/member.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/member.json index bbb816e73..0bbea5406 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/member.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/member.json @@ -104,7 +104,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json index af2468c79..be5c08faa 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json @@ -121,7 +121,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "organization": { "login": "baxterandthehackers", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/page_build.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/page_build.json index 57714f94f..237459878 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/page_build.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/page_build.json @@ -115,7 +115,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/public.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/public.json index a3e0f24cd..cbac340ed 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/public.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/public.json @@ -84,7 +84,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request.json index 4eaabe17f..5392589c6 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request.json @@ -31,7 +31,7 @@ "type": "User", "site_admin": false }, - "body": "This is a pretty simple change that we need to pull into master.", + "body": "This is a pretty simple change that we need to pull into main.", "created_at": "2015-05-05T23:40:27Z", "updated_at": "2015-05-05T23:40:27Z", "closed_at": null, @@ -152,12 +152,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "baxterthehacker:master", - "ref": "master", + "label": "baxterthehacker:main", + "ref": "main", "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", "user": { "login": "baxterthehacker", @@ -263,7 +263,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -388,7 +388,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request_review.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request_review.json index 0534006d9..718d6b9be 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request_review.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request_review.json @@ -190,12 +190,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "baxterthehacker:master", - "ref": "master", + "label": "baxterthehacker:main", + "ref": "main", "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", "user": { "login": "baxterthehacker", @@ -302,7 +302,7 @@ "forks": 2, "open_issues": 5, "watchers": 2, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -418,7 +418,7 @@ "forks": 2, "open_issues": 5, "watchers": 2, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request_review_comment.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request_review_comment.json index 993497167..1e623455d 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request_review_comment.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/pull_request_review_comment.json @@ -75,7 +75,7 @@ "type": "User", "site_admin": false }, - "body": "This is a pretty simple change that we need to pull into master.", + "body": "This is a pretty simple change that we need to pull into main.", "created_at": "2015-05-05T23:40:27Z", "updated_at": "2015-05-05T23:40:27Z", "closed_at": null, @@ -196,12 +196,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "baxterthehacker:master", - "ref": "master", + "label": "baxterthehacker:main", + "ref": "main", "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", "user": { "login": "baxterthehacker", @@ -307,7 +307,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -422,7 +422,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/push.fork.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/push.fork.json index e6ceee11a..76f567306 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/push.fork.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/push.fork.json @@ -102,9 +102,9 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "stargazers": 0, - "master_branch": "master", + "master_branch": "main", "organization": "hub4j-test-org" }, "pusher": { diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/push.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/push.json index 6abcf9f26..e4425295b 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/push.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/push.json @@ -125,9 +125,9 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "stargazers": 0, - "master_branch": "master" + "master_branch": "main" }, "pusher": { "name": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/release.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/release.json index 3e4c536f9..1d32841d1 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/release.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/release.json @@ -7,7 +7,7 @@ "html_url": "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1", "id": 1261438, "tag_name": "0.0.1", - "target_commitish": "master", + "target_commitish": "main", "name": null, "draft": false, "author": { @@ -122,7 +122,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/repository.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/repository.json index 1488482c7..d76ab783b 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/repository.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/repository.json @@ -85,7 +85,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "organization": { "login": "baxterandthehackers", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/status.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/status.json index 058a40624..432910c69 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/status.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/status.json @@ -72,7 +72,7 @@ }, "branches": [ { - "name": "master", + "name": "main", "commit": { "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b" @@ -180,7 +180,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/status2.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/status2.json index bb02e0fc2..004bca4f7 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/status2.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/status2.json @@ -72,7 +72,7 @@ }, "branches": [ { - "name": "master", + "name": "main", "commit": { "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b" @@ -180,7 +180,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/team_add.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/team_add.json index f5c84da34..e4dffc045 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/team_add.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/team_add.json @@ -94,7 +94,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "organization": { "login": "baxterandthehackers", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/watch.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/watch.json index e71cd76b2..61ff7ad63 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/watch.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/watch.json @@ -85,7 +85,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" }, "sender": { "login": "baxterthehacker", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/checkRunEvent/__files/repos_codertocat_hello-world_pulls_2-3.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/checkRunEvent/__files/repos_codertocat_hello-world_pulls_2-3.json index c2f9a50f4..5b075cee1 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/checkRunEvent/__files/repos_codertocat_hello-world_pulls_2-3.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/checkRunEvent/__files/repos_codertocat_hello-world_pulls_2-3.json @@ -30,7 +30,7 @@ "type": "User", "site_admin": false }, - "body": "This is a pretty simple change that we need to pull into master.", + "body": "This is a pretty simple change that we need to pull into main.", "created_at": "2019-05-15T15:20:33Z", "updated_at": "2020-07-11T10:41:23Z", "closed_at": "2019-05-15T15:21:18Z", @@ -164,12 +164,12 @@ "forks": 2, "open_issues": 1, "watchers": 4, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "Codertocat:master", - "ref": "master", + "label": "Codertocat:main", + "ref": "main", "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", "user": { "login": "Codertocat", @@ -283,7 +283,7 @@ "forks": 2, "open_issues": 1, "watchers": 4, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/checkSuiteEvent/__files/repos_codertocat_hello-world_pulls_2-3.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/checkSuiteEvent/__files/repos_codertocat_hello-world_pulls_2-3.json index c2f9a50f4..5b075cee1 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/checkSuiteEvent/__files/repos_codertocat_hello-world_pulls_2-3.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/checkSuiteEvent/__files/repos_codertocat_hello-world_pulls_2-3.json @@ -30,7 +30,7 @@ "type": "User", "site_admin": false }, - "body": "This is a pretty simple change that we need to pull into master.", + "body": "This is a pretty simple change that we need to pull into main.", "created_at": "2019-05-15T15:20:33Z", "updated_at": "2020-07-11T10:41:23Z", "closed_at": "2019-05-15T15:21:18Z", @@ -164,12 +164,12 @@ "forks": 2, "open_issues": 1, "watchers": 4, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "Codertocat:master", - "ref": "master", + "label": "Codertocat:main", + "ref": "main", "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", "user": { "login": "Codertocat", @@ -283,7 +283,7 @@ "forks": 2, "open_issues": 1, "watchers": 4, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j-test-org_github-api-2.json index 6c5c7c670..b3ae4b16b 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j-test-org_github-api-2.json @@ -98,7 +98,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -227,7 +227,7 @@ "forks": 478, "open_issues": 67, "watchers": 655, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -327,7 +327,7 @@ "forks": 478, "open_issues": 67, "watchers": 655, - "default_branch": "master" + "default_branch": "main" }, "network_count": 478, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j_github-api_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j_github-api_git_refs_heads_main-3.json similarity index 87% rename from src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j_github-api_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j_github-api_git_refs_heads_main-3.json index aa53adf4d..f76d7b49b 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j_github-api_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j_github-api_git_refs_heads_main-3.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmNjE3MjEwOnJlZnMvaGVhZHMvbWFzdGVy", - "url": "https://api.github.com/repos/hub4j/github-api/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j/github-api/git/refs/heads/main", "object": { "sha": "ba12efea9d8604cad5c174620628aceb1fe224fb", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j_github-api_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j_github-api_git_refs_heads_main-3.json similarity index 89% rename from src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j_github-api_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j_github-api_git_refs_heads_main-3.json index 28e044682..23c98adaf 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j_github-api_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j_github-api_git_refs_heads_main-3.json @@ -1,8 +1,8 @@ { "id": "79569c1e-168b-4816-930b-1ac370e164b9", - "name": "repos_hub4j_github-api_git_refs_heads_master", + "name": "repos_hub4j_github-api_git_refs_heads_main", "request": { - "url": "/repos/hub4j/github-api/git/refs/heads/master", + "url": "/repos/hub4j/github-api/git/refs/heads/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j_github-api_git_refs_heads_master-3.json", + "bodyFileName": "repos_hub4j_github-api_git_refs_heads_main-3.json", "headers": { "Date": "Thu, 21 May 2020 01:53:46 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHIssueEventAttributeTest/wiremock/testEventSpecificAttributes/__files/repos_chids_project-milestone-test-2.json b/src/test/resources/org/kohsuke/github/GHIssueEventAttributeTest/wiremock/testEventSpecificAttributes/__files/repos_chids_project-milestone-test-2.json index d67a7ea6a..e1b4a4b6d 100644 --- a/src/test/resources/org/kohsuke/github/GHIssueEventAttributeTest/wiremock/testEventSpecificAttributes/__files/repos_chids_project-milestone-test-2.json +++ b/src/test/resources/org/kohsuke/github/GHIssueEventAttributeTest/wiremock/testEventSpecificAttributes/__files/repos_chids_project-milestone-test-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHIssueEventTest/wiremock/testEventsForSingleIssue/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/GHIssueEventTest/wiremock/testEventsForSingleIssue/__files/repos_hub4j-test-org_github-api-7.json index ee20d3e61..c1bc12872 100644 --- a/src/test/resources/org/kohsuke/github/GHIssueEventTest/wiremock/testEventsForSingleIssue/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/GHIssueEventTest/wiremock/testEventsForSingleIssue/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 430, "open_issues": 82, "watchers": 562, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 430, "open_issues": 82, "watchers": 562, - "default_branch": "master" + "default_branch": "main" }, "network_count": 430, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHIssueEventTest/wiremock/testRepositoryEvents/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHIssueEventTest/wiremock/testRepositoryEvents/__files/repos_hub4j-test-org_github-api-2.json index ee20d3e61..c1bc12872 100644 --- a/src/test/resources/org/kohsuke/github/GHIssueEventTest/wiremock/testRepositoryEvents/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHIssueEventTest/wiremock/testRepositoryEvents/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 430, "open_issues": 82, "watchers": 562, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 430, "open_issues": 82, "watchers": 562, - "default_branch": "master" + "default_branch": "main" }, "network_count": 430, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryFullLicense/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryFullLicense/__files/repos_hub4j_github-api-2.json index d4812f52d..f4a05df6f 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryFullLicense/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryFullLicense/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 428, "open_issues": 86, "watchers": 557, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryFullLicense/__files/repos_hub4j_github-api_license-3.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryFullLicense/__files/repos_hub4j_github-api_license-3.json index 4057a4688..b19201d40 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryFullLicense/__files/repos_hub4j_github-api_license-3.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryFullLicense/__files/repos_hub4j_github-api_license-3.json @@ -3,17 +3,17 @@ "path": "LICENSE.txt", "sha": "a12243f2fc5b8c2ba47dd677d0b0c7583539584d", "size": 1104, - "url": "https://api.github.com/repos/hub4j/github-api/contents/LICENSE.txt?ref=master", - "html_url": "https://github.com/hub4j/github-api/blob/master/LICENSE.txt", + "url": "https://api.github.com/repos/hub4j/github-api/contents/LICENSE.txt?ref=main", + "html_url": "https://github.com/hub4j/github-api/blob/main/LICENSE.txt", "git_url": "https://api.github.com/repos/hub4j/github-api/git/blobs/a12243f2fc5b8c2ba47dd677d0b0c7583539584d", - "download_url": "https://raw.githubusercontent.com/hub4j/github-api/master/LICENSE.txt", + "download_url": "https://raw.githubusercontent.com/hub4j/github-api/main/LICENSE.txt", "type": "file", "content": "IENvcHlyaWdodCAoYykgMjAxMS0gS29oc3VrZSBLYXdhZ3VjaGkgYW5kIG90\naGVyIGNvbnRyaWJ1dG9ycwoKIFBlcm1pc3Npb24gaXMgaGVyZWJ5IGdyYW50\nZWQsIGZyZWUgb2YgY2hhcmdlLCB0byBhbnkgcGVyc29uCiBvYnRhaW5pbmcg\nYSBjb3B5IG9mIHRoaXMgc29mdHdhcmUgYW5kIGFzc29jaWF0ZWQgZG9jdW1l\nbnRhdGlvbgogZmlsZXMgKHRoZSAiU29mdHdhcmUiKSwgdG8gZGVhbCBpbiB0\naGUgU29mdHdhcmUgd2l0aG91dAogcmVzdHJpY3Rpb24sIGluY2x1ZGluZyB3\naXRob3V0IGxpbWl0YXRpb24gdGhlIHJpZ2h0cyB0byB1c2UsCiBjb3B5LCBt\nb2RpZnksIG1lcmdlLCBwdWJsaXNoLCBkaXN0cmlidXRlLCBzdWJsaWNlbnNl\nLCBhbmQvb3Igc2VsbAogY29waWVzIG9mIHRoZSBTb2Z0d2FyZSwgYW5kIHRv\nIHBlcm1pdCBwZXJzb25zIHRvIHdob20gdGhlCiBTb2Z0d2FyZSBpcyBmdXJu\naXNoZWQgdG8gZG8gc28sIHN1YmplY3QgdG8gdGhlIGZvbGxvd2luZwogY29u\nZGl0aW9uczoKCiBUaGUgYWJvdmUgY29weXJpZ2h0IG5vdGljZSBhbmQgdGhp\ncyBwZXJtaXNzaW9uIG5vdGljZSBzaGFsbCBiZQogaW5jbHVkZWQgaW4gYWxs\nIGNvcGllcyBvciBzdWJzdGFudGlhbCBwb3J0aW9ucyBvZiB0aGUgU29mdHdh\ncmUuCgogVEhFIFNPRlRXQVJFIElTIFBST1ZJREVEICJBUyBJUyIsIFdJVEhP\nVVQgV0FSUkFOVFkgT0YgQU5ZIEtJTkQsCiBFWFBSRVNTIE9SIElNUExJRUQs\nIElOQ0xVRElORyBCVVQgTk9UIExJTUlURUQgVE8gVEhFIFdBUlJBTlRJRVMK\nIE9GIE1FUkNIQU5UQUJJTElUWSwgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFS\nIFBVUlBPU0UgQU5ECiBOT05JTkZSSU5HRU1FTlQuIElOIE5PIEVWRU5UIFNI\nQUxMIFRIRSBBVVRIT1JTIE9SIENPUFlSSUdIVAogSE9MREVSUyBCRSBMSUFC\nTEUgRk9SIEFOWSBDTEFJTSwgREFNQUdFUyBPUiBPVEhFUiBMSUFCSUxJVFks\nCiBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUiBP\nVEhFUldJU0UsIEFSSVNJTkcKIEZST00sIE9VVCBPRiBPUiBJTiBDT05ORUNU\nSU9OIFdJVEggVEhFIFNPRlRXQVJFIE9SIFRIRSBVU0UgT1IKIE9USEVSIERF\nQUxJTkdTIElOIFRIRSBTT0ZUV0FSRS4K\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j/github-api/contents/LICENSE.txt?ref=master", + "self": "https://api.github.com/repos/hub4j/github-api/contents/LICENSE.txt?ref=main", "git": "https://api.github.com/repos/hub4j/github-api/git/blobs/a12243f2fc5b8c2ba47dd677d0b0c7583539584d", - "html": "https://github.com/hub4j/github-api/blob/master/LICENSE.txt" + "html": "https://github.com/hub4j/github-api/blob/main/LICENSE.txt" }, "license": { "key": "mit", diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicense/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicense/__files/repos_hub4j_github-api-2.json index d4812f52d..f4a05df6f 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicense/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicense/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 428, "open_issues": 86, "watchers": 557, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicense/__files/repos_hub4j_github-api_license-3.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicense/__files/repos_hub4j_github-api_license-3.json index 4057a4688..b19201d40 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicense/__files/repos_hub4j_github-api_license-3.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicense/__files/repos_hub4j_github-api_license-3.json @@ -3,17 +3,17 @@ "path": "LICENSE.txt", "sha": "a12243f2fc5b8c2ba47dd677d0b0c7583539584d", "size": 1104, - "url": "https://api.github.com/repos/hub4j/github-api/contents/LICENSE.txt?ref=master", - "html_url": "https://github.com/hub4j/github-api/blob/master/LICENSE.txt", + "url": "https://api.github.com/repos/hub4j/github-api/contents/LICENSE.txt?ref=main", + "html_url": "https://github.com/hub4j/github-api/blob/main/LICENSE.txt", "git_url": "https://api.github.com/repos/hub4j/github-api/git/blobs/a12243f2fc5b8c2ba47dd677d0b0c7583539584d", - "download_url": "https://raw.githubusercontent.com/hub4j/github-api/master/LICENSE.txt", + "download_url": "https://raw.githubusercontent.com/hub4j/github-api/main/LICENSE.txt", "type": "file", "content": "IENvcHlyaWdodCAoYykgMjAxMS0gS29oc3VrZSBLYXdhZ3VjaGkgYW5kIG90\naGVyIGNvbnRyaWJ1dG9ycwoKIFBlcm1pc3Npb24gaXMgaGVyZWJ5IGdyYW50\nZWQsIGZyZWUgb2YgY2hhcmdlLCB0byBhbnkgcGVyc29uCiBvYnRhaW5pbmcg\nYSBjb3B5IG9mIHRoaXMgc29mdHdhcmUgYW5kIGFzc29jaWF0ZWQgZG9jdW1l\nbnRhdGlvbgogZmlsZXMgKHRoZSAiU29mdHdhcmUiKSwgdG8gZGVhbCBpbiB0\naGUgU29mdHdhcmUgd2l0aG91dAogcmVzdHJpY3Rpb24sIGluY2x1ZGluZyB3\naXRob3V0IGxpbWl0YXRpb24gdGhlIHJpZ2h0cyB0byB1c2UsCiBjb3B5LCBt\nb2RpZnksIG1lcmdlLCBwdWJsaXNoLCBkaXN0cmlidXRlLCBzdWJsaWNlbnNl\nLCBhbmQvb3Igc2VsbAogY29waWVzIG9mIHRoZSBTb2Z0d2FyZSwgYW5kIHRv\nIHBlcm1pdCBwZXJzb25zIHRvIHdob20gdGhlCiBTb2Z0d2FyZSBpcyBmdXJu\naXNoZWQgdG8gZG8gc28sIHN1YmplY3QgdG8gdGhlIGZvbGxvd2luZwogY29u\nZGl0aW9uczoKCiBUaGUgYWJvdmUgY29weXJpZ2h0IG5vdGljZSBhbmQgdGhp\ncyBwZXJtaXNzaW9uIG5vdGljZSBzaGFsbCBiZQogaW5jbHVkZWQgaW4gYWxs\nIGNvcGllcyBvciBzdWJzdGFudGlhbCBwb3J0aW9ucyBvZiB0aGUgU29mdHdh\ncmUuCgogVEhFIFNPRlRXQVJFIElTIFBST1ZJREVEICJBUyBJUyIsIFdJVEhP\nVVQgV0FSUkFOVFkgT0YgQU5ZIEtJTkQsCiBFWFBSRVNTIE9SIElNUExJRUQs\nIElOQ0xVRElORyBCVVQgTk9UIExJTUlURUQgVE8gVEhFIFdBUlJBTlRJRVMK\nIE9GIE1FUkNIQU5UQUJJTElUWSwgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFS\nIFBVUlBPU0UgQU5ECiBOT05JTkZSSU5HRU1FTlQuIElOIE5PIEVWRU5UIFNI\nQUxMIFRIRSBBVVRIT1JTIE9SIENPUFlSSUdIVAogSE9MREVSUyBCRSBMSUFC\nTEUgRk9SIEFOWSBDTEFJTSwgREFNQUdFUyBPUiBPVEhFUiBMSUFCSUxJVFks\nCiBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUiBP\nVEhFUldJU0UsIEFSSVNJTkcKIEZST00sIE9VVCBPRiBPUiBJTiBDT05ORUNU\nSU9OIFdJVEggVEhFIFNPRlRXQVJFIE9SIFRIRSBVU0UgT1IKIE9USEVSIERF\nQUxJTkdTIElOIFRIRSBTT0ZUV0FSRS4K\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j/github-api/contents/LICENSE.txt?ref=master", + "self": "https://api.github.com/repos/hub4j/github-api/contents/LICENSE.txt?ref=main", "git": "https://api.github.com/repos/hub4j/github-api/git/blobs/a12243f2fc5b8c2ba47dd677d0b0c7583539584d", - "html": "https://github.com/hub4j/github-api/blob/master/LICENSE.txt" + "html": "https://github.com/hub4j/github-api/blob/main/LICENSE.txt" }, "license": { "key": "mit", diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseAtom/__files/repos_atom_atom-2.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseAtom/__files/repos_atom_atom-2.json index ff2bee6b9..27232d8e3 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseAtom/__files/repos_atom_atom-2.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseAtom/__files/repos_atom_atom-2.json @@ -96,7 +96,7 @@ "forks": 12930, "open_issues": 587, "watchers": 50039, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseAtom/__files/repos_atom_atom_license-3.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseAtom/__files/repos_atom_atom_license-3.json index 37d64c228..31adb9cf6 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseAtom/__files/repos_atom_atom_license-3.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseAtom/__files/repos_atom_atom_license-3.json @@ -3,17 +3,17 @@ "path": "LICENSE.md", "sha": "ef355c2dd7ccd13cf3aba8e20522ca8f578d481f", "size": 1060, - "url": "https://api.github.com/repos/atom/atom/contents/LICENSE.md?ref=master", - "html_url": "https://github.com/atom/atom/blob/master/LICENSE.md", + "url": "https://api.github.com/repos/atom/atom/contents/LICENSE.md?ref=main", + "html_url": "https://github.com/atom/atom/blob/main/LICENSE.md", "git_url": "https://api.github.com/repos/atom/atom/git/blobs/ef355c2dd7ccd13cf3aba8e20522ca8f578d481f", - "download_url": "https://raw.githubusercontent.com/atom/atom/master/LICENSE.md", + "download_url": "https://raw.githubusercontent.com/atom/atom/main/LICENSE.md", "type": "file", "content": "Q29weXJpZ2h0IChjKSAyMDExLTIwMTkgR2l0SHViIEluYy4KClBlcm1pc3Np\nb24gaXMgaGVyZWJ5IGdyYW50ZWQsIGZyZWUgb2YgY2hhcmdlLCB0byBhbnkg\ncGVyc29uIG9idGFpbmluZwphIGNvcHkgb2YgdGhpcyBzb2Z0d2FyZSBhbmQg\nYXNzb2NpYXRlZCBkb2N1bWVudGF0aW9uIGZpbGVzICh0aGUKIlNvZnR3YXJl\nIiksIHRvIGRlYWwgaW4gdGhlIFNvZnR3YXJlIHdpdGhvdXQgcmVzdHJpY3Rp\nb24sIGluY2x1ZGluZwp3aXRob3V0IGxpbWl0YXRpb24gdGhlIHJpZ2h0cyB0\nbyB1c2UsIGNvcHksIG1vZGlmeSwgbWVyZ2UsIHB1Ymxpc2gsCmRpc3RyaWJ1\ndGUsIHN1YmxpY2Vuc2UsIGFuZC9vciBzZWxsIGNvcGllcyBvZiB0aGUgU29m\ndHdhcmUsIGFuZCB0bwpwZXJtaXQgcGVyc29ucyB0byB3aG9tIHRoZSBTb2Z0\nd2FyZSBpcyBmdXJuaXNoZWQgdG8gZG8gc28sIHN1YmplY3QgdG8KdGhlIGZv\nbGxvd2luZyBjb25kaXRpb25zOgoKVGhlIGFib3ZlIGNvcHlyaWdodCBub3Rp\nY2UgYW5kIHRoaXMgcGVybWlzc2lvbiBub3RpY2Ugc2hhbGwgYmUKaW5jbHVk\nZWQgaW4gYWxsIGNvcGllcyBvciBzdWJzdGFudGlhbCBwb3J0aW9ucyBvZiB0\naGUgU29mdHdhcmUuCgpUSEUgU09GVFdBUkUgSVMgUFJPVklERUQgIkFTIElT\nIiwgV0lUSE9VVCBXQVJSQU5UWSBPRiBBTlkgS0lORCwKRVhQUkVTUyBPUiBJ\nTVBMSUVELCBJTkNMVURJTkcgQlVUIE5PVCBMSU1JVEVEIFRPIFRIRSBXQVJS\nQU5USUVTIE9GCk1FUkNIQU5UQUJJTElUWSwgRklUTkVTUyBGT1IgQSBQQVJU\nSUNVTEFSIFBVUlBPU0UgQU5ECk5PTklORlJJTkdFTUVOVC4gSU4gTk8gRVZF\nTlQgU0hBTEwgVEhFIEFVVEhPUlMgT1IgQ09QWVJJR0hUIEhPTERFUlMgQkUK\nTElBQkxFIEZPUiBBTlkgQ0xBSU0sIERBTUFHRVMgT1IgT1RIRVIgTElBQklM\nSVRZLCBXSEVUSEVSIElOIEFOIEFDVElPTgpPRiBDT05UUkFDVCwgVE9SVCBP\nUiBPVEhFUldJU0UsIEFSSVNJTkcgRlJPTSwgT1VUIE9GIE9SIElOIENPTk5F\nQ1RJT04KV0lUSCBUSEUgU09GVFdBUkUgT1IgVEhFIFVTRSBPUiBPVEhFUiBE\nRUFMSU5HUyBJTiBUSEUgU09GVFdBUkUuCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/atom/atom/contents/LICENSE.md?ref=master", + "self": "https://api.github.com/repos/atom/atom/contents/LICENSE.md?ref=main", "git": "https://api.github.com/repos/atom/atom/git/blobs/ef355c2dd7ccd13cf3aba8e20522ca8f578d481f", - "html": "https://github.com/atom/atom/blob/master/LICENSE.md" + "html": "https://github.com/atom/atom/blob/main/LICENSE.md" }, "license": { "key": "mit", diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent/__files/repos_pomes_pomes-2.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent/__files/repos_pomes_pomes-2.json index cfc7decc7..2639b9a8a 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent/__files/repos_pomes_pomes-2.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent/__files/repos_pomes_pomes-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 8, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent/__files/repos_pomes_pomes_license-3.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent/__files/repos_pomes_pomes_license-3.json index 34cefa04e..72335e07e 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent/__files/repos_pomes_pomes_license-3.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent/__files/repos_pomes_pomes_license-3.json @@ -3,17 +3,17 @@ "path": "LICENSE", "sha": "8371492840f9485d7baf719dc2ae3e4cb9e8c03b", "size": 11361, - "url": "https://api.github.com/repos/pomes/pomes/contents/LICENSE?ref=master", - "html_url": "https://github.com/pomes/pomes/blob/master/LICENSE", + "url": "https://api.github.com/repos/pomes/pomes/contents/LICENSE?ref=main", + "html_url": "https://github.com/pomes/pomes/blob/main/LICENSE", "git_url": "https://api.github.com/repos/pomes/pomes/git/blobs/8371492840f9485d7baf719dc2ae3e4cb9e8c03b", - "download_url": "https://raw.githubusercontent.com/pomes/pomes/master/LICENSE", + "download_url": "https://raw.githubusercontent.com/pomes/pomes/main/LICENSE", "type": "file", "content": "CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEFwYWNoZSBMaWNl\nbnNlCiAgICAgICAgICAgICAgICAgICAgICAgICAgIFZlcnNpb24gMi4wLCBK\nYW51YXJ5IDIwMDQKICAgICAgICAgICAgICAgICAgICAgICAgaHR0cDovL3d3\ndy5hcGFjaGUub3JnL2xpY2Vuc2VzLwoKICAgVEVSTVMgQU5EIENPTkRJVElP\nTlMgRk9SIFVTRSwgUkVQUk9EVUNUSU9OLCBBTkQgRElTVFJJQlVUSU9OCgog\nICAxLiBEZWZpbml0aW9ucy4KCiAgICAgICJMaWNlbnNlIiBzaGFsbCBtZWFu\nIHRoZSB0ZXJtcyBhbmQgY29uZGl0aW9ucyBmb3IgdXNlLCByZXByb2R1Y3Rp\nb24sCiAgICAgIGFuZCBkaXN0cmlidXRpb24gYXMgZGVmaW5lZCBieSBTZWN0\naW9ucyAxIHRocm91Z2ggOSBvZiB0aGlzIGRvY3VtZW50LgoKICAgICAgIkxp\nY2Vuc29yIiBzaGFsbCBtZWFuIHRoZSBjb3B5cmlnaHQgb3duZXIgb3IgZW50\naXR5IGF1dGhvcml6ZWQgYnkKICAgICAgdGhlIGNvcHlyaWdodCBvd25lciB0\naGF0IGlzIGdyYW50aW5nIHRoZSBMaWNlbnNlLgoKICAgICAgIkxlZ2FsIEVu\ndGl0eSIgc2hhbGwgbWVhbiB0aGUgdW5pb24gb2YgdGhlIGFjdGluZyBlbnRp\ndHkgYW5kIGFsbAogICAgICBvdGhlciBlbnRpdGllcyB0aGF0IGNvbnRyb2ws\nIGFyZSBjb250cm9sbGVkIGJ5LCBvciBhcmUgdW5kZXIgY29tbW9uCiAgICAg\nIGNvbnRyb2wgd2l0aCB0aGF0IGVudGl0eS4gRm9yIHRoZSBwdXJwb3NlcyBv\nZiB0aGlzIGRlZmluaXRpb24sCiAgICAgICJjb250cm9sIiBtZWFucyAoaSkg\ndGhlIHBvd2VyLCBkaXJlY3Qgb3IgaW5kaXJlY3QsIHRvIGNhdXNlIHRoZQog\nICAgICBkaXJlY3Rpb24gb3IgbWFuYWdlbWVudCBvZiBzdWNoIGVudGl0eSwg\nd2hldGhlciBieSBjb250cmFjdCBvcgogICAgICBvdGhlcndpc2UsIG9yIChp\naSkgb3duZXJzaGlwIG9mIGZpZnR5IHBlcmNlbnQgKDUwJSkgb3IgbW9yZSBv\nZiB0aGUKICAgICAgb3V0c3RhbmRpbmcgc2hhcmVzLCBvciAoaWlpKSBiZW5l\nZmljaWFsIG93bmVyc2hpcCBvZiBzdWNoIGVudGl0eS4KCiAgICAgICJZb3Ui\nIChvciAiWW91ciIpIHNoYWxsIG1lYW4gYW4gaW5kaXZpZHVhbCBvciBMZWdh\nbCBFbnRpdHkKICAgICAgZXhlcmNpc2luZyBwZXJtaXNzaW9ucyBncmFudGVk\nIGJ5IHRoaXMgTGljZW5zZS4KCiAgICAgICJTb3VyY2UiIGZvcm0gc2hhbGwg\nbWVhbiB0aGUgcHJlZmVycmVkIGZvcm0gZm9yIG1ha2luZyBtb2RpZmljYXRp\nb25zLAogICAgICBpbmNsdWRpbmcgYnV0IG5vdCBsaW1pdGVkIHRvIHNvZnR3\nYXJlIHNvdXJjZSBjb2RlLCBkb2N1bWVudGF0aW9uCiAgICAgIHNvdXJjZSwg\nYW5kIGNvbmZpZ3VyYXRpb24gZmlsZXMuCgogICAgICAiT2JqZWN0IiBmb3Jt\nIHNoYWxsIG1lYW4gYW55IGZvcm0gcmVzdWx0aW5nIGZyb20gbWVjaGFuaWNh\nbAogICAgICB0cmFuc2Zvcm1hdGlvbiBvciB0cmFuc2xhdGlvbiBvZiBhIFNv\ndXJjZSBmb3JtLCBpbmNsdWRpbmcgYnV0CiAgICAgIG5vdCBsaW1pdGVkIHRv\nIGNvbXBpbGVkIG9iamVjdCBjb2RlLCBnZW5lcmF0ZWQgZG9jdW1lbnRhdGlv\nbiwKICAgICAgYW5kIGNvbnZlcnNpb25zIHRvIG90aGVyIG1lZGlhIHR5cGVz\nLgoKICAgICAgIldvcmsiIHNoYWxsIG1lYW4gdGhlIHdvcmsgb2YgYXV0aG9y\nc2hpcCwgd2hldGhlciBpbiBTb3VyY2Ugb3IKICAgICAgT2JqZWN0IGZvcm0s\nIG1hZGUgYXZhaWxhYmxlIHVuZGVyIHRoZSBMaWNlbnNlLCBhcyBpbmRpY2F0\nZWQgYnkgYQogICAgICBjb3B5cmlnaHQgbm90aWNlIHRoYXQgaXMgaW5jbHVk\nZWQgaW4gb3IgYXR0YWNoZWQgdG8gdGhlIHdvcmsKICAgICAgKGFuIGV4YW1w\nbGUgaXMgcHJvdmlkZWQgaW4gdGhlIEFwcGVuZGl4IGJlbG93KS4KCiAgICAg\nICJEZXJpdmF0aXZlIFdvcmtzIiBzaGFsbCBtZWFuIGFueSB3b3JrLCB3aGV0\naGVyIGluIFNvdXJjZSBvciBPYmplY3QKICAgICAgZm9ybSwgdGhhdCBpcyBi\nYXNlZCBvbiAob3IgZGVyaXZlZCBmcm9tKSB0aGUgV29yayBhbmQgZm9yIHdo\naWNoIHRoZQogICAgICBlZGl0b3JpYWwgcmV2aXNpb25zLCBhbm5vdGF0aW9u\ncywgZWxhYm9yYXRpb25zLCBvciBvdGhlciBtb2RpZmljYXRpb25zCiAgICAg\nIHJlcHJlc2VudCwgYXMgYSB3aG9sZSwgYW4gb3JpZ2luYWwgd29yayBvZiBh\ndXRob3JzaGlwLiBGb3IgdGhlIHB1cnBvc2VzCiAgICAgIG9mIHRoaXMgTGlj\nZW5zZSwgRGVyaXZhdGl2ZSBXb3JrcyBzaGFsbCBub3QgaW5jbHVkZSB3b3Jr\ncyB0aGF0IHJlbWFpbgogICAgICBzZXBhcmFibGUgZnJvbSwgb3IgbWVyZWx5\nIGxpbmsgKG9yIGJpbmQgYnkgdmFsdWUpIHRvIHRoZSBpbnRlcmZhY2VzIG9m\nLAogICAgICB0aGUgV29yayBhbmQgRGVyaXZhdGl2ZSBXb3JrcyB0aGVyZW9m\nLgoKICAgICAgIkNvbnRyaWJ1dGlvbiIgc2hhbGwgbWVhbiBhbnkgd29yayBv\nZiBhdXRob3JzaGlwLCBpbmNsdWRpbmcKICAgICAgdGhlIG9yaWdpbmFsIHZl\ncnNpb24gb2YgdGhlIFdvcmsgYW5kIGFueSBtb2RpZmljYXRpb25zIG9yIGFk\nZGl0aW9ucwogICAgICB0byB0aGF0IFdvcmsgb3IgRGVyaXZhdGl2ZSBXb3Jr\ncyB0aGVyZW9mLCB0aGF0IGlzIGludGVudGlvbmFsbHkKICAgICAgc3VibWl0\ndGVkIHRvIExpY2Vuc29yIGZvciBpbmNsdXNpb24gaW4gdGhlIFdvcmsgYnkg\ndGhlIGNvcHlyaWdodCBvd25lcgogICAgICBvciBieSBhbiBpbmRpdmlkdWFs\nIG9yIExlZ2FsIEVudGl0eSBhdXRob3JpemVkIHRvIHN1Ym1pdCBvbiBiZWhh\nbGYgb2YKICAgICAgdGhlIGNvcHlyaWdodCBvd25lci4gRm9yIHRoZSBwdXJw\nb3NlcyBvZiB0aGlzIGRlZmluaXRpb24sICJzdWJtaXR0ZWQiCiAgICAgIG1l\nYW5zIGFueSBmb3JtIG9mIGVsZWN0cm9uaWMsIHZlcmJhbCwgb3Igd3JpdHRl\nbiBjb21tdW5pY2F0aW9uIHNlbnQKICAgICAgdG8gdGhlIExpY2Vuc29yIG9y\nIGl0cyByZXByZXNlbnRhdGl2ZXMsIGluY2x1ZGluZyBidXQgbm90IGxpbWl0\nZWQgdG8KICAgICAgY29tbXVuaWNhdGlvbiBvbiBlbGVjdHJvbmljIG1haWxp\nbmcgbGlzdHMsIHNvdXJjZSBjb2RlIGNvbnRyb2wgc3lzdGVtcywKICAgICAg\nYW5kIGlzc3VlIHRyYWNraW5nIHN5c3RlbXMgdGhhdCBhcmUgbWFuYWdlZCBi\neSwgb3Igb24gYmVoYWxmIG9mLCB0aGUKICAgICAgTGljZW5zb3IgZm9yIHRo\nZSBwdXJwb3NlIG9mIGRpc2N1c3NpbmcgYW5kIGltcHJvdmluZyB0aGUgV29y\naywgYnV0CiAgICAgIGV4Y2x1ZGluZyBjb21tdW5pY2F0aW9uIHRoYXQgaXMg\nY29uc3BpY3VvdXNseSBtYXJrZWQgb3Igb3RoZXJ3aXNlCiAgICAgIGRlc2ln\nbmF0ZWQgaW4gd3JpdGluZyBieSB0aGUgY29weXJpZ2h0IG93bmVyIGFzICJO\nb3QgYSBDb250cmlidXRpb24uIgoKICAgICAgIkNvbnRyaWJ1dG9yIiBzaGFs\nbCBtZWFuIExpY2Vuc29yIGFuZCBhbnkgaW5kaXZpZHVhbCBvciBMZWdhbCBF\nbnRpdHkKICAgICAgb24gYmVoYWxmIG9mIHdob20gYSBDb250cmlidXRpb24g\naGFzIGJlZW4gcmVjZWl2ZWQgYnkgTGljZW5zb3IgYW5kCiAgICAgIHN1YnNl\ncXVlbnRseSBpbmNvcnBvcmF0ZWQgd2l0aGluIHRoZSBXb3JrLgoKICAgMi4g\nR3JhbnQgb2YgQ29weXJpZ2h0IExpY2Vuc2UuIFN1YmplY3QgdG8gdGhlIHRl\ncm1zIGFuZCBjb25kaXRpb25zIG9mCiAgICAgIHRoaXMgTGljZW5zZSwgZWFj\naCBDb250cmlidXRvciBoZXJlYnkgZ3JhbnRzIHRvIFlvdSBhIHBlcnBldHVh\nbCwKICAgICAgd29ybGR3aWRlLCBub24tZXhjbHVzaXZlLCBuby1jaGFyZ2Us\nIHJveWFsdHktZnJlZSwgaXJyZXZvY2FibGUKICAgICAgY29weXJpZ2h0IGxp\nY2Vuc2UgdG8gcmVwcm9kdWNlLCBwcmVwYXJlIERlcml2YXRpdmUgV29ya3Mg\nb2YsCiAgICAgIHB1YmxpY2x5IGRpc3BsYXksIHB1YmxpY2x5IHBlcmZvcm0s\nIHN1YmxpY2Vuc2UsIGFuZCBkaXN0cmlidXRlIHRoZQogICAgICBXb3JrIGFu\nZCBzdWNoIERlcml2YXRpdmUgV29ya3MgaW4gU291cmNlIG9yIE9iamVjdCBm\nb3JtLgoKICAgMy4gR3JhbnQgb2YgUGF0ZW50IExpY2Vuc2UuIFN1YmplY3Qg\ndG8gdGhlIHRlcm1zIGFuZCBjb25kaXRpb25zIG9mCiAgICAgIHRoaXMgTGlj\nZW5zZSwgZWFjaCBDb250cmlidXRvciBoZXJlYnkgZ3JhbnRzIHRvIFlvdSBh\nIHBlcnBldHVhbCwKICAgICAgd29ybGR3aWRlLCBub24tZXhjbHVzaXZlLCBu\nby1jaGFyZ2UsIHJveWFsdHktZnJlZSwgaXJyZXZvY2FibGUKICAgICAgKGV4\nY2VwdCBhcyBzdGF0ZWQgaW4gdGhpcyBzZWN0aW9uKSBwYXRlbnQgbGljZW5z\nZSB0byBtYWtlLCBoYXZlIG1hZGUsCiAgICAgIHVzZSwgb2ZmZXIgdG8gc2Vs\nbCwgc2VsbCwgaW1wb3J0LCBhbmQgb3RoZXJ3aXNlIHRyYW5zZmVyIHRoZSBX\nb3JrLAogICAgICB3aGVyZSBzdWNoIGxpY2Vuc2UgYXBwbGllcyBvbmx5IHRv\nIHRob3NlIHBhdGVudCBjbGFpbXMgbGljZW5zYWJsZQogICAgICBieSBzdWNo\nIENvbnRyaWJ1dG9yIHRoYXQgYXJlIG5lY2Vzc2FyaWx5IGluZnJpbmdlZCBi\neSB0aGVpcgogICAgICBDb250cmlidXRpb24ocykgYWxvbmUgb3IgYnkgY29t\nYmluYXRpb24gb2YgdGhlaXIgQ29udHJpYnV0aW9uKHMpCiAgICAgIHdpdGgg\ndGhlIFdvcmsgdG8gd2hpY2ggc3VjaCBDb250cmlidXRpb24ocykgd2FzIHN1\nYm1pdHRlZC4gSWYgWW91CiAgICAgIGluc3RpdHV0ZSBwYXRlbnQgbGl0aWdh\ndGlvbiBhZ2FpbnN0IGFueSBlbnRpdHkgKGluY2x1ZGluZyBhCiAgICAgIGNy\nb3NzLWNsYWltIG9yIGNvdW50ZXJjbGFpbSBpbiBhIGxhd3N1aXQpIGFsbGVn\naW5nIHRoYXQgdGhlIFdvcmsKICAgICAgb3IgYSBDb250cmlidXRpb24gaW5j\nb3Jwb3JhdGVkIHdpdGhpbiB0aGUgV29yayBjb25zdGl0dXRlcyBkaXJlY3QK\nICAgICAgb3IgY29udHJpYnV0b3J5IHBhdGVudCBpbmZyaW5nZW1lbnQsIHRo\nZW4gYW55IHBhdGVudCBsaWNlbnNlcwogICAgICBncmFudGVkIHRvIFlvdSB1\nbmRlciB0aGlzIExpY2Vuc2UgZm9yIHRoYXQgV29yayBzaGFsbCB0ZXJtaW5h\ndGUKICAgICAgYXMgb2YgdGhlIGRhdGUgc3VjaCBsaXRpZ2F0aW9uIGlzIGZp\nbGVkLgoKICAgNC4gUmVkaXN0cmlidXRpb24uIFlvdSBtYXkgcmVwcm9kdWNl\nIGFuZCBkaXN0cmlidXRlIGNvcGllcyBvZiB0aGUKICAgICAgV29yayBvciBE\nZXJpdmF0aXZlIFdvcmtzIHRoZXJlb2YgaW4gYW55IG1lZGl1bSwgd2l0aCBv\nciB3aXRob3V0CiAgICAgIG1vZGlmaWNhdGlvbnMsIGFuZCBpbiBTb3VyY2Ug\nb3IgT2JqZWN0IGZvcm0sIHByb3ZpZGVkIHRoYXQgWW91CiAgICAgIG1lZXQg\ndGhlIGZvbGxvd2luZyBjb25kaXRpb25zOgoKICAgICAgKGEpIFlvdSBtdXN0\nIGdpdmUgYW55IG90aGVyIHJlY2lwaWVudHMgb2YgdGhlIFdvcmsgb3IKICAg\nICAgICAgIERlcml2YXRpdmUgV29ya3MgYSBjb3B5IG9mIHRoaXMgTGljZW5z\nZTsgYW5kCgogICAgICAoYikgWW91IG11c3QgY2F1c2UgYW55IG1vZGlmaWVk\nIGZpbGVzIHRvIGNhcnJ5IHByb21pbmVudCBub3RpY2VzCiAgICAgICAgICBz\ndGF0aW5nIHRoYXQgWW91IGNoYW5nZWQgdGhlIGZpbGVzOyBhbmQKCiAgICAg\nIChjKSBZb3UgbXVzdCByZXRhaW4sIGluIHRoZSBTb3VyY2UgZm9ybSBvZiBh\nbnkgRGVyaXZhdGl2ZSBXb3JrcwogICAgICAgICAgdGhhdCBZb3UgZGlzdHJp\nYnV0ZSwgYWxsIGNvcHlyaWdodCwgcGF0ZW50LCB0cmFkZW1hcmssIGFuZAog\nICAgICAgICAgYXR0cmlidXRpb24gbm90aWNlcyBmcm9tIHRoZSBTb3VyY2Ug\nZm9ybSBvZiB0aGUgV29yaywKICAgICAgICAgIGV4Y2x1ZGluZyB0aG9zZSBu\nb3RpY2VzIHRoYXQgZG8gbm90IHBlcnRhaW4gdG8gYW55IHBhcnQgb2YKICAg\nICAgICAgIHRoZSBEZXJpdmF0aXZlIFdvcmtzOyBhbmQKCiAgICAgIChkKSBJ\nZiB0aGUgV29yayBpbmNsdWRlcyBhICJOT1RJQ0UiIHRleHQgZmlsZSBhcyBw\nYXJ0IG9mIGl0cwogICAgICAgICAgZGlzdHJpYnV0aW9uLCB0aGVuIGFueSBE\nZXJpdmF0aXZlIFdvcmtzIHRoYXQgWW91IGRpc3RyaWJ1dGUgbXVzdAogICAg\nICAgICAgaW5jbHVkZSBhIHJlYWRhYmxlIGNvcHkgb2YgdGhlIGF0dHJpYnV0\naW9uIG5vdGljZXMgY29udGFpbmVkCiAgICAgICAgICB3aXRoaW4gc3VjaCBO\nT1RJQ0UgZmlsZSwgZXhjbHVkaW5nIHRob3NlIG5vdGljZXMgdGhhdCBkbyBu\nb3QKICAgICAgICAgIHBlcnRhaW4gdG8gYW55IHBhcnQgb2YgdGhlIERlcml2\nYXRpdmUgV29ya3MsIGluIGF0IGxlYXN0IG9uZQogICAgICAgICAgb2YgdGhl\nIGZvbGxvd2luZyBwbGFjZXM6IHdpdGhpbiBhIE5PVElDRSB0ZXh0IGZpbGUg\nZGlzdHJpYnV0ZWQKICAgICAgICAgIGFzIHBhcnQgb2YgdGhlIERlcml2YXRp\ndmUgV29ya3M7IHdpdGhpbiB0aGUgU291cmNlIGZvcm0gb3IKICAgICAgICAg\nIGRvY3VtZW50YXRpb24sIGlmIHByb3ZpZGVkIGFsb25nIHdpdGggdGhlIERl\ncml2YXRpdmUgV29ya3M7IG9yLAogICAgICAgICAgd2l0aGluIGEgZGlzcGxh\neSBnZW5lcmF0ZWQgYnkgdGhlIERlcml2YXRpdmUgV29ya3MsIGlmIGFuZAog\nICAgICAgICAgd2hlcmV2ZXIgc3VjaCB0aGlyZC1wYXJ0eSBub3RpY2VzIG5v\ncm1hbGx5IGFwcGVhci4gVGhlIGNvbnRlbnRzCiAgICAgICAgICBvZiB0aGUg\nTk9USUNFIGZpbGUgYXJlIGZvciBpbmZvcm1hdGlvbmFsIHB1cnBvc2VzIG9u\nbHkgYW5kCiAgICAgICAgICBkbyBub3QgbW9kaWZ5IHRoZSBMaWNlbnNlLiBZ\nb3UgbWF5IGFkZCBZb3VyIG93biBhdHRyaWJ1dGlvbgogICAgICAgICAgbm90\naWNlcyB3aXRoaW4gRGVyaXZhdGl2ZSBXb3JrcyB0aGF0IFlvdSBkaXN0cmli\ndXRlLCBhbG9uZ3NpZGUKICAgICAgICAgIG9yIGFzIGFuIGFkZGVuZHVtIHRv\nIHRoZSBOT1RJQ0UgdGV4dCBmcm9tIHRoZSBXb3JrLCBwcm92aWRlZAogICAg\nICAgICAgdGhhdCBzdWNoIGFkZGl0aW9uYWwgYXR0cmlidXRpb24gbm90aWNl\ncyBjYW5ub3QgYmUgY29uc3RydWVkCiAgICAgICAgICBhcyBtb2RpZnlpbmcg\ndGhlIExpY2Vuc2UuCgogICAgICBZb3UgbWF5IGFkZCBZb3VyIG93biBjb3B5\ncmlnaHQgc3RhdGVtZW50IHRvIFlvdXIgbW9kaWZpY2F0aW9ucyBhbmQKICAg\nICAgbWF5IHByb3ZpZGUgYWRkaXRpb25hbCBvciBkaWZmZXJlbnQgbGljZW5z\nZSB0ZXJtcyBhbmQgY29uZGl0aW9ucwogICAgICBmb3IgdXNlLCByZXByb2R1\nY3Rpb24sIG9yIGRpc3RyaWJ1dGlvbiBvZiBZb3VyIG1vZGlmaWNhdGlvbnMs\nIG9yCiAgICAgIGZvciBhbnkgc3VjaCBEZXJpdmF0aXZlIFdvcmtzIGFzIGEg\nd2hvbGUsIHByb3ZpZGVkIFlvdXIgdXNlLAogICAgICByZXByb2R1Y3Rpb24s\nIGFuZCBkaXN0cmlidXRpb24gb2YgdGhlIFdvcmsgb3RoZXJ3aXNlIGNvbXBs\naWVzIHdpdGgKICAgICAgdGhlIGNvbmRpdGlvbnMgc3RhdGVkIGluIHRoaXMg\nTGljZW5zZS4KCiAgIDUuIFN1Ym1pc3Npb24gb2YgQ29udHJpYnV0aW9ucy4g\nVW5sZXNzIFlvdSBleHBsaWNpdGx5IHN0YXRlIG90aGVyd2lzZSwKICAgICAg\nYW55IENvbnRyaWJ1dGlvbiBpbnRlbnRpb25hbGx5IHN1Ym1pdHRlZCBmb3Ig\naW5jbHVzaW9uIGluIHRoZSBXb3JrCiAgICAgIGJ5IFlvdSB0byB0aGUgTGlj\nZW5zb3Igc2hhbGwgYmUgdW5kZXIgdGhlIHRlcm1zIGFuZCBjb25kaXRpb25z\nIG9mCiAgICAgIHRoaXMgTGljZW5zZSwgd2l0aG91dCBhbnkgYWRkaXRpb25h\nbCB0ZXJtcyBvciBjb25kaXRpb25zLgogICAgICBOb3R3aXRoc3RhbmRpbmcg\ndGhlIGFib3ZlLCBub3RoaW5nIGhlcmVpbiBzaGFsbCBzdXBlcnNlZGUgb3Ig\nbW9kaWZ5CiAgICAgIHRoZSB0ZXJtcyBvZiBhbnkgc2VwYXJhdGUgbGljZW5z\nZSBhZ3JlZW1lbnQgeW91IG1heSBoYXZlIGV4ZWN1dGVkCiAgICAgIHdpdGgg\nTGljZW5zb3IgcmVnYXJkaW5nIHN1Y2ggQ29udHJpYnV0aW9ucy4KCiAgIDYu\nIFRyYWRlbWFya3MuIFRoaXMgTGljZW5zZSBkb2VzIG5vdCBncmFudCBwZXJt\naXNzaW9uIHRvIHVzZSB0aGUgdHJhZGUKICAgICAgbmFtZXMsIHRyYWRlbWFy\na3MsIHNlcnZpY2UgbWFya3MsIG9yIHByb2R1Y3QgbmFtZXMgb2YgdGhlIExp\nY2Vuc29yLAogICAgICBleGNlcHQgYXMgcmVxdWlyZWQgZm9yIHJlYXNvbmFi\nbGUgYW5kIGN1c3RvbWFyeSB1c2UgaW4gZGVzY3JpYmluZyB0aGUKICAgICAg\nb3JpZ2luIG9mIHRoZSBXb3JrIGFuZCByZXByb2R1Y2luZyB0aGUgY29udGVu\ndCBvZiB0aGUgTk9USUNFIGZpbGUuCgogICA3LiBEaXNjbGFpbWVyIG9mIFdh\ncnJhbnR5LiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IK\nICAgICAgYWdyZWVkIHRvIGluIHdyaXRpbmcsIExpY2Vuc29yIHByb3ZpZGVz\nIHRoZSBXb3JrIChhbmQgZWFjaAogICAgICBDb250cmlidXRvciBwcm92aWRl\ncyBpdHMgQ29udHJpYnV0aW9ucykgb24gYW4gIkFTIElTIiBCQVNJUywKICAg\nICAgV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJ\nTkQsIGVpdGhlciBleHByZXNzIG9yCiAgICAgIGltcGxpZWQsIGluY2x1ZGlu\nZywgd2l0aG91dCBsaW1pdGF0aW9uLCBhbnkgd2FycmFudGllcyBvciBjb25k\naXRpb25zCiAgICAgIG9mIFRJVExFLCBOT04tSU5GUklOR0VNRU5ULCBNRVJD\nSEFOVEFCSUxJVFksIG9yIEZJVE5FU1MgRk9SIEEKICAgICAgUEFSVElDVUxB\nUiBQVVJQT1NFLiBZb3UgYXJlIHNvbGVseSByZXNwb25zaWJsZSBmb3IgZGV0\nZXJtaW5pbmcgdGhlCiAgICAgIGFwcHJvcHJpYXRlbmVzcyBvZiB1c2luZyBv\nciByZWRpc3RyaWJ1dGluZyB0aGUgV29yayBhbmQgYXNzdW1lIGFueQogICAg\nICByaXNrcyBhc3NvY2lhdGVkIHdpdGggWW91ciBleGVyY2lzZSBvZiBwZXJt\naXNzaW9ucyB1bmRlciB0aGlzIExpY2Vuc2UuCgogICA4LiBMaW1pdGF0aW9u\nIG9mIExpYWJpbGl0eS4gSW4gbm8gZXZlbnQgYW5kIHVuZGVyIG5vIGxlZ2Fs\nIHRoZW9yeSwKICAgICAgd2hldGhlciBpbiB0b3J0IChpbmNsdWRpbmcgbmVn\nbGlnZW5jZSksIGNvbnRyYWN0LCBvciBvdGhlcndpc2UsCiAgICAgIHVubGVz\ncyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyAoc3VjaCBhcyBkZWxpYmVy\nYXRlIGFuZCBncm9zc2x5CiAgICAgIG5lZ2xpZ2VudCBhY3RzKSBvciBhZ3Jl\nZWQgdG8gaW4gd3JpdGluZywgc2hhbGwgYW55IENvbnRyaWJ1dG9yIGJlCiAg\nICAgIGxpYWJsZSB0byBZb3UgZm9yIGRhbWFnZXMsIGluY2x1ZGluZyBhbnkg\nZGlyZWN0LCBpbmRpcmVjdCwgc3BlY2lhbCwKICAgICAgaW5jaWRlbnRhbCwg\nb3IgY29uc2VxdWVudGlhbCBkYW1hZ2VzIG9mIGFueSBjaGFyYWN0ZXIgYXJp\nc2luZyBhcyBhCiAgICAgIHJlc3VsdCBvZiB0aGlzIExpY2Vuc2Ugb3Igb3V0\nIG9mIHRoZSB1c2Ugb3IgaW5hYmlsaXR5IHRvIHVzZSB0aGUKICAgICAgV29y\nayAoaW5jbHVkaW5nIGJ1dCBub3QgbGltaXRlZCB0byBkYW1hZ2VzIGZvciBs\nb3NzIG9mIGdvb2R3aWxsLAogICAgICB3b3JrIHN0b3BwYWdlLCBjb21wdXRl\nciBmYWlsdXJlIG9yIG1hbGZ1bmN0aW9uLCBvciBhbnkgYW5kIGFsbAogICAg\nICBvdGhlciBjb21tZXJjaWFsIGRhbWFnZXMgb3IgbG9zc2VzKSwgZXZlbiBp\nZiBzdWNoIENvbnRyaWJ1dG9yCiAgICAgIGhhcyBiZWVuIGFkdmlzZWQgb2Yg\ndGhlIHBvc3NpYmlsaXR5IG9mIHN1Y2ggZGFtYWdlcy4KCiAgIDkuIEFjY2Vw\ndGluZyBXYXJyYW50eSBvciBBZGRpdGlvbmFsIExpYWJpbGl0eS4gV2hpbGUg\ncmVkaXN0cmlidXRpbmcKICAgICAgdGhlIFdvcmsgb3IgRGVyaXZhdGl2ZSBX\nb3JrcyB0aGVyZW9mLCBZb3UgbWF5IGNob29zZSB0byBvZmZlciwKICAgICAg\nYW5kIGNoYXJnZSBhIGZlZSBmb3IsIGFjY2VwdGFuY2Ugb2Ygc3VwcG9ydCwg\nd2FycmFudHksIGluZGVtbml0eSwKICAgICAgb3Igb3RoZXIgbGlhYmlsaXR5\nIG9ibGlnYXRpb25zIGFuZC9vciByaWdodHMgY29uc2lzdGVudCB3aXRoIHRo\naXMKICAgICAgTGljZW5zZS4gSG93ZXZlciwgaW4gYWNjZXB0aW5nIHN1Y2gg\nb2JsaWdhdGlvbnMsIFlvdSBtYXkgYWN0IG9ubHkKICAgICAgb24gWW91ciBv\nd24gYmVoYWxmIGFuZCBvbiBZb3VyIHNvbGUgcmVzcG9uc2liaWxpdHksIG5v\ndCBvbiBiZWhhbGYKICAgICAgb2YgYW55IG90aGVyIENvbnRyaWJ1dG9yLCBh\nbmQgb25seSBpZiBZb3UgYWdyZWUgdG8gaW5kZW1uaWZ5LAogICAgICBkZWZl\nbmQsIGFuZCBob2xkIGVhY2ggQ29udHJpYnV0b3IgaGFybWxlc3MgZm9yIGFu\neSBsaWFiaWxpdHkKICAgICAgaW5jdXJyZWQgYnksIG9yIGNsYWltcyBhc3Nl\ncnRlZCBhZ2FpbnN0LCBzdWNoIENvbnRyaWJ1dG9yIGJ5IHJlYXNvbgogICAg\nICBvZiB5b3VyIGFjY2VwdGluZyBhbnkgc3VjaCB3YXJyYW50eSBvciBhZGRp\ndGlvbmFsIGxpYWJpbGl0eS4KCiAgIEVORCBPRiBURVJNUyBBTkQgQ09ORElU\nSU9OUwoKICAgQVBQRU5ESVg6IEhvdyB0byBhcHBseSB0aGUgQXBhY2hlIExp\nY2Vuc2UgdG8geW91ciB3b3JrLgoKICAgICAgVG8gYXBwbHkgdGhlIEFwYWNo\nZSBMaWNlbnNlIHRvIHlvdXIgd29yaywgYXR0YWNoIHRoZSBmb2xsb3dpbmcK\nICAgICAgYm9pbGVycGxhdGUgbm90aWNlLCB3aXRoIHRoZSBmaWVsZHMgZW5j\nbG9zZWQgYnkgYnJhY2tldHMgIltdIgogICAgICByZXBsYWNlZCB3aXRoIHlv\ndXIgb3duIGlkZW50aWZ5aW5nIGluZm9ybWF0aW9uLiAoRG9uJ3QgaW5jbHVk\nZQogICAgICB0aGUgYnJhY2tldHMhKSAgVGhlIHRleHQgc2hvdWxkIGJlIGVu\nY2xvc2VkIGluIHRoZSBhcHByb3ByaWF0ZQogICAgICBjb21tZW50IHN5bnRh\neCBmb3IgdGhlIGZpbGUgZm9ybWF0LiBXZSBhbHNvIHJlY29tbWVuZCB0aGF0\nIGEKICAgICAgZmlsZSBvciBjbGFzcyB2YWx1ZSBhbmQgZGVzY3JpcHRpb24g\nb2YgcHVycG9zZSBiZSBpbmNsdWRlZCBvbiB0aGUKICAgICAgc2FtZSAicHJp\nbnRlZCBwYWdlIiBhcyB0aGUgY29weXJpZ2h0IG5vdGljZSBmb3IgZWFzaWVy\nCiAgICAgIGlkZW50aWZpY2F0aW9uIHdpdGhpbiB0aGlyZC1wYXJ0eSBhcmNo\naXZlcy4KCiAgIENvcHlyaWdodCBbeXl5eV0gW3ZhbHVlIG9mIGNvcHlyaWdo\ndCBvd25lcl0KCiAgIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5z\nZSwgVmVyc2lvbiAyLjAgKHRoZSAiTGljZW5zZSIpOwogICB5b3UgbWF5IG5v\ndCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhl\nIExpY2Vuc2UuCiAgIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGlj\nZW5zZSBhdAoKICAgICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNl\ncy9MSUNFTlNFLTIuMAoKICAgVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2Fi\nbGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZQogICBk\naXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBv\nbiBhbiAiQVMgSVMiIEJBU0lTLAogICBXSVRIT1VUIFdBUlJBTlRJRVMgT1Ig\nQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1w\nbGllZC4KICAgU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFu\nZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZAogICBsaW1pdGF0aW9u\ncyB1bmRlciB0aGUgTGljZW5zZS4K\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/pomes/pomes/contents/LICENSE?ref=master", + "self": "https://api.github.com/repos/pomes/pomes/contents/LICENSE?ref=main", "git": "https://api.github.com/repos/pomes/pomes/git/blobs/8371492840f9485d7baf719dc2ae3e4cb9e8c03b", - "html": "https://github.com/pomes/pomes/blob/master/LICENSE" + "html": "https://github.com/pomes/pomes/blob/main/LICENSE" }, "license": { "key": "apache-2.0", diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/mappings/pomes_pomes_master_license-1.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/mappings/pomes_pomes_main_license-1.json similarity index 91% rename from src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/mappings/pomes_pomes_master_license-1.json rename to src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/mappings/pomes_pomes_main_license-1.json index 979ae599a..325261671 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/mappings/pomes_pomes_master_license-1.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseContent_raw/mappings/pomes_pomes_main_license-1.json @@ -1,8 +1,8 @@ { "id": "050b93b9-0d3b-4dd2-bde1-a220548659e4", - "name": "pomes_pomes_master_license", + "name": "pomes_pomes_main_license", "request": { - "url": "/pomes/pomes/master/LICENSE", + "url": "/pomes/pomes/main/LICENSE", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "pomes_pomes_master_license-1.txt", + "bodyFileName": "pomes_pomes_main_license-1.txt", "headers": { "Content-Security-Policy": "default-src 'none'; style-src 'unsafe-inline'; sandbox", "Strict-Transport-Security": "max-age=31536000", diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseForIndeterminate/__files/repos_bndtools_bnd-2.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseForIndeterminate/__files/repos_bndtools_bnd-2.json index 1d25e5b60..d929d52a8 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseForIndeterminate/__files/repos_bndtools_bnd-2.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseForIndeterminate/__files/repos_bndtools_bnd-2.json @@ -96,7 +96,7 @@ "forks": 260, "open_issues": 155, "watchers": 415, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseForIndeterminate/__files/repos_bndtools_bnd_license-3.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseForIndeterminate/__files/repos_bndtools_bnd_license-3.json index f8bff9151..123130f22 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseForIndeterminate/__files/repos_bndtools_bnd_license-3.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicenseForIndeterminate/__files/repos_bndtools_bnd_license-3.json @@ -3,17 +3,17 @@ "path": "LICENSE", "sha": "959882ba08c11b0f5ee36badffa842f70a6d9fd5", "size": 25790, - "url": "https://api.github.com/repos/bndtools/bnd/contents/LICENSE?ref=master", - "html_url": "https://github.com/bndtools/bnd/blob/master/LICENSE", + "url": "https://api.github.com/repos/bndtools/bnd/contents/LICENSE?ref=main", + "html_url": "https://github.com/bndtools/bnd/blob/main/LICENSE", "git_url": "https://api.github.com/repos/bndtools/bnd/git/blobs/959882ba08c11b0f5ee36badffa842f70a6d9fd5", - "download_url": "https://raw.githubusercontent.com/bndtools/bnd/master/LICENSE", + "download_url": "https://raw.githubusercontent.com/bndtools/bnd/main/LICENSE", "type": "file", "content": "VGhpcyBwcm9ncmFtIGFuZCB0aGUgYWNjb21wYW55aW5nIG1hdGVyaWFscyBh\ncmUgbWFkZSBhdmFpbGFibGUgdW5kZXIgdGhlCnRlcm1zIG9mIHRoZSBBcGFj\naGUgTGljZW5zZSwgVmVyc2lvbiAyLjAsIG9yIHRoZSBFY2xpcHNlIFB1Ymxp\nYyBMaWNlbnNlIDIuMC4KClNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiAoQXBh\nY2hlLTIuMCBPUiBFUEwtMi4wKQoKPT09PT09PT09PT09PT0KCiAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgIEFwYWNoZSBMaWNlbnNlCiAgICAg\nICAgICAgICAgICAgICAgICAgICAgIFZlcnNpb24gMi4wLCBKYW51YXJ5IDIw\nMDQKICAgICAgICAgICAgICAgICAgICAgICAgaHR0cDovL3d3dy5hcGFjaGUu\nb3JnL2xpY2Vuc2VzLwoKICAgVEVSTVMgQU5EIENPTkRJVElPTlMgRk9SIFVT\nRSwgUkVQUk9EVUNUSU9OLCBBTkQgRElTVFJJQlVUSU9OCgogICAxLiBEZWZp\nbml0aW9ucy4KCiAgICAgICJMaWNlbnNlIiBzaGFsbCBtZWFuIHRoZSB0ZXJt\ncyBhbmQgY29uZGl0aW9ucyBmb3IgdXNlLCByZXByb2R1Y3Rpb24sCiAgICAg\nIGFuZCBkaXN0cmlidXRpb24gYXMgZGVmaW5lZCBieSBTZWN0aW9ucyAxIHRo\ncm91Z2ggOSBvZiB0aGlzIGRvY3VtZW50LgoKICAgICAgIkxpY2Vuc29yIiBz\naGFsbCBtZWFuIHRoZSBjb3B5cmlnaHQgb3duZXIgb3IgZW50aXR5IGF1dGhv\ncml6ZWQgYnkKICAgICAgdGhlIGNvcHlyaWdodCBvd25lciB0aGF0IGlzIGdy\nYW50aW5nIHRoZSBMaWNlbnNlLgoKICAgICAgIkxlZ2FsIEVudGl0eSIgc2hh\nbGwgbWVhbiB0aGUgdW5pb24gb2YgdGhlIGFjdGluZyBlbnRpdHkgYW5kIGFs\nbAogICAgICBvdGhlciBlbnRpdGllcyB0aGF0IGNvbnRyb2wsIGFyZSBjb250\ncm9sbGVkIGJ5LCBvciBhcmUgdW5kZXIgY29tbW9uCiAgICAgIGNvbnRyb2wg\nd2l0aCB0aGF0IGVudGl0eS4gRm9yIHRoZSBwdXJwb3NlcyBvZiB0aGlzIGRl\nZmluaXRpb24sCiAgICAgICJjb250cm9sIiBtZWFucyAoaSkgdGhlIHBvd2Vy\nLCBkaXJlY3Qgb3IgaW5kaXJlY3QsIHRvIGNhdXNlIHRoZQogICAgICBkaXJl\nY3Rpb24gb3IgbWFuYWdlbWVudCBvZiBzdWNoIGVudGl0eSwgd2hldGhlciBi\neSBjb250cmFjdCBvcgogICAgICBvdGhlcndpc2UsIG9yIChpaSkgb3duZXJz\naGlwIG9mIGZpZnR5IHBlcmNlbnQgKDUwJSkgb3IgbW9yZSBvZiB0aGUKICAg\nICAgb3V0c3RhbmRpbmcgc2hhcmVzLCBvciAoaWlpKSBiZW5lZmljaWFsIG93\nbmVyc2hpcCBvZiBzdWNoIGVudGl0eS4KCiAgICAgICJZb3UiIChvciAiWW91\nciIpIHNoYWxsIG1lYW4gYW4gaW5kaXZpZHVhbCBvciBMZWdhbCBFbnRpdHkK\nICAgICAgZXhlcmNpc2luZyBwZXJtaXNzaW9ucyBncmFudGVkIGJ5IHRoaXMg\nTGljZW5zZS4KCiAgICAgICJTb3VyY2UiIGZvcm0gc2hhbGwgbWVhbiB0aGUg\ncHJlZmVycmVkIGZvcm0gZm9yIG1ha2luZyBtb2RpZmljYXRpb25zLAogICAg\nICBpbmNsdWRpbmcgYnV0IG5vdCBsaW1pdGVkIHRvIHNvZnR3YXJlIHNvdXJj\nZSBjb2RlLCBkb2N1bWVudGF0aW9uCiAgICAgIHNvdXJjZSwgYW5kIGNvbmZp\nZ3VyYXRpb24gZmlsZXMuCgogICAgICAiT2JqZWN0IiBmb3JtIHNoYWxsIG1l\nYW4gYW55IGZvcm0gcmVzdWx0aW5nIGZyb20gbWVjaGFuaWNhbAogICAgICB0\ncmFuc2Zvcm1hdGlvbiBvciB0cmFuc2xhdGlvbiBvZiBhIFNvdXJjZSBmb3Jt\nLCBpbmNsdWRpbmcgYnV0CiAgICAgIG5vdCBsaW1pdGVkIHRvIGNvbXBpbGVk\nIG9iamVjdCBjb2RlLCBnZW5lcmF0ZWQgZG9jdW1lbnRhdGlvbiwKICAgICAg\nYW5kIGNvbnZlcnNpb25zIHRvIG90aGVyIG1lZGlhIHR5cGVzLgoKICAgICAg\nIldvcmsiIHNoYWxsIG1lYW4gdGhlIHdvcmsgb2YgYXV0aG9yc2hpcCwgd2hl\ndGhlciBpbiBTb3VyY2Ugb3IKICAgICAgT2JqZWN0IGZvcm0sIG1hZGUgYXZh\naWxhYmxlIHVuZGVyIHRoZSBMaWNlbnNlLCBhcyBpbmRpY2F0ZWQgYnkgYQog\nICAgICBjb3B5cmlnaHQgbm90aWNlIHRoYXQgaXMgaW5jbHVkZWQgaW4gb3Ig\nYXR0YWNoZWQgdG8gdGhlIHdvcmsKICAgICAgKGFuIGV4YW1wbGUgaXMgcHJv\ndmlkZWQgaW4gdGhlIEFwcGVuZGl4IGJlbG93KS4KCiAgICAgICJEZXJpdmF0\naXZlIFdvcmtzIiBzaGFsbCBtZWFuIGFueSB3b3JrLCB3aGV0aGVyIGluIFNv\ndXJjZSBvciBPYmplY3QKICAgICAgZm9ybSwgdGhhdCBpcyBiYXNlZCBvbiAo\nb3IgZGVyaXZlZCBmcm9tKSB0aGUgV29yayBhbmQgZm9yIHdoaWNoIHRoZQog\nICAgICBlZGl0b3JpYWwgcmV2aXNpb25zLCBhbm5vdGF0aW9ucywgZWxhYm9y\nYXRpb25zLCBvciBvdGhlciBtb2RpZmljYXRpb25zCiAgICAgIHJlcHJlc2Vu\ndCwgYXMgYSB3aG9sZSwgYW4gb3JpZ2luYWwgd29yayBvZiBhdXRob3JzaGlw\nLiBGb3IgdGhlIHB1cnBvc2VzCiAgICAgIG9mIHRoaXMgTGljZW5zZSwgRGVy\naXZhdGl2ZSBXb3JrcyBzaGFsbCBub3QgaW5jbHVkZSB3b3JrcyB0aGF0IHJl\nbWFpbgogICAgICBzZXBhcmFibGUgZnJvbSwgb3IgbWVyZWx5IGxpbmsgKG9y\nIGJpbmQgYnkgbmFtZSkgdG8gdGhlIGludGVyZmFjZXMgb2YsCiAgICAgIHRo\nZSBXb3JrIGFuZCBEZXJpdmF0aXZlIFdvcmtzIHRoZXJlb2YuCgogICAgICAi\nQ29udHJpYnV0aW9uIiBzaGFsbCBtZWFuIGFueSB3b3JrIG9mIGF1dGhvcnNo\naXAsIGluY2x1ZGluZwogICAgICB0aGUgb3JpZ2luYWwgdmVyc2lvbiBvZiB0\naGUgV29yayBhbmQgYW55IG1vZGlmaWNhdGlvbnMgb3IgYWRkaXRpb25zCiAg\nICAgIHRvIHRoYXQgV29yayBvciBEZXJpdmF0aXZlIFdvcmtzIHRoZXJlb2Ys\nIHRoYXQgaXMgaW50ZW50aW9uYWxseQogICAgICBzdWJtaXR0ZWQgdG8gTGlj\nZW5zb3IgZm9yIGluY2x1c2lvbiBpbiB0aGUgV29yayBieSB0aGUgY29weXJp\nZ2h0IG93bmVyCiAgICAgIG9yIGJ5IGFuIGluZGl2aWR1YWwgb3IgTGVnYWwg\nRW50aXR5IGF1dGhvcml6ZWQgdG8gc3VibWl0IG9uIGJlaGFsZiBvZgogICAg\nICB0aGUgY29weXJpZ2h0IG93bmVyLiBGb3IgdGhlIHB1cnBvc2VzIG9mIHRo\naXMgZGVmaW5pdGlvbiwgInN1Ym1pdHRlZCIKICAgICAgbWVhbnMgYW55IGZv\ncm0gb2YgZWxlY3Ryb25pYywgdmVyYmFsLCBvciB3cml0dGVuIGNvbW11bmlj\nYXRpb24gc2VudAogICAgICB0byB0aGUgTGljZW5zb3Igb3IgaXRzIHJlcHJl\nc2VudGF0aXZlcywgaW5jbHVkaW5nIGJ1dCBub3QgbGltaXRlZCB0bwogICAg\nICBjb21tdW5pY2F0aW9uIG9uIGVsZWN0cm9uaWMgbWFpbGluZyBsaXN0cywg\nc291cmNlIGNvZGUgY29udHJvbCBzeXN0ZW1zLAogICAgICBhbmQgaXNzdWUg\ndHJhY2tpbmcgc3lzdGVtcyB0aGF0IGFyZSBtYW5hZ2VkIGJ5LCBvciBvbiBi\nZWhhbGYgb2YsIHRoZQogICAgICBMaWNlbnNvciBmb3IgdGhlIHB1cnBvc2Ug\nb2YgZGlzY3Vzc2luZyBhbmQgaW1wcm92aW5nIHRoZSBXb3JrLCBidXQKICAg\nICAgZXhjbHVkaW5nIGNvbW11bmljYXRpb24gdGhhdCBpcyBjb25zcGljdW91\nc2x5IG1hcmtlZCBvciBvdGhlcndpc2UKICAgICAgZGVzaWduYXRlZCBpbiB3\ncml0aW5nIGJ5IHRoZSBjb3B5cmlnaHQgb3duZXIgYXMgIk5vdCBhIENvbnRy\naWJ1dGlvbi4iCgogICAgICAiQ29udHJpYnV0b3IiIHNoYWxsIG1lYW4gTGlj\nZW5zb3IgYW5kIGFueSBpbmRpdmlkdWFsIG9yIExlZ2FsIEVudGl0eQogICAg\nICBvbiBiZWhhbGYgb2Ygd2hvbSBhIENvbnRyaWJ1dGlvbiBoYXMgYmVlbiBy\nZWNlaXZlZCBieSBMaWNlbnNvciBhbmQKICAgICAgc3Vic2VxdWVudGx5IGlu\nY29ycG9yYXRlZCB3aXRoaW4gdGhlIFdvcmsuCgogICAyLiBHcmFudCBvZiBD\nb3B5cmlnaHQgTGljZW5zZS4gU3ViamVjdCB0byB0aGUgdGVybXMgYW5kIGNv\nbmRpdGlvbnMgb2YKICAgICAgdGhpcyBMaWNlbnNlLCBlYWNoIENvbnRyaWJ1\ndG9yIGhlcmVieSBncmFudHMgdG8gWW91IGEgcGVycGV0dWFsLAogICAgICB3\nb3JsZHdpZGUsIG5vbi1leGNsdXNpdmUsIG5vLWNoYXJnZSwgcm95YWx0eS1m\ncmVlLCBpcnJldm9jYWJsZQogICAgICBjb3B5cmlnaHQgbGljZW5zZSB0byBy\nZXByb2R1Y2UsIHByZXBhcmUgRGVyaXZhdGl2ZSBXb3JrcyBvZiwKICAgICAg\ncHVibGljbHkgZGlzcGxheSwgcHVibGljbHkgcGVyZm9ybSwgc3VibGljZW5z\nZSwgYW5kIGRpc3RyaWJ1dGUgdGhlCiAgICAgIFdvcmsgYW5kIHN1Y2ggRGVy\naXZhdGl2ZSBXb3JrcyBpbiBTb3VyY2Ugb3IgT2JqZWN0IGZvcm0uCgogICAz\nLiBHcmFudCBvZiBQYXRlbnQgTGljZW5zZS4gU3ViamVjdCB0byB0aGUgdGVy\nbXMgYW5kIGNvbmRpdGlvbnMgb2YKICAgICAgdGhpcyBMaWNlbnNlLCBlYWNo\nIENvbnRyaWJ1dG9yIGhlcmVieSBncmFudHMgdG8gWW91IGEgcGVycGV0dWFs\nLAogICAgICB3b3JsZHdpZGUsIG5vbi1leGNsdXNpdmUsIG5vLWNoYXJnZSwg\ncm95YWx0eS1mcmVlLCBpcnJldm9jYWJsZQogICAgICAoZXhjZXB0IGFzIHN0\nYXRlZCBpbiB0aGlzIHNlY3Rpb24pIHBhdGVudCBsaWNlbnNlIHRvIG1ha2Us\nIGhhdmUgbWFkZSwKICAgICAgdXNlLCBvZmZlciB0byBzZWxsLCBzZWxsLCBp\nbXBvcnQsIGFuZCBvdGhlcndpc2UgdHJhbnNmZXIgdGhlIFdvcmssCiAgICAg\nIHdoZXJlIHN1Y2ggbGljZW5zZSBhcHBsaWVzIG9ubHkgdG8gdGhvc2UgcGF0\nZW50IGNsYWltcyBsaWNlbnNhYmxlCiAgICAgIGJ5IHN1Y2ggQ29udHJpYnV0\nb3IgdGhhdCBhcmUgbmVjZXNzYXJpbHkgaW5mcmluZ2VkIGJ5IHRoZWlyCiAg\nICAgIENvbnRyaWJ1dGlvbihzKSBhbG9uZSBvciBieSBjb21iaW5hdGlvbiBv\nZiB0aGVpciBDb250cmlidXRpb24ocykKICAgICAgd2l0aCB0aGUgV29yayB0\nbyB3aGljaCBzdWNoIENvbnRyaWJ1dGlvbihzKSB3YXMgc3VibWl0dGVkLiBJ\nZiBZb3UKICAgICAgaW5zdGl0dXRlIHBhdGVudCBsaXRpZ2F0aW9uIGFnYWlu\nc3QgYW55IGVudGl0eSAoaW5jbHVkaW5nIGEKICAgICAgY3Jvc3MtY2xhaW0g\nb3IgY291bnRlcmNsYWltIGluIGEgbGF3c3VpdCkgYWxsZWdpbmcgdGhhdCB0\naGUgV29yawogICAgICBvciBhIENvbnRyaWJ1dGlvbiBpbmNvcnBvcmF0ZWQg\nd2l0aGluIHRoZSBXb3JrIGNvbnN0aXR1dGVzIGRpcmVjdAogICAgICBvciBj\nb250cmlidXRvcnkgcGF0ZW50IGluZnJpbmdlbWVudCwgdGhlbiBhbnkgcGF0\nZW50IGxpY2Vuc2VzCiAgICAgIGdyYW50ZWQgdG8gWW91IHVuZGVyIHRoaXMg\nTGljZW5zZSBmb3IgdGhhdCBXb3JrIHNoYWxsIHRlcm1pbmF0ZQogICAgICBh\ncyBvZiB0aGUgZGF0ZSBzdWNoIGxpdGlnYXRpb24gaXMgZmlsZWQuCgogICA0\nLiBSZWRpc3RyaWJ1dGlvbi4gWW91IG1heSByZXByb2R1Y2UgYW5kIGRpc3Ry\naWJ1dGUgY29waWVzIG9mIHRoZQogICAgICBXb3JrIG9yIERlcml2YXRpdmUg\nV29ya3MgdGhlcmVvZiBpbiBhbnkgbWVkaXVtLCB3aXRoIG9yIHdpdGhvdXQK\nICAgICAgbW9kaWZpY2F0aW9ucywgYW5kIGluIFNvdXJjZSBvciBPYmplY3Qg\nZm9ybSwgcHJvdmlkZWQgdGhhdCBZb3UKICAgICAgbWVldCB0aGUgZm9sbG93\naW5nIGNvbmRpdGlvbnM6CgogICAgICAoYSkgWW91IG11c3QgZ2l2ZSBhbnkg\nb3RoZXIgcmVjaXBpZW50cyBvZiB0aGUgV29yayBvcgogICAgICAgICAgRGVy\naXZhdGl2ZSBXb3JrcyBhIGNvcHkgb2YgdGhpcyBMaWNlbnNlOyBhbmQKCiAg\nICAgIChiKSBZb3UgbXVzdCBjYXVzZSBhbnkgbW9kaWZpZWQgZmlsZXMgdG8g\nY2FycnkgcHJvbWluZW50IG5vdGljZXMKICAgICAgICAgIHN0YXRpbmcgdGhh\ndCBZb3UgY2hhbmdlZCB0aGUgZmlsZXM7IGFuZAoKICAgICAgKGMpIFlvdSBt\ndXN0IHJldGFpbiwgaW4gdGhlIFNvdXJjZSBmb3JtIG9mIGFueSBEZXJpdmF0\naXZlIFdvcmtzCiAgICAgICAgICB0aGF0IFlvdSBkaXN0cmlidXRlLCBhbGwg\nY29weXJpZ2h0LCBwYXRlbnQsIHRyYWRlbWFyaywgYW5kCiAgICAgICAgICBh\ndHRyaWJ1dGlvbiBub3RpY2VzIGZyb20gdGhlIFNvdXJjZSBmb3JtIG9mIHRo\nZSBXb3JrLAogICAgICAgICAgZXhjbHVkaW5nIHRob3NlIG5vdGljZXMgdGhh\ndCBkbyBub3QgcGVydGFpbiB0byBhbnkgcGFydCBvZgogICAgICAgICAgdGhl\nIERlcml2YXRpdmUgV29ya3M7IGFuZAoKICAgICAgKGQpIElmIHRoZSBXb3Jr\nIGluY2x1ZGVzIGEgIk5PVElDRSIgdGV4dCBmaWxlIGFzIHBhcnQgb2YgaXRz\nCiAgICAgICAgICBkaXN0cmlidXRpb24sIHRoZW4gYW55IERlcml2YXRpdmUg\nV29ya3MgdGhhdCBZb3UgZGlzdHJpYnV0ZSBtdXN0CiAgICAgICAgICBpbmNs\ndWRlIGEgcmVhZGFibGUgY29weSBvZiB0aGUgYXR0cmlidXRpb24gbm90aWNl\ncyBjb250YWluZWQKICAgICAgICAgIHdpdGhpbiBzdWNoIE5PVElDRSBmaWxl\nLCBleGNsdWRpbmcgdGhvc2Ugbm90aWNlcyB0aGF0IGRvIG5vdAogICAgICAg\nICAgcGVydGFpbiB0byBhbnkgcGFydCBvZiB0aGUgRGVyaXZhdGl2ZSBXb3Jr\ncywgaW4gYXQgbGVhc3Qgb25lCiAgICAgICAgICBvZiB0aGUgZm9sbG93aW5n\nIHBsYWNlczogd2l0aGluIGEgTk9USUNFIHRleHQgZmlsZSBkaXN0cmlidXRl\nZAogICAgICAgICAgYXMgcGFydCBvZiB0aGUgRGVyaXZhdGl2ZSBXb3Jrczsg\nd2l0aGluIHRoZSBTb3VyY2UgZm9ybSBvcgogICAgICAgICAgZG9jdW1lbnRh\ndGlvbiwgaWYgcHJvdmlkZWQgYWxvbmcgd2l0aCB0aGUgRGVyaXZhdGl2ZSBX\nb3Jrczsgb3IsCiAgICAgICAgICB3aXRoaW4gYSBkaXNwbGF5IGdlbmVyYXRl\nZCBieSB0aGUgRGVyaXZhdGl2ZSBXb3JrcywgaWYgYW5kCiAgICAgICAgICB3\naGVyZXZlciBzdWNoIHRoaXJkLXBhcnR5IG5vdGljZXMgbm9ybWFsbHkgYXBw\nZWFyLiBUaGUgY29udGVudHMKICAgICAgICAgIG9mIHRoZSBOT1RJQ0UgZmls\nZSBhcmUgZm9yIGluZm9ybWF0aW9uYWwgcHVycG9zZXMgb25seSBhbmQKICAg\nICAgICAgIGRvIG5vdCBtb2RpZnkgdGhlIExpY2Vuc2UuIFlvdSBtYXkgYWRk\nIFlvdXIgb3duIGF0dHJpYnV0aW9uCiAgICAgICAgICBub3RpY2VzIHdpdGhp\nbiBEZXJpdmF0aXZlIFdvcmtzIHRoYXQgWW91IGRpc3RyaWJ1dGUsIGFsb25n\nc2lkZQogICAgICAgICAgb3IgYXMgYW4gYWRkZW5kdW0gdG8gdGhlIE5PVElD\nRSB0ZXh0IGZyb20gdGhlIFdvcmssIHByb3ZpZGVkCiAgICAgICAgICB0aGF0\nIHN1Y2ggYWRkaXRpb25hbCBhdHRyaWJ1dGlvbiBub3RpY2VzIGNhbm5vdCBi\nZSBjb25zdHJ1ZWQKICAgICAgICAgIGFzIG1vZGlmeWluZyB0aGUgTGljZW5z\nZS4KCiAgICAgIFlvdSBtYXkgYWRkIFlvdXIgb3duIGNvcHlyaWdodCBzdGF0\nZW1lbnQgdG8gWW91ciBtb2RpZmljYXRpb25zIGFuZAogICAgICBtYXkgcHJv\ndmlkZSBhZGRpdGlvbmFsIG9yIGRpZmZlcmVudCBsaWNlbnNlIHRlcm1zIGFu\nZCBjb25kaXRpb25zCiAgICAgIGZvciB1c2UsIHJlcHJvZHVjdGlvbiwgb3Ig\nZGlzdHJpYnV0aW9uIG9mIFlvdXIgbW9kaWZpY2F0aW9ucywgb3IKICAgICAg\nZm9yIGFueSBzdWNoIERlcml2YXRpdmUgV29ya3MgYXMgYSB3aG9sZSwgcHJv\ndmlkZWQgWW91ciB1c2UsCiAgICAgIHJlcHJvZHVjdGlvbiwgYW5kIGRpc3Ry\naWJ1dGlvbiBvZiB0aGUgV29yayBvdGhlcndpc2UgY29tcGxpZXMgd2l0aAog\nICAgICB0aGUgY29uZGl0aW9ucyBzdGF0ZWQgaW4gdGhpcyBMaWNlbnNlLgoK\nICAgNS4gU3VibWlzc2lvbiBvZiBDb250cmlidXRpb25zLiBVbmxlc3MgWW91\nIGV4cGxpY2l0bHkgc3RhdGUgb3RoZXJ3aXNlLAogICAgICBhbnkgQ29udHJp\nYnV0aW9uIGludGVudGlvbmFsbHkgc3VibWl0dGVkIGZvciBpbmNsdXNpb24g\naW4gdGhlIFdvcmsKICAgICAgYnkgWW91IHRvIHRoZSBMaWNlbnNvciBzaGFs\nbCBiZSB1bmRlciB0aGUgdGVybXMgYW5kIGNvbmRpdGlvbnMgb2YKICAgICAg\ndGhpcyBMaWNlbnNlLCB3aXRob3V0IGFueSBhZGRpdGlvbmFsIHRlcm1zIG9y\nIGNvbmRpdGlvbnMuCiAgICAgIE5vdHdpdGhzdGFuZGluZyB0aGUgYWJvdmUs\nIG5vdGhpbmcgaGVyZWluIHNoYWxsIHN1cGVyc2VkZSBvciBtb2RpZnkKICAg\nICAgdGhlIHRlcm1zIG9mIGFueSBzZXBhcmF0ZSBsaWNlbnNlIGFncmVlbWVu\ndCB5b3UgbWF5IGhhdmUgZXhlY3V0ZWQKICAgICAgd2l0aCBMaWNlbnNvciBy\nZWdhcmRpbmcgc3VjaCBDb250cmlidXRpb25zLgoKICAgNi4gVHJhZGVtYXJr\ncy4gVGhpcyBMaWNlbnNlIGRvZXMgbm90IGdyYW50IHBlcm1pc3Npb24gdG8g\ndXNlIHRoZSB0cmFkZQogICAgICBuYW1lcywgdHJhZGVtYXJrcywgc2Vydmlj\nZSBtYXJrcywgb3IgcHJvZHVjdCBuYW1lcyBvZiB0aGUgTGljZW5zb3IsCiAg\nICAgIGV4Y2VwdCBhcyByZXF1aXJlZCBmb3IgcmVhc29uYWJsZSBhbmQgY3Vz\ndG9tYXJ5IHVzZSBpbiBkZXNjcmliaW5nIHRoZQogICAgICBvcmlnaW4gb2Yg\ndGhlIFdvcmsgYW5kIHJlcHJvZHVjaW5nIHRoZSBjb250ZW50IG9mIHRoZSBO\nT1RJQ0UgZmlsZS4KCiAgIDcuIERpc2NsYWltZXIgb2YgV2FycmFudHkuIFVu\nbGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvcgogICAgICBhZ3Jl\nZWQgdG8gaW4gd3JpdGluZywgTGljZW5zb3IgcHJvdmlkZXMgdGhlIFdvcmsg\nKGFuZCBlYWNoCiAgICAgIENvbnRyaWJ1dG9yIHByb3ZpZGVzIGl0cyBDb250\ncmlidXRpb25zKSBvbiBhbiAiQVMgSVMiIEJBU0lTLAogICAgICBXSVRIT1VU\nIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVy\nIGV4cHJlc3Mgb3IKICAgICAgaW1wbGllZCwgaW5jbHVkaW5nLCB3aXRob3V0\nIGxpbWl0YXRpb24sIGFueSB3YXJyYW50aWVzIG9yIGNvbmRpdGlvbnMKICAg\nICAgb2YgVElUTEUsIE5PTi1JTkZSSU5HRU1FTlQsIE1FUkNIQU5UQUJJTElU\nWSwgb3IgRklUTkVTUyBGT1IgQQogICAgICBQQVJUSUNVTEFSIFBVUlBPU0Uu\nIFlvdSBhcmUgc29sZWx5IHJlc3BvbnNpYmxlIGZvciBkZXRlcm1pbmluZyB0\naGUKICAgICAgYXBwcm9wcmlhdGVuZXNzIG9mIHVzaW5nIG9yIHJlZGlzdHJp\nYnV0aW5nIHRoZSBXb3JrIGFuZCBhc3N1bWUgYW55CiAgICAgIHJpc2tzIGFz\nc29jaWF0ZWQgd2l0aCBZb3VyIGV4ZXJjaXNlIG9mIHBlcm1pc3Npb25zIHVu\nZGVyIHRoaXMgTGljZW5zZS4KCiAgIDguIExpbWl0YXRpb24gb2YgTGlhYmls\naXR5LiBJbiBubyBldmVudCBhbmQgdW5kZXIgbm8gbGVnYWwgdGhlb3J5LAog\nICAgICB3aGV0aGVyIGluIHRvcnQgKGluY2x1ZGluZyBuZWdsaWdlbmNlKSwg\nY29udHJhY3QsIG9yIG90aGVyd2lzZSwKICAgICAgdW5sZXNzIHJlcXVpcmVk\nIGJ5IGFwcGxpY2FibGUgbGF3IChzdWNoIGFzIGRlbGliZXJhdGUgYW5kIGdy\nb3NzbHkKICAgICAgbmVnbGlnZW50IGFjdHMpIG9yIGFncmVlZCB0byBpbiB3\ncml0aW5nLCBzaGFsbCBhbnkgQ29udHJpYnV0b3IgYmUKICAgICAgbGlhYmxl\nIHRvIFlvdSBmb3IgZGFtYWdlcywgaW5jbHVkaW5nIGFueSBkaXJlY3QsIGlu\nZGlyZWN0LCBzcGVjaWFsLAogICAgICBpbmNpZGVudGFsLCBvciBjb25zZXF1\nZW50aWFsIGRhbWFnZXMgb2YgYW55IGNoYXJhY3RlciBhcmlzaW5nIGFzIGEK\nICAgICAgcmVzdWx0IG9mIHRoaXMgTGljZW5zZSBvciBvdXQgb2YgdGhlIHVz\nZSBvciBpbmFiaWxpdHkgdG8gdXNlIHRoZQogICAgICBXb3JrIChpbmNsdWRp\nbmcgYnV0IG5vdCBsaW1pdGVkIHRvIGRhbWFnZXMgZm9yIGxvc3Mgb2YgZ29v\nZHdpbGwsCiAgICAgIHdvcmsgc3RvcHBhZ2UsIGNvbXB1dGVyIGZhaWx1cmUg\nb3IgbWFsZnVuY3Rpb24sIG9yIGFueSBhbmQgYWxsCiAgICAgIG90aGVyIGNv\nbW1lcmNpYWwgZGFtYWdlcyBvciBsb3NzZXMpLCBldmVuIGlmIHN1Y2ggQ29u\ndHJpYnV0b3IKICAgICAgaGFzIGJlZW4gYWR2aXNlZCBvZiB0aGUgcG9zc2li\naWxpdHkgb2Ygc3VjaCBkYW1hZ2VzLgoKICAgOS4gQWNjZXB0aW5nIFdhcnJh\nbnR5IG9yIEFkZGl0aW9uYWwgTGlhYmlsaXR5LiBXaGlsZSByZWRpc3RyaWJ1\ndGluZwogICAgICB0aGUgV29yayBvciBEZXJpdmF0aXZlIFdvcmtzIHRoZXJl\nb2YsIFlvdSBtYXkgY2hvb3NlIHRvIG9mZmVyLAogICAgICBhbmQgY2hhcmdl\nIGEgZmVlIGZvciwgYWNjZXB0YW5jZSBvZiBzdXBwb3J0LCB3YXJyYW50eSwg\naW5kZW1uaXR5LAogICAgICBvciBvdGhlciBsaWFiaWxpdHkgb2JsaWdhdGlv\nbnMgYW5kL29yIHJpZ2h0cyBjb25zaXN0ZW50IHdpdGggdGhpcwogICAgICBM\naWNlbnNlLiBIb3dldmVyLCBpbiBhY2NlcHRpbmcgc3VjaCBvYmxpZ2F0aW9u\ncywgWW91IG1heSBhY3Qgb25seQogICAgICBvbiBZb3VyIG93biBiZWhhbGYg\nYW5kIG9uIFlvdXIgc29sZSByZXNwb25zaWJpbGl0eSwgbm90IG9uIGJlaGFs\nZgogICAgICBvZiBhbnkgb3RoZXIgQ29udHJpYnV0b3IsIGFuZCBvbmx5IGlm\nIFlvdSBhZ3JlZSB0byBpbmRlbW5pZnksCiAgICAgIGRlZmVuZCwgYW5kIGhv\nbGQgZWFjaCBDb250cmlidXRvciBoYXJtbGVzcyBmb3IgYW55IGxpYWJpbGl0\neQogICAgICBpbmN1cnJlZCBieSwgb3IgY2xhaW1zIGFzc2VydGVkIGFnYWlu\nc3QsIHN1Y2ggQ29udHJpYnV0b3IgYnkgcmVhc29uCiAgICAgIG9mIHlvdXIg\nYWNjZXB0aW5nIGFueSBzdWNoIHdhcnJhbnR5IG9yIGFkZGl0aW9uYWwgbGlh\nYmlsaXR5LgoKICAgRU5EIE9GIFRFUk1TIEFORCBDT05ESVRJT05TCgogICBB\nUFBFTkRJWDogSG93IHRvIGFwcGx5IHRoZSBBcGFjaGUgTGljZW5zZSB0byB5\nb3VyIHdvcmsuCgogICAgICBUbyBhcHBseSB0aGUgQXBhY2hlIExpY2Vuc2Ug\ndG8geW91ciB3b3JrLCBhdHRhY2ggdGhlIGZvbGxvd2luZwogICAgICBib2ls\nZXJwbGF0ZSBub3RpY2UsIHdpdGggdGhlIGZpZWxkcyBlbmNsb3NlZCBieSBi\ncmFja2V0cyAie30iCiAgICAgIHJlcGxhY2VkIHdpdGggeW91ciBvd24gaWRl\nbnRpZnlpbmcgaW5mb3JtYXRpb24uIChEb24ndCBpbmNsdWRlCiAgICAgIHRo\nZSBicmFja2V0cyEpICBUaGUgdGV4dCBzaG91bGQgYmUgZW5jbG9zZWQgaW4g\ndGhlIGFwcHJvcHJpYXRlCiAgICAgIGNvbW1lbnQgc3ludGF4IGZvciB0aGUg\nZmlsZSBmb3JtYXQuIFdlIGFsc28gcmVjb21tZW5kIHRoYXQgYQogICAgICBm\naWxlIG9yIGNsYXNzIG5hbWUgYW5kIGRlc2NyaXB0aW9uIG9mIHB1cnBvc2Ug\nYmUgaW5jbHVkZWQgb24gdGhlCiAgICAgIHNhbWUgInByaW50ZWQgcGFnZSIg\nYXMgdGhlIGNvcHlyaWdodCBub3RpY2UgZm9yIGVhc2llcgogICAgICBpZGVu\ndGlmaWNhdGlvbiB3aXRoaW4gdGhpcmQtcGFydHkgYXJjaGl2ZXMuCgogICBD\nb3B5cmlnaHQge3l5eXl9IHtuYW1lIG9mIGNvcHlyaWdodCBvd25lcn0KCiAg\nIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAy\nLjAgKHRoZSAiTGljZW5zZSIpOwogICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBm\naWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuCiAg\nIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdAoKICAg\nICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIu\nMAoKICAgVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFn\ncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZQogICBkaXN0cmlidXRlZCB1\nbmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiAiQVMgSVMi\nIEJBU0lTLAogICBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBP\nRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC4KICAgU2Vl\nIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJu\naW5nIHBlcm1pc3Npb25zIGFuZAogICBsaW1pdGF0aW9ucyB1bmRlciB0aGUg\nTGljZW5zZS4KCj09PT09PT09PT09PT09CgpFY2xpcHNlIFB1YmxpYyBMaWNl\nbnNlIC0gdiAyLjAKCiAgICBUSEUgQUNDT01QQU5ZSU5HIFBST0dSQU0gSVMg\nUFJPVklERUQgVU5ERVIgVEhFIFRFUk1TIE9GIFRISVMgRUNMSVBTRQogICAg\nUFVCTElDIExJQ0VOU0UgKCJBR1JFRU1FTlQiKS4gQU5ZIFVTRSwgUkVQUk9E\nVUNUSU9OIE9SIERJU1RSSUJVVElPTgogICAgT0YgVEhFIFBST0dSQU0gQ09O\nU1RJVFVURVMgUkVDSVBJRU5UJ1MgQUNDRVBUQU5DRSBPRiBUSElTIEFHUkVF\nTUVOVC4KCjEuIERFRklOSVRJT05TCgoiQ29udHJpYnV0aW9uIiBtZWFuczoK\nCiAgYSkgaW4gdGhlIGNhc2Ugb2YgdGhlIGluaXRpYWwgQ29udHJpYnV0b3Is\nIHRoZSBpbml0aWFsIGNvbnRlbnQKICAgICBEaXN0cmlidXRlZCB1bmRlciB0\naGlzIEFncmVlbWVudCwgYW5kCgogIGIpIGluIHRoZSBjYXNlIG9mIGVhY2gg\nc3Vic2VxdWVudCBDb250cmlidXRvcjoKICAgICBpKSBjaGFuZ2VzIHRvIHRo\nZSBQcm9ncmFtLCBhbmQKICAgICBpaSkgYWRkaXRpb25zIHRvIHRoZSBQcm9n\ncmFtOwogIHdoZXJlIHN1Y2ggY2hhbmdlcyBhbmQvb3IgYWRkaXRpb25zIHRv\nIHRoZSBQcm9ncmFtIG9yaWdpbmF0ZSBmcm9tCiAgYW5kIGFyZSBEaXN0cmli\ndXRlZCBieSB0aGF0IHBhcnRpY3VsYXIgQ29udHJpYnV0b3IuIEEgQ29udHJp\nYnV0aW9uCiAgIm9yaWdpbmF0ZXMiIGZyb20gYSBDb250cmlidXRvciBpZiBp\ndCB3YXMgYWRkZWQgdG8gdGhlIFByb2dyYW0gYnkKICBzdWNoIENvbnRyaWJ1\ndG9yIGl0c2VsZiBvciBhbnlvbmUgYWN0aW5nIG9uIHN1Y2ggQ29udHJpYnV0\nb3IncyBiZWhhbGYuCiAgQ29udHJpYnV0aW9ucyBkbyBub3QgaW5jbHVkZSBj\naGFuZ2VzIG9yIGFkZGl0aW9ucyB0byB0aGUgUHJvZ3JhbSB0aGF0CiAgYXJl\nIG5vdCBNb2RpZmllZCBXb3Jrcy4KCiJDb250cmlidXRvciIgbWVhbnMgYW55\nIHBlcnNvbiBvciBlbnRpdHkgdGhhdCBEaXN0cmlidXRlcyB0aGUgUHJvZ3Jh\nbS4KCiJMaWNlbnNlZCBQYXRlbnRzIiBtZWFuIHBhdGVudCBjbGFpbXMgbGlj\nZW5zYWJsZSBieSBhIENvbnRyaWJ1dG9yIHdoaWNoCmFyZSBuZWNlc3Nhcmls\neSBpbmZyaW5nZWQgYnkgdGhlIHVzZSBvciBzYWxlIG9mIGl0cyBDb250cmli\ndXRpb24gYWxvbmUKb3Igd2hlbiBjb21iaW5lZCB3aXRoIHRoZSBQcm9ncmFt\nLgoKIlByb2dyYW0iIG1lYW5zIHRoZSBDb250cmlidXRpb25zIERpc3RyaWJ1\ndGVkIGluIGFjY29yZGFuY2Ugd2l0aCB0aGlzCkFncmVlbWVudC4KCiJSZWNp\ncGllbnQiIG1lYW5zIGFueW9uZSB3aG8gcmVjZWl2ZXMgdGhlIFByb2dyYW0g\ndW5kZXIgdGhpcyBBZ3JlZW1lbnQKb3IgYW55IFNlY29uZGFyeSBMaWNlbnNl\nIChhcyBhcHBsaWNhYmxlKSwgaW5jbHVkaW5nIENvbnRyaWJ1dG9ycy4KCiJE\nZXJpdmF0aXZlIFdvcmtzIiBzaGFsbCBtZWFuIGFueSB3b3JrLCB3aGV0aGVy\nIGluIFNvdXJjZSBDb2RlIG9yIG90aGVyCmZvcm0sIHRoYXQgaXMgYmFzZWQg\nb24gKG9yIGRlcml2ZWQgZnJvbSkgdGhlIFByb2dyYW0gYW5kIGZvciB3aGlj\naCB0aGUKZWRpdG9yaWFsIHJldmlzaW9ucywgYW5ub3RhdGlvbnMsIGVsYWJv\ncmF0aW9ucywgb3Igb3RoZXIgbW9kaWZpY2F0aW9ucwpyZXByZXNlbnQsIGFz\nIGEgd2hvbGUsIGFuIG9yaWdpbmFsIHdvcmsgb2YgYXV0aG9yc2hpcC4KCiJN\nb2RpZmllZCBXb3JrcyIgc2hhbGwgbWVhbiBhbnkgd29yayBpbiBTb3VyY2Ug\nQ29kZSBvciBvdGhlciBmb3JtIHRoYXQKcmVzdWx0cyBmcm9tIGFuIGFkZGl0\naW9uIHRvLCBkZWxldGlvbiBmcm9tLCBvciBtb2RpZmljYXRpb24gb2YgdGhl\nCmNvbnRlbnRzIG9mIHRoZSBQcm9ncmFtLCBpbmNsdWRpbmcsIGZvciBwdXJw\nb3NlcyBvZiBjbGFyaXR5IGFueSBuZXcgZmlsZQppbiBTb3VyY2UgQ29kZSBm\nb3JtIHRoYXQgY29udGFpbnMgYW55IGNvbnRlbnRzIG9mIHRoZSBQcm9ncmFt\nLiBNb2RpZmllZApXb3JrcyBzaGFsbCBub3QgaW5jbHVkZSB3b3JrcyB0aGF0\nIGNvbnRhaW4gb25seSBkZWNsYXJhdGlvbnMsCmludGVyZmFjZXMsIHR5cGVz\nLCBjbGFzc2VzLCBzdHJ1Y3R1cmVzLCBvciBmaWxlcyBvZiB0aGUgUHJvZ3Jh\nbSBzb2xlbHkKaW4gZWFjaCBjYXNlIGluIG9yZGVyIHRvIGxpbmsgdG8sIGJp\nbmQgYnkgbmFtZSwgb3Igc3ViY2xhc3MgdGhlIFByb2dyYW0Kb3IgTW9kaWZp\nZWQgV29ya3MgdGhlcmVvZi4KCiJEaXN0cmlidXRlIiBtZWFucyB0aGUgYWN0\ncyBvZiBhKSBkaXN0cmlidXRpbmcgb3IgYikgbWFraW5nIGF2YWlsYWJsZQpp\nbiBhbnkgbWFubmVyIHRoYXQgZW5hYmxlcyB0aGUgdHJhbnNmZXIgb2YgYSBj\nb3B5LgoKIlNvdXJjZSBDb2RlIiBtZWFucyB0aGUgZm9ybSBvZiBhIFByb2dy\nYW0gcHJlZmVycmVkIGZvciBtYWtpbmcKbW9kaWZpY2F0aW9ucywgaW5jbHVk\naW5nIGJ1dCBub3QgbGltaXRlZCB0byBzb2Z0d2FyZSBzb3VyY2UgY29kZSwK\nZG9jdW1lbnRhdGlvbiBzb3VyY2UsIGFuZCBjb25maWd1cmF0aW9uIGZpbGVz\nLgoKIlNlY29uZGFyeSBMaWNlbnNlIiBtZWFucyBlaXRoZXIgdGhlIEdOVSBH\nZW5lcmFsIFB1YmxpYyBMaWNlbnNlLApWZXJzaW9uIDIuMCwgb3IgYW55IGxh\ndGVyIHZlcnNpb25zIG9mIHRoYXQgbGljZW5zZSwgaW5jbHVkaW5nIGFueQpl\neGNlcHRpb25zIG9yIGFkZGl0aW9uYWwgcGVybWlzc2lvbnMgYXMgaWRlbnRp\nZmllZCBieSB0aGUgaW5pdGlhbApDb250cmlidXRvci4KCjIuIEdSQU5UIE9G\nIFJJR0hUUwoKICBhKSBTdWJqZWN0IHRvIHRoZSB0ZXJtcyBvZiB0aGlzIEFn\ncmVlbWVudCwgZWFjaCBDb250cmlidXRvciBoZXJlYnkKICBncmFudHMgUmVj\naXBpZW50IGEgbm9uLWV4Y2x1c2l2ZSwgd29ybGR3aWRlLCByb3lhbHR5LWZy\nZWUgY29weXJpZ2h0CiAgbGljZW5zZSB0byByZXByb2R1Y2UsIHByZXBhcmUg\nRGVyaXZhdGl2ZSBXb3JrcyBvZiwgcHVibGljbHkgZGlzcGxheSwKICBwdWJs\naWNseSBwZXJmb3JtLCBEaXN0cmlidXRlIGFuZCBzdWJsaWNlbnNlIHRoZSBD\nb250cmlidXRpb24gb2Ygc3VjaAogIENvbnRyaWJ1dG9yLCBpZiBhbnksIGFu\nZCBzdWNoIERlcml2YXRpdmUgV29ya3MuCgogIGIpIFN1YmplY3QgdG8gdGhl\nIHRlcm1zIG9mIHRoaXMgQWdyZWVtZW50LCBlYWNoIENvbnRyaWJ1dG9yIGhl\ncmVieQogIGdyYW50cyBSZWNpcGllbnQgYSBub24tZXhjbHVzaXZlLCB3b3Js\nZHdpZGUsIHJveWFsdHktZnJlZSBwYXRlbnQKICBsaWNlbnNlIHVuZGVyIExp\nY2Vuc2VkIFBhdGVudHMgdG8gbWFrZSwgdXNlLCBzZWxsLCBvZmZlciB0byBz\nZWxsLAogIGltcG9ydCBhbmQgb3RoZXJ3aXNlIHRyYW5zZmVyIHRoZSBDb250\ncmlidXRpb24gb2Ygc3VjaCBDb250cmlidXRvciwKICBpZiBhbnksIGluIFNv\ndXJjZSBDb2RlIG9yIG90aGVyIGZvcm0uIFRoaXMgcGF0ZW50IGxpY2Vuc2Ug\nc2hhbGwKICBhcHBseSB0byB0aGUgY29tYmluYXRpb24gb2YgdGhlIENvbnRy\naWJ1dGlvbiBhbmQgdGhlIFByb2dyYW0gaWYsIGF0CiAgdGhlIHRpbWUgdGhl\nIENvbnRyaWJ1dGlvbiBpcyBhZGRlZCBieSB0aGUgQ29udHJpYnV0b3IsIHN1\nY2ggYWRkaXRpb24KICBvZiB0aGUgQ29udHJpYnV0aW9uIGNhdXNlcyBzdWNo\nIGNvbWJpbmF0aW9uIHRvIGJlIGNvdmVyZWQgYnkgdGhlCiAgTGljZW5zZWQg\nUGF0ZW50cy4gVGhlIHBhdGVudCBsaWNlbnNlIHNoYWxsIG5vdCBhcHBseSB0\nbyBhbnkgb3RoZXIKICBjb21iaW5hdGlvbnMgd2hpY2ggaW5jbHVkZSB0aGUg\nQ29udHJpYnV0aW9uLiBObyBoYXJkd2FyZSBwZXIgc2UgaXMKICBsaWNlbnNl\nZCBoZXJldW5kZXIuCgogIGMpIFJlY2lwaWVudCB1bmRlcnN0YW5kcyB0aGF0\nIGFsdGhvdWdoIGVhY2ggQ29udHJpYnV0b3IgZ3JhbnRzIHRoZQogIGxpY2Vu\nc2VzIHRvIGl0cyBDb250cmlidXRpb25zIHNldCBmb3J0aCBoZXJlaW4sIG5v\nIGFzc3VyYW5jZXMgYXJlCiAgcHJvdmlkZWQgYnkgYW55IENvbnRyaWJ1dG9y\nIHRoYXQgdGhlIFByb2dyYW0gZG9lcyBub3QgaW5mcmluZ2UgdGhlCiAgcGF0\nZW50IG9yIG90aGVyIGludGVsbGVjdHVhbCBwcm9wZXJ0eSByaWdodHMgb2Yg\nYW55IG90aGVyIGVudGl0eS4KICBFYWNoIENvbnRyaWJ1dG9yIGRpc2NsYWlt\ncyBhbnkgbGlhYmlsaXR5IHRvIFJlY2lwaWVudCBmb3IgY2xhaW1zCiAgYnJv\ndWdodCBieSBhbnkgb3RoZXIgZW50aXR5IGJhc2VkIG9uIGluZnJpbmdlbWVu\ndCBvZiBpbnRlbGxlY3R1YWwKICBwcm9wZXJ0eSByaWdodHMgb3Igb3RoZXJ3\naXNlLiBBcyBhIGNvbmRpdGlvbiB0byBleGVyY2lzaW5nIHRoZQogIHJpZ2h0\ncyBhbmQgbGljZW5zZXMgZ3JhbnRlZCBoZXJldW5kZXIsIGVhY2ggUmVjaXBp\nZW50IGhlcmVieQogIGFzc3VtZXMgc29sZSByZXNwb25zaWJpbGl0eSB0byBz\nZWN1cmUgYW55IG90aGVyIGludGVsbGVjdHVhbAogIHByb3BlcnR5IHJpZ2h0\ncyBuZWVkZWQsIGlmIGFueS4gRm9yIGV4YW1wbGUsIGlmIGEgdGhpcmQgcGFy\ndHkKICBwYXRlbnQgbGljZW5zZSBpcyByZXF1aXJlZCB0byBhbGxvdyBSZWNp\ncGllbnQgdG8gRGlzdHJpYnV0ZSB0aGUKICBQcm9ncmFtLCBpdCBpcyBSZWNp\ncGllbnQncyByZXNwb25zaWJpbGl0eSB0byBhY3F1aXJlIHRoYXQgbGljZW5z\nZQogIGJlZm9yZSBkaXN0cmlidXRpbmcgdGhlIFByb2dyYW0uCgogIGQpIEVh\nY2ggQ29udHJpYnV0b3IgcmVwcmVzZW50cyB0aGF0IHRvIGl0cyBrbm93bGVk\nZ2UgaXQgaGFzCiAgc3VmZmljaWVudCBjb3B5cmlnaHQgcmlnaHRzIGluIGl0\ncyBDb250cmlidXRpb24sIGlmIGFueSwgdG8gZ3JhbnQKICB0aGUgY29weXJp\nZ2h0IGxpY2Vuc2Ugc2V0IGZvcnRoIGluIHRoaXMgQWdyZWVtZW50LgoKICBl\nKSBOb3R3aXRoc3RhbmRpbmcgdGhlIHRlcm1zIG9mIGFueSBTZWNvbmRhcnkg\nTGljZW5zZSwgbm8KICBDb250cmlidXRvciBtYWtlcyBhZGRpdGlvbmFsIGdy\nYW50cyB0byBhbnkgUmVjaXBpZW50IChvdGhlciB0aGFuCiAgdGhvc2Ugc2V0\nIGZvcnRoIGluIHRoaXMgQWdyZWVtZW50KSBhcyBhIHJlc3VsdCBvZiBzdWNo\nIFJlY2lwaWVudCdzCiAgcmVjZWlwdCBvZiB0aGUgUHJvZ3JhbSB1bmRlciB0\naGUgdGVybXMgb2YgYSBTZWNvbmRhcnkgTGljZW5zZQogIChpZiBwZXJtaXR0\nZWQgdW5kZXIgdGhlIHRlcm1zIG9mIFNlY3Rpb24gMykuCgozLiBSRVFVSVJF\nTUVOVFMKCjMuMSBJZiBhIENvbnRyaWJ1dG9yIERpc3RyaWJ1dGVzIHRoZSBQ\ncm9ncmFtIGluIGFueSBmb3JtLCB0aGVuOgoKICBhKSB0aGUgUHJvZ3JhbSBt\ndXN0IGFsc28gYmUgbWFkZSBhdmFpbGFibGUgYXMgU291cmNlIENvZGUsIGlu\nCiAgYWNjb3JkYW5jZSB3aXRoIHNlY3Rpb24gMy4yLCBhbmQgdGhlIENvbnRy\naWJ1dG9yIG11c3QgYWNjb21wYW55CiAgdGhlIFByb2dyYW0gd2l0aCBhIHN0\nYXRlbWVudCB0aGF0IHRoZSBTb3VyY2UgQ29kZSBmb3IgdGhlIFByb2dyYW0K\nICBpcyBhdmFpbGFibGUgdW5kZXIgdGhpcyBBZ3JlZW1lbnQsIGFuZCBpbmZv\ncm1zIFJlY2lwaWVudHMgaG93IHRvCiAgb2J0YWluIGl0IGluIGEgcmVhc29u\nYWJsZSBtYW5uZXIgb24gb3IgdGhyb3VnaCBhIG1lZGl1bSBjdXN0b21hcmls\neQogIHVzZWQgZm9yIHNvZnR3YXJlIGV4Y2hhbmdlOyBhbmQKCiAgYikgdGhl\nIENvbnRyaWJ1dG9yIG1heSBEaXN0cmlidXRlIHRoZSBQcm9ncmFtIHVuZGVy\nIGEgbGljZW5zZQogIGRpZmZlcmVudCB0aGFuIHRoaXMgQWdyZWVtZW50LCBw\ncm92aWRlZCB0aGF0IHN1Y2ggbGljZW5zZToKICAgICBpKSBlZmZlY3RpdmVs\neSBkaXNjbGFpbXMgb24gYmVoYWxmIG9mIGFsbCBvdGhlciBDb250cmlidXRv\ncnMgYWxsCiAgICAgd2FycmFudGllcyBhbmQgY29uZGl0aW9ucywgZXhwcmVz\ncyBhbmQgaW1wbGllZCwgaW5jbHVkaW5nCiAgICAgd2FycmFudGllcyBvciBj\nb25kaXRpb25zIG9mIHRpdGxlIGFuZCBub24taW5mcmluZ2VtZW50LCBhbmQK\nICAgICBpbXBsaWVkIHdhcnJhbnRpZXMgb3IgY29uZGl0aW9ucyBvZiBtZXJj\naGFudGFiaWxpdHkgYW5kIGZpdG5lc3MKICAgICBmb3IgYSBwYXJ0aWN1bGFy\nIHB1cnBvc2U7CgogICAgIGlpKSBlZmZlY3RpdmVseSBleGNsdWRlcyBvbiBi\nZWhhbGYgb2YgYWxsIG90aGVyIENvbnRyaWJ1dG9ycyBhbGwKICAgICBsaWFi\naWxpdHkgZm9yIGRhbWFnZXMsIGluY2x1ZGluZyBkaXJlY3QsIGluZGlyZWN0\nLCBzcGVjaWFsLAogICAgIGluY2lkZW50YWwgYW5kIGNvbnNlcXVlbnRpYWwg\nZGFtYWdlcywgc3VjaCBhcyBsb3N0IHByb2ZpdHM7CgogICAgIGlpaSkgZG9l\ncyBub3QgYXR0ZW1wdCB0byBsaW1pdCBvciBhbHRlciB0aGUgcmVjaXBpZW50\ncycgcmlnaHRzCiAgICAgaW4gdGhlIFNvdXJjZSBDb2RlIHVuZGVyIHNlY3Rp\nb24gMy4yOyBhbmQKCiAgICAgaXYpIHJlcXVpcmVzIGFueSBzdWJzZXF1ZW50\nIGRpc3RyaWJ1dGlvbiBvZiB0aGUgUHJvZ3JhbSBieSBhbnkKICAgICBwYXJ0\neSB0byBiZSB1bmRlciBhIGxpY2Vuc2UgdGhhdCBzYXRpc2ZpZXMgdGhlIHJl\ncXVpcmVtZW50cwogICAgIG9mIHRoaXMgc2VjdGlvbiAzLgoKMy4yIFdoZW4g\ndGhlIFByb2dyYW0gaXMgRGlzdHJpYnV0ZWQgYXMgU291cmNlIENvZGU6Cgog\nIGEpIGl0IG11c3QgYmUgbWFkZSBhdmFpbGFibGUgdW5kZXIgdGhpcyBBZ3Jl\nZW1lbnQsIG9yIGlmIHRoZQogIFByb2dyYW0gKGkpIGlzIGNvbWJpbmVkIHdp\ndGggb3RoZXIgbWF0ZXJpYWwgaW4gYSBzZXBhcmF0ZSBmaWxlIG9yCiAgZmls\nZXMgbWFkZSBhdmFpbGFibGUgdW5kZXIgYSBTZWNvbmRhcnkgTGljZW5zZSwg\nYW5kIChpaSkgdGhlIGluaXRpYWwKICBDb250cmlidXRvciBhdHRhY2hlZCB0\nbyB0aGUgU291cmNlIENvZGUgdGhlIG5vdGljZSBkZXNjcmliZWQgaW4KICBF\neGhpYml0IEEgb2YgdGhpcyBBZ3JlZW1lbnQsIHRoZW4gdGhlIFByb2dyYW0g\nbWF5IGJlIG1hZGUgYXZhaWxhYmxlCiAgdW5kZXIgdGhlIHRlcm1zIG9mIHN1\nY2ggU2Vjb25kYXJ5IExpY2Vuc2VzLCBhbmQKCiAgYikgYSBjb3B5IG9mIHRo\naXMgQWdyZWVtZW50IG11c3QgYmUgaW5jbHVkZWQgd2l0aCBlYWNoIGNvcHkg\nb2YKICB0aGUgUHJvZ3JhbS4KCjMuMyBDb250cmlidXRvcnMgbWF5IG5vdCBy\nZW1vdmUgb3IgYWx0ZXIgYW55IGNvcHlyaWdodCwgcGF0ZW50LAp0cmFkZW1h\ncmssIGF0dHJpYnV0aW9uIG5vdGljZXMsIGRpc2NsYWltZXJzIG9mIHdhcnJh\nbnR5LCBvciBsaW1pdGF0aW9ucwpvZiBsaWFiaWxpdHkgKCJub3RpY2VzIikg\nY29udGFpbmVkIHdpdGhpbiB0aGUgUHJvZ3JhbSBmcm9tIGFueSBjb3B5IG9m\nCnRoZSBQcm9ncmFtIHdoaWNoIHRoZXkgRGlzdHJpYnV0ZSwgcHJvdmlkZWQg\ndGhhdCBDb250cmlidXRvcnMgbWF5IGFkZAp0aGVpciBvd24gYXBwcm9wcmlh\ndGUgbm90aWNlcy4KCjQuIENPTU1FUkNJQUwgRElTVFJJQlVUSU9OCgpDb21t\nZXJjaWFsIGRpc3RyaWJ1dG9ycyBvZiBzb2Z0d2FyZSBtYXkgYWNjZXB0IGNl\ncnRhaW4gcmVzcG9uc2liaWxpdGllcwp3aXRoIHJlc3BlY3QgdG8gZW5kIHVz\nZXJzLCBidXNpbmVzcyBwYXJ0bmVycyBhbmQgdGhlIGxpa2UuIFdoaWxlIHRo\naXMKbGljZW5zZSBpcyBpbnRlbmRlZCB0byBmYWNpbGl0YXRlIHRoZSBjb21t\nZXJjaWFsIHVzZSBvZiB0aGUgUHJvZ3JhbSwKdGhlIENvbnRyaWJ1dG9yIHdo\nbyBpbmNsdWRlcyB0aGUgUHJvZ3JhbSBpbiBhIGNvbW1lcmNpYWwgcHJvZHVj\ndApvZmZlcmluZyBzaG91bGQgZG8gc28gaW4gYSBtYW5uZXIgd2hpY2ggZG9l\ncyBub3QgY3JlYXRlIHBvdGVudGlhbApsaWFiaWxpdHkgZm9yIG90aGVyIENv\nbnRyaWJ1dG9ycy4gVGhlcmVmb3JlLCBpZiBhIENvbnRyaWJ1dG9yIGluY2x1\nZGVzCnRoZSBQcm9ncmFtIGluIGEgY29tbWVyY2lhbCBwcm9kdWN0IG9mZmVy\naW5nLCBzdWNoIENvbnRyaWJ1dG9yCigiQ29tbWVyY2lhbCBDb250cmlidXRv\nciIpIGhlcmVieSBhZ3JlZXMgdG8gZGVmZW5kIGFuZCBpbmRlbW5pZnkgZXZl\ncnkKb3RoZXIgQ29udHJpYnV0b3IgKCJJbmRlbW5pZmllZCBDb250cmlidXRv\nciIpIGFnYWluc3QgYW55IGxvc3NlcywKZGFtYWdlcyBhbmQgY29zdHMgKGNv\nbGxlY3RpdmVseSAiTG9zc2VzIikgYXJpc2luZyBmcm9tIGNsYWltcywgbGF3\nc3VpdHMKYW5kIG90aGVyIGxlZ2FsIGFjdGlvbnMgYnJvdWdodCBieSBhIHRo\naXJkIHBhcnR5IGFnYWluc3QgdGhlIEluZGVtbmlmaWVkCkNvbnRyaWJ1dG9y\nIHRvIHRoZSBleHRlbnQgY2F1c2VkIGJ5IHRoZSBhY3RzIG9yIG9taXNzaW9u\ncyBvZiBzdWNoCkNvbW1lcmNpYWwgQ29udHJpYnV0b3IgaW4gY29ubmVjdGlv\nbiB3aXRoIGl0cyBkaXN0cmlidXRpb24gb2YgdGhlIFByb2dyYW0KaW4gYSBj\nb21tZXJjaWFsIHByb2R1Y3Qgb2ZmZXJpbmcuIFRoZSBvYmxpZ2F0aW9ucyBp\nbiB0aGlzIHNlY3Rpb24gZG8gbm90CmFwcGx5IHRvIGFueSBjbGFpbXMgb3Ig\nTG9zc2VzIHJlbGF0aW5nIHRvIGFueSBhY3R1YWwgb3IgYWxsZWdlZAppbnRl\nbGxlY3R1YWwgcHJvcGVydHkgaW5mcmluZ2VtZW50LiBJbiBvcmRlciB0byBx\ndWFsaWZ5LCBhbiBJbmRlbW5pZmllZApDb250cmlidXRvciBtdXN0OiBhKSBw\ncm9tcHRseSBub3RpZnkgdGhlIENvbW1lcmNpYWwgQ29udHJpYnV0b3IgaW4K\nd3JpdGluZyBvZiBzdWNoIGNsYWltLCBhbmQgYikgYWxsb3cgdGhlIENvbW1l\ncmNpYWwgQ29udHJpYnV0b3IgdG8gY29udHJvbCwKYW5kIGNvb3BlcmF0ZSB3\naXRoIHRoZSBDb21tZXJjaWFsIENvbnRyaWJ1dG9yIGluLCB0aGUgZGVmZW5z\nZSBhbmQgYW55CnJlbGF0ZWQgc2V0dGxlbWVudCBuZWdvdGlhdGlvbnMuIFRo\nZSBJbmRlbW5pZmllZCBDb250cmlidXRvciBtYXkKcGFydGljaXBhdGUgaW4g\nYW55IHN1Y2ggY2xhaW0gYXQgaXRzIG93biBleHBlbnNlLgoKRm9yIGV4YW1w\nbGUsIGEgQ29udHJpYnV0b3IgbWlnaHQgaW5jbHVkZSB0aGUgUHJvZ3JhbSBp\nbiBhIGNvbW1lcmNpYWwKcHJvZHVjdCBvZmZlcmluZywgUHJvZHVjdCBYLiBU\naGF0IENvbnRyaWJ1dG9yIGlzIHRoZW4gYSBDb21tZXJjaWFsCkNvbnRyaWJ1\ndG9yLiBJZiB0aGF0IENvbW1lcmNpYWwgQ29udHJpYnV0b3IgdGhlbiBtYWtl\ncyBwZXJmb3JtYW5jZQpjbGFpbXMsIG9yIG9mZmVycyB3YXJyYW50aWVzIHJl\nbGF0ZWQgdG8gUHJvZHVjdCBYLCB0aG9zZSBwZXJmb3JtYW5jZQpjbGFpbXMg\nYW5kIHdhcnJhbnRpZXMgYXJlIHN1Y2ggQ29tbWVyY2lhbCBDb250cmlidXRv\ncidzIHJlc3BvbnNpYmlsaXR5CmFsb25lLiBVbmRlciB0aGlzIHNlY3Rpb24s\nIHRoZSBDb21tZXJjaWFsIENvbnRyaWJ1dG9yIHdvdWxkIGhhdmUgdG8KZGVm\nZW5kIGNsYWltcyBhZ2FpbnN0IHRoZSBvdGhlciBDb250cmlidXRvcnMgcmVs\nYXRlZCB0byB0aG9zZSBwZXJmb3JtYW5jZQpjbGFpbXMgYW5kIHdhcnJhbnRp\nZXMsIGFuZCBpZiBhIGNvdXJ0IHJlcXVpcmVzIGFueSBvdGhlciBDb250cmli\ndXRvciB0bwpwYXkgYW55IGRhbWFnZXMgYXMgYSByZXN1bHQsIHRoZSBDb21t\nZXJjaWFsIENvbnRyaWJ1dG9yIG11c3QgcGF5CnRob3NlIGRhbWFnZXMuCgo1\nLiBOTyBXQVJSQU5UWQoKRVhDRVBUIEFTIEVYUFJFU1NMWSBTRVQgRk9SVEgg\nSU4gVEhJUyBBR1JFRU1FTlQsIEFORCBUTyBUSEUgRVhURU5UClBFUk1JVFRF\nRCBCWSBBUFBMSUNBQkxFIExBVywgVEhFIFBST0dSQU0gSVMgUFJPVklERUQg\nT04gQU4gIkFTIElTIgpCQVNJUywgV0lUSE9VVCBXQVJSQU5USUVTIE9SIENP\nTkRJVElPTlMgT0YgQU5ZIEtJTkQsIEVJVEhFUiBFWFBSRVNTIE9SCklNUExJ\nRUQgSU5DTFVESU5HLCBXSVRIT1VUIExJTUlUQVRJT04sIEFOWSBXQVJSQU5U\nSUVTIE9SIENPTkRJVElPTlMgT0YKVElUTEUsIE5PTi1JTkZSSU5HRU1FTlQs\nIE1FUkNIQU5UQUJJTElUWSBPUiBGSVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIK\nUFVSUE9TRS4gRWFjaCBSZWNpcGllbnQgaXMgc29sZWx5IHJlc3BvbnNpYmxl\nIGZvciBkZXRlcm1pbmluZyB0aGUKYXBwcm9wcmlhdGVuZXNzIG9mIHVzaW5n\nIGFuZCBkaXN0cmlidXRpbmcgdGhlIFByb2dyYW0gYW5kIGFzc3VtZXMgYWxs\nCnJpc2tzIGFzc29jaWF0ZWQgd2l0aCBpdHMgZXhlcmNpc2Ugb2YgcmlnaHRz\nIHVuZGVyIHRoaXMgQWdyZWVtZW50LAppbmNsdWRpbmcgYnV0IG5vdCBsaW1p\ndGVkIHRvIHRoZSByaXNrcyBhbmQgY29zdHMgb2YgcHJvZ3JhbSBlcnJvcnMs\nCmNvbXBsaWFuY2Ugd2l0aCBhcHBsaWNhYmxlIGxhd3MsIGRhbWFnZSB0byBv\nciBsb3NzIG9mIGRhdGEsIHByb2dyYW1zCm9yIGVxdWlwbWVudCwgYW5kIHVu\nYXZhaWxhYmlsaXR5IG9yIGludGVycnVwdGlvbiBvZiBvcGVyYXRpb25zLgoK\nNi4gRElTQ0xBSU1FUiBPRiBMSUFCSUxJVFkKCkVYQ0VQVCBBUyBFWFBSRVNT\nTFkgU0VUIEZPUlRIIElOIFRISVMgQUdSRUVNRU5ULCBBTkQgVE8gVEhFIEVY\nVEVOVApQRVJNSVRURUQgQlkgQVBQTElDQUJMRSBMQVcsIE5FSVRIRVIgUkVD\nSVBJRU5UIE5PUiBBTlkgQ09OVFJJQlVUT1JTClNIQUxMIEhBVkUgQU5ZIExJ\nQUJJTElUWSBGT1IgQU5ZIERJUkVDVCwgSU5ESVJFQ1QsIElOQ0lERU5UQUws\nIFNQRUNJQUwsCkVYRU1QTEFSWSwgT1IgQ09OU0VRVUVOVElBTCBEQU1BR0VT\nIChJTkNMVURJTkcgV0lUSE9VVCBMSU1JVEFUSU9OIExPU1QKUFJPRklUUyks\nIEhPV0VWRVIgQ0FVU0VEIEFORCBPTiBBTlkgVEhFT1JZIE9GIExJQUJJTElU\nWSwgV0hFVEhFUiBJTgpDT05UUkFDVCwgU1RSSUNUIExJQUJJTElUWSwgT1Ig\nVE9SVCAoSU5DTFVESU5HIE5FR0xJR0VOQ0UgT1IgT1RIRVJXSVNFKQpBUklT\nSU5HIElOIEFOWSBXQVkgT1VUIE9GIFRIRSBVU0UgT1IgRElTVFJJQlVUSU9O\nIE9GIFRIRSBQUk9HUkFNIE9SIFRIRQpFWEVSQ0lTRSBPRiBBTlkgUklHSFRT\nIEdSQU5URUQgSEVSRVVOREVSLCBFVkVOIElGIEFEVklTRUQgT0YgVEhFClBP\nU1NJQklMSVRZIE9GIFNVQ0ggREFNQUdFUy4KCjcuIEdFTkVSQUwKCklmIGFu\neSBwcm92aXNpb24gb2YgdGhpcyBBZ3JlZW1lbnQgaXMgaW52YWxpZCBvciB1\nbmVuZm9yY2VhYmxlIHVuZGVyCmFwcGxpY2FibGUgbGF3LCBpdCBzaGFsbCBu\nb3QgYWZmZWN0IHRoZSB2YWxpZGl0eSBvciBlbmZvcmNlYWJpbGl0eSBvZgp0\naGUgcmVtYWluZGVyIG9mIHRoZSB0ZXJtcyBvZiB0aGlzIEFncmVlbWVudCwg\nYW5kIHdpdGhvdXQgZnVydGhlcgphY3Rpb24gYnkgdGhlIHBhcnRpZXMgaGVy\nZXRvLCBzdWNoIHByb3Zpc2lvbiBzaGFsbCBiZSByZWZvcm1lZCB0byB0aGUK\nbWluaW11bSBleHRlbnQgbmVjZXNzYXJ5IHRvIG1ha2Ugc3VjaCBwcm92aXNp\nb24gdmFsaWQgYW5kIGVuZm9yY2VhYmxlLgoKSWYgUmVjaXBpZW50IGluc3Rp\ndHV0ZXMgcGF0ZW50IGxpdGlnYXRpb24gYWdhaW5zdCBhbnkgZW50aXR5Cihp\nbmNsdWRpbmcgYSBjcm9zcy1jbGFpbSBvciBjb3VudGVyY2xhaW0gaW4gYSBs\nYXdzdWl0KSBhbGxlZ2luZyB0aGF0IHRoZQpQcm9ncmFtIGl0c2VsZiAoZXhj\nbHVkaW5nIGNvbWJpbmF0aW9ucyBvZiB0aGUgUHJvZ3JhbSB3aXRoIG90aGVy\nIHNvZnR3YXJlCm9yIGhhcmR3YXJlKSBpbmZyaW5nZXMgc3VjaCBSZWNpcGll\nbnQncyBwYXRlbnQocyksIHRoZW4gc3VjaCBSZWNpcGllbnQncwpyaWdodHMg\nZ3JhbnRlZCB1bmRlciBTZWN0aW9uIDIoYikgc2hhbGwgdGVybWluYXRlIGFz\nIG9mIHRoZSBkYXRlIHN1Y2gKbGl0aWdhdGlvbiBpcyBmaWxlZC4KCkFsbCBS\nZWNpcGllbnQncyByaWdodHMgdW5kZXIgdGhpcyBBZ3JlZW1lbnQgc2hhbGwg\ndGVybWluYXRlIGlmIGl0CmZhaWxzIHRvIGNvbXBseSB3aXRoIGFueSBvZiB0\naGUgbWF0ZXJpYWwgdGVybXMgb3IgY29uZGl0aW9ucyBvZiB0aGlzCkFncmVl\nbWVudCBhbmQgZG9lcyBub3QgY3VyZSBzdWNoIGZhaWx1cmUgaW4gYSByZWFz\nb25hYmxlIHBlcmlvZCBvZgp0aW1lIGFmdGVyIGJlY29taW5nIGF3YXJlIG9m\nIHN1Y2ggbm9uY29tcGxpYW5jZS4gSWYgYWxsIFJlY2lwaWVudCdzCnJpZ2h0\ncyB1bmRlciB0aGlzIEFncmVlbWVudCB0ZXJtaW5hdGUsIFJlY2lwaWVudCBh\nZ3JlZXMgdG8gY2Vhc2UgdXNlCmFuZCBkaXN0cmlidXRpb24gb2YgdGhlIFBy\nb2dyYW0gYXMgc29vbiBhcyByZWFzb25hYmx5IHByYWN0aWNhYmxlLgpIb3dl\ndmVyLCBSZWNpcGllbnQncyBvYmxpZ2F0aW9ucyB1bmRlciB0aGlzIEFncmVl\nbWVudCBhbmQgYW55IGxpY2Vuc2VzCmdyYW50ZWQgYnkgUmVjaXBpZW50IHJl\nbGF0aW5nIHRvIHRoZSBQcm9ncmFtIHNoYWxsIGNvbnRpbnVlIGFuZCBzdXJ2\naXZlLgoKRXZlcnlvbmUgaXMgcGVybWl0dGVkIHRvIGNvcHkgYW5kIGRpc3Ry\naWJ1dGUgY29waWVzIG9mIHRoaXMgQWdyZWVtZW50LApidXQgaW4gb3JkZXIg\ndG8gYXZvaWQgaW5jb25zaXN0ZW5jeSB0aGUgQWdyZWVtZW50IGlzIGNvcHly\naWdodGVkIGFuZAptYXkgb25seSBiZSBtb2RpZmllZCBpbiB0aGUgZm9sbG93\naW5nIG1hbm5lci4gVGhlIEFncmVlbWVudCBTdGV3YXJkCnJlc2VydmVzIHRo\nZSByaWdodCB0byBwdWJsaXNoIG5ldyB2ZXJzaW9ucyAoaW5jbHVkaW5nIHJl\ndmlzaW9ucykgb2YKdGhpcyBBZ3JlZW1lbnQgZnJvbSB0aW1lIHRvIHRpbWUu\nIE5vIG9uZSBvdGhlciB0aGFuIHRoZSBBZ3JlZW1lbnQKU3Rld2FyZCBoYXMg\ndGhlIHJpZ2h0IHRvIG1vZGlmeSB0aGlzIEFncmVlbWVudC4gVGhlIEVjbGlw\nc2UgRm91bmRhdGlvbgppcyB0aGUgaW5pdGlhbCBBZ3JlZW1lbnQgU3Rld2Fy\nZC4gVGhlIEVjbGlwc2UgRm91bmRhdGlvbiBtYXkgYXNzaWduIHRoZQpyZXNw\nb25zaWJpbGl0eSB0byBzZXJ2ZSBhcyB0aGUgQWdyZWVtZW50IFN0ZXdhcmQg\ndG8gYSBzdWl0YWJsZSBzZXBhcmF0ZQplbnRpdHkuIEVhY2ggbmV3IHZlcnNp\nb24gb2YgdGhlIEFncmVlbWVudCB3aWxsIGJlIGdpdmVuIGEgZGlzdGluZ3Vp\nc2hpbmcKdmVyc2lvbiBudW1iZXIuIFRoZSBQcm9ncmFtIChpbmNsdWRpbmcg\nQ29udHJpYnV0aW9ucykgbWF5IGFsd2F5cyBiZQpEaXN0cmlidXRlZCBzdWJq\nZWN0IHRvIHRoZSB2ZXJzaW9uIG9mIHRoZSBBZ3JlZW1lbnQgdW5kZXIgd2hp\nY2ggaXQgd2FzCnJlY2VpdmVkLiBJbiBhZGRpdGlvbiwgYWZ0ZXIgYSBuZXcg\ndmVyc2lvbiBvZiB0aGUgQWdyZWVtZW50IGlzIHB1Ymxpc2hlZCwKQ29udHJp\nYnV0b3IgbWF5IGVsZWN0IHRvIERpc3RyaWJ1dGUgdGhlIFByb2dyYW0gKGlu\nY2x1ZGluZyBpdHMKQ29udHJpYnV0aW9ucykgdW5kZXIgdGhlIG5ldyB2ZXJz\naW9uLgoKRXhjZXB0IGFzIGV4cHJlc3NseSBzdGF0ZWQgaW4gU2VjdGlvbnMg\nMihhKSBhbmQgMihiKSBhYm92ZSwgUmVjaXBpZW50CnJlY2VpdmVzIG5vIHJp\nZ2h0cyBvciBsaWNlbnNlcyB0byB0aGUgaW50ZWxsZWN0dWFsIHByb3BlcnR5\nIG9mIGFueQpDb250cmlidXRvciB1bmRlciB0aGlzIEFncmVlbWVudCwgd2hl\ndGhlciBleHByZXNzbHksIGJ5IGltcGxpY2F0aW9uLAplc3RvcHBlbCBvciBv\ndGhlcndpc2UuIEFsbCByaWdodHMgaW4gdGhlIFByb2dyYW0gbm90IGV4cHJl\nc3NseSBncmFudGVkCnVuZGVyIHRoaXMgQWdyZWVtZW50IGFyZSByZXNlcnZl\nZC4gTm90aGluZyBpbiB0aGlzIEFncmVlbWVudCBpcyBpbnRlbmRlZAp0byBi\nZSBlbmZvcmNlYWJsZSBieSBhbnkgZW50aXR5IHRoYXQgaXMgbm90IGEgQ29u\ndHJpYnV0b3Igb3IgUmVjaXBpZW50LgpObyB0aGlyZC1wYXJ0eSBiZW5lZmlj\naWFyeSByaWdodHMgYXJlIGNyZWF0ZWQgdW5kZXIgdGhpcyBBZ3JlZW1lbnQu\nCgpFeGhpYml0IEEgLSBGb3JtIG9mIFNlY29uZGFyeSBMaWNlbnNlcyBOb3Rp\nY2UKCiJUaGlzIFNvdXJjZSBDb2RlIG1heSBhbHNvIGJlIG1hZGUgYXZhaWxh\nYmxlIHVuZGVyIHRoZSBmb2xsb3dpbmcgClNlY29uZGFyeSBMaWNlbnNlcyB3\naGVuIHRoZSBjb25kaXRpb25zIGZvciBzdWNoIGF2YWlsYWJpbGl0eSBzZXQg\nZm9ydGggCmluIHRoZSBFY2xpcHNlIFB1YmxpYyBMaWNlbnNlLCB2LiAyLjAg\nYXJlIHNhdGlzZmllZDoge25hbWUgbGljZW5zZShzKSwKdmVyc2lvbihzKSwg\nYW5kIGV4Y2VwdGlvbnMgb3IgYWRkaXRpb25hbCBwZXJtaXNzaW9ucyBoZXJl\nfS4iCgogIFNpbXBseSBpbmNsdWRpbmcgYSBjb3B5IG9mIHRoaXMgQWdyZWVt\nZW50LCBpbmNsdWRpbmcgdGhpcyBFeGhpYml0IEEKICBpcyBub3Qgc3VmZmlj\naWVudCB0byBsaWNlbnNlIHRoZSBTb3VyY2UgQ29kZSB1bmRlciBTZWNvbmRh\ncnkgTGljZW5zZXMuCgogIElmIGl0IGlzIG5vdCBwb3NzaWJsZSBvciBkZXNp\ncmFibGUgdG8gcHV0IHRoZSBub3RpY2UgaW4gYSBwYXJ0aWN1bGFyCiAgZmls\nZSwgdGhlbiBZb3UgbWF5IGluY2x1ZGUgdGhlIG5vdGljZSBpbiBhIGxvY2F0\naW9uIChzdWNoIGFzIGEgTElDRU5TRQogIGZpbGUgaW4gYSByZWxldmFudCBk\naXJlY3RvcnkpIHdoZXJlIGEgcmVjaXBpZW50IHdvdWxkIGJlIGxpa2VseSB0\nbwogIGxvb2sgZm9yIHN1Y2ggYSBub3RpY2UuCgogIFlvdSBtYXkgYWRkIGFk\nZGl0aW9uYWwgYWNjdXJhdGUgbm90aWNlcyBvZiBjb3B5cmlnaHQgb3duZXJz\naGlwLgo=\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/bndtools/bnd/contents/LICENSE?ref=master", + "self": "https://api.github.com/repos/bndtools/bnd/contents/LICENSE?ref=main", "git": "https://api.github.com/repos/bndtools/bnd/git/blobs/959882ba08c11b0f5ee36badffa842f70a6d9fd5", - "html": "https://github.com/bndtools/bnd/blob/master/LICENSE" + "html": "https://github.com/bndtools/bnd/blob/main/LICENSE" }, "license": { "key": "other", diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicensePomes/__files/repos_pomes_pomes-2.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicensePomes/__files/repos_pomes_pomes-2.json index cfc7decc7..2639b9a8a 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicensePomes/__files/repos_pomes_pomes-2.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicensePomes/__files/repos_pomes_pomes-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 8, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicensePomes/__files/repos_pomes_pomes_license-3.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicensePomes/__files/repos_pomes_pomes_license-3.json index 34cefa04e..72335e07e 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicensePomes/__files/repos_pomes_pomes_license-3.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryLicensePomes/__files/repos_pomes_pomes_license-3.json @@ -3,17 +3,17 @@ "path": "LICENSE", "sha": "8371492840f9485d7baf719dc2ae3e4cb9e8c03b", "size": 11361, - "url": "https://api.github.com/repos/pomes/pomes/contents/LICENSE?ref=master", - "html_url": "https://github.com/pomes/pomes/blob/master/LICENSE", + "url": "https://api.github.com/repos/pomes/pomes/contents/LICENSE?ref=main", + "html_url": "https://github.com/pomes/pomes/blob/main/LICENSE", "git_url": "https://api.github.com/repos/pomes/pomes/git/blobs/8371492840f9485d7baf719dc2ae3e4cb9e8c03b", - "download_url": "https://raw.githubusercontent.com/pomes/pomes/master/LICENSE", + "download_url": "https://raw.githubusercontent.com/pomes/pomes/main/LICENSE", "type": "file", "content": "CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEFwYWNoZSBMaWNl\nbnNlCiAgICAgICAgICAgICAgICAgICAgICAgICAgIFZlcnNpb24gMi4wLCBK\nYW51YXJ5IDIwMDQKICAgICAgICAgICAgICAgICAgICAgICAgaHR0cDovL3d3\ndy5hcGFjaGUub3JnL2xpY2Vuc2VzLwoKICAgVEVSTVMgQU5EIENPTkRJVElP\nTlMgRk9SIFVTRSwgUkVQUk9EVUNUSU9OLCBBTkQgRElTVFJJQlVUSU9OCgog\nICAxLiBEZWZpbml0aW9ucy4KCiAgICAgICJMaWNlbnNlIiBzaGFsbCBtZWFu\nIHRoZSB0ZXJtcyBhbmQgY29uZGl0aW9ucyBmb3IgdXNlLCByZXByb2R1Y3Rp\nb24sCiAgICAgIGFuZCBkaXN0cmlidXRpb24gYXMgZGVmaW5lZCBieSBTZWN0\naW9ucyAxIHRocm91Z2ggOSBvZiB0aGlzIGRvY3VtZW50LgoKICAgICAgIkxp\nY2Vuc29yIiBzaGFsbCBtZWFuIHRoZSBjb3B5cmlnaHQgb3duZXIgb3IgZW50\naXR5IGF1dGhvcml6ZWQgYnkKICAgICAgdGhlIGNvcHlyaWdodCBvd25lciB0\naGF0IGlzIGdyYW50aW5nIHRoZSBMaWNlbnNlLgoKICAgICAgIkxlZ2FsIEVu\ndGl0eSIgc2hhbGwgbWVhbiB0aGUgdW5pb24gb2YgdGhlIGFjdGluZyBlbnRp\ndHkgYW5kIGFsbAogICAgICBvdGhlciBlbnRpdGllcyB0aGF0IGNvbnRyb2ws\nIGFyZSBjb250cm9sbGVkIGJ5LCBvciBhcmUgdW5kZXIgY29tbW9uCiAgICAg\nIGNvbnRyb2wgd2l0aCB0aGF0IGVudGl0eS4gRm9yIHRoZSBwdXJwb3NlcyBv\nZiB0aGlzIGRlZmluaXRpb24sCiAgICAgICJjb250cm9sIiBtZWFucyAoaSkg\ndGhlIHBvd2VyLCBkaXJlY3Qgb3IgaW5kaXJlY3QsIHRvIGNhdXNlIHRoZQog\nICAgICBkaXJlY3Rpb24gb3IgbWFuYWdlbWVudCBvZiBzdWNoIGVudGl0eSwg\nd2hldGhlciBieSBjb250cmFjdCBvcgogICAgICBvdGhlcndpc2UsIG9yIChp\naSkgb3duZXJzaGlwIG9mIGZpZnR5IHBlcmNlbnQgKDUwJSkgb3IgbW9yZSBv\nZiB0aGUKICAgICAgb3V0c3RhbmRpbmcgc2hhcmVzLCBvciAoaWlpKSBiZW5l\nZmljaWFsIG93bmVyc2hpcCBvZiBzdWNoIGVudGl0eS4KCiAgICAgICJZb3Ui\nIChvciAiWW91ciIpIHNoYWxsIG1lYW4gYW4gaW5kaXZpZHVhbCBvciBMZWdh\nbCBFbnRpdHkKICAgICAgZXhlcmNpc2luZyBwZXJtaXNzaW9ucyBncmFudGVk\nIGJ5IHRoaXMgTGljZW5zZS4KCiAgICAgICJTb3VyY2UiIGZvcm0gc2hhbGwg\nbWVhbiB0aGUgcHJlZmVycmVkIGZvcm0gZm9yIG1ha2luZyBtb2RpZmljYXRp\nb25zLAogICAgICBpbmNsdWRpbmcgYnV0IG5vdCBsaW1pdGVkIHRvIHNvZnR3\nYXJlIHNvdXJjZSBjb2RlLCBkb2N1bWVudGF0aW9uCiAgICAgIHNvdXJjZSwg\nYW5kIGNvbmZpZ3VyYXRpb24gZmlsZXMuCgogICAgICAiT2JqZWN0IiBmb3Jt\nIHNoYWxsIG1lYW4gYW55IGZvcm0gcmVzdWx0aW5nIGZyb20gbWVjaGFuaWNh\nbAogICAgICB0cmFuc2Zvcm1hdGlvbiBvciB0cmFuc2xhdGlvbiBvZiBhIFNv\ndXJjZSBmb3JtLCBpbmNsdWRpbmcgYnV0CiAgICAgIG5vdCBsaW1pdGVkIHRv\nIGNvbXBpbGVkIG9iamVjdCBjb2RlLCBnZW5lcmF0ZWQgZG9jdW1lbnRhdGlv\nbiwKICAgICAgYW5kIGNvbnZlcnNpb25zIHRvIG90aGVyIG1lZGlhIHR5cGVz\nLgoKICAgICAgIldvcmsiIHNoYWxsIG1lYW4gdGhlIHdvcmsgb2YgYXV0aG9y\nc2hpcCwgd2hldGhlciBpbiBTb3VyY2Ugb3IKICAgICAgT2JqZWN0IGZvcm0s\nIG1hZGUgYXZhaWxhYmxlIHVuZGVyIHRoZSBMaWNlbnNlLCBhcyBpbmRpY2F0\nZWQgYnkgYQogICAgICBjb3B5cmlnaHQgbm90aWNlIHRoYXQgaXMgaW5jbHVk\nZWQgaW4gb3IgYXR0YWNoZWQgdG8gdGhlIHdvcmsKICAgICAgKGFuIGV4YW1w\nbGUgaXMgcHJvdmlkZWQgaW4gdGhlIEFwcGVuZGl4IGJlbG93KS4KCiAgICAg\nICJEZXJpdmF0aXZlIFdvcmtzIiBzaGFsbCBtZWFuIGFueSB3b3JrLCB3aGV0\naGVyIGluIFNvdXJjZSBvciBPYmplY3QKICAgICAgZm9ybSwgdGhhdCBpcyBi\nYXNlZCBvbiAob3IgZGVyaXZlZCBmcm9tKSB0aGUgV29yayBhbmQgZm9yIHdo\naWNoIHRoZQogICAgICBlZGl0b3JpYWwgcmV2aXNpb25zLCBhbm5vdGF0aW9u\ncywgZWxhYm9yYXRpb25zLCBvciBvdGhlciBtb2RpZmljYXRpb25zCiAgICAg\nIHJlcHJlc2VudCwgYXMgYSB3aG9sZSwgYW4gb3JpZ2luYWwgd29yayBvZiBh\ndXRob3JzaGlwLiBGb3IgdGhlIHB1cnBvc2VzCiAgICAgIG9mIHRoaXMgTGlj\nZW5zZSwgRGVyaXZhdGl2ZSBXb3JrcyBzaGFsbCBub3QgaW5jbHVkZSB3b3Jr\ncyB0aGF0IHJlbWFpbgogICAgICBzZXBhcmFibGUgZnJvbSwgb3IgbWVyZWx5\nIGxpbmsgKG9yIGJpbmQgYnkgdmFsdWUpIHRvIHRoZSBpbnRlcmZhY2VzIG9m\nLAogICAgICB0aGUgV29yayBhbmQgRGVyaXZhdGl2ZSBXb3JrcyB0aGVyZW9m\nLgoKICAgICAgIkNvbnRyaWJ1dGlvbiIgc2hhbGwgbWVhbiBhbnkgd29yayBv\nZiBhdXRob3JzaGlwLCBpbmNsdWRpbmcKICAgICAgdGhlIG9yaWdpbmFsIHZl\ncnNpb24gb2YgdGhlIFdvcmsgYW5kIGFueSBtb2RpZmljYXRpb25zIG9yIGFk\nZGl0aW9ucwogICAgICB0byB0aGF0IFdvcmsgb3IgRGVyaXZhdGl2ZSBXb3Jr\ncyB0aGVyZW9mLCB0aGF0IGlzIGludGVudGlvbmFsbHkKICAgICAgc3VibWl0\ndGVkIHRvIExpY2Vuc29yIGZvciBpbmNsdXNpb24gaW4gdGhlIFdvcmsgYnkg\ndGhlIGNvcHlyaWdodCBvd25lcgogICAgICBvciBieSBhbiBpbmRpdmlkdWFs\nIG9yIExlZ2FsIEVudGl0eSBhdXRob3JpemVkIHRvIHN1Ym1pdCBvbiBiZWhh\nbGYgb2YKICAgICAgdGhlIGNvcHlyaWdodCBvd25lci4gRm9yIHRoZSBwdXJw\nb3NlcyBvZiB0aGlzIGRlZmluaXRpb24sICJzdWJtaXR0ZWQiCiAgICAgIG1l\nYW5zIGFueSBmb3JtIG9mIGVsZWN0cm9uaWMsIHZlcmJhbCwgb3Igd3JpdHRl\nbiBjb21tdW5pY2F0aW9uIHNlbnQKICAgICAgdG8gdGhlIExpY2Vuc29yIG9y\nIGl0cyByZXByZXNlbnRhdGl2ZXMsIGluY2x1ZGluZyBidXQgbm90IGxpbWl0\nZWQgdG8KICAgICAgY29tbXVuaWNhdGlvbiBvbiBlbGVjdHJvbmljIG1haWxp\nbmcgbGlzdHMsIHNvdXJjZSBjb2RlIGNvbnRyb2wgc3lzdGVtcywKICAgICAg\nYW5kIGlzc3VlIHRyYWNraW5nIHN5c3RlbXMgdGhhdCBhcmUgbWFuYWdlZCBi\neSwgb3Igb24gYmVoYWxmIG9mLCB0aGUKICAgICAgTGljZW5zb3IgZm9yIHRo\nZSBwdXJwb3NlIG9mIGRpc2N1c3NpbmcgYW5kIGltcHJvdmluZyB0aGUgV29y\naywgYnV0CiAgICAgIGV4Y2x1ZGluZyBjb21tdW5pY2F0aW9uIHRoYXQgaXMg\nY29uc3BpY3VvdXNseSBtYXJrZWQgb3Igb3RoZXJ3aXNlCiAgICAgIGRlc2ln\nbmF0ZWQgaW4gd3JpdGluZyBieSB0aGUgY29weXJpZ2h0IG93bmVyIGFzICJO\nb3QgYSBDb250cmlidXRpb24uIgoKICAgICAgIkNvbnRyaWJ1dG9yIiBzaGFs\nbCBtZWFuIExpY2Vuc29yIGFuZCBhbnkgaW5kaXZpZHVhbCBvciBMZWdhbCBF\nbnRpdHkKICAgICAgb24gYmVoYWxmIG9mIHdob20gYSBDb250cmlidXRpb24g\naGFzIGJlZW4gcmVjZWl2ZWQgYnkgTGljZW5zb3IgYW5kCiAgICAgIHN1YnNl\ncXVlbnRseSBpbmNvcnBvcmF0ZWQgd2l0aGluIHRoZSBXb3JrLgoKICAgMi4g\nR3JhbnQgb2YgQ29weXJpZ2h0IExpY2Vuc2UuIFN1YmplY3QgdG8gdGhlIHRl\ncm1zIGFuZCBjb25kaXRpb25zIG9mCiAgICAgIHRoaXMgTGljZW5zZSwgZWFj\naCBDb250cmlidXRvciBoZXJlYnkgZ3JhbnRzIHRvIFlvdSBhIHBlcnBldHVh\nbCwKICAgICAgd29ybGR3aWRlLCBub24tZXhjbHVzaXZlLCBuby1jaGFyZ2Us\nIHJveWFsdHktZnJlZSwgaXJyZXZvY2FibGUKICAgICAgY29weXJpZ2h0IGxp\nY2Vuc2UgdG8gcmVwcm9kdWNlLCBwcmVwYXJlIERlcml2YXRpdmUgV29ya3Mg\nb2YsCiAgICAgIHB1YmxpY2x5IGRpc3BsYXksIHB1YmxpY2x5IHBlcmZvcm0s\nIHN1YmxpY2Vuc2UsIGFuZCBkaXN0cmlidXRlIHRoZQogICAgICBXb3JrIGFu\nZCBzdWNoIERlcml2YXRpdmUgV29ya3MgaW4gU291cmNlIG9yIE9iamVjdCBm\nb3JtLgoKICAgMy4gR3JhbnQgb2YgUGF0ZW50IExpY2Vuc2UuIFN1YmplY3Qg\ndG8gdGhlIHRlcm1zIGFuZCBjb25kaXRpb25zIG9mCiAgICAgIHRoaXMgTGlj\nZW5zZSwgZWFjaCBDb250cmlidXRvciBoZXJlYnkgZ3JhbnRzIHRvIFlvdSBh\nIHBlcnBldHVhbCwKICAgICAgd29ybGR3aWRlLCBub24tZXhjbHVzaXZlLCBu\nby1jaGFyZ2UsIHJveWFsdHktZnJlZSwgaXJyZXZvY2FibGUKICAgICAgKGV4\nY2VwdCBhcyBzdGF0ZWQgaW4gdGhpcyBzZWN0aW9uKSBwYXRlbnQgbGljZW5z\nZSB0byBtYWtlLCBoYXZlIG1hZGUsCiAgICAgIHVzZSwgb2ZmZXIgdG8gc2Vs\nbCwgc2VsbCwgaW1wb3J0LCBhbmQgb3RoZXJ3aXNlIHRyYW5zZmVyIHRoZSBX\nb3JrLAogICAgICB3aGVyZSBzdWNoIGxpY2Vuc2UgYXBwbGllcyBvbmx5IHRv\nIHRob3NlIHBhdGVudCBjbGFpbXMgbGljZW5zYWJsZQogICAgICBieSBzdWNo\nIENvbnRyaWJ1dG9yIHRoYXQgYXJlIG5lY2Vzc2FyaWx5IGluZnJpbmdlZCBi\neSB0aGVpcgogICAgICBDb250cmlidXRpb24ocykgYWxvbmUgb3IgYnkgY29t\nYmluYXRpb24gb2YgdGhlaXIgQ29udHJpYnV0aW9uKHMpCiAgICAgIHdpdGgg\ndGhlIFdvcmsgdG8gd2hpY2ggc3VjaCBDb250cmlidXRpb24ocykgd2FzIHN1\nYm1pdHRlZC4gSWYgWW91CiAgICAgIGluc3RpdHV0ZSBwYXRlbnQgbGl0aWdh\ndGlvbiBhZ2FpbnN0IGFueSBlbnRpdHkgKGluY2x1ZGluZyBhCiAgICAgIGNy\nb3NzLWNsYWltIG9yIGNvdW50ZXJjbGFpbSBpbiBhIGxhd3N1aXQpIGFsbGVn\naW5nIHRoYXQgdGhlIFdvcmsKICAgICAgb3IgYSBDb250cmlidXRpb24gaW5j\nb3Jwb3JhdGVkIHdpdGhpbiB0aGUgV29yayBjb25zdGl0dXRlcyBkaXJlY3QK\nICAgICAgb3IgY29udHJpYnV0b3J5IHBhdGVudCBpbmZyaW5nZW1lbnQsIHRo\nZW4gYW55IHBhdGVudCBsaWNlbnNlcwogICAgICBncmFudGVkIHRvIFlvdSB1\nbmRlciB0aGlzIExpY2Vuc2UgZm9yIHRoYXQgV29yayBzaGFsbCB0ZXJtaW5h\ndGUKICAgICAgYXMgb2YgdGhlIGRhdGUgc3VjaCBsaXRpZ2F0aW9uIGlzIGZp\nbGVkLgoKICAgNC4gUmVkaXN0cmlidXRpb24uIFlvdSBtYXkgcmVwcm9kdWNl\nIGFuZCBkaXN0cmlidXRlIGNvcGllcyBvZiB0aGUKICAgICAgV29yayBvciBE\nZXJpdmF0aXZlIFdvcmtzIHRoZXJlb2YgaW4gYW55IG1lZGl1bSwgd2l0aCBv\nciB3aXRob3V0CiAgICAgIG1vZGlmaWNhdGlvbnMsIGFuZCBpbiBTb3VyY2Ug\nb3IgT2JqZWN0IGZvcm0sIHByb3ZpZGVkIHRoYXQgWW91CiAgICAgIG1lZXQg\ndGhlIGZvbGxvd2luZyBjb25kaXRpb25zOgoKICAgICAgKGEpIFlvdSBtdXN0\nIGdpdmUgYW55IG90aGVyIHJlY2lwaWVudHMgb2YgdGhlIFdvcmsgb3IKICAg\nICAgICAgIERlcml2YXRpdmUgV29ya3MgYSBjb3B5IG9mIHRoaXMgTGljZW5z\nZTsgYW5kCgogICAgICAoYikgWW91IG11c3QgY2F1c2UgYW55IG1vZGlmaWVk\nIGZpbGVzIHRvIGNhcnJ5IHByb21pbmVudCBub3RpY2VzCiAgICAgICAgICBz\ndGF0aW5nIHRoYXQgWW91IGNoYW5nZWQgdGhlIGZpbGVzOyBhbmQKCiAgICAg\nIChjKSBZb3UgbXVzdCByZXRhaW4sIGluIHRoZSBTb3VyY2UgZm9ybSBvZiBh\nbnkgRGVyaXZhdGl2ZSBXb3JrcwogICAgICAgICAgdGhhdCBZb3UgZGlzdHJp\nYnV0ZSwgYWxsIGNvcHlyaWdodCwgcGF0ZW50LCB0cmFkZW1hcmssIGFuZAog\nICAgICAgICAgYXR0cmlidXRpb24gbm90aWNlcyBmcm9tIHRoZSBTb3VyY2Ug\nZm9ybSBvZiB0aGUgV29yaywKICAgICAgICAgIGV4Y2x1ZGluZyB0aG9zZSBu\nb3RpY2VzIHRoYXQgZG8gbm90IHBlcnRhaW4gdG8gYW55IHBhcnQgb2YKICAg\nICAgICAgIHRoZSBEZXJpdmF0aXZlIFdvcmtzOyBhbmQKCiAgICAgIChkKSBJ\nZiB0aGUgV29yayBpbmNsdWRlcyBhICJOT1RJQ0UiIHRleHQgZmlsZSBhcyBw\nYXJ0IG9mIGl0cwogICAgICAgICAgZGlzdHJpYnV0aW9uLCB0aGVuIGFueSBE\nZXJpdmF0aXZlIFdvcmtzIHRoYXQgWW91IGRpc3RyaWJ1dGUgbXVzdAogICAg\nICAgICAgaW5jbHVkZSBhIHJlYWRhYmxlIGNvcHkgb2YgdGhlIGF0dHJpYnV0\naW9uIG5vdGljZXMgY29udGFpbmVkCiAgICAgICAgICB3aXRoaW4gc3VjaCBO\nT1RJQ0UgZmlsZSwgZXhjbHVkaW5nIHRob3NlIG5vdGljZXMgdGhhdCBkbyBu\nb3QKICAgICAgICAgIHBlcnRhaW4gdG8gYW55IHBhcnQgb2YgdGhlIERlcml2\nYXRpdmUgV29ya3MsIGluIGF0IGxlYXN0IG9uZQogICAgICAgICAgb2YgdGhl\nIGZvbGxvd2luZyBwbGFjZXM6IHdpdGhpbiBhIE5PVElDRSB0ZXh0IGZpbGUg\nZGlzdHJpYnV0ZWQKICAgICAgICAgIGFzIHBhcnQgb2YgdGhlIERlcml2YXRp\ndmUgV29ya3M7IHdpdGhpbiB0aGUgU291cmNlIGZvcm0gb3IKICAgICAgICAg\nIGRvY3VtZW50YXRpb24sIGlmIHByb3ZpZGVkIGFsb25nIHdpdGggdGhlIERl\ncml2YXRpdmUgV29ya3M7IG9yLAogICAgICAgICAgd2l0aGluIGEgZGlzcGxh\neSBnZW5lcmF0ZWQgYnkgdGhlIERlcml2YXRpdmUgV29ya3MsIGlmIGFuZAog\nICAgICAgICAgd2hlcmV2ZXIgc3VjaCB0aGlyZC1wYXJ0eSBub3RpY2VzIG5v\ncm1hbGx5IGFwcGVhci4gVGhlIGNvbnRlbnRzCiAgICAgICAgICBvZiB0aGUg\nTk9USUNFIGZpbGUgYXJlIGZvciBpbmZvcm1hdGlvbmFsIHB1cnBvc2VzIG9u\nbHkgYW5kCiAgICAgICAgICBkbyBub3QgbW9kaWZ5IHRoZSBMaWNlbnNlLiBZ\nb3UgbWF5IGFkZCBZb3VyIG93biBhdHRyaWJ1dGlvbgogICAgICAgICAgbm90\naWNlcyB3aXRoaW4gRGVyaXZhdGl2ZSBXb3JrcyB0aGF0IFlvdSBkaXN0cmli\ndXRlLCBhbG9uZ3NpZGUKICAgICAgICAgIG9yIGFzIGFuIGFkZGVuZHVtIHRv\nIHRoZSBOT1RJQ0UgdGV4dCBmcm9tIHRoZSBXb3JrLCBwcm92aWRlZAogICAg\nICAgICAgdGhhdCBzdWNoIGFkZGl0aW9uYWwgYXR0cmlidXRpb24gbm90aWNl\ncyBjYW5ub3QgYmUgY29uc3RydWVkCiAgICAgICAgICBhcyBtb2RpZnlpbmcg\ndGhlIExpY2Vuc2UuCgogICAgICBZb3UgbWF5IGFkZCBZb3VyIG93biBjb3B5\ncmlnaHQgc3RhdGVtZW50IHRvIFlvdXIgbW9kaWZpY2F0aW9ucyBhbmQKICAg\nICAgbWF5IHByb3ZpZGUgYWRkaXRpb25hbCBvciBkaWZmZXJlbnQgbGljZW5z\nZSB0ZXJtcyBhbmQgY29uZGl0aW9ucwogICAgICBmb3IgdXNlLCByZXByb2R1\nY3Rpb24sIG9yIGRpc3RyaWJ1dGlvbiBvZiBZb3VyIG1vZGlmaWNhdGlvbnMs\nIG9yCiAgICAgIGZvciBhbnkgc3VjaCBEZXJpdmF0aXZlIFdvcmtzIGFzIGEg\nd2hvbGUsIHByb3ZpZGVkIFlvdXIgdXNlLAogICAgICByZXByb2R1Y3Rpb24s\nIGFuZCBkaXN0cmlidXRpb24gb2YgdGhlIFdvcmsgb3RoZXJ3aXNlIGNvbXBs\naWVzIHdpdGgKICAgICAgdGhlIGNvbmRpdGlvbnMgc3RhdGVkIGluIHRoaXMg\nTGljZW5zZS4KCiAgIDUuIFN1Ym1pc3Npb24gb2YgQ29udHJpYnV0aW9ucy4g\nVW5sZXNzIFlvdSBleHBsaWNpdGx5IHN0YXRlIG90aGVyd2lzZSwKICAgICAg\nYW55IENvbnRyaWJ1dGlvbiBpbnRlbnRpb25hbGx5IHN1Ym1pdHRlZCBmb3Ig\naW5jbHVzaW9uIGluIHRoZSBXb3JrCiAgICAgIGJ5IFlvdSB0byB0aGUgTGlj\nZW5zb3Igc2hhbGwgYmUgdW5kZXIgdGhlIHRlcm1zIGFuZCBjb25kaXRpb25z\nIG9mCiAgICAgIHRoaXMgTGljZW5zZSwgd2l0aG91dCBhbnkgYWRkaXRpb25h\nbCB0ZXJtcyBvciBjb25kaXRpb25zLgogICAgICBOb3R3aXRoc3RhbmRpbmcg\ndGhlIGFib3ZlLCBub3RoaW5nIGhlcmVpbiBzaGFsbCBzdXBlcnNlZGUgb3Ig\nbW9kaWZ5CiAgICAgIHRoZSB0ZXJtcyBvZiBhbnkgc2VwYXJhdGUgbGljZW5z\nZSBhZ3JlZW1lbnQgeW91IG1heSBoYXZlIGV4ZWN1dGVkCiAgICAgIHdpdGgg\nTGljZW5zb3IgcmVnYXJkaW5nIHN1Y2ggQ29udHJpYnV0aW9ucy4KCiAgIDYu\nIFRyYWRlbWFya3MuIFRoaXMgTGljZW5zZSBkb2VzIG5vdCBncmFudCBwZXJt\naXNzaW9uIHRvIHVzZSB0aGUgdHJhZGUKICAgICAgbmFtZXMsIHRyYWRlbWFy\na3MsIHNlcnZpY2UgbWFya3MsIG9yIHByb2R1Y3QgbmFtZXMgb2YgdGhlIExp\nY2Vuc29yLAogICAgICBleGNlcHQgYXMgcmVxdWlyZWQgZm9yIHJlYXNvbmFi\nbGUgYW5kIGN1c3RvbWFyeSB1c2UgaW4gZGVzY3JpYmluZyB0aGUKICAgICAg\nb3JpZ2luIG9mIHRoZSBXb3JrIGFuZCByZXByb2R1Y2luZyB0aGUgY29udGVu\ndCBvZiB0aGUgTk9USUNFIGZpbGUuCgogICA3LiBEaXNjbGFpbWVyIG9mIFdh\ncnJhbnR5LiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IK\nICAgICAgYWdyZWVkIHRvIGluIHdyaXRpbmcsIExpY2Vuc29yIHByb3ZpZGVz\nIHRoZSBXb3JrIChhbmQgZWFjaAogICAgICBDb250cmlidXRvciBwcm92aWRl\ncyBpdHMgQ29udHJpYnV0aW9ucykgb24gYW4gIkFTIElTIiBCQVNJUywKICAg\nICAgV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJ\nTkQsIGVpdGhlciBleHByZXNzIG9yCiAgICAgIGltcGxpZWQsIGluY2x1ZGlu\nZywgd2l0aG91dCBsaW1pdGF0aW9uLCBhbnkgd2FycmFudGllcyBvciBjb25k\naXRpb25zCiAgICAgIG9mIFRJVExFLCBOT04tSU5GUklOR0VNRU5ULCBNRVJD\nSEFOVEFCSUxJVFksIG9yIEZJVE5FU1MgRk9SIEEKICAgICAgUEFSVElDVUxB\nUiBQVVJQT1NFLiBZb3UgYXJlIHNvbGVseSByZXNwb25zaWJsZSBmb3IgZGV0\nZXJtaW5pbmcgdGhlCiAgICAgIGFwcHJvcHJpYXRlbmVzcyBvZiB1c2luZyBv\nciByZWRpc3RyaWJ1dGluZyB0aGUgV29yayBhbmQgYXNzdW1lIGFueQogICAg\nICByaXNrcyBhc3NvY2lhdGVkIHdpdGggWW91ciBleGVyY2lzZSBvZiBwZXJt\naXNzaW9ucyB1bmRlciB0aGlzIExpY2Vuc2UuCgogICA4LiBMaW1pdGF0aW9u\nIG9mIExpYWJpbGl0eS4gSW4gbm8gZXZlbnQgYW5kIHVuZGVyIG5vIGxlZ2Fs\nIHRoZW9yeSwKICAgICAgd2hldGhlciBpbiB0b3J0IChpbmNsdWRpbmcgbmVn\nbGlnZW5jZSksIGNvbnRyYWN0LCBvciBvdGhlcndpc2UsCiAgICAgIHVubGVz\ncyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyAoc3VjaCBhcyBkZWxpYmVy\nYXRlIGFuZCBncm9zc2x5CiAgICAgIG5lZ2xpZ2VudCBhY3RzKSBvciBhZ3Jl\nZWQgdG8gaW4gd3JpdGluZywgc2hhbGwgYW55IENvbnRyaWJ1dG9yIGJlCiAg\nICAgIGxpYWJsZSB0byBZb3UgZm9yIGRhbWFnZXMsIGluY2x1ZGluZyBhbnkg\nZGlyZWN0LCBpbmRpcmVjdCwgc3BlY2lhbCwKICAgICAgaW5jaWRlbnRhbCwg\nb3IgY29uc2VxdWVudGlhbCBkYW1hZ2VzIG9mIGFueSBjaGFyYWN0ZXIgYXJp\nc2luZyBhcyBhCiAgICAgIHJlc3VsdCBvZiB0aGlzIExpY2Vuc2Ugb3Igb3V0\nIG9mIHRoZSB1c2Ugb3IgaW5hYmlsaXR5IHRvIHVzZSB0aGUKICAgICAgV29y\nayAoaW5jbHVkaW5nIGJ1dCBub3QgbGltaXRlZCB0byBkYW1hZ2VzIGZvciBs\nb3NzIG9mIGdvb2R3aWxsLAogICAgICB3b3JrIHN0b3BwYWdlLCBjb21wdXRl\nciBmYWlsdXJlIG9yIG1hbGZ1bmN0aW9uLCBvciBhbnkgYW5kIGFsbAogICAg\nICBvdGhlciBjb21tZXJjaWFsIGRhbWFnZXMgb3IgbG9zc2VzKSwgZXZlbiBp\nZiBzdWNoIENvbnRyaWJ1dG9yCiAgICAgIGhhcyBiZWVuIGFkdmlzZWQgb2Yg\ndGhlIHBvc3NpYmlsaXR5IG9mIHN1Y2ggZGFtYWdlcy4KCiAgIDkuIEFjY2Vw\ndGluZyBXYXJyYW50eSBvciBBZGRpdGlvbmFsIExpYWJpbGl0eS4gV2hpbGUg\ncmVkaXN0cmlidXRpbmcKICAgICAgdGhlIFdvcmsgb3IgRGVyaXZhdGl2ZSBX\nb3JrcyB0aGVyZW9mLCBZb3UgbWF5IGNob29zZSB0byBvZmZlciwKICAgICAg\nYW5kIGNoYXJnZSBhIGZlZSBmb3IsIGFjY2VwdGFuY2Ugb2Ygc3VwcG9ydCwg\nd2FycmFudHksIGluZGVtbml0eSwKICAgICAgb3Igb3RoZXIgbGlhYmlsaXR5\nIG9ibGlnYXRpb25zIGFuZC9vciByaWdodHMgY29uc2lzdGVudCB3aXRoIHRo\naXMKICAgICAgTGljZW5zZS4gSG93ZXZlciwgaW4gYWNjZXB0aW5nIHN1Y2gg\nb2JsaWdhdGlvbnMsIFlvdSBtYXkgYWN0IG9ubHkKICAgICAgb24gWW91ciBv\nd24gYmVoYWxmIGFuZCBvbiBZb3VyIHNvbGUgcmVzcG9uc2liaWxpdHksIG5v\ndCBvbiBiZWhhbGYKICAgICAgb2YgYW55IG90aGVyIENvbnRyaWJ1dG9yLCBh\nbmQgb25seSBpZiBZb3UgYWdyZWUgdG8gaW5kZW1uaWZ5LAogICAgICBkZWZl\nbmQsIGFuZCBob2xkIGVhY2ggQ29udHJpYnV0b3IgaGFybWxlc3MgZm9yIGFu\neSBsaWFiaWxpdHkKICAgICAgaW5jdXJyZWQgYnksIG9yIGNsYWltcyBhc3Nl\ncnRlZCBhZ2FpbnN0LCBzdWNoIENvbnRyaWJ1dG9yIGJ5IHJlYXNvbgogICAg\nICBvZiB5b3VyIGFjY2VwdGluZyBhbnkgc3VjaCB3YXJyYW50eSBvciBhZGRp\ndGlvbmFsIGxpYWJpbGl0eS4KCiAgIEVORCBPRiBURVJNUyBBTkQgQ09ORElU\nSU9OUwoKICAgQVBQRU5ESVg6IEhvdyB0byBhcHBseSB0aGUgQXBhY2hlIExp\nY2Vuc2UgdG8geW91ciB3b3JrLgoKICAgICAgVG8gYXBwbHkgdGhlIEFwYWNo\nZSBMaWNlbnNlIHRvIHlvdXIgd29yaywgYXR0YWNoIHRoZSBmb2xsb3dpbmcK\nICAgICAgYm9pbGVycGxhdGUgbm90aWNlLCB3aXRoIHRoZSBmaWVsZHMgZW5j\nbG9zZWQgYnkgYnJhY2tldHMgIltdIgogICAgICByZXBsYWNlZCB3aXRoIHlv\ndXIgb3duIGlkZW50aWZ5aW5nIGluZm9ybWF0aW9uLiAoRG9uJ3QgaW5jbHVk\nZQogICAgICB0aGUgYnJhY2tldHMhKSAgVGhlIHRleHQgc2hvdWxkIGJlIGVu\nY2xvc2VkIGluIHRoZSBhcHByb3ByaWF0ZQogICAgICBjb21tZW50IHN5bnRh\neCBmb3IgdGhlIGZpbGUgZm9ybWF0LiBXZSBhbHNvIHJlY29tbWVuZCB0aGF0\nIGEKICAgICAgZmlsZSBvciBjbGFzcyB2YWx1ZSBhbmQgZGVzY3JpcHRpb24g\nb2YgcHVycG9zZSBiZSBpbmNsdWRlZCBvbiB0aGUKICAgICAgc2FtZSAicHJp\nbnRlZCBwYWdlIiBhcyB0aGUgY29weXJpZ2h0IG5vdGljZSBmb3IgZWFzaWVy\nCiAgICAgIGlkZW50aWZpY2F0aW9uIHdpdGhpbiB0aGlyZC1wYXJ0eSBhcmNo\naXZlcy4KCiAgIENvcHlyaWdodCBbeXl5eV0gW3ZhbHVlIG9mIGNvcHlyaWdo\ndCBvd25lcl0KCiAgIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5z\nZSwgVmVyc2lvbiAyLjAgKHRoZSAiTGljZW5zZSIpOwogICB5b3UgbWF5IG5v\ndCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhl\nIExpY2Vuc2UuCiAgIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGlj\nZW5zZSBhdAoKICAgICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNl\ncy9MSUNFTlNFLTIuMAoKICAgVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2Fi\nbGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZQogICBk\naXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBv\nbiBhbiAiQVMgSVMiIEJBU0lTLAogICBXSVRIT1VUIFdBUlJBTlRJRVMgT1Ig\nQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1w\nbGllZC4KICAgU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFu\nZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZAogICBsaW1pdGF0aW9u\ncyB1bmRlciB0aGUgTGljZW5zZS4K\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/pomes/pomes/contents/LICENSE?ref=master", + "self": "https://api.github.com/repos/pomes/pomes/contents/LICENSE?ref=main", "git": "https://api.github.com/repos/pomes/pomes/git/blobs/8371492840f9485d7baf719dc2ae3e4cb9e8c03b", - "html": "https://github.com/pomes/pomes/blob/master/LICENSE" + "html": "https://github.com/pomes/pomes/blob/main/LICENSE" }, "license": { "key": "apache-2.0", diff --git a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryWithoutLicense/__files/repos_hub4j-test-org_empty-2.json b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryWithoutLicense/__files/repos_hub4j-test-org_empty-2.json index 521540a86..d3672757c 100644 --- a/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryWithoutLicense/__files/repos_hub4j-test-org_empty-2.json +++ b/src/test/resources/org/kohsuke/github/GHLicenseTest/wiremock/checkRepositoryWithoutLicense/__files/repos_hub4j-test-org_empty-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestone/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestone/__files/repos_hub4j-test-org_github-api-3.json index 81e3d3cf8..db2de1336 100644 --- a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestone/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestone/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 4, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 470, "open_issues": 63, "watchers": 634, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 470, "open_issues": 63, "watchers": 634, - "default_branch": "master" + "default_branch": "main" }, "network_count": 470, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api-3.json index 7139e7245..4f993d633 100644 --- a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 493, "open_issues": 70, "watchers": 687, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 493, "open_issues": 70, "watchers": 687, - "default_branch": "master" + "default_branch": "main" }, "network_count": 493, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls-6.json b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls-6.json index 84b9d34ed..107c9eafb 100644 --- a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls-6.json +++ b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls-6.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls_370-10.json b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls_370-10.json index 483406500..5a00677d8 100644 --- a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls_370-10.json +++ b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls_370-10.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls_370-8.json b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls_370-8.json index f185ab025..aa4e767c6 100644 --- a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls_370-8.json +++ b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/__files/repos_hub4j-test-org_github-api_pulls_370-8.json @@ -206,12 +206,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -331,7 +331,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-6.json b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-6.json index 58dc555a5..95a3b3588 100644 --- a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-6.json +++ b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUnsetMilestoneFromPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-6.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testUnsetMilestoneFromPullRequest\",\"body\":\"## test pull request\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testUnsetMilestoneFromPullRequest\",\"body\":\"## test pull request\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUpdateMilestone/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUpdateMilestone/__files/repos_hub4j-test-org_github-api-3.json index 79351fcd9..2475d5d76 100644 --- a/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUpdateMilestone/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHMilestoneTest/wiremock/testUpdateMilestone/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 433, "open_issues": 66, "watchers": 568, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 433, "open_issues": 66, "watchers": 568, - "default_branch": "master" + "default_branch": "main" }, "network_count": 433, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepository/__files/orgs_hub4j-test-org_repos-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepository/__files/orgs_hub4j-test-org_repos-4.json index 6898de949..a2894a31e 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepository/__files/orgs_hub4j-test-org_repos-4.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepository/__files/orgs_hub4j-test-org_repos-4.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithAutoInitialization/__files/orgs_hub4j-test-org_repos-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithAutoInitialization/__files/orgs_hub4j-test-org_repos-4.json index 044aa2466..9813f463c 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithAutoInitialization/__files/orgs_hub4j-test-org_repos-4.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithAutoInitialization/__files/orgs_hub4j-test-org_repos-4.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithAutoInitialization/__files/repos_hub4j-test-org_github-api-test_readme-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithAutoInitialization/__files/repos_hub4j-test-org_github-api-test_readme-5.json index 09556ca54..8b1b1c8a0 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithAutoInitialization/__files/repos_hub4j-test-org_github-api-test_readme-5.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithAutoInitialization/__files/repos_hub4j-test-org_github-api-test_readme-5.json @@ -3,16 +3,16 @@ "path": "README.md", "sha": "aa0e9008d8d8c4745d81d718b5d418f6a5529759", "size": 70, - "url": "https://api.github.com/repos/hub4j-test-org/github-api-test/contents/README.md?ref=master", - "html_url": "https://github.com/hub4j-test-org/github-api-test/blob/master/README.md", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test/contents/README.md?ref=main", + "html_url": "https://github.com/hub4j-test-org/github-api-test/blob/main/README.md", "git_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/blobs/aa0e9008d8d8c4745d81d718b5d418f6a5529759", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/github-api-test/master/README.md", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/github-api-test/main/README.md", "type": "file", "content": "IyBnaXRodWItYXBpLXRlc3QKYSB0ZXN0IHJlcG9zaXRvcnkgdXNlZCB0byB0\nZXN0IGtvaHN1a2UncyBnaXRodWItYXBpCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/github-api-test/contents/README.md?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/github-api-test/contents/README.md?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/blobs/aa0e9008d8d8c4745d81d718b5d418f6a5529759", - "html": "https://github.com/hub4j-test-org/github-api-test/blob/master/README.md" + "html": "https://github.com/hub4j-test-org/github-api-test/blob/main/README.md" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/orgs_hub4j-test-org_repos-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/orgs_hub4j-test-org_repos-4.json index 06c8fce01..0a4b3fbb8 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/orgs_hub4j-test-org_repos-4.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/orgs_hub4j-test-org_repos-4.json @@ -91,7 +91,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test-6.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test-6.json index b5a4d515b..6d935e88c 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test-6.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test-6.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test-7.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test-7.json index 4cf1ef66b..d11ecffe1 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test-7.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test-7.json @@ -92,7 +92,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test_readme-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test_readme-5.json index 09dd99021..c7a3441bc 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test_readme-5.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithParameterIsTemplate/__files/repos_hub4j-test-org_github-api-template-test_readme-5.json @@ -3,16 +3,16 @@ "path": "README.md", "sha": "35aeb188a0da54af7121ef149d90bdfb05694c61", "size": 88, - "url": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/contents/README.md?ref=master", - "html_url": "https://github.com/hub4j-test-org/github-api-template-test/blob/master/README.md", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/contents/README.md?ref=main", + "html_url": "https://github.com/hub4j-test-org/github-api-template-test/blob/main/README.md", "git_url": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/git/blobs/35aeb188a0da54af7121ef149d90bdfb05694c61", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/github-api-template-test/master/README.md", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/github-api-template-test/main/README.md", "type": "file", "content": "IyBnaXRodWItYXBpLXRlbXBsYXRlLXRlc3QKYSB0ZXN0IHRlbXBsYXRlIHJl\ncG9zaXRvcnkgdXNlZCB0byB0ZXN0IGtvaHN1a2UncyBnaXRodWItYXBpCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/contents/README.md?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/contents/README.md?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/git/blobs/35aeb188a0da54af7121ef149d90bdfb05694c61", - "html": "https://github.com/hub4j-test-org/github-api-template-test/blob/master/README.md" + "html": "https://github.com/hub4j-test-org/github-api-template-test/blob/main/README.md" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithTemplate/__files/orgs_hub4j-test-org_repos-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithTemplate/__files/orgs_hub4j-test-org_repos-4.json index 95ec5b638..1de8be6bf 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithTemplate/__files/orgs_hub4j-test-org_repos-4.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithTemplate/__files/orgs_hub4j-test-org_repos-4.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithTemplate/__files/repos_hub4j-test-org_github-api-test_readme-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithTemplate/__files/repos_hub4j-test-org_github-api-test_readme-5.json index c6fbf02fb..79b540414 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithTemplate/__files/repos_hub4j-test-org_github-api-test_readme-5.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateRepositoryWithTemplate/__files/repos_hub4j-test-org_github-api-test_readme-5.json @@ -3,16 +3,16 @@ "path": "README.md", "sha": "aa0e9008d8d8c4745d81d718b5d418f6a5529759", "size": 70, - "url": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/contents/README.md?ref=master", - "html_url": "https://github.com/hub4j-test-org/github-api-template-test/blob/master/README.md", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/contents/README.md?ref=main", + "html_url": "https://github.com/hub4j-test-org/github-api-template-test/blob/main/README.md", "git_url": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/git/blobs/aa0e9008d8d8c4745d81d718b5d418f6a5529759", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/github-api-template-test/master/README.md", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/github-api-template-test/main/README.md", "type": "file", "content": "IyBnaXRodWItYXBpLXRlc3QKYSB0ZXN0IHJlcG9zaXRvcnkgdXNlZCB0byB0\nZXN0IGtvaHN1a2UncyBnaXRodWItYXBpCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/contents/README.md?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/contents/README.md?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/github-api-template-test/git/blobs/aa0e9008d8d8c4745d81d718b5d418f6a5529759", - "html": "https://github.com/hub4j-test-org/github-api-template-test/blob/master/README.md" + "html": "https://github.com/hub4j-test-org/github-api-template-test/blob/main/README.md" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json index f4e02dd06..38d9ed25f 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 443, "open_issues": 52, "watchers": 580, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 443, "open_issues": 52, "watchers": 580, - "default_branch": "master" + "default_branch": "main" }, "network_count": 443, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/teams_3531422_repos-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/teams_3531422_repos-5.json index 4d7cb2be2..e8b7b1dee 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/teams_3531422_repos-5.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/teams_3531422_repos-5.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "pull": true, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json index 8c0f3aa64..51f605752 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 434, "open_issues": 66, "watchers": 571, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 434, "open_issues": 66, "watchers": 571, - "default_branch": "master" + "default_branch": "main" }, "network_count": 434, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/teams_3501817_repos-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/teams_3501817_repos-5.json index 2263dd22e..dc0044d9d 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/teams_3501817_repos-5.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/teams_3501817_repos-5.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "pull": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHPersonTest/wiremock/testFieldsForOrganization/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHPersonTest/wiremock/testFieldsForOrganization/__files/repos_hub4j-test-org_github-api-2.json index 441de0bc7..a42415488 100644 --- a/src/test/resources/org/kohsuke/github/GHPersonTest/wiremock/testFieldsForOrganization/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHPersonTest/wiremock/testFieldsForOrganization/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -224,7 +224,7 @@ "forks": 443, "open_issues": 65, "watchers": 593, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -324,7 +324,7 @@ "forks": 443, "open_issues": 65, "watchers": 593, - "default_branch": "master" + "default_branch": "main" }, "network_count": 443, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHProjectCardTest/wiremock/testCreateCardFromIssue/__files/orgs_hub4j-test-org_repos-6.json b/src/test/resources/org/kohsuke/github/GHProjectCardTest/wiremock/testCreateCardFromIssue/__files/orgs_hub4j-test-org_repos-6.json index 747a3e629..76d8aac97 100644 --- a/src/test/resources/org/kohsuke/github/GHProjectCardTest/wiremock/testCreateCardFromIssue/__files/orgs_hub4j-test-org_repos-6.json +++ b/src/test/resources/org/kohsuke/github/GHProjectCardTest/wiremock/testCreateCardFromIssue/__files/orgs_hub4j-test-org_repos-6.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api-3.json index 6989a7b7c..3058c3b10 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "network_count": 530, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api-7.json index a4cc0911b..bb0318a99 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "network_count": 530, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json index 67a1fcff8..a4f267aed 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api_pulls_427-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api_pulls_427-8.json index 65b3e06a3..cf1e5b100 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api_pulls_427-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/__files/repos_hub4j-test-org_github-api_pulls_427-8.json @@ -198,12 +198,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -323,7 +323,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 4eda36780..9f3d4f2d8 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"addLabels\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"addLabels\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-3.json index 72a986457..0c84345f2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 529, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 529, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "network_count": 529, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-5.json index 73c8007a0..cab3d7f5e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 529, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 529, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "network_count": 529, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-9.json index 73c8007a0..cab3d7f5e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api-9.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 529, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 529, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "network_count": 529, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls-4.json index 04beec61d..34cfbd4c2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls_417-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls_417-10.json index 751b12b7e..68d3293fe 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls_417-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls_417-10.json @@ -189,12 +189,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -314,7 +314,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls_417-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls_417-6.json index ed59ef80e..a381a7fb6 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls_417-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_github-api_pulls_417-6.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 0e981fad6..e35f7e2a7 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"addLabelsConcurrencyIssue\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"addLabelsConcurrencyIssue\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-10.json index 4ba1cfa97..5a746bded 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-10.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-3.json index fae3d0a0b..f19a3bf24 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-5.json index fd1b25843..6ee95a69b 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-8.json index 4ba1cfa97..5a746bded 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api-8.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json index d39dee3d1..60a98a464 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-6.json index ec1e3262d..e7f54b1d3 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-6.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-7.json index ab7268ed6..9a7aa3790 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-7.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-9.json index b1571b17b..3aa9f3d30 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/__files/repos_hub4j-test-org_github-api_pulls_272-9.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 5cb384975..76117a3bd 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/closePullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"closePullRequest\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"closePullRequest\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api-3.json index 0a13a73f9..b61924ce1 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 433, "open_issues": 67, "watchers": 565, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 433, "open_issues": 67, "watchers": 565, - "default_branch": "master" + "default_branch": "main" }, "network_count": 433, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json index 80064ec8e..a67845d40 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls-7.json index bbfad5226..392b466b5 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls-7.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-5.json index 80064ec8e..a67845d40 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-5.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-6.json index 241e5a18e..1367a7054 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-6.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-8.json index 1bde0f13a..8c6d08846 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/__files/repos_hub4j-test-org_github-api_pulls_321-8.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 8c5231559..72d1d55b5 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createDraftPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"draft\":true,\"maintainer_can_modify\":false,\"title\":\"createDraftPullRequest\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"draft\":true,\"maintainer_can_modify\":false,\"title\":\"createDraftPullRequest\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api-3.json index 04f58ce20..e17db7ff2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api-5.json index 450c0e990..08986f392 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json index 7e40f0c6f..7b4f8dda5 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls-6.json index 561f2f918..562fa3da0 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls-6.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls_273-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls_273-7.json index d4d7724aa..f8a063f9d 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls_273-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/__files/repos_hub4j-test-org_github-api_pulls_273-7.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json index d258cc40b..1229d5e69 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequest/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"createPullRequest\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"createPullRequest\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-3.json index 033032bee..34a92df5b 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-6.json index 18ade07e6..0c38ff897 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-6.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json index 9e91d771c..ebb919c91 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-7.json index c8e80e822..a8f6a8b20 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-7.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls_270-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls_270-8.json index cfa3bddae..bb3c52986 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls_270-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls_270-8.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 4b0929c9f..07f10e25c 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"createPullRequestComment\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"createPullRequestComment\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-3.json index 05876a07f..b77797573 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-5.json index 57d7c598a..56a76c0e2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-7.json index c6444d65a..a6b888bcd 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-9.json index c6444d65a..a6b888bcd 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api-9.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-10.json index 579d46d60..84343d0f3 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-10.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-4.json index 04f79536b..3883f6fe6 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-8.json index 579d46d60..84343d0f3 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls-8.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls_263-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls_263-11.json index ad2b2fb24..e8d1d3427 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls_263-11.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls_263-11.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls_263-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls_263-6.json index 85c1396e1..c7a2a6e76 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls_263-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/__files/repos_hub4j-test-org_github-api_pulls_263-6.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 9fcf17793..3c5da9ba9 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"getUserTest\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"getUserTest\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api-3.json index a574b982b..d0c4d94b3 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 429, "open_issues": 82, "watchers": 558, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 429, "open_issues": 82, "watchers": 558, - "default_branch": "master" + "default_branch": "main" }, "network_count": 429, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls-4.json index 4c176019a..977a496f5 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-5.json index 4c176019a..977a496f5 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-5.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-6.json index 53247c4c7..a8934a7e6 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-6.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-7.json index 53ec1a0d5..45ef2e3dc 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/__files/repos_hub4j-test-org_github-api_pulls_309-7.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/mappings/repos_hub4j-test-org_github-api_pulls-4.json index e6bfad930..d2ec2e63e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/mergeCommitSHA/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/mergeable_branch\",\"maintainer_can_modify\":true,\"title\":\"mergeCommitSHA\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/mergeable_branch\",\"maintainer_can_modify\":true,\"title\":\"mergeCommitSHA\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json index 10e8580cc..86ec557e2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 520, "open_issues": 77, "watchers": 728, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 520, "open_issues": 77, "watchers": 728, - "default_branch": "master" + "default_branch": "main" }, "network_count": 520, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json index 95696c893..3472cb454 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395-18.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395-18.json index b20652aaf..226299fcc 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395-18.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395-18.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 937590630..37d5d6db2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"pullRequestReviewComments\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"pullRequestReviewComments\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api-11.json index 2925d3698..2a83bc328 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api-11.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api-11.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api-3.json index 4f1f6100b..ae17809b4 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls-12.json index 9919f9e68..b1d5607b5 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls-12.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls-12.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls-4.json index e9958902d..dae959d24 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls_258-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls_258-13.json index 63032288f..e8334530e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls_258-13.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/__files/repos_hub4j-test-org_github-api_pulls_258-13.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 376ae1f3c..251a740aa 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviews/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"testPullRequestReviews\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"testPullRequestReviews\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api-3.json index 30a54cd39..36f0cd858 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api-7.json index beea1c305..f15e4851e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-4.json index 0ccf064c0..b4b794116 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-5.json index c95e01102..ce6bc73c2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-5.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-6.json index ea0c3daba..909c03b3d 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-6.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-8.json index ffdedcc16..2f270a78f 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-8.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -497,12 +497,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -622,7 +622,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_259-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_259-10.json index f8ddb2e67..645e5ae8c 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_259-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_259-10.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_260-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_260-9.json index d0c1a19c1..53e81ce76 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_260-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_260-9.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-4.json index f1445f6c7..28ef98e6a 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"queryPullRequestsQualifiedHead_stable\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"queryPullRequestsQualifiedHead_stable\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-5.json index badf6445a..536e90612 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-5.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/rc\",\"maintainer_can_modify\":true,\"title\":\"queryPullRequestsQualifiedHead_rc\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/rc\",\"maintainer_can_modify\":true,\"title\":\"queryPullRequestsQualifiedHead_rc\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-6.json index f9495c41b..ce1f932a4 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsQualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-6.json @@ -2,7 +2,7 @@ "id": "ab74613d-0613-47a8-a6fc-34add77d9967", "name": "repos_hub4j-test-org_github-api_pulls", "request": { - "url": "/repos/hub4j-test-org/github-api/pulls?state=open&head=hub4j-test-org%3Atest%2Fstable&base=master", + "url": "/repos/hub4j-test-org/github-api/pulls?state=open&head=hub4j-test-org%3Atest%2Fstable&base=main", "method": "GET", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api-3.json index 8ab1a5106..2bb90eeaf 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api-7.json index dc489afb2..3f1aadd23 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-4.json index 7f969cd6c..1caba773e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-5.json index f4e36b692..8055d4c35 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-5.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-6.json index 8d55af9a5..f6694e229 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-6.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-8.json index b9f5ab122..4cdd763ee 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls-8.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { @@ -497,12 +497,12 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -622,7 +622,7 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_268-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_268-9.json index 696608348..88bc0ab5f 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_268-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_268-9.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_269-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_269-10.json index 644752445..9f2888cfa 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_269-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/__files/repos_hub4j-test-org_github-api_pulls_269-10.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-4.json index ac6b1d2a1..7c97394d2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"queryPullRequestsUnqualifiedHead_stable\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"queryPullRequestsUnqualifiedHead_stable\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-5.json index f75dd8b44..a85dafc6b 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-5.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/rc\",\"maintainer_can_modify\":true,\"title\":\"queryPullRequestsUnqualifiedHead_rc\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/rc\",\"maintainer_can_modify\":true,\"title\":\"queryPullRequestsUnqualifiedHead_rc\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-6.json index 9a5e84eb3..2fcd09bf6 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/queryPullRequestsUnqualifiedHead/mappings/repos_hub4j-test-org_github-api_pulls-6.json @@ -2,7 +2,7 @@ "id": "3d58d4ba-d752-421e-acdc-6fea50e3311a", "name": "repos_hub4j-test-org_github-api_pulls", "request": { - "url": "/repos/hub4j-test-org/github-api/pulls?state=open&head=hub4j-test-org%3Atest%2Fstable&base=master", + "url": "/repos/hub4j-test-org/github-api/pulls?state=open&head=hub4j-test-org%3Atest%2Fstable&base=main", "method": "GET", "headers": { "Accept": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-10.json index e0b104f70..e1949f629 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-10.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "network_count": 530, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-3.json index 21a3f4c7a..5505834c7 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "network_count": 530, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-6.json index e0b104f70..e1949f629 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api-6.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 530, "open_issues": 77, "watchers": 740, - "default_branch": "master" + "default_branch": "main" }, "network_count": 530, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json index 93bb41bce..c65e62e68 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls_425-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls_425-11.json index dca8e7aa1..8fa06f1b0 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls_425-11.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls_425-11.json @@ -180,12 +180,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -305,7 +305,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls_425-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls_425-7.json index 6caa1503d..2b2221f73 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls_425-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/__files/repos_hub4j-test-org_github-api_pulls_425-7.json @@ -198,12 +198,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -323,7 +323,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 7d4dbe07d..2bacf7478 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"removeLabels\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"removeLabels\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-3.json index 69bc3b571..f58eda9ca 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-6.json index fd1b25843..6ee95a69b 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-6.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-8.json index fd1b25843..6ee95a69b 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api-8.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls-4.json index 6447f7b3c..c3164b2f8 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls-9.json index 1afa59a77..130fc8b2d 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls-9.json @@ -210,12 +210,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -335,7 +335,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls_271-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls_271-10.json index d8f06d829..96199a0ae 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls_271-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls_271-10.json @@ -209,12 +209,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -334,7 +334,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls_271-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls_271-7.json index 60813724e..47e329610 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls_271-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/__files/repos_hub4j-test-org_github-api_pulls_271-7.json @@ -209,12 +209,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", "user": { "login": "hub4j-test-org", @@ -334,7 +334,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_github-api_pulls-4.json index ef7940bd1..07baab9b4 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"setAssignee\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"setAssignee\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api-2.json index 6488d9c47..8e4538280 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 497, "open_issues": 74, "watchers": 697, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 497, "open_issues": 74, "watchers": 697, - "default_branch": "master" + "default_branch": "main" }, "network_count": 497, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api_pulls-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api_pulls-3.json index c640e0872..a7d7e1a0a 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api_pulls-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api_pulls-3.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api_pulls_382-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api_pulls_382-4.json index 99967a1be..7df71f720 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api_pulls_382-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/__files/repos_hub4j-test-org_github-api_pulls_382-4.json @@ -170,7 +170,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/mappings/repos_hub4j-test-org_github-api_pulls-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/mappings/repos_hub4j-test-org_github-api_pulls-3.json index 548504dea..3fdad3052 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/mappings/repos_hub4j-test-org_github-api_pulls-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranch/mappings/repos_hub4j-test-org_github-api_pulls-3.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testSetBaseBranch\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testSetBaseBranch\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api-2.json index dd92bb7d6..35d2918a3 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 497, "open_issues": 74, "watchers": 697, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 497, "open_issues": 74, "watchers": 697, - "default_branch": "master" + "default_branch": "main" }, "network_count": 497, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api_pulls-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api_pulls-3.json index ac7becda8..d8aa5c11e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api_pulls-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api_pulls-3.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 6, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api_pulls_381-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api_pulls_381-5.json index a15c5375e..2f9b18bfd 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api_pulls_381-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/__files/repos_hub4j-test-org_github-api_pulls_381-5.json @@ -170,12 +170,12 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/mappings/repos_hub4j-test-org_github-api_pulls-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/mappings/repos_hub4j-test-org_github-api_pulls-3.json index 0f8746456..7e0378d90 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/mappings/repos_hub4j-test-org_github-api_pulls-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setBaseBranchNonExisting/mappings/repos_hub4j-test-org_github-api_pulls-3.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testSetBaseBranchNonExisting\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testSetBaseBranchNonExisting\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-3.json index 0a6599031..2264a7dd9 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-6.json index d4f8217b5..84eb055ff 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-6.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-9.json index d4f8217b5..84eb055ff 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api-9.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls-10.json index 7f299cd78..3f563304c 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls-10.json @@ -179,12 +179,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -304,7 +304,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json index 441b53b70..4d7d824e4 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls_264-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls_264-11.json index 29f8a91cf..d9bca20b3 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls_264-11.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls_264-11.json @@ -178,12 +178,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -303,7 +303,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls_264-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls_264-7.json index b7c99d99f..841488609 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls_264-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/__files/repos_hub4j-test-org_github-api_pulls_264-7.json @@ -178,12 +178,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -303,7 +303,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 66ba714c0..2f10b86eb 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/setLabels/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"setLabels\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"setLabels\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-12.json index 8ab1a5106..2bb90eeaf 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-12.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-12.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-3.json index 640683380..1615e105c 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-5.json index 640683380..1615e105c 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-7.json index c4b1bf70b..6a1d2d6d2 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-9.json index 6094fbde8..8fdffbd3d 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api-9.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json similarity index 85% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json index d15d226de..31d382530 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjA2ODg4MjAxOm1hc3Rlcg==", - "url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs/heads/main", "object": { "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_pulls-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_pulls-10.json index 8ef18272d..e02674c97 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_pulls-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/__files/repos_hub4j-test-org_github-api_pulls-10.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "912e2176a00e60e02196737e0ae4c218a14b5dcb", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json index 006d3d89d..6b6393aed 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json @@ -1,8 +1,8 @@ { "id": "7bfa9315-c036-44af-bc3c-1e639325a8fe", - "name": "repos_hub4j-test-org_github-api_git_refs_heads_master", + "name": "repos_hub4j-test-org_github-api_git_refs_heads_main", "request": { - "url": "/repos/hub4j-test-org/github-api/git/refs/heads/master", + "url": "/repos/hub4j-test-org/github-api/git/refs/heads/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_git_refs_heads_master-4.json", + "bodyFileName": "repos_hub4j-test-org_github-api_git_refs_heads_main-4.json", "headers": { "Date": "Sun, 08 Sep 2019 07:24:48 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_pulls-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_pulls-10.json index 3b3c88409..860b1b962 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_pulls-10.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/squashMerge/mappings/repos_hub4j-test-org_github-api_pulls-10.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/squashMerge\",\"maintainer_can_modify\":true,\"title\":\"squashMerge\",\"body\":\"## test squash\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/squashMerge\",\"maintainer_can_modify\":true,\"title\":\"squashMerge\",\"body\":\"## test squash\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api-3.json index a6f0ba008..d67f57821 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 429, "open_issues": 82, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 429, "open_issues": 82, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "network_count": 429, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json index e3c2ce8aa..1156b467f 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_299-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_299-7.json index 12216fa01..a7b0695d1 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_299-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_299-7.json @@ -190,12 +190,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -315,7 +315,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_299_requested_reviewers-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_299_requested_reviewers-6.json index e445ee094..73c6bfaa6 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_299_requested_reviewers-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_299_requested_reviewers-6.json @@ -190,12 +190,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -315,7 +315,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json index e620aca68..07f6140a0 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"testPullRequestReviewRequests\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"testPullRequestReviewRequests\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json index f948e3710..ca6e767b0 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 429, "open_issues": 82, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 429, "open_issues": 82, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "network_count": 429, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json index ba14f6fb6..a42cfb07e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304-7.json index cd5f06a29..bec66e2cb 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304-7.json @@ -183,12 +183,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -308,7 +308,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json index 5cf1e3cf4..106d2733e 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json @@ -183,12 +183,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -308,7 +308,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 821085ebf..aab9fb43f 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"testPullRequestTeamReviewRequests\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"testPullRequestTeamReviewRequests\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-11.json index dfda765e9..0857b3e55 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-11.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-11.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-14.json index 3cfc81808..7cb010409 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-14.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-14.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-3.json index 9d148bc2a..01c8483d1 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-5.json index 9d148bc2a..01c8483d1 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-7.json index ad075cccd..dd823b235 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-9.json index 70179003c..a240c17ea 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api-9.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 551, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json similarity index 85% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json index 1b107138d..9c13efa2c 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjA2ODg4MjAxOm1hc3Rlcg==", - "url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs/heads/main", "object": { "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_pulls-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_pulls-12.json index 25be86c70..13363e2ef 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_pulls-12.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/__files/repos_hub4j-test-org_github-api_pulls-12.json @@ -169,12 +169,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", "user": { "login": "hub4j-test-org", @@ -294,7 +294,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json index 48acce475..534162a21 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_master-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_git_refs_heads_main-4.json @@ -1,8 +1,8 @@ { "id": "fa77be60-4286-4610-bff6-3ab0bac74b1f", - "name": "repos_hub4j-test-org_github-api_git_refs_heads_master", + "name": "repos_hub4j-test-org_github-api_git_refs_heads_main", "request": { - "url": "/repos/hub4j-test-org/github-api/git/refs/heads/master", + "url": "/repos/hub4j-test-org/github-api/git/refs/heads/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_git_refs_heads_master-4.json", + "bodyFileName": "repos_hub4j-test-org_github-api_git_refs_heads_main-4.json", "headers": { "Date": "Sun, 08 Sep 2019 07:24:18 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_pulls-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_pulls-12.json index 0568d285e..cd0d33361 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_pulls-12.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateContentSquashMerge/mappings/repos_hub4j-test-org_github-api_pulls-12.json @@ -6,7 +6,7 @@ "method": "POST", "bodyPatterns": [ { - "equalToJson": "{\"head\":\"test/updateContentSquashMerge\",\"maintainer_can_modify\":true,\"title\":\"updateContentSquashMerge\",\"body\":\"## test squash\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"test/updateContentSquashMerge\",\"maintainer_can_modify\":true,\"title\":\"updateContentSquashMerge\",\"body\":\"## test squash\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": true } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches-2.json index 77d2f7547..b8a8119ef 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches-2.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json index cd4b2ab63..4d2dbf757 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json @@ -164,12 +164,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "1300f2d207d52857bc92d37747d032aaab7a802e", "user": { "login": "hub4j-test-org", @@ -283,7 +283,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-6.json index 3674c127a..563082f70 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-6.json @@ -164,12 +164,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "1300f2d207d52857bc92d37747d032aaab7a802e", "user": { "login": "hub4j-test-org", @@ -283,7 +283,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-8.json index 84ea39a2c..9938d9fea 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-8.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-8.json @@ -164,12 +164,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "1300f2d207d52857bc92d37747d032aaab7a802e", "user": { "login": "hub4j-test-org", @@ -283,7 +283,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-9.json index 50bb0a231..94c7c86ed 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_8-9.json @@ -164,12 +164,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "1300f2d207d52857bc92d37747d032aaab7a802e", "user": { "login": "hub4j-test-org", @@ -283,7 +283,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/mappings/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/mappings/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json index a5a7536b0..e751ba1a4 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/mappings/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranches/mappings/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"outdated\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testUpdateOutdatedBranches\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"outdated\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testUpdateOutdatedBranches\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches-2.json index c321e7b20..c0799f8d4 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches-2.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json index e04dd3d70..af220af8a 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json @@ -164,12 +164,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "1300f2d207d52857bc92d37747d032aaab7a802e", "user": { "login": "hub4j-test-org", @@ -283,7 +283,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_9-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_9-6.json index 93adeed9f..8cdc4ef09 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_9-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_9-6.json @@ -164,12 +164,12 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "1300f2d207d52857bc92d37747d032aaab7a802e", "user": { "login": "hub4j-test-org", @@ -283,7 +283,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_9-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_9-9.json index 4fb3d0c06..49a4a33bd 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_9-9.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/__files/repos_hub4j-test-org_updateoutdatedbranches_pulls_9-9.json @@ -164,12 +164,12 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "base": { - "label": "hub4j-test-org:master", - "ref": "master", + "label": "hub4j-test-org:main", + "ref": "main", "sha": "1300f2d207d52857bc92d37747d032aaab7a802e", "user": { "login": "hub4j-test-org", @@ -283,7 +283,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master" + "default_branch": "main" } }, "_links": { diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/mappings/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/mappings/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json index 9ec939795..83dc258e7 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/mappings/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/updateOutdatedBranchesUnexpectedHead/mappings/repos_hub4j-test-org_updateoutdatedbranches_pulls-5.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"head\":\"outdated\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testUpdateOutdatedBranches\",\"body\":\"## test\",\"base\":\"master\"}", + "equalToJson": "{\"head\":\"outdated\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testUpdateOutdatedBranches\",\"body\":\"## test\",\"base\":\"main\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } diff --git a/src/test/resources/org/kohsuke/github/GHRateLimitTest/wiremock/testGitHubEnterpriseDoesNotHaveRateLimit/__files/search_repositories-6.json b/src/test/resources/org/kohsuke/github/GHRateLimitTest/wiremock/testGitHubEnterpriseDoesNotHaveRateLimit/__files/search_repositories-6.json index f1952b7b9..6b1707ce7 100644 --- a/src/test/resources/org/kohsuke/github/GHRateLimitTest/wiremock/testGitHubEnterpriseDoesNotHaveRateLimit/__files/search_repositories-6.json +++ b/src/test/resources/org/kohsuke/github/GHRateLimitTest/wiremock/testGitHubEnterpriseDoesNotHaveRateLimit/__files/search_repositories-6.json @@ -99,7 +99,7 @@ "forks": 40, "open_issues": 0, "watchers": 690, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -198,7 +198,7 @@ "forks": 118, "open_issues": 2, "watchers": 208, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -297,7 +297,7 @@ "forks": 9, "open_issues": 2, "watchers": 107, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -396,7 +396,7 @@ "forks": 8, "open_issues": 0, "watchers": 60, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -501,7 +501,7 @@ "forks": 9, "open_issues": 0, "watchers": 60, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -606,7 +606,7 @@ "forks": 8, "open_issues": 1, "watchers": 54, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -705,7 +705,7 @@ "forks": 8, "open_issues": 0, "watchers": 50, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -804,7 +804,7 @@ "forks": 57, "open_issues": 2, "watchers": 49, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -903,7 +903,7 @@ "forks": 19, "open_issues": 2, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1008,7 +1008,7 @@ "forks": 13, "open_issues": 0, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1107,7 +1107,7 @@ "forks": 3, "open_issues": 0, "watchers": 32, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1206,7 +1206,7 @@ "forks": 10, "open_issues": 0, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1311,7 +1311,7 @@ "forks": 2, "open_issues": 1, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1410,7 +1410,7 @@ "forks": 9, "open_issues": 0, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1509,7 +1509,7 @@ "forks": 8, "open_issues": 0, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1608,7 +1608,7 @@ "forks": 6, "open_issues": 0, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1707,7 +1707,7 @@ "forks": 25, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1806,7 +1806,7 @@ "forks": 10, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1905,7 +1905,7 @@ "forks": 10, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2004,7 +2004,7 @@ "forks": 3, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2103,7 +2103,7 @@ "forks": 1, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2202,7 +2202,7 @@ "forks": 0, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2301,7 +2301,7 @@ "forks": 0, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2400,7 +2400,7 @@ "forks": 0, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2499,7 +2499,7 @@ "forks": 8, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2598,7 +2598,7 @@ "forks": 1, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2703,7 +2703,7 @@ "forks": 1, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2802,7 +2802,7 @@ "forks": 4, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2901,7 +2901,7 @@ "forks": 6, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3000,7 +3000,7 @@ "forks": 2, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRateLimitTest/wiremock/testGitHubRateLimit/__files/search_repositories-6.json b/src/test/resources/org/kohsuke/github/GHRateLimitTest/wiremock/testGitHubRateLimit/__files/search_repositories-6.json index f1952b7b9..6b1707ce7 100644 --- a/src/test/resources/org/kohsuke/github/GHRateLimitTest/wiremock/testGitHubRateLimit/__files/search_repositories-6.json +++ b/src/test/resources/org/kohsuke/github/GHRateLimitTest/wiremock/testGitHubRateLimit/__files/search_repositories-6.json @@ -99,7 +99,7 @@ "forks": 40, "open_issues": 0, "watchers": 690, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -198,7 +198,7 @@ "forks": 118, "open_issues": 2, "watchers": 208, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -297,7 +297,7 @@ "forks": 9, "open_issues": 2, "watchers": 107, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -396,7 +396,7 @@ "forks": 8, "open_issues": 0, "watchers": 60, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -501,7 +501,7 @@ "forks": 9, "open_issues": 0, "watchers": 60, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -606,7 +606,7 @@ "forks": 8, "open_issues": 1, "watchers": 54, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -705,7 +705,7 @@ "forks": 8, "open_issues": 0, "watchers": 50, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -804,7 +804,7 @@ "forks": 57, "open_issues": 2, "watchers": 49, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -903,7 +903,7 @@ "forks": 19, "open_issues": 2, "watchers": 37, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1008,7 +1008,7 @@ "forks": 13, "open_issues": 0, "watchers": 33, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1107,7 +1107,7 @@ "forks": 3, "open_issues": 0, "watchers": 32, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1206,7 +1206,7 @@ "forks": 10, "open_issues": 0, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1311,7 +1311,7 @@ "forks": 2, "open_issues": 1, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1410,7 +1410,7 @@ "forks": 9, "open_issues": 0, "watchers": 23, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1509,7 +1509,7 @@ "forks": 8, "open_issues": 0, "watchers": 20, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1608,7 +1608,7 @@ "forks": 6, "open_issues": 0, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1707,7 +1707,7 @@ "forks": 25, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1806,7 +1806,7 @@ "forks": 10, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1905,7 +1905,7 @@ "forks": 10, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2004,7 +2004,7 @@ "forks": 3, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2103,7 +2103,7 @@ "forks": 1, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2202,7 +2202,7 @@ "forks": 0, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2301,7 +2301,7 @@ "forks": 0, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2400,7 +2400,7 @@ "forks": 0, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2499,7 +2499,7 @@ "forks": 8, "open_issues": 1, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2598,7 +2598,7 @@ "forks": 1, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2703,7 +2703,7 @@ "forks": 1, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2802,7 +2802,7 @@ "forks": 4, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2901,7 +2901,7 @@ "forks": 6, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3000,7 +3000,7 @@ "forks": 2, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testCodeFrequency/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testCodeFrequency/__files/repos_hub4j-test-org_github-api-3.json index 0f6062df1..bf5945abe 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testCodeFrequency/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testCodeFrequency/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "network_count": 429, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testCommitActivity/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testCommitActivity/__files/repos_hub4j-test-org_github-api-3.json index 0f6062df1..bf5945abe 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testCommitActivity/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testCommitActivity/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "network_count": 429, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testContributorStats/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testContributorStats/__files/repos_hub4j-test-org_github-api-3.json index 0f6062df1..bf5945abe 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testContributorStats/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testContributorStats/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "network_count": 429, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testParticipation/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testParticipation/__files/repos_hub4j-test-org_github-api-3.json index 0f6062df1..bf5945abe 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testParticipation/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testParticipation/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "network_count": 429, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testPunchCard/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testPunchCard/__files/repos_hub4j-test-org_github-api-3.json index 0f6062df1..bf5945abe 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testPunchCard/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryStatisticsTest/wiremock/testPunchCard/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 429, "open_issues": 85, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "network_count": 429, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/LatestRepositoryExist/__files/repos_kamontat_checkidnumber-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/LatestRepositoryExist/__files/repos_kamontat_checkidnumber-2.json index ad79b0483..c06e4b92f 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/LatestRepositoryExist/__files/repos_kamontat_checkidnumber-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/LatestRepositoryExist/__files/repos_kamontat_checkidnumber-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/LatestRepositoryNotExist/__files/repos_kamontat_java8example-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/LatestRepositoryNotExist/__files/repos_kamontat_java8example-2.json index 26e4f08d0..d5f3d6115 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/LatestRepositoryNotExist/__files/repos_kamontat_java8example-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/LatestRepositoryNotExist/__files/repos_kamontat_java8example-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaborators/__files/repos_hub4j-test-org_github-api-95ce4098-4e40-49f0-8661-0870614d5d78.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaborators/__files/repos_hub4j-test-org_github-api-95ce4098-4e40-49f0-8661-0870614d5d78.json index a52c11bf8..497139ed2 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaborators/__files/repos_hub4j-test-org_github-api-95ce4098-4e40-49f0-8661-0870614d5d78.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaborators/__files/repos_hub4j-test-org_github-api-95ce4098-4e40-49f0-8661-0870614d5d78.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -221,7 +221,7 @@ "forks": 450, "open_issues": 54, "watchers": 607, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -321,7 +321,7 @@ "forks": 450, "open_issues": 54, "watchers": 607, - "default_branch": "master" + "default_branch": "main" }, "network_count": 450, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-3.json index 1bc2f0902..d34f6ef7a 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-4.json index 470aa36ac..87ae48cb6 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-4.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-5.json index 470aa36ac..87ae48cb6 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/archive/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 96, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 96, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/checkStargazersCount/__files/repos_hub4j-test-org_temp-checkstargazerscount-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/checkStargazersCount/__files/repos_hub4j-test-org_temp-checkstargazerscount-2.json index ac7682d92..c58aff21e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/checkStargazersCount/__files/repos_hub4j-test-org_temp-checkstargazerscount-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/checkStargazersCount/__files/repos_hub4j-test-org_temp-checkstargazerscount-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/checkWatchersCount/__files/repos_hub4j-test-org_temp-checkwatcherscount-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/checkWatchersCount/__files/repos_hub4j-test-org_temp-checkwatcherscount-2.json index f742b328a..90bc94d5b 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/checkWatchersCount/__files/repos_hub4j-test-org_temp-checkwatcherscount-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/checkWatchersCount/__files/repos_hub4j-test-org_temp-checkwatcherscount-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitUnknownSignatureType/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitUnknownSignatureType/__files/repos_hub4j-test-org_github-api-2.json index cb34fc2cf..ec0211a59 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitUnknownSignatureType/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitUnknownSignatureType/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 499, "open_issues": 82, "watchers": 701, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 499, "open_issues": 82, "watchers": 701, - "default_branch": "master" + "default_branch": "main" }, "network_count": 499, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitVerifyError/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitVerifyError/__files/repos_hub4j-test-org_github-api-2.json index cb34fc2cf..ec0211a59 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitVerifyError/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitVerifyError/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 499, "open_issues": 82, "watchers": 701, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 499, "open_issues": 82, "watchers": 701, - "default_branch": "master" + "default_branch": "main" }, "network_count": 499, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranchNonExistentBut200Status/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranchNonExistentBut200Status/__files/repos_hub4j-test-org_github-api-3.json index d3283d2c4..58cb9864e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranchNonExistentBut200Status/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranchNonExistentBut200Status/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -220,7 +220,7 @@ "forks": 441, "open_issues": 55, "watchers": 579, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -320,7 +320,7 @@ "forks": 441, "open_issues": 55, "watchers": 579, - "default_branch": "master" + "default_branch": "main" }, "network_count": 441, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_hub4j-test-org_github-api-3.json index 0867a9536..89437d05e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getBranch_URLEncoded/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 94, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 94, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRuns/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRuns/__files/repos_hub4j_github-api-2.json index 8e5efe392..09692f577 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRuns/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRuns/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 467, "open_issues": 66, "watchers": 620, - "default_branch": "master", + "default_branch": "main", "temp_clone_token": null, "organization": { "login": "hub4j", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCollaborators/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCollaborators/__files/repos_hub4j-test-org_github-api-3.json index 466e1d7ab..b6b7e97d9 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCollaborators/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCollaborators/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 443, "open_issues": 56, "watchers": 585, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 443, "open_issues": 56, "watchers": 585, - "default_branch": "master" + "default_branch": "main" }, "network_count": 443, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-3.json index 3ba0334ee..3bb8bf201 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -221,7 +221,7 @@ "forks": 453, "open_issues": 56, "watchers": 613, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -321,7 +321,7 @@ "forks": 453, "open_issues": 56, "watchers": 613, - "default_branch": "master" + "default_branch": "main" }, "network_count": 453, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getLastCommitStatus/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getLastCommitStatus/__files/repos_hub4j-test-org_github-api-3.json index 7c3a50492..095f83922 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getLastCommitStatus/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getLastCommitStatus/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -221,7 +221,7 @@ "forks": 467, "open_issues": 65, "watchers": 618, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -321,7 +321,7 @@ "forks": 467, "open_issues": 65, "watchers": 618, - "default_branch": "master" + "default_branch": "main" }, "network_count": 467, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPermission/__files/repos_apache_groovy-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPermission/__files/repos_apache_groovy-6.json index 6c96c0d4d..2de92b421 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPermission/__files/repos_apache_groovy-6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPermission/__files/repos_apache_groovy-6.json @@ -96,7 +96,7 @@ "forks": 1300, "open_issues": 18, "watchers": 3406, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPermission/__files/repos_hub4j-test-org_test-permission-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPermission/__files/repos_hub4j-test-org_test-permission-2.json index 1b5c53df1..5477ba1ca 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPermission/__files/repos_hub4j-test-org_test-permission-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPermission/__files/repos_hub4j-test-org_test-permission-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPostCommitHooks/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPostCommitHooks/__files/repos_hub4j-test-org_github-api-3.json index 466e1d7ab..b6b7e97d9 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPostCommitHooks/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPostCommitHooks/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 443, "open_issues": 56, "watchers": 585, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 443, "open_issues": 56, "watchers": 585, - "default_branch": "master" + "default_branch": "main" }, "network_count": 443, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRef/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRef/__files/repos_hub4j-test-org_github-api-3.json index eccd7b85d..bf0cf256e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRef/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRef/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 481, "open_issues": 64, "watchers": 669, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 481, "open_issues": 64, "watchers": 669, - "default_branch": "master" + "default_branch": "main" }, "network_count": 481, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefs/__files/repos_hub4j-test-org_temp-getrefs-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefs/__files/repos_hub4j-test-org_temp-getrefs-2.json index 9e567a333..3f6342b09 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefs/__files/repos_hub4j-test-org_temp-getrefs-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefs/__files/repos_hub4j-test-org_temp-getrefs-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefs/__files/repos_hub4j-test-org_temp-getrefs_git_refs-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefs/__files/repos_hub4j-test-org_temp-getrefs_git_refs-3.json index f683b3064..343a6d321 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefs/__files/repos_hub4j-test-org_temp-getrefs_git_refs-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefs/__files/repos_hub4j-test-org_temp-getrefs_git_refs-3.json @@ -1,8 +1,8 @@ [ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjMzMTMxOTY3Om1hc3Rlcg==", - "url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/git/refs/heads/main", "object": { "sha": "10d62bfddf1d50e2a3ef51666200102921ed548a", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsEmptyTags/__files/repos_hub4j-test-org_temp-getrefsemptytags-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsEmptyTags/__files/repos_hub4j-test-org_temp-getrefsemptytags-2.json index 3c248d32a..4d4be10f8 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsEmptyTags/__files/repos_hub4j-test-org_temp-getrefsemptytags-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsEmptyTags/__files/repos_hub4j-test-org_temp-getrefsemptytags-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsHeads/__files/repos_hub4j-test-org_temp-getrefsheads-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsHeads/__files/repos_hub4j-test-org_temp-getrefsheads-2.json index 1e01e8c8f..24e6559a5 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsHeads/__files/repos_hub4j-test-org_temp-getrefsheads-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsHeads/__files/repos_hub4j-test-org_temp-getrefsheads-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsHeads/__files/repos_hub4j-test-org_temp-getrefsheads_git_refs_heads-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsHeads/__files/repos_hub4j-test-org_temp-getrefsheads_git_refs_heads-3.json index 938d11610..d12be6284 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsHeads/__files/repos_hub4j-test-org_temp-getrefsheads_git_refs_heads-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getRefsHeads/__files/repos_hub4j-test-org_temp-getrefsheads_git_refs_heads-3.json @@ -1,8 +1,8 @@ [ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjMzMTMxOTEwOm1hc3Rlcg==", - "url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/git/refs/heads/main", "object": { "sha": "ec5cb63bbcc04415fe7371d8f0a03d4df9ea9e91", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameDoesNotExist/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameDoesNotExist/__files/repos_hub4j-test-org_github-api-3.json index 2519650a4..a1f72a585 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameDoesNotExist/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameDoesNotExist/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 90, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 90, "watchers": 557, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameExists/__files/repos_github_hub-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameExists/__files/repos_github_hub-3.json index 56ed61dd6..50e7aa6e2 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameExists/__files/repos_github_hub-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameExists/__files/repos_github_hub-3.json @@ -96,7 +96,7 @@ "forks": 1820, "open_issues": 210, "watchers": 17507, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameExists/__files/repos_github_hub_releases_tags_v230-pre10-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameExists/__files/repos_github_hub_releases_tags_v230-pre10-4.json index 199212e2b..c67e9dfcf 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameExists/__files/repos_github_hub_releases_tags_v230-pre10-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseByTagNameExists/__files/repos_github_hub_releases_tags_v230-pre10-4.json @@ -6,7 +6,7 @@ "id": 6839710, "node_id": "MDc6UmVsZWFzZTY4Mzk3MTA=", "tag_name": "v2.3.0-pre10", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.3.0-pre10", "draft": false, "author": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseDoesNotExist/__files/repos_github_hub-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseDoesNotExist/__files/repos_github_hub-3.json index 56ed61dd6..50e7aa6e2 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseDoesNotExist/__files/repos_github_hub-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseDoesNotExist/__files/repos_github_hub-3.json @@ -96,7 +96,7 @@ "forks": 1820, "open_issues": 210, "watchers": 17507, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseExists/__files/repos_github_hub-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseExists/__files/repos_github_hub-3.json index 56ed61dd6..50e7aa6e2 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseExists/__files/repos_github_hub-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseExists/__files/repos_github_hub-3.json @@ -96,7 +96,7 @@ "forks": 1820, "open_issues": 210, "watchers": 17507, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseExists/__files/repos_github_hub_releases_6839710-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseExists/__files/repos_github_hub_releases_6839710-4.json index 199212e2b..c67e9dfcf 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseExists/__files/repos_github_hub_releases_6839710-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getReleaseExists/__files/repos_github_hub_releases_6839710-4.json @@ -6,7 +6,7 @@ "id": 6839710, "node_id": "MDc6UmVsZWFzZTY4Mzk3MTA=", "tag_name": "v2.3.0-pre10", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.3.0-pre10", "draft": false, "author": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCollaborators/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCollaborators/__files/repos_hub4j-test-org_github-api-3.json index 9f194a986..038631002 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCollaborators/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCollaborators/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 450, "open_issues": 55, "watchers": 610, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 450, "open_issues": 55, "watchers": 610, - "default_branch": "master" + "default_branch": "main" }, "network_count": 450, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCollaboratorsFiltered/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCollaboratorsFiltered/__files/repos_hub4j-test-org_github-api-3.json index cf37d5c8a..cbf5807d0 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCollaboratorsFiltered/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCollaboratorsFiltered/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 512, "open_issues": 86, "watchers": 718, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 512, "open_issues": 86, "watchers": 718, - "default_branch": "master" + "default_branch": "main" }, "network_count": 512, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCommitCommentsNoComments/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCommitCommentsNoComments/__files/repos_hub4j-test-org_github-api-2.json index 1df75b264..97b75bfa1 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCommitCommentsNoComments/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCommitCommentsNoComments/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 499, "open_issues": 81, "watchers": 701, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 499, "open_issues": 81, "watchers": 701, - "default_branch": "master" + "default_branch": "main" }, "network_count": 499, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCommitCommentsSomeComments/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCommitCommentsSomeComments/__files/repos_hub4j-test-org_github-api-2.json index 1df75b264..97b75bfa1 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCommitCommentsSomeComments/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listCommitCommentsSomeComments/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 499, "open_issues": 81, "watchers": 701, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 499, "open_issues": 81, "watchers": 701, - "default_branch": "master" + "default_branch": "main" }, "network_count": 499, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listContributors/__files/repos_hub4j_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listContributors/__files/repos_hub4j_github-api-3.json index 5bb1e0739..e1d162539 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listContributors/__files/repos_hub4j_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listContributors/__files/repos_hub4j_github-api-3.json @@ -96,7 +96,7 @@ "forks": 428, "open_issues": 90, "watchers": 557, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listEmptyContributors/__files/repos_hub4j-test-org_empty-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listEmptyContributors/__files/repos_hub4j-test-org_empty-2.json index 521540a86..d3672757c 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listEmptyContributors/__files/repos_hub4j-test-org_empty-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listEmptyContributors/__files/repos_hub4j-test-org_empty-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listLanguages/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listLanguages/__files/repos_hub4j_github-api-2.json index 5bb1e0739..e1d162539 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listLanguages/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listLanguages/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 428, "open_issues": 90, "watchers": 557, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api-3.json index 6de56ef74..aadbbf12e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 478, "open_issues": 67, "watchers": 656, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 478, "open_issues": 67, "watchers": 656, - "default_branch": "master" + "default_branch": "main" }, "network_count": 478, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api_git_refs_heads-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api_git_refs_heads-4.json index 519bb0592..87cfc4734 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api_git_refs_heads-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api_git_refs_heads-4.json @@ -20,9 +20,9 @@ } }, { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjA2ODg4MjAxOnJlZnMvaGVhZHMvbWFzdGVy", - "url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs/heads/main", "object": { "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api_git_refs_heads-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api_git_refs_heads-5.json index 519bb0592..87cfc4734 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api_git_refs_heads-5.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefs/__files/repos_hub4j-test-org_github-api_git_refs_heads-5.json @@ -20,9 +20,9 @@ } }, { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjA2ODg4MjAxOnJlZnMvaGVhZHMvbWFzdGVy", - "url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs/heads/main", "object": { "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsEmptyTags/__files/repos_hub4j-test-org_temp-listrefsemptytags-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsEmptyTags/__files/repos_hub4j-test-org_temp-listrefsemptytags-2.json index 304176a7c..c384391d4 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsEmptyTags/__files/repos_hub4j-test-org_temp-listrefsemptytags-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsEmptyTags/__files/repos_hub4j-test-org_temp-listrefsemptytags-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsHeads/__files/repos_hub4j-test-org_temp-listrefsheads-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsHeads/__files/repos_hub4j-test-org_temp-listrefsheads-2.json index 59ae18f93..2f5d97458 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsHeads/__files/repos_hub4j-test-org_temp-listrefsheads-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsHeads/__files/repos_hub4j-test-org_temp-listrefsheads-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsHeads/__files/repos_hub4j-test-org_temp-listrefsheads_git_refs_heads-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsHeads/__files/repos_hub4j-test-org_temp-listrefsheads_git_refs_heads-3.json index ea2c49314..ac0996965 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsHeads/__files/repos_hub4j-test-org_temp-listrefsheads_git_refs_heads-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listRefsHeads/__files/repos_hub4j-test-org_temp-listrefsheads_git_refs_heads-3.json @@ -1,8 +1,8 @@ [ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjMzMTMxODkxOm1hc3Rlcg==", - "url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/git/refs/heads/main", "object": { "sha": "1132107359dcaeffdb6e39f3e9594711034dbbcf", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listReleases/__files/repos_github_hub-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listReleases/__files/repos_github_hub-3.json index 56ed61dd6..50e7aa6e2 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listReleases/__files/repos_github_hub-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listReleases/__files/repos_github_hub-3.json @@ -96,7 +96,7 @@ "forks": 1820, "open_issues": 210, "watchers": 17507, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listReleases/__files/repos_github_hub_releases-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listReleases/__files/repos_github_hub_releases-4.json index 6160f2ad9..8b5f8beaf 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listReleases/__files/repos_github_hub_releases-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listReleases/__files/repos_github_hub_releases-4.json @@ -7,7 +7,7 @@ "id": 20432197, "node_id": "MDc6UmVsZWFzZTIwNDMyMTk3", "tag_name": "v2.12.8", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.8", "draft": false, "author": { @@ -353,7 +353,7 @@ "id": 20175981, "node_id": "MDc6UmVsZWFzZTIwMTc1OTgx", "tag_name": "v2.12.7", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.7", "draft": false, "author": { @@ -699,7 +699,7 @@ "id": 20157427, "node_id": "MDc6UmVsZWFzZTIwMTU3NDI3", "tag_name": "v2.12.6", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.6", "draft": false, "author": { @@ -1045,7 +1045,7 @@ "id": 20157262, "node_id": "MDc6UmVsZWFzZTIwMTU3MjYy", "tag_name": "v2.12.5", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.5", "draft": false, "author": { @@ -1323,7 +1323,7 @@ "id": 19821302, "node_id": "MDc6UmVsZWFzZTE5ODIxMzAy", "tag_name": "v2.12.4", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.4", "draft": false, "author": { @@ -1601,7 +1601,7 @@ "id": 18731876, "node_id": "MDc6UmVsZWFzZTE4NzMxODc2", "tag_name": "v2.12.3", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.3", "draft": false, "author": { @@ -1947,7 +1947,7 @@ "id": 18509954, "node_id": "MDc6UmVsZWFzZTE4NTA5OTU0", "tag_name": "v2.12.2", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.2", "draft": false, "author": { @@ -2293,7 +2293,7 @@ "id": 18303721, "node_id": "MDc6UmVsZWFzZTE4MzAzNzIx", "tag_name": "v2.12.1", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.1", "draft": false, "author": { @@ -2639,7 +2639,7 @@ "id": 18016139, "node_id": "MDc6UmVsZWFzZTE4MDE2MTM5", "tag_name": "v2.12.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.12.0", "draft": false, "author": { @@ -2985,7 +2985,7 @@ "id": 16749698, "node_id": "MDc6UmVsZWFzZTE2NzQ5Njk4", "tag_name": "v2.11.2", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.11.2", "draft": false, "author": { @@ -3331,7 +3331,7 @@ "id": 16433801, "node_id": "MDc6UmVsZWFzZTE2NDMzODAx", "tag_name": "v2.11.1", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.11.1", "draft": false, "author": { @@ -3677,7 +3677,7 @@ "id": 16425444, "node_id": "MDc6UmVsZWFzZTE2NDI1NDQ0", "tag_name": "v2.11.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.11.0", "draft": false, "author": { @@ -4023,7 +4023,7 @@ "id": 16424908, "node_id": "MDc6UmVsZWFzZTE2NDI0OTA4", "tag_name": "v2.10.2", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.10.2", "draft": false, "author": { @@ -4369,7 +4369,7 @@ "id": 16395737, "node_id": "MDc6UmVsZWFzZTE2Mzk1NzM3", "tag_name": "v2.10.1", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.10.1", "draft": false, "author": { @@ -4715,7 +4715,7 @@ "id": 15739809, "node_id": "MDc6UmVsZWFzZTE1NzM5ODA5", "tag_name": "v2.10.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.10.0", "draft": false, "author": { @@ -5061,7 +5061,7 @@ "id": 15523345, "node_id": "MDc6UmVsZWFzZTE1NTIzMzQ1", "tag_name": "v2.9.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.9.0", "draft": false, "author": { @@ -5407,7 +5407,7 @@ "id": 15221839, "node_id": "MDc6UmVsZWFzZTE1MjIxODM5", "tag_name": "v2.8.4", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.8.4", "draft": false, "author": { @@ -5753,7 +5753,7 @@ "id": 15197951, "node_id": "MDc6UmVsZWFzZTE1MTk3OTUx", "tag_name": "v2.8.3", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.8.3", "draft": false, "author": { @@ -6099,7 +6099,7 @@ "id": 15197653, "node_id": "MDc6UmVsZWFzZTE1MTk3NjUz", "tag_name": "v2.8.2", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.8.2", "draft": false, "author": { @@ -6138,7 +6138,7 @@ "id": 15059882, "node_id": "MDc6UmVsZWFzZTE1MDU5ODgy", "tag_name": "v2.7.1", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.7.1", "draft": false, "author": { @@ -6484,7 +6484,7 @@ "id": 14726051, "node_id": "MDc6UmVsZWFzZTE0NzI2MDUx", "tag_name": "v2.7.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.7.0", "draft": false, "author": { @@ -6830,7 +6830,7 @@ "id": 14462456, "node_id": "MDc6UmVsZWFzZTE0NDYyNDU2", "tag_name": "v2.6.1", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.6.1", "draft": false, "author": { @@ -7176,7 +7176,7 @@ "id": 13745445, "node_id": "MDc6UmVsZWFzZTEzNzQ1NDQ1", "tag_name": "v2.6.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.6.0", "draft": false, "author": { @@ -7522,7 +7522,7 @@ "id": 12542979, "node_id": "MDc6UmVsZWFzZTEyNTQyOTc5", "tag_name": "v2.5.1", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.5.1", "draft": false, "author": { @@ -7868,7 +7868,7 @@ "id": 11822683, "node_id": "MDc6UmVsZWFzZTExODIyNjgz", "tag_name": "v2.5.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.5.0", "draft": false, "author": { @@ -8214,7 +8214,7 @@ "id": 11376644, "node_id": "MDc6UmVsZWFzZTExMzc2NjQ0", "tag_name": "v2.4.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.4.0", "draft": false, "author": { @@ -8560,7 +8560,7 @@ "id": 11220240, "node_id": "MDc6UmVsZWFzZTExMjIwMjQw", "tag_name": "v2.3.0", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.3.0 – codename “Ancient Psychic Tandem War Elephant”", "draft": false, "author": { @@ -8906,7 +8906,7 @@ "id": 6839710, "node_id": "MDc6UmVsZWFzZTY4Mzk3MTA=", "tag_name": "v2.3.0-pre10", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.3.0-pre10", "draft": false, "author": { @@ -9184,7 +9184,7 @@ "id": 5467960, "node_id": "MDc6UmVsZWFzZTU0Njc5NjA=", "tag_name": "v2.3.0-pre9", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.3.0-pre9", "draft": false, "author": { @@ -9530,7 +9530,7 @@ "id": 5182188, "node_id": "MDc6UmVsZWFzZTUxODIxODg=", "tag_name": "v2.3.0-pre1", - "target_commitish": "master", + "target_commitish": "main", "name": "hub 2.3.0-pre1", "draft": false, "author": { diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listStargazers/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listStargazers/__files/repos_hub4j-test-org_github-api-3.json index 6ba4b2683..d10ed1f0a 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listStargazers/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listStargazers/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 521, "open_issues": 77, "watchers": 728, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 521, "open_issues": 77, "watchers": 728, - "default_branch": "master" + "default_branch": "main" }, "network_count": 521, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listStargazers/__files/repos_hub4j_github-api-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listStargazers/__files/repos_hub4j_github-api-6.json index bb8da56b2..7e54261e8 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listStargazers/__files/repos_hub4j_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listStargazers/__files/repos_hub4j_github-api-6.json @@ -96,7 +96,7 @@ "forks": 521, "open_issues": 77, "watchers": 728, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listTags/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listTags/__files/repos_hub4j-test-org_github-api-3.json index 741b0cd8c..78cd0c08e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listTags/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listTags/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 444, "open_issues": 55, "watchers": 602, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 444, "open_issues": 55, "watchers": 602, - "default_branch": "master" + "default_branch": "main" }, "network_count": 444, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listTagsEmpty/__files/repos_hub4j-test-org_temp-listtagsempty-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listTagsEmpty/__files/repos_hub4j-test-org_temp-listtagsempty-2.json index 8332486ac..2482e901b 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listTagsEmpty/__files/repos_hub4j-test-org_temp-listtagsempty-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/listTagsEmpty/__files/repos_hub4j-test-org_temp-listtagsempty-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/markDown/__files/repos_hub4j_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/markDown/__files/repos_hub4j_github-api-3.json index 38d8ca173..ca6c7bee7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/markDown/__files/repos_hub4j_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/markDown/__files/repos_hub4j_github-api-3.json @@ -96,7 +96,7 @@ "forks": 430, "open_issues": 87, "watchers": 558, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchRepositories/__files/search_repositories-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchRepositories/__files/search_repositories-2.json index 872edd8af..138f424c2 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchRepositories/__files/search_repositories-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchRepositories/__files/search_repositories-2.json @@ -100,7 +100,7 @@ "forks": 37, "open_issues": 0, "watchers": 678, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -200,7 +200,7 @@ "forks": 107, "open_issues": 3, "watchers": 176, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -300,7 +300,7 @@ "forks": 7, "open_issues": 1, "watchers": 99, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -406,7 +406,7 @@ "forks": 9, "open_issues": 0, "watchers": 59, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -506,7 +506,7 @@ "forks": 8, "open_issues": 0, "watchers": 56, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -612,7 +612,7 @@ "forks": 6, "open_issues": 1, "watchers": 51, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -712,7 +712,7 @@ "forks": 7, "open_issues": 0, "watchers": 41, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -812,7 +812,7 @@ "forks": 40, "open_issues": 2, "watchers": 31, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -912,7 +912,7 @@ "forks": 3, "open_issues": 0, "watchers": 30, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1018,7 +1018,7 @@ "forks": 11, "open_issues": 0, "watchers": 27, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1118,7 +1118,7 @@ "forks": 14, "open_issues": 2, "watchers": 26, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1218,7 +1218,7 @@ "forks": 9, "open_issues": 0, "watchers": 21, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1318,7 +1318,7 @@ "forks": 8, "open_issues": 0, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1418,7 +1418,7 @@ "forks": 6, "open_issues": 0, "watchers": 17, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1518,7 +1518,7 @@ "forks": 21, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1618,7 +1618,7 @@ "forks": 8, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1718,7 +1718,7 @@ "forks": 7, "open_issues": 0, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1818,7 +1818,7 @@ "forks": 2, "open_issues": 0, "watchers": 12, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1918,7 +1918,7 @@ "forks": 1, "open_issues": 0, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2018,7 +2018,7 @@ "forks": 3, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2118,7 +2118,7 @@ "forks": 0, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2224,7 +2224,7 @@ "forks": 0, "open_issues": 0, "watchers": 9, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2324,7 +2324,7 @@ "forks": 6, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2424,7 +2424,7 @@ "forks": 0, "open_issues": 0, "watchers": 8, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2524,7 +2524,7 @@ "forks": 4, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2624,7 +2624,7 @@ "forks": 4, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2730,7 +2730,7 @@ "forks": 1, "open_issues": 0, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2830,7 +2830,7 @@ "forks": 2, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2930,7 +2930,7 @@ "forks": 1, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3036,7 +3036,7 @@ "forks": 1, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-3.json index 23c758e7d..c8d51ae1f 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "network_count": 457, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-4.json index 62b0a41e9..6537dcd64 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-4.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -224,7 +224,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -324,7 +324,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "network_count": 457, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-5.json index 15ce0b404..c2e218435 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "network_count": 457, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-6.json index 95bcc0dff..c5561e8a4 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-6.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -224,7 +224,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -324,7 +324,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "network_count": 457, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-7.json index 23c758e7d..c8d51ae1f 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setDeleteBranchOnMerge/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 457, "open_issues": 56, "watchers": 614, - "default_branch": "master" + "default_branch": "main" }, "network_count": 457, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-10.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-10.json index 5695b34b4..50fd1dda8 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-10.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-10.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-2.json index a48a15471..4beb32019 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-3.json index a48a15471..4beb32019 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-4.json index 661c37f30..473dcfd8f 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-4.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-5.json index 3e225b018..97d851cfe 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-5.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-5.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-6.json index 3e225b018..97d851cfe 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-6.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-7.json index a338e61f6..c2aaf1762 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-7.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-7.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-8.json index a48a15471..4beb32019 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-8.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-8.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-9.json index 5695b34b4..50fd1dda8 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-9.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/setMergeOptions/__files/repos_hub4j-test-org_temp-setmergeoptions-9.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/subscription/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/subscription/__files/repos_hub4j-test-org_github-api-3.json index 6ba4b2683..d10ed1f0a 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/subscription/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/subscription/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 5, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 521, "open_issues": 77, "watchers": 728, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 521, "open_issues": 77, "watchers": 728, - "default_branch": "master" + "default_branch": "main" }, "network_count": 521, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testGetters/__files/repos_hub4j-test-org_temp-testgetters-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testGetters/__files/repos_hub4j-test-org_temp-testgetters-2.json index 6ed6a28c3..f8d16217f 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testGetters/__files/repos_hub4j-test-org_temp-testgetters-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testGetters/__files/repos_hub4j-test-org_temp-testgetters-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testIssue162/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testIssue162/__files/repos_hub4j_github-api-2.json index 38d8ca173..ca6c7bee7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testIssue162/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testIssue162/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 430, "open_issues": 87, "watchers": 558, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testListTopics/__files/repos_hub4j-test-org_github-api-50587270-e68d-42f4-9c04-f149d67a82eb.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testListTopics/__files/repos_hub4j-test-org_github-api-50587270-e68d-42f4-9c04-f149d67a82eb.json index 5de29a837..829c0fbae 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testListTopics/__files/repos_hub4j-test-org_github-api-50587270-e68d-42f4-9c04-f149d67a82eb.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testListTopics/__files/repos_hub4j-test-org_github-api-50587270-e68d-42f4-9c04-f149d67a82eb.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 433, "open_issues": 67, "watchers": 568, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 433, "open_issues": 67, "watchers": 568, - "default_branch": "master" + "default_branch": "main" }, "network_count": 433, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-3.json index 3ac3c593e..79214ebab 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-4.json index 3ac3c593e..79214ebab 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-4.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-5.json index 3e074c330..cc8e0a5ee 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-5.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-5.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-6.json index 3e074c330..cc8e0a5ee 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-6.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/repos_bitwiseman_test-repo-public-6.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/user_repos-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/user_repos-2.json index e5b3ae36c..3b8bea33d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/user_repos-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetPublic/__files/user_repos-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetTopics/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetTopics/__files/repos_hub4j-test-org_github-api-3.json index e4436cea0..e6b69db42 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetTopics/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSetTopics/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 437, "open_issues": 60, "watchers": 575, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 437, "open_issues": 60, "watchers": 575, - "default_branch": "master" + "default_branch": "main" }, "network_count": 437, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHTagTest/wiremock/testCreateTag/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHTagTest/wiremock/testCreateTag/__files/repos_hub4j-test-org_github-api-3.json index 073ac9fc0..6cc98c90e 100644 --- a/src/test/resources/org/kohsuke/github/GHTagTest/wiremock/testCreateTag/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHTagTest/wiremock/testCreateTag/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 444, "open_issues": 55, "watchers": 602, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 444, "open_issues": 55, "watchers": 602, - "default_branch": "master" + "default_branch": "main" }, "network_count": 444, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest-2.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest-2.json index e86c8e804..9192a46fc 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest-2.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_app_runsh-12.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_app_runsh-12.json index 92840e0ae..ae7f07748 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_app_runsh-12.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_app_runsh-12.json @@ -3,16 +3,16 @@ "path": "app/run.sh", "sha": "e9ba7ba07276a794d493db90e0384940ce2b757b", "size": 23, - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/app/run.sh?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/app/run.sh", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/app/run.sh?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/app/run.sh", "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/e9ba7ba07276a794d493db90e0384940ce2b757b", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/master/app/run.sh", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/app/run.sh", "type": "file", "content": "IyEvYmluL2Jhc2gKZWNobyBIZWxsbwo=\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/app/run.sh?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/app/run.sh?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/e9ba7ba07276a794d493db90e0384940ce2b757b", - "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/app/run.sh" + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/app/run.sh" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-14.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-14.json index 2f200e3ab..dd023166f 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-14.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-14.json @@ -3,16 +3,16 @@ "path": "data/val1.dat", "sha": "aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", "size": 3, - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/data/val1.dat", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val1.dat", "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/master/data/val1.dat", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/data/val1.dat", "type": "file", "content": "AQID\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", - "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/data/val1.dat" + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val1.dat" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val2dat-15.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val2dat-15.json index 27402219b..3014c3642 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val2dat-15.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val2dat-15.json @@ -3,16 +3,16 @@ "path": "data/val2.dat", "sha": "5bd8bb897b13225c93a1d26baa88c96b7bd5d817", "size": 4, - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val2.dat?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/data/val2.dat", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val2.dat?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val2.dat", "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/5bd8bb897b13225c93a1d26baa88c96b7bd5d817", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/master/data/val2.dat", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/data/val2.dat", "type": "file", "content": "BAUGBw==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val2.dat?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val2.dat?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/5bd8bb897b13225c93a1d26baa88c96b7bd5d817", - "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/data/val2.dat" + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val2.dat" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-13.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-13.json index ed31436c0..3f22bafaa 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-13.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-13.json @@ -3,16 +3,16 @@ "path": "doc/readme.txt", "sha": "fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", "size": 34, - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/doc/readme.txt", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/doc/readme.txt", "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/master/doc/readme.txt", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/doc/readme.txt", "type": "file", "content": "VGhhbmtzIGZvciB1c2luZyBvdXIgYXBwbGljYXRpb24hCg==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", - "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/doc/readme.txt" + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/doc/readme.txt" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-11.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-11.json similarity index 84% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-11.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-11.json index a37426640..6cbbb0697 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-11.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-11.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjMyNzE0NTk1OnJlZnMvaGVhZHMvbWFzdGVy", - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", "object": { "sha": "466725309d43aa6fe6cb67f8f4161451d627b43f", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json similarity index 84% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json index 23319f4aa..95777d58e 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjMyNzE0NTk1OnJlZnMvaGVhZHMvbWFzdGVy", - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", "object": { "sha": "2acb295eef8d5eaf34d8915fad20db132745e9a0", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-11.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-11.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-11.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-11.json index 51c1fc755..7eb8d3c2d 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-11.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-11.json @@ -1,8 +1,8 @@ { "id": "f915f1f4-f589-42bf-9404-fe8d4cd3f4ef", - "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main", "request": { - "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/master", + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", "method": "POST", "headers": { "X-HTTP-Method-Override": { @@ -22,7 +22,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-11.json", + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-11.json", "headers": { "Date": "Sun, 24 Jan 2021 22:57:31 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json index 925bd8c7f..dcfa7fb38 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json @@ -1,8 +1,8 @@ { "id": "50bace77-3f44-4f2d-8f81-702cb04bca61", - "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main", "request": { - "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/master", + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json", + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json", "headers": { "Date": "Sun, 24 Jan 2021 22:57:28 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json index 7fac380ad..00b09d2b7 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testAdd/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json @@ -1,8 +1,8 @@ { "id": "fdd0f8ca-5d1a-4155-a479-bc6604479a74", - "name": "repos_hub4j-test-org_ghtreebuildertest_git_trees_master", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_trees_main", "request": { - "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/master?recursive=1", + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/main?recursive=1", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json", + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json", "headers": { "Date": "Sun, 24 Jan 2021 22:57:28 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest-2.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest-2.json index 91d67e201..69d417738 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest-2.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-10.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-10.json index 2f200e3ab..dd023166f 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-10.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-10.json @@ -3,16 +3,16 @@ "path": "data/val1.dat", "sha": "aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", "size": 3, - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/data/val1.dat", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val1.dat", "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/master/data/val1.dat", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/data/val1.dat", "type": "file", "content": "AQID\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", - "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/data/val1.dat" + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val1.dat" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val2dat-11.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val2dat-11.json index 27402219b..3014c3642 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val2dat-11.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val2dat-11.json @@ -3,16 +3,16 @@ "path": "data/val2.dat", "sha": "5bd8bb897b13225c93a1d26baa88c96b7bd5d817", "size": 4, - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val2.dat?ref=master", - "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/data/val2.dat", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val2.dat?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val2.dat", "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/5bd8bb897b13225c93a1d26baa88c96b7bd5d817", - "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/master/data/val2.dat", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/data/val2.dat", "type": "file", "content": "BAUGBw==\n", "encoding": "base64", "_links": { - "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val2.dat?ref=master", + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val2.dat?ref=main", "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/5bd8bb897b13225c93a1d26baa88c96b7bd5d817", - "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/master/data/val2.dat" + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val2.dat" } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json similarity index 84% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json index f173fa669..d7e24c158 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjMyNzE0NTk1OnJlZnMvaGVhZHMvbWFzdGVy", - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", "object": { "sha": "c23cd80bd4460975b9055fb4c5c7af861fd1d2e1", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-9.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json similarity index 84% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-9.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json index 209d30a58..51ddd4289 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-9.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json @@ -1,7 +1,7 @@ { - "ref": "refs/heads/master", + "ref": "refs/heads/main", "node_id": "MDM6UmVmMjMyNzE0NTk1OnJlZnMvaGVhZHMvbWFzdGVy", - "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/master", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", "object": { "sha": "8af300ad970512322542d934bcb7717a07dc6145", "type": "commit", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json index 867af5ad8..44e6861d8 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json @@ -1,8 +1,8 @@ { "id": "11c2259d-508e-4c81-8b67-cf82a9c47a34", - "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main", "request": { - "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/master", + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-3.json", + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json", "headers": { "Date": "Sat, 23 Jan 2021 20:24:26 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-9.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json similarity index 97% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-9.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json index 292b6e223..9f2d2ce54 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-9.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json @@ -1,8 +1,8 @@ { "id": "d9595569-97ca-46fd-9f2b-1e6b2d45e5d0", - "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main", "request": { - "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/master", + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", "method": "POST", "headers": { "X-HTTP-Method-Override": { @@ -22,7 +22,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_master-9.json", + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json", "headers": { "Date": "Sat, 23 Jan 2021 20:24:28 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json similarity index 94% rename from src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json rename to src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json index 34cb75d32..d4728b0d1 100644 --- a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testShaEntry/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json @@ -1,8 +1,8 @@ { "id": "aa116b70-dab5-412d-9174-5265a0de3bb6", - "name": "repos_hub4j-test-org_ghtreebuildertest_git_trees_master", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_trees_main", "request": { - "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/master?recursive=1", + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/main?recursive=1", "method": "GET", "headers": { "Accept": { @@ -12,7 +12,7 @@ }, "response": { "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_trees_master-4.json", + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json", "headers": { "Date": "Sat, 23 Jan 2021 20:24:26 GMT", "Content-Type": "application/json; charset=utf-8", diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/createAndCountPrivateRepos/__files/user_repos-2.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/createAndCountPrivateRepos/__files/user_repos-2.json index f7891cdc0..7789fc745 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/createAndCountPrivateRepos/__files/user_repos-2.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/createAndCountPrivateRepos/__files/user_repos-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-4.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-4.json index 6ee7aaf04..28da0261f 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-4.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-4.json @@ -91,7 +91,7 @@ "forks": 3, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -394,7 +394,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -493,7 +493,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -889,7 +889,7 @@ "forks": 4, "open_issues": 0, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -988,7 +988,7 @@ "forks": 28, "open_issues": 0, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1087,7 +1087,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1186,7 +1186,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1285,7 +1285,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1384,7 +1384,7 @@ "forks": 0, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1582,7 +1582,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1681,7 +1681,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1786,7 +1786,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1885,7 +1885,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1990,7 +1990,7 @@ "forks": 0, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2095,7 +2095,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2194,7 +2194,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2293,7 +2293,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2392,7 +2392,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2491,7 +2491,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2590,7 +2590,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2695,7 +2695,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2794,7 +2794,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2899,7 +2899,7 @@ "forks": 65, "open_issues": 18, "watchers": 150, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2998,7 +2998,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-5.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-5.json index cc71c1d2c..ade8dea12 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-5.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-5.json @@ -97,7 +97,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -202,7 +202,7 @@ "forks": 0, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -307,7 +307,7 @@ "forks": 10, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -406,7 +406,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -505,7 +505,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -604,7 +604,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -703,7 +703,7 @@ "forks": 0, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -802,7 +802,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -907,7 +907,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1012,7 +1012,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1111,7 +1111,7 @@ "forks": 6, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1210,7 +1210,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1309,7 +1309,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1408,7 +1408,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1507,7 +1507,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1606,7 +1606,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1705,7 +1705,7 @@ "forks": 3, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1804,7 +1804,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1909,7 +1909,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2014,7 +2014,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2119,7 +2119,7 @@ "forks": 6, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2218,7 +2218,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2317,7 +2317,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2416,7 +2416,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2515,7 +2515,7 @@ "forks": 8, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2614,7 +2614,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2713,7 +2713,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2812,7 +2812,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2911,7 +2911,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3016,7 +3016,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-6.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-6.json index 35f5deeff..281aa0628 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-6.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/user_50003_repos-6.json @@ -97,7 +97,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -400,7 +400,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -598,7 +598,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -697,7 +697,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -802,7 +802,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -907,7 +907,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1006,7 +1006,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1105,7 +1105,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1204,7 +1204,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1303,7 +1303,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1402,7 +1402,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1501,7 +1501,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1600,7 +1600,7 @@ "forks": 1, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1705,7 +1705,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1810,7 +1810,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1915,7 +1915,7 @@ "forks": 1, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2014,7 +2014,7 @@ "forks": 0, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2113,7 +2113,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2218,7 +2218,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2317,7 +2317,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2422,7 +2422,7 @@ "forks": 44, "open_issues": 13, "watchers": 47, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2521,7 +2521,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2626,7 +2626,7 @@ "forks": 3, "open_issues": 1, "watchers": 994, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2725,7 +2725,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2923,7 +2923,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3022,7 +3022,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/users_kohsuke_repos-3.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/users_kohsuke_repos-3.json index 3563297dd..b9d756abf 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/users_kohsuke_repos-3.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositories/__files/users_kohsuke_repos-3.json @@ -91,7 +91,7 @@ "forks": 11, "open_issues": 4, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 15, "open_issues": 2, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 1, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -388,7 +388,7 @@ "forks": 30, "open_issues": 7, "watchers": 110, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -487,7 +487,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -691,7 +691,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -790,7 +790,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -889,7 +889,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -988,7 +988,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1087,7 +1087,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1192,7 +1192,7 @@ "forks": 168, "open_issues": 75, "watchers": 663, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1291,7 +1291,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1390,7 +1390,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1489,7 +1489,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1588,7 +1588,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1687,7 +1687,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1786,7 +1786,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1885,7 +1885,7 @@ "forks": 0, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1984,7 +1984,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2083,7 +2083,7 @@ "forks": 0, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2182,7 +2182,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2281,7 +2281,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2380,7 +2380,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2485,7 +2485,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2590,7 +2590,7 @@ "forks": 58, "open_issues": 52, "watchers": 102, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2689,7 +2689,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2788,7 +2788,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2887,7 +2887,7 @@ "forks": 3, "open_issues": 2, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2986,7 +2986,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositoriesPageSize62/__files/user_50003_repos-4.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositoriesPageSize62/__files/user_50003_repos-4.json index a1f5a6ff6..fb6388443 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositoriesPageSize62/__files/user_50003_repos-4.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositoriesPageSize62/__files/user_50003_repos-4.json @@ -97,7 +97,7 @@ "forks": 10, "open_issues": 0, "watchers": 15, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -196,7 +196,7 @@ "forks": 2, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -295,7 +295,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -394,7 +394,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -493,7 +493,7 @@ "forks": 0, "open_issues": 0, "watchers": 10, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -697,7 +697,7 @@ "forks": 2, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -802,7 +802,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -901,7 +901,7 @@ "forks": 6, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1000,7 +1000,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1099,7 +1099,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1198,7 +1198,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1297,7 +1297,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1396,7 +1396,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1495,7 +1495,7 @@ "forks": 3, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1594,7 +1594,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1699,7 +1699,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1804,7 +1804,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1909,7 +1909,7 @@ "forks": 6, "open_issues": 1, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2008,7 +2008,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2107,7 +2107,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2206,7 +2206,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2305,7 +2305,7 @@ "forks": 8, "open_issues": 1, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2404,7 +2404,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2503,7 +2503,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2602,7 +2602,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2701,7 +2701,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2806,7 +2806,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2911,7 +2911,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3010,7 +3010,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3109,7 +3109,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3214,7 +3214,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3412,7 +3412,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3511,7 +3511,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3616,7 +3616,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3721,7 +3721,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3820,7 +3820,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3919,7 +3919,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4018,7 +4018,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4117,7 +4117,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4216,7 +4216,7 @@ "forks": 1, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4315,7 +4315,7 @@ "forks": 2, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4414,7 +4414,7 @@ "forks": 1, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4519,7 +4519,7 @@ "forks": 1, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4624,7 +4624,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4729,7 +4729,7 @@ "forks": 1, "open_issues": 0, "watchers": 5, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4828,7 +4828,7 @@ "forks": 0, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4927,7 +4927,7 @@ "forks": 2, "open_issues": 1, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5032,7 +5032,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5131,7 +5131,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5236,7 +5236,7 @@ "forks": 44, "open_issues": 13, "watchers": 47, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5335,7 +5335,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5440,7 +5440,7 @@ "forks": 3, "open_issues": 1, "watchers": 994, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5539,7 +5539,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5737,7 +5737,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5836,7 +5836,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5935,7 +5935,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6034,7 +6034,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6133,7 +6133,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6238,7 +6238,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositoriesPageSize62/__files/users_kohsuke_repos-3.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositoriesPageSize62/__files/users_kohsuke_repos-3.json index 01e733e77..5d3a3c733 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositoriesPageSize62/__files/users_kohsuke_repos-3.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/listPublicRepositoriesPageSize62/__files/users_kohsuke_repos-3.json @@ -91,7 +91,7 @@ "forks": 11, "open_issues": 4, "watchers": 14, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -190,7 +190,7 @@ "forks": 15, "open_issues": 2, "watchers": 24, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -289,7 +289,7 @@ "forks": 1, "open_issues": 0, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -388,7 +388,7 @@ "forks": 30, "open_issues": 7, "watchers": 110, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -487,7 +487,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -592,7 +592,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -691,7 +691,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -790,7 +790,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -889,7 +889,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -988,7 +988,7 @@ "forks": 2, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1087,7 +1087,7 @@ "forks": 1, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1192,7 +1192,7 @@ "forks": 168, "open_issues": 75, "watchers": 663, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1291,7 +1291,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1390,7 +1390,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1489,7 +1489,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1588,7 +1588,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1687,7 +1687,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1786,7 +1786,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1885,7 +1885,7 @@ "forks": 0, "open_issues": 1, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -1984,7 +1984,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2083,7 +2083,7 @@ "forks": 0, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2182,7 +2182,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2281,7 +2281,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2380,7 +2380,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2485,7 +2485,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2590,7 +2590,7 @@ "forks": 58, "open_issues": 52, "watchers": 102, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2689,7 +2689,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2788,7 +2788,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2887,7 +2887,7 @@ "forks": 3, "open_issues": 2, "watchers": 11, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -2986,7 +2986,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3085,7 +3085,7 @@ "forks": 3, "open_issues": 1, "watchers": 7, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3184,7 +3184,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3283,7 +3283,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3388,7 +3388,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3487,7 +3487,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3586,7 +3586,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3883,7 +3883,7 @@ "forks": 4, "open_issues": 0, "watchers": 18, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -3982,7 +3982,7 @@ "forks": 28, "open_issues": 0, "watchers": 19, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4081,7 +4081,7 @@ "forks": 1, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4180,7 +4180,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4279,7 +4279,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4378,7 +4378,7 @@ "forks": 0, "open_issues": 1, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4576,7 +4576,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4675,7 +4675,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4780,7 +4780,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4879,7 +4879,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -4984,7 +4984,7 @@ "forks": 0, "open_issues": 0, "watchers": 6, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5089,7 +5089,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5188,7 +5188,7 @@ "forks": 2, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5287,7 +5287,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5386,7 +5386,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5485,7 +5485,7 @@ "forks": 0, "open_issues": 0, "watchers": 3, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5584,7 +5584,7 @@ "forks": 0, "open_issues": 0, "watchers": 2, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5689,7 +5689,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5788,7 +5788,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5893,7 +5893,7 @@ "forks": 65, "open_issues": 18, "watchers": 150, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -5992,7 +5992,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6097,7 +6097,7 @@ "forks": 0, "open_issues": 0, "watchers": 1, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, @@ -6202,7 +6202,7 @@ "forks": 0, "open_issues": 1, "watchers": 4, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": false, "push": false, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadEmail/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadEmail/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadEmail/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadEmail/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testExpiredKey/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testExpiredKey/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testExpiredKey/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testExpiredKey/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testGpgverifyError/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testGpgverifyError/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testGpgverifyError/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testGpgverifyError/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testGpgverifyUnavailable/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testGpgverifyUnavailable/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testGpgverifyUnavailable/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testGpgverifyUnavailable/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testInvalid/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testInvalid/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testInvalid/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testInvalid/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSignature/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSignature/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSignature/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSignature/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testNoUser/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testNoUser/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testNoUser/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testNoUser/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testNotSigningKey/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testNotSigningKey/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testNotSigningKey/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testNotSigningKey/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnknownKey/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnknownKey/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnknownKey/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnknownKey/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnknownSignatureType/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnknownSignatureType/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnknownSignatureType/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnknownSignatureType/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnsigned/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnsigned/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnsigned/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnsigned/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnverifiedEmail/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnverifiedEmail/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnverifiedEmail/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testUnverifiedEmail/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testValid/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testValid/__files/repos_hub4j_github-api-2.json index cb46b3d1b..43ee27087 100644 --- a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testValid/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testValid/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 433, "open_issues": 64, "watchers": 565, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GitHubStaticTest/wiremock/testMappingReaderWriter/__files/repos_hub4j-test-org_temp-testmappingreaderwriter-2.json b/src/test/resources/org/kohsuke/github/GitHubStaticTest/wiremock/testMappingReaderWriter/__files/repos_hub4j-test-org_temp-testmappingreaderwriter-2.json index 50bb66868..288246ada 100644 --- a/src/test/resources/org/kohsuke/github/GitHubStaticTest/wiremock/testMappingReaderWriter/__files/repos_hub4j-test-org_temp-testmappingreaderwriter-2.json +++ b/src/test/resources/org/kohsuke/github/GitHubStaticTest/wiremock/testMappingReaderWriter/__files/repos_hub4j-test-org_temp-testmappingreaderwriter-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getRepository/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getRepository/__files/repos_hub4j_github-api-2.json index 07fd1cdca..3d6fec9ef 100644 --- a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getRepository/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getRepository/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 516, "open_issues": 78, "watchers": 727, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getRepository/__files/repositories_617210-3.json b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getRepository/__files/repositories_617210-3.json index 07fd1cdca..3d6fec9ef 100644 --- a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getRepository/__files/repositories_617210-3.json +++ b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getRepository/__files/repositories_617210-3.json @@ -96,7 +96,7 @@ "forks": 516, "open_issues": 78, "watchers": 727, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/testListAllRepositories/__files/repositories-2.json b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/testListAllRepositories/__files/repositories-2.json index 2795469cc..f8d9c1a56 100644 --- a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/testListAllRepositories/__files/repositories-2.json +++ b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/testListAllRepositories/__files/repositories-2.json @@ -3443,7 +3443,7 @@ "site_admin": false }, "html_url": "https://github.com/mattetti/ruby-on-rails-tmbundle", - "description": "Ruby on Rails TextMate bundle [master branch is svn trunk; patches to drnicwilliams@gmail.com]", + "description": "Ruby on Rails TextMate bundle [main branch is svn trunk; patches to drnicwilliams@gmail.com]", "fork": true, "url": "https://api.github.com/repos/mattetti/ruby-on-rails-tmbundle", "forks_url": "https://api.github.com/repos/mattetti/ruby-on-rails-tmbundle/forks", @@ -4850,7 +4850,7 @@ "site_admin": false }, "html_url": "https://github.com/simonjefford/ruby-on-rails-tmbundle", - "description": "Ruby on Rails TextMate bundle [master branch is svn trunk; patches to drnicwilliams@gmail.com]", + "description": "Ruby on Rails TextMate bundle [main branch is svn trunk; patches to drnicwilliams@gmail.com]", "fork": true, "url": "https://api.github.com/repos/simonjefford/ruby-on-rails-tmbundle", "forks_url": "https://api.github.com/repos/simonjefford/ruby-on-rails-tmbundle/forks", diff --git a/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository-2.json b/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository-2.json index 26bdd294c..c83e5b7d3 100644 --- a/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository-2.json +++ b/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository-2.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository_releases-6.json b/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository_releases-6.json index d3311e34a..2774f6404 100644 --- a/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository_releases-6.json +++ b/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository_releases-6.json @@ -6,7 +6,7 @@ "id": 21786739, "node_id": "MDc6UmVsZWFzZTIxNzg2NzM5", "tag_name": "release_tag", - "target_commitish": "master", + "target_commitish": "main", "name": "Test Release", "draft": false, "author": { diff --git a/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository_releases-7.json b/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository_releases-7.json index 8a584da8d..2057d204c 100644 --- a/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository_releases-7.json +++ b/src/test/resources/org/kohsuke/github/LifecycleTest/wiremock/testCreateRepository/__files/repos_hub4j-test-org_temp-testcreaterepository_releases-7.json @@ -7,7 +7,7 @@ "id": 21786739, "node_id": "MDc6UmVsZWFzZTIxNzg2NzM5", "tag_name": "release_tag", - "target_commitish": "master", + "target_commitish": "main", "name": "Test Release", "draft": false, "author": { diff --git a/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-12f5b993-ee6d-470b-bd7a-016bbdbe42e8.json b/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-12f5b993-ee6d-470b-bd7a-016bbdbe42e8.json index f532ed3cd..b50afb859 100644 --- a/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-12f5b993-ee6d-470b-bd7a-016bbdbe42e8.json +++ b/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-12f5b993-ee6d-470b-bd7a-016bbdbe42e8.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 454, "open_issues": 56, "watchers": 613, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 454, "open_issues": 56, "watchers": 613, - "default_branch": "master" + "default_branch": "main" }, "network_count": 454, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-1b4d33fb-f043-4d57-ac9a-0e2aa6d72c49.json b/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-1b4d33fb-f043-4d57-ac9a-0e2aa6d72c49.json index f532ed3cd..b50afb859 100644 --- a/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-1b4d33fb-f043-4d57-ac9a-0e2aa6d72c49.json +++ b/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-1b4d33fb-f043-4d57-ac9a-0e2aa6d72c49.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 454, "open_issues": 56, "watchers": 613, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 454, "open_issues": 56, "watchers": 613, - "default_branch": "master" + "default_branch": "main" }, "network_count": 454, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-7c83f0f2-98d8-4cea-b681-56f37210c2dc.json b/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-7c83f0f2-98d8-4cea-b681-56f37210c2dc.json index f532ed3cd..b50afb859 100644 --- a/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-7c83f0f2-98d8-4cea-b681-56f37210c2dc.json +++ b/src/test/resources/org/kohsuke/github/RateLimitCheckerTest/wiremock/testGitHubRateLimit/__files/repos_hub4j-test-org_github-api-7c83f0f2-98d8-4cea-b681-56f37210c2dc.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 3, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 454, "open_issues": 56, "watchers": 613, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 454, "open_issues": 56, "watchers": 613, - "default_branch": "master" + "default_branch": "main" }, "network_count": 454, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json b/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json index c19917a6d..93efc6f72 100644 --- a/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json +++ b/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_HttpStatus_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json b/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_HttpStatus_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json index c19917a6d..93efc6f72 100644 --- a/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_HttpStatus_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json +++ b/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_HttpStatus_Fail/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_Wait/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json b/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_Wait/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json index bd45d73c8..59d27cff7 100644 --- a/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_Wait/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json +++ b/src/test/resources/org/kohsuke/github/RateLimitHandlerTest/wiremock/testHandler_Wait/__files/repos_hub4j-test-org_temp-testratelimithandler_fail-3.json @@ -90,7 +90,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetClones/__files/repos_hub4j_github-api-3.json b/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetClones/__files/repos_hub4j_github-api-3.json index dca28d2c1..2cb546fbd 100644 --- a/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetClones/__files/repos_hub4j_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetClones/__files/repos_hub4j_github-api-3.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 57, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetTrafficStatsAccessFailureDueToInsufficientPermissions/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetTrafficStatsAccessFailureDueToInsufficientPermissions/__files/repos_hub4j-test-org_github-api-2.json index 7a2557d94..c53728909 100644 --- a/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetTrafficStatsAccessFailureDueToInsufficientPermissions/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetTrafficStatsAccessFailureDueToInsufficientPermissions/__files/repos_hub4j-test-org_github-api-2.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "organization": { "login": "hub4j-test-org", "id": 7544739, @@ -215,7 +215,7 @@ "forks": 443, "open_issues": 56, "watchers": 585, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -315,7 +315,7 @@ "forks": 443, "open_issues": 56, "watchers": 585, - "default_branch": "master" + "default_branch": "main" }, "network_count": 443, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetViews/__files/repos_hub4j_github-api-3.json b/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetViews/__files/repos_hub4j_github-api-3.json index dca28d2c1..2cb546fbd 100644 --- a/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetViews/__files/repos_hub4j_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/RepositoryTrafficTest/wiremock/testGetViews/__files/repos_hub4j_github-api-3.json @@ -96,7 +96,7 @@ "forks": 456, "open_issues": 57, "watchers": 613, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry/__files/repos_hub4j-test-org_github-api-3.json index 0867a9536..89437d05e 100644 --- a/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 94, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 94, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry_StatusCode/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry_StatusCode/__files/repos_hub4j-test-org_github-api-3.json index 0867a9536..89437d05e 100644 --- a/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry_StatusCode/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry_StatusCode/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 94, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 94, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry_Success/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry_Success/__files/repos_hub4j-test-org_github-api-3.json index 0867a9536..89437d05e 100644 --- a/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry_Success/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/RequesterRetryTest/wiremock/testSocketConnectionAndRetry_Success/__files/repos_hub4j-test-org_github-api-3.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 427, "open_issues": 94, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 427, "open_issues": 94, "watchers": 553, - "default_branch": "master" + "default_branch": "main" }, "network_count": 427, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/BasicBehaviors_whenNotProxying/__files/repos_hub4j_github-api-0a34447d-6390-42da-ad5b-25bb566547f0.json b/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/BasicBehaviors_whenNotProxying/__files/repos_hub4j_github-api-0a34447d-6390-42da-ad5b-25bb566547f0.json index 9c77be6e5..488994237 100644 --- a/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/BasicBehaviors_whenNotProxying/__files/repos_hub4j_github-api-0a34447d-6390-42da-ad5b-25bb566547f0.json +++ b/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/BasicBehaviors_whenNotProxying/__files/repos_hub4j_github-api-0a34447d-6390-42da-ad5b-25bb566547f0.json @@ -96,7 +96,7 @@ "forks": 428, "open_issues": 96, "watchers": 551, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/BasicBehaviors_whenProxying/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/BasicBehaviors_whenProxying/__files/repos_hub4j_github-api-2.json index 9c77be6e5..488994237 100644 --- a/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/BasicBehaviors_whenProxying/__files/repos_hub4j_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/WireMockStatusReporterTest/wiremock/BasicBehaviors_whenProxying/__files/repos_hub4j_github-api-2.json @@ -96,7 +96,7 @@ "forks": 428, "open_issues": 96, "watchers": 551, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, diff --git a/src/test/resources/org/kohsuke/github/extras/GitHubCachingTest/wiremock/testCached404/__files/repos_hub4j-test-org_github-api-4.json b/src/test/resources/org/kohsuke/github/extras/GitHubCachingTest/wiremock/testCached404/__files/repos_hub4j-test-org_github-api-4.json index 920d2474b..80d8051c5 100644 --- a/src/test/resources/org/kohsuke/github/extras/GitHubCachingTest/wiremock/testCached404/__files/repos_hub4j-test-org_github-api-4.json +++ b/src/test/resources/org/kohsuke/github/extras/GitHubCachingTest/wiremock/testCached404/__files/repos_hub4j-test-org_github-api-4.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -225,7 +225,7 @@ "forks": 445, "open_issues": 58, "watchers": 602, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -325,7 +325,7 @@ "forks": 445, "open_issues": 58, "watchers": 602, - "default_branch": "master" + "default_branch": "main" }, "network_count": 445, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-10.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-10.json index 284bd4a17..5c7a05625 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-10.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-10.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-11.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-11.json index 284bd4a17..5c7a05625 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-11.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-11.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-12.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-12.json index 284bd4a17..5c7a05625 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-12.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-12.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-13.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-13.json index 284bd4a17..5c7a05625 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-13.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-13.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-14.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-14.json index c463cbcc6..c9b731896 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-14.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-14.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-15.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-15.json index c463cbcc6..c9b731896 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-15.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-15.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-16.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-16.json index c463cbcc6..c9b731896 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-16.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-16.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-17.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-17.json index c463cbcc6..c9b731896 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-17.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-17.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-4.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-4.json index ad7d41a53..3e3dbeea0 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-4.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-4.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-5.json index ad7d41a53..3e3dbeea0 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-6.json index ad7d41a53..3e3dbeea0 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-6.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-7.json index ad7d41a53..3e3dbeea0 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-8.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-8.json index ad7d41a53..3e3dbeea0 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-8.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-8.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-9.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-9.json index 284bd4a17..5c7a05625 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_hub4j-test-org_github-api-9.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-10.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-10.json index 5ab3285c2..28558b45a 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-10.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-10.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-14.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-14.json index 9a068a0e7..3c1fbf0fb 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-14.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-14.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-4.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-4.json index f35537ffa..80f7afd11 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-4.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-4.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-9.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-9.json index 5ab3285c2..28558b45a 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_hub4j-test-org_github-api-9.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-4.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-4.json index a97382663..3c48142a9 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-4.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-4.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-5.json index 5cc1ba53f..aafc36ba1 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-6.json index 5cc1ba53f..aafc36ba1 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_hub4j-test-org_github-api-6.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-10.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-10.json index 641056e56..03940dda1 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-10.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-10.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-11.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-11.json index 641056e56..03940dda1 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-11.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-11.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-12.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-12.json index 641056e56..03940dda1 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-12.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-12.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-13.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-13.json index 641056e56..03940dda1 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-13.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-13.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-14.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-14.json index 0fac4ebb2..d7cfa1a37 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-14.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-14.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-15.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-15.json index 0fac4ebb2..d7cfa1a37 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-15.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-15.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-16.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-16.json index 0fac4ebb2..d7cfa1a37 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-16.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-16.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-17.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-17.json index 0fac4ebb2..d7cfa1a37 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-17.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-17.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-4.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-4.json index 830277f3a..50c2f7ebc 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-4.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-4.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-5.json index 830277f3a..50c2f7ebc 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-5.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-5.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-6.json index 830277f3a..50c2f7ebc 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-6.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-6.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-7.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-7.json index 830277f3a..50c2f7ebc 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-7.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-7.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-8.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-8.json index 830277f3a..50c2f7ebc 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-8.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-8.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0 diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-9.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-9.json index 641056e56..03940dda1 100644 --- a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-9.json +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_hub4j-test-org_github-api-9.json @@ -96,7 +96,7 @@ "forks": 0, "open_issues": 0, "watchers": 0, - "default_branch": "master", + "default_branch": "main", "permissions": { "admin": true, "push": true, @@ -223,7 +223,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "source": { "id": 617210, @@ -323,7 +323,7 @@ "forks": 428, "open_issues": 91, "watchers": 555, - "default_branch": "master" + "default_branch": "main" }, "network_count": 428, "subscribers_count": 0