diff --git a/src/test/java/org/kohsuke/github/GHRepositoryForkBuilderTest.java b/src/test/java/org/kohsuke/github/GHRepositoryForkBuilderTest.java index 7afd56befb..b51035c02d 100644 --- a/src/test/java/org/kohsuke/github/GHRepositoryForkBuilderTest.java +++ b/src/test/java/org/kohsuke/github/GHRepositoryForkBuilderTest.java @@ -37,13 +37,10 @@ public void setUp() throws Exception { } } - private void verifyBasicForkProperties(GHRepository original, - GHRepository forked, - String expectedOwner, - String expectedName) throws IOException { + private void verifyBasicForkProperties(GHRepository original, GHRepository forked, String expectedName) + throws IOException { assertThat(forked, notNullValue()); assertThat(forked.getName(), equalTo(expectedName)); - assertThat(forked.getOwner().getLogin(), equalTo(expectedOwner)); assertThat(forked.isFork(), is(true)); assertThat(forked.getParent().getFullName(), equalTo(original.getFullName())); } @@ -71,7 +68,7 @@ public void testFork() throws Exception { GHRepository forkedRepo = repo.fork(); Thread.sleep(30000); - verifyBasicForkProperties(repo, forkedRepo, gitHub.getMyself().getLogin(), repo.getName()); + verifyBasicForkProperties(repo, forkedRepo, repo.getName()); verifyBranches(repo, forkedRepo, false); forkedRepo.delete(); @@ -90,7 +87,7 @@ public void testForkToOrg() throws Exception { GHRepository forkedRepo = repo.forkTo(targetOrg); Thread.sleep(30000); - verifyBasicForkProperties(repo, forkedRepo, targetOrg.getLogin(), repo.getName()); + verifyBasicForkProperties(repo, forkedRepo, repo.getName()); verifyBranches(repo, forkedRepo, false); forkedRepo.delete(); @@ -107,7 +104,7 @@ public void testForkDefaultBranchOnly() throws Exception { GHRepository forkedRepo = repo.createFork().defaultBranchOnly(true).create(); Thread.sleep(30000); - verifyBasicForkProperties(repo, forkedRepo, gitHub.getMyself().getLogin(), repo.getName()); + verifyBasicForkProperties(repo, forkedRepo, repo.getName()); verifyBranches(repo, forkedRepo, true); forkedRepo.delete(); @@ -126,7 +123,7 @@ public void testForkChangedName() throws Exception { Thread.sleep(30000); assertThat(forkedRepo.getName(), equalTo(newRepoName)); - verifyBasicForkProperties(repo, forkedRepo, gitHub.getMyself().getLogin(), newRepoName); + verifyBasicForkProperties(repo, forkedRepo, newRepoName); verifyBranches(repo, forkedRepo, false); forkedRepo.delete(); diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/3-r_t_t_forks.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/3-r_t_t_forks.json index 82bf4d88fe..f4cc3b143b 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/3-r_t_t_forks.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/3-r_t_t_forks.json @@ -1,6 +1,6 @@ { - "id": 902813637, - "node_id": "R_kgDONc_XxQ", + "id": 902850532, + "node_id": "R_kgDONdBn5A", "name": "test-repo", "full_name": "Alaurant/test-repo", "private": false, @@ -65,8 +65,8 @@ "labels_url": "https://api.github.com/repos/Alaurant/test-repo/labels{/name}", "releases_url": "https://api.github.com/repos/Alaurant/test-repo/releases{/id}", "deployments_url": "https://api.github.com/repos/Alaurant/test-repo/deployments", - "created_at": "2024-12-13T10:18:15Z", - "updated_at": "2024-12-13T10:18:15Z", + "created_at": "2024-12-13T11:56:06Z", + "updated_at": "2024-12-13T11:56:06Z", "pushed_at": "2024-12-13T09:48:04Z", "git_url": "git://github.com/Alaurant/test-repo.git", "ssh_url": "git@github.com:Alaurant/test-repo.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/4-r_a_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/4-r_a_test-repo.json index cc8d6ad381..35cb9fbce6 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/4-r_a_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/4-r_a_test-repo.json @@ -1,6 +1,6 @@ { - "id": 902813637, - "node_id": "R_kgDONc_XxQ", + "id": 902850532, + "node_id": "R_kgDONdBn5A", "name": "test-repo", "full_name": "Alaurant/test-repo", "private": false, @@ -65,8 +65,8 @@ "labels_url": "https://api.github.com/repos/Alaurant/test-repo/labels{/name}", "releases_url": "https://api.github.com/repos/Alaurant/test-repo/releases{/id}", "deployments_url": "https://api.github.com/repos/Alaurant/test-repo/deployments", - "created_at": "2024-12-13T10:18:15Z", - "updated_at": "2024-12-13T10:18:15Z", + "created_at": "2024-12-13T11:56:06Z", + "updated_at": "2024-12-13T11:56:06Z", "pushed_at": "2024-12-13T09:48:04Z", "git_url": "git://github.com/Alaurant/test-repo.git", "ssh_url": "git@github.com:Alaurant/test-repo.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/6-r_a_t_branches.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/5-r_a_t_branches.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/6-r_a_t_branches.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/5-r_a_t_branches.json diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/5-users_alaurant.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/5-users_alaurant.json deleted file mode 100644 index 75e8c6af10..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/__files/5-users_alaurant.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "login": "Alaurant", - "id": 41817560, - "node_id": "MDQ6VXNlcjQxODE3NTYw", - "avatar_url": "https://avatars.githubusercontent.com/u/41817560?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Alaurant", - "html_url": "https://github.com/Alaurant", - "followers_url": "https://api.github.com/users/Alaurant/followers", - "following_url": "https://api.github.com/users/Alaurant/following{/other_user}", - "gists_url": "https://api.github.com/users/Alaurant/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Alaurant/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Alaurant/subscriptions", - "organizations_url": "https://api.github.com/users/Alaurant/orgs", - "repos_url": "https://api.github.com/users/Alaurant/repos", - "events_url": "https://api.github.com/users/Alaurant/events{/privacy}", - "received_events_url": "https://api.github.com/users/Alaurant/received_events", - "type": "User", - "user_view_type": "private", - "site_admin": false, - "name": "Danyang Zhao", - "company": null, - "blog": "", - "location": null, - "email": null, - "hireable": null, - "bio": null, - "twitter_username": null, - "public_repos": 9, - "public_gists": 0, - "followers": 3, - "following": 10, - "created_at": "2018-07-28T07:03:48Z", - "updated_at": "2024-12-11T02:27:22Z", - "private_gists": 0, - "total_private_repos": 2, - "owned_private_repos": 2, - "disk_usage": 7314, - "collaborators": 0, - "two_factor_authentication": false, - "plan": { - "name": "pro", - "space": 976562499, - "collaborators": 0, - "private_repos": 9999 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/1-user.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/1-user.json index e9b2c9f16c..64179efd7b 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/1-user.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/1-user.json @@ -1,5 +1,5 @@ { - "id": "27ba4f4c-a668-42eb-8ec3-94887ac71aa7", + "id": "06589360-6c74-44c7-ac3c-14a96d4ae30b", "name": "user", "request": { "url": "/user", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "1-user.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:14 GMT", + "Date": "Fri, 13 Dec 2024 11:56:04 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4916", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "84", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "16", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "18E1:3E0BF5:4D7C4A:5945A8:675C09E5" + "X-GitHub-Request-Id": "195C:3E0BF5:5570DC:6294A2:675C20D4" } }, - "uuid": "27ba4f4c-a668-42eb-8ec3-94887ac71aa7", + "uuid": "06589360-6c74-44c7-ac3c-14a96d4ae30b", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/2-r_t_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/2-r_t_test-repo.json index 4f7430e07b..d2ac6b5af5 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/2-r_t_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/2-r_t_test-repo.json @@ -1,5 +1,5 @@ { - "id": "f003626a-56bc-4d1c-b8c0-818630b9321a", + "id": "48185584-35c8-4fa5-82bf-ddaf615cf68a", "name": "repos_testditto_test-repo", "request": { "url": "/repos/TestDitto/test-repo", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "2-r_t_test-repo.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:14 GMT", + "Date": "Fri, 13 Dec 2024 11:56:05 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4914", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "86", + "X-RateLimit-Remaining": "4982", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "18", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "18E6:3DD5DB:4DF226:59BBCA:675C09E6" + "X-GitHub-Request-Id": "1961:3DD5DB:54EC2E:62103C:675C20D5" } }, - "uuid": "f003626a-56bc-4d1c-b8c0-818630b9321a", + "uuid": "48185584-35c8-4fa5-82bf-ddaf615cf68a", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/3-r_t_t_forks.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/3-r_t_t_forks.json index 1051a24140..65a5067ab7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/3-r_t_t_forks.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/3-r_t_t_forks.json @@ -1,5 +1,5 @@ { - "id": "4797c06a-f47e-4d25-bc6a-936f90c631b1", + "id": "7a595a08-9965-4a84-95eb-012484f1c5c4", "name": "repos_testditto_test-repo_forks", "request": { "url": "/repos/TestDitto/test-repo/forks", @@ -21,7 +21,7 @@ "status": 202, "bodyFileName": "3-r_t_t_forks.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:15 GMT", + "Date": "Fri, 13 Dec 2024 11:56:06 GMT", "Content-Type": "application/json; charset=utf-8", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", @@ -29,9 +29,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4913", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "87", + "X-RateLimit-Remaining": "4981", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "19", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -43,10 +43,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "189B:3DD5DB:4DF24B:59BBF7:675C09E7" + "X-GitHub-Request-Id": "1962:3D576D:55A7CF:62CC05:675C20D6" } }, - "uuid": "4797c06a-f47e-4d25-bc6a-936f90c631b1", + "uuid": "7a595a08-9965-4a84-95eb-012484f1c5c4", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/4-r_a_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/4-r_a_test-repo.json index b5dbb8c425..1a7a1c822a 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/4-r_a_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/4-r_a_test-repo.json @@ -1,5 +1,5 @@ { - "id": "dc5d9cb5-115e-4bd9-aa8b-e157eb9fd8db", + "id": "9e453181-3202-4b19-9415-cb611da62671", "name": "repos_alaurant_test-repo", "request": { "url": "/repos/Alaurant/test-repo", @@ -14,21 +14,21 @@ "status": 200, "bodyFileName": "4-r_a_test-repo.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:16 GMT", + "Date": "Fri, 13 Dec 2024 11:56:07 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"d9b0ababa6c0fbdd5fc5f324b724788df8f9f5653908392160bb90bb20a9001e\"", - "Last-Modified": "Fri, 13 Dec 2024 10:18:15 GMT", + "ETag": "W/\"af24d481e85061c77033ee5956e5906610aa4e42bda0594ccf2ee93fa0ad180a\"", + "Last-Modified": "Fri, 13 Dec 2024 11:56:06 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4912", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "88", + "X-RateLimit-Remaining": "4980", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "20", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "18EB:3DC041:4B0DB5:56D728:675C09E8" + "X-GitHub-Request-Id": "1967:209B7:B10F0:D315C:675C20D7" } }, - "uuid": "dc5d9cb5-115e-4bd9-aa8b-e157eb9fd8db", + "uuid": "9e453181-3202-4b19-9415-cb611da62671", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/6-r_a_t_branches.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/5-r_a_t_branches.json similarity index 82% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/6-r_a_t_branches.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/5-r_a_t_branches.json index d94747bf67..3d7bac0b1d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/6-r_a_t_branches.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/5-r_a_t_branches.json @@ -1,5 +1,5 @@ { - "id": "2bf60310-82c8-4a83-9af0-9282058b8b2d", + "id": "658eb013-6ac8-47c3-ad8a-ce1eadd3771d", "name": "repos_alaurant_test-repo_branches", "request": { "url": "/repos/Alaurant/test-repo/branches", @@ -12,9 +12,9 @@ }, "response": { "status": 200, - "bodyFileName": "6-r_a_t_branches.json", + "bodyFileName": "5-r_a_t_branches.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:47 GMT", + "Date": "Fri, 13 Dec 2024 11:56:37 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -25,9 +25,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4910", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "90", + "X-RateLimit-Remaining": "4979", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "21", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "193D:0A8D:32930A:3AA5C0:675C0A07" + "X-GitHub-Request-Id": "19B6:3E0BF5:557BA4:62A154:675C20F5" } }, - "uuid": "2bf60310-82c8-4a83-9af0-9282058b8b2d", + "uuid": "658eb013-6ac8-47c3-ad8a-ce1eadd3771d", "persistent": true, - "insertionIndex": 6 + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/5-users_alaurant.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/5-users_alaurant.json deleted file mode 100644 index eb47190d7a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/5-users_alaurant.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "fd885d86-1552-4688-8522-ac3b30b1291d", - "name": "users_alaurant", - "request": { - "url": "/users/Alaurant", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "5-users_alaurant.json", - "headers": { - "Date": "Fri, 13 Dec 2024 10:18:46 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"dfd028463b22c2780ae72455ead39986ae487a599ac6ae8651de013da0a5319a\"", - "Last-Modified": "Wed, 11 Dec 2024 02:27:22 GMT", - "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", - "X-GitHub-Media-Type": "github.v3; format=json", - "x-github-api-version-selected": "2022-11-28", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4911", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "89", - "X-RateLimit-Resource": "core", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Server": "github.com", - "X-GitHub-Request-Id": "1939:3DC041:4B164A:56E18E:675C0A06" - } - }, - "uuid": "fd885d86-1552-4688-8522-ac3b30b1291d", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/7-r_a_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/6-r_a_test-repo.json similarity index 82% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/7-r_a_test-repo.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/6-r_a_test-repo.json index 10066a40f2..341a6188c0 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/7-r_a_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/6-r_a_test-repo.json @@ -1,5 +1,5 @@ { - "id": "877d609d-e3ac-471c-95d3-4bcbaecf1c1c", + "id": "836deba8-dfee-47c2-beaa-aeb1d6ca1bf3", "name": "repos_alaurant_test-repo", "request": { "url": "/repos/Alaurant/test-repo", @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Fri, 13 Dec 2024 10:17:38 GMT", + "Date": "Fri, 13 Dec 2024 11:56:38 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "delete_repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4926", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "74", + "X-RateLimit-Remaining": "4978", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "22", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "1870:5DF4C:536187:5F8696:675C09C2" + "X-GitHub-Request-Id": "19B7:D973:263672:2CE53D:675C20F5" } }, - "uuid": "877d609d-e3ac-471c-95d3-4bcbaecf1c1c", + "uuid": "836deba8-dfee-47c2-beaa-aeb1d6ca1bf3", "persistent": true, - "insertionIndex": 7 + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/3-r_t_t_forks.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/3-r_t_t_forks.json index 9524a5ccd7..9ea0f85ef7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/3-r_t_t_forks.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/3-r_t_t_forks.json @@ -1,6 +1,6 @@ { - "id": 902813841, - "node_id": "R_kgDONc_YkQ", + "id": 902850764, + "node_id": "R_kgDONdBozA", "name": "new-fork", "full_name": "Alaurant/new-fork", "private": false, @@ -65,8 +65,8 @@ "labels_url": "https://api.github.com/repos/Alaurant/new-fork/labels{/name}", "releases_url": "https://api.github.com/repos/Alaurant/new-fork/releases{/id}", "deployments_url": "https://api.github.com/repos/Alaurant/new-fork/deployments", - "created_at": "2024-12-13T10:18:50Z", - "updated_at": "2024-12-13T10:18:50Z", + "created_at": "2024-12-13T11:56:40Z", + "updated_at": "2024-12-13T11:56:40Z", "pushed_at": "2024-12-13T09:48:04Z", "git_url": "git://github.com/Alaurant/new-fork.git", "ssh_url": "git@github.com:Alaurant/new-fork.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/4-r_a_new-fork.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/4-r_a_new-fork.json index b7653abc9c..d2b7b21370 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/4-r_a_new-fork.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/4-r_a_new-fork.json @@ -1,6 +1,6 @@ { - "id": 902813841, - "node_id": "R_kgDONc_YkQ", + "id": 902850764, + "node_id": "R_kgDONdBozA", "name": "new-fork", "full_name": "Alaurant/new-fork", "private": false, @@ -65,8 +65,8 @@ "labels_url": "https://api.github.com/repos/Alaurant/new-fork/labels{/name}", "releases_url": "https://api.github.com/repos/Alaurant/new-fork/releases{/id}", "deployments_url": "https://api.github.com/repos/Alaurant/new-fork/deployments", - "created_at": "2024-12-13T10:18:50Z", - "updated_at": "2024-12-13T10:18:50Z", + "created_at": "2024-12-13T11:56:40Z", + "updated_at": "2024-12-13T11:56:40Z", "pushed_at": "2024-12-13T09:48:04Z", "git_url": "git://github.com/Alaurant/new-fork.git", "ssh_url": "git@github.com:Alaurant/new-fork.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/6-r_a_n_branches.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/5-r_a_n_branches.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/6-r_a_n_branches.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/5-r_a_n_branches.json diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/5-users_alaurant.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/5-users_alaurant.json deleted file mode 100644 index 75e8c6af10..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/__files/5-users_alaurant.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "login": "Alaurant", - "id": 41817560, - "node_id": "MDQ6VXNlcjQxODE3NTYw", - "avatar_url": "https://avatars.githubusercontent.com/u/41817560?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Alaurant", - "html_url": "https://github.com/Alaurant", - "followers_url": "https://api.github.com/users/Alaurant/followers", - "following_url": "https://api.github.com/users/Alaurant/following{/other_user}", - "gists_url": "https://api.github.com/users/Alaurant/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Alaurant/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Alaurant/subscriptions", - "organizations_url": "https://api.github.com/users/Alaurant/orgs", - "repos_url": "https://api.github.com/users/Alaurant/repos", - "events_url": "https://api.github.com/users/Alaurant/events{/privacy}", - "received_events_url": "https://api.github.com/users/Alaurant/received_events", - "type": "User", - "user_view_type": "private", - "site_admin": false, - "name": "Danyang Zhao", - "company": null, - "blog": "", - "location": null, - "email": null, - "hireable": null, - "bio": null, - "twitter_username": null, - "public_repos": 9, - "public_gists": 0, - "followers": 3, - "following": 10, - "created_at": "2018-07-28T07:03:48Z", - "updated_at": "2024-12-11T02:27:22Z", - "private_gists": 0, - "total_private_repos": 2, - "owned_private_repos": 2, - "disk_usage": 7314, - "collaborators": 0, - "two_factor_authentication": false, - "plan": { - "name": "pro", - "space": 976562499, - "collaborators": 0, - "private_repos": 9999 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/1-user.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/1-user.json index 4b8c4911ef..718285a6e7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/1-user.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/1-user.json @@ -1,5 +1,5 @@ { - "id": "bb6cf17a-56ef-4a77-9750-b6ac5faa9a9b", + "id": "a82d745e-9e82-4f5e-b658-a4d0b5a4e368", "name": "user", "request": { "url": "/user", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "1-user.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:48 GMT", + "Date": "Fri, 13 Dec 2024 11:56:38 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4908", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "92", + "X-RateLimit-Remaining": "4977", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "23", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "194B:3DDC48:549C87:606860:675C0A08" + "X-GitHub-Request-Id": "19C2:3D9AE0:5212DC:5F388A:675C20F6" } }, - "uuid": "bb6cf17a-56ef-4a77-9750-b6ac5faa9a9b", + "uuid": "a82d745e-9e82-4f5e-b658-a4d0b5a4e368", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/2-r_t_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/2-r_t_test-repo.json index fe0fc2df20..4725530fa7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/2-r_t_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/2-r_t_test-repo.json @@ -1,5 +1,5 @@ { - "id": "e8054825-1878-42bb-abb8-2305b2d539a2", + "id": "a0ab9194-0cff-4d9f-ac8d-900a6c51f9f4", "name": "repos_testditto_test-repo", "request": { "url": "/repos/TestDitto/test-repo", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "2-r_t_test-repo.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:49 GMT", + "Date": "Fri, 13 Dec 2024 11:56:39 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4906", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "94", + "X-RateLimit-Remaining": "4975", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "25", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "194D:3E0BF5:4D881E:595397:675C0A09" + "X-GitHub-Request-Id": "19C7:3DCBFA:525FE0:5F8615:675C20F7" } }, - "uuid": "e8054825-1878-42bb-abb8-2305b2d539a2", + "uuid": "a0ab9194-0cff-4d9f-ac8d-900a6c51f9f4", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/3-r_t_t_forks.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/3-r_t_t_forks.json index 7d225fe34e..8af972a53d 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/3-r_t_t_forks.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/3-r_t_t_forks.json @@ -1,5 +1,5 @@ { - "id": "e311ec91-a568-4da0-b803-dc2559bf5fa7", + "id": "8d42f632-e25d-4062-be53-52e552e86b35", "name": "repos_testditto_test-repo_forks", "request": { "url": "/repos/TestDitto/test-repo/forks", @@ -21,7 +21,7 @@ "status": 202, "bodyFileName": "3-r_t_t_forks.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:50 GMT", + "Date": "Fri, 13 Dec 2024 11:56:40 GMT", "Content-Type": "application/json; charset=utf-8", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", @@ -29,9 +29,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4905", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "95", + "X-RateLimit-Remaining": "4974", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "26", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -43,10 +43,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "1951:3DD05A:4E4173:5A0C8E:675C0A09" + "X-GitHub-Request-Id": "19C8:3DA8CF:5302F8:6028AB:675C20F7" } }, - "uuid": "e311ec91-a568-4da0-b803-dc2559bf5fa7", + "uuid": "8d42f632-e25d-4062-be53-52e552e86b35", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/4-r_a_new-fork.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/4-r_a_new-fork.json index 12f2ce49bd..2a5d49d87e 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/4-r_a_new-fork.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/4-r_a_new-fork.json @@ -1,5 +1,5 @@ { - "id": "bd4b8f83-71da-43a4-8a34-d5b9d8d2a9a1", + "id": "fe881058-45bc-4041-9561-65f65a22480b", "name": "repos_alaurant_new-fork", "request": { "url": "/repos/Alaurant/new-fork", @@ -14,21 +14,21 @@ "status": 200, "bodyFileName": "4-r_a_new-fork.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:51 GMT", + "Date": "Fri, 13 Dec 2024 11:56:41 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"fd003a6f1b2ea44706fc862a7c6598d4c20eb2bd2c5c9e4953f50d2ffd8f4526\"", - "Last-Modified": "Fri, 13 Dec 2024 10:18:50 GMT", + "ETag": "W/\"df737bb7c78484eb7f9a4ed89572afbf6afb0468881afc530dcb3fd39c00750e\"", + "Last-Modified": "Fri, 13 Dec 2024 11:56:40 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4904", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "96", + "X-RateLimit-Remaining": "4973", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "27", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "1955:3DF01B:46F815:52C31B:675C0A0B" + "X-GitHub-Request-Id": "19CC:5DF4C:5B0BE9:688F83:675C20F8" } }, - "uuid": "bd4b8f83-71da-43a4-8a34-d5b9d8d2a9a1", + "uuid": "fe881058-45bc-4041-9561-65f65a22480b", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/6-r_a_n_branches.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/5-r_a_n_branches.json similarity index 83% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/6-r_a_n_branches.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/5-r_a_n_branches.json index 78954c42bc..2027894de5 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/6-r_a_n_branches.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/5-r_a_n_branches.json @@ -1,5 +1,5 @@ { - "id": "4b7dca6c-905e-48d4-9e7c-e0ca9e2fa322", + "id": "bb032597-1d0e-47b5-ba14-3bf9a3238003", "name": "repos_alaurant_new-fork_branches", "request": { "url": "/repos/Alaurant/new-fork/branches", @@ -12,9 +12,9 @@ }, "response": { "status": 200, - "bodyFileName": "6-r_a_n_branches.json", + "bodyFileName": "5-r_a_n_branches.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:19:22 GMT", + "Date": "Fri, 13 Dec 2024 11:57:11 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -25,9 +25,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4902", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "98", + "X-RateLimit-Remaining": "4972", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "28", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "19A8:D973:1FD52A:252BA4:675C0A2A" + "X-GitHub-Request-Id": "181F:D973:263E9F:2CEF71:675C2117" } }, - "uuid": "4b7dca6c-905e-48d4-9e7c-e0ca9e2fa322", + "uuid": "bb032597-1d0e-47b5-ba14-3bf9a3238003", "persistent": true, - "insertionIndex": 6 + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/5-users_alaurant.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/5-users_alaurant.json deleted file mode 100644 index a3c8a6ff39..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/5-users_alaurant.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "0344c685-c3be-4364-ae3a-5f1074df462f", - "name": "users_alaurant", - "request": { - "url": "/users/Alaurant", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "5-users_alaurant.json", - "headers": { - "Date": "Fri, 13 Dec 2024 10:19:21 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"dfd028463b22c2780ae72455ead39986ae487a599ac6ae8651de013da0a5319a\"", - "Last-Modified": "Wed, 11 Dec 2024 02:27:22 GMT", - "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", - "X-GitHub-Media-Type": "github.v3; format=json", - "x-github-api-version-selected": "2022-11-28", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4903", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "97", - "X-RateLimit-Resource": "core", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Server": "github.com", - "X-GitHub-Request-Id": "19A7:3E0BF5:4D91A7:595F06:675C0A29" - } - }, - "uuid": "0344c685-c3be-4364-ae3a-5f1074df462f", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/7-r_a_new-fork.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/6-r_a_new-fork.json similarity index 82% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/7-r_a_new-fork.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/6-r_a_new-fork.json index 45aa3984a9..e8269804a9 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/7-r_a_new-fork.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkChangedName/mappings/6-r_a_new-fork.json @@ -1,5 +1,5 @@ { - "id": "6afd3d5c-9918-4614-9c1a-52cd07c1aa87", + "id": "c42454fa-ec4e-40bc-a492-913675ea6516", "name": "repos_alaurant_new-fork", "request": { "url": "/repos/Alaurant/new-fork", @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Fri, 13 Dec 2024 10:19:23 GMT", + "Date": "Fri, 13 Dec 2024 11:57:12 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "delete_repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4901", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "99", + "X-RateLimit-Remaining": "4971", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "29", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "19A9:3DCBFA:4B0725:56D50B:675C0A2A" + "X-GitHub-Request-Id": "1823:3DD5DB:54FF20:622711:675C2118" } }, - "uuid": "6afd3d5c-9918-4614-9c1a-52cd07c1aa87", + "uuid": "c42454fa-ec4e-40bc-a492-913675ea6516", "persistent": true, - "insertionIndex": 7 + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/3-r_t_t_forks.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/3-r_t_t_forks.json index 0b9ae87a49..206cd90524 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/3-r_t_t_forks.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/3-r_t_t_forks.json @@ -1,6 +1,6 @@ { - "id": 902813208, - "node_id": "R_kgDONc_WGA", + "id": 902850112, + "node_id": "R_kgDONdBmQA", "name": "test-repo", "full_name": "Alaurant/test-repo", "private": false, @@ -65,8 +65,8 @@ "labels_url": "https://api.github.com/repos/Alaurant/test-repo/labels{/name}", "releases_url": "https://api.github.com/repos/Alaurant/test-repo/releases{/id}", "deployments_url": "https://api.github.com/repos/Alaurant/test-repo/deployments", - "created_at": "2024-12-13T10:17:05Z", - "updated_at": "2024-12-13T10:17:05Z", + "created_at": "2024-12-13T11:54:58Z", + "updated_at": "2024-12-13T11:54:58Z", "pushed_at": "2024-12-13T09:48:04Z", "git_url": "git://github.com/Alaurant/test-repo.git", "ssh_url": "git@github.com:Alaurant/test-repo.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/4-r_a_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/4-r_a_test-repo.json index 2691f0f027..a2bf616e89 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/4-r_a_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/4-r_a_test-repo.json @@ -1,6 +1,6 @@ { - "id": 902813208, - "node_id": "R_kgDONc_WGA", + "id": 902850112, + "node_id": "R_kgDONdBmQA", "name": "test-repo", "full_name": "Alaurant/test-repo", "private": false, @@ -65,8 +65,8 @@ "labels_url": "https://api.github.com/repos/Alaurant/test-repo/labels{/name}", "releases_url": "https://api.github.com/repos/Alaurant/test-repo/releases{/id}", "deployments_url": "https://api.github.com/repos/Alaurant/test-repo/deployments", - "created_at": "2024-12-13T10:17:05Z", - "updated_at": "2024-12-13T10:17:05Z", + "created_at": "2024-12-13T11:54:58Z", + "updated_at": "2024-12-13T11:54:58Z", "pushed_at": "2024-12-13T09:48:04Z", "git_url": "git://github.com/Alaurant/test-repo.git", "ssh_url": "git@github.com:Alaurant/test-repo.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/6-r_a_t_branches.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/5-r_a_t_branches.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/6-r_a_t_branches.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/5-r_a_t_branches.json diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/5-users_alaurant.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/5-users_alaurant.json deleted file mode 100644 index 75e8c6af10..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/__files/5-users_alaurant.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "login": "Alaurant", - "id": 41817560, - "node_id": "MDQ6VXNlcjQxODE3NTYw", - "avatar_url": "https://avatars.githubusercontent.com/u/41817560?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Alaurant", - "html_url": "https://github.com/Alaurant", - "followers_url": "https://api.github.com/users/Alaurant/followers", - "following_url": "https://api.github.com/users/Alaurant/following{/other_user}", - "gists_url": "https://api.github.com/users/Alaurant/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Alaurant/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Alaurant/subscriptions", - "organizations_url": "https://api.github.com/users/Alaurant/orgs", - "repos_url": "https://api.github.com/users/Alaurant/repos", - "events_url": "https://api.github.com/users/Alaurant/events{/privacy}", - "received_events_url": "https://api.github.com/users/Alaurant/received_events", - "type": "User", - "user_view_type": "private", - "site_admin": false, - "name": "Danyang Zhao", - "company": null, - "blog": "", - "location": null, - "email": null, - "hireable": null, - "bio": null, - "twitter_username": null, - "public_repos": 9, - "public_gists": 0, - "followers": 3, - "following": 10, - "created_at": "2018-07-28T07:03:48Z", - "updated_at": "2024-12-11T02:27:22Z", - "private_gists": 0, - "total_private_repos": 2, - "owned_private_repos": 2, - "disk_usage": 7314, - "collaborators": 0, - "two_factor_authentication": false, - "plan": { - "name": "pro", - "space": 976562499, - "collaborators": 0, - "private_repos": 9999 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/1-user.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/1-user.json index 89435afc27..49ea43a9f7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/1-user.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/1-user.json @@ -1,5 +1,5 @@ { - "id": "ca1681ce-ee5a-4b0c-978d-a0640b000eb9", + "id": "2a32bf1a-5387-4beb-809c-74f905ccc16e", "name": "user", "request": { "url": "/user", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "1-user.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:03 GMT", + "Date": "Fri, 13 Dec 2024 11:54:56 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4933", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "67", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "1", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "180C:3D9AE0:4AF977:56BE9A:675C099F" + "X-GitHub-Request-Id": "188F:3DF01B:4DF15C:5B1077:675C208F" } }, - "uuid": "ca1681ce-ee5a-4b0c-978d-a0640b000eb9", + "uuid": "2a32bf1a-5387-4beb-809c-74f905ccc16e", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/2-r_t_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/2-r_t_test-repo.json index a6640aa2f6..085c248a89 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/2-r_t_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/2-r_t_test-repo.json @@ -1,5 +1,5 @@ { - "id": "1ed7f8db-758e-4476-9555-50d0c9c6b192", + "id": "204c8bee-71a5-4a0a-8404-bc163adf40f9", "name": "repos_testditto_test-repo", "request": { "url": "/repos/TestDitto/test-repo", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "2-r_t_test-repo.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:04 GMT", + "Date": "Fri, 13 Dec 2024 11:54:57 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4931", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "69", + "X-RateLimit-Remaining": "4997", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "3", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "1811:3DCBFA:4AD827:569DC9:675C09A0" + "X-GitHub-Request-Id": "1894:3DDC48:5C098D:6929E0:675C2091" } }, - "uuid": "1ed7f8db-758e-4476-9555-50d0c9c6b192", + "uuid": "204c8bee-71a5-4a0a-8404-bc163adf40f9", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/3-r_t_t_forks.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/3-r_t_t_forks.json index 70ece13392..bcfc7cc54b 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/3-r_t_t_forks.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/3-r_t_t_forks.json @@ -1,5 +1,5 @@ { - "id": "af0ac91a-7c1c-48b1-9d88-ab6407bb8a86", + "id": "c1e6d857-7902-4941-a0dc-a6103b8cb18f", "name": "repos_testditto_test-repo_forks", "request": { "url": "/repos/TestDitto/test-repo/forks", @@ -21,7 +21,7 @@ "status": 202, "bodyFileName": "3-r_t_t_forks.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:05 GMT", + "Date": "Fri, 13 Dec 2024 11:54:58 GMT", "Content-Type": "application/json; charset=utf-8", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", @@ -29,9 +29,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4930", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "70", + "X-RateLimit-Remaining": "4996", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "4", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -43,10 +43,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "1812:3DA8CF:4BD7B7:579CEB:675C09A0" + "X-GitHub-Request-Id": "1898:3DCBFA:523FB8:5F5FD9:675C2091" } }, - "uuid": "af0ac91a-7c1c-48b1-9d88-ab6407bb8a86", + "uuid": "c1e6d857-7902-4941-a0dc-a6103b8cb18f", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/4-r_a_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/4-r_a_test-repo.json index 584d041283..2f9643ac80 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/4-r_a_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/4-r_a_test-repo.json @@ -1,5 +1,5 @@ { - "id": "c18e02ae-0e90-4a9d-8c02-36a3d75ac2db", + "id": "80c60be1-73ac-454d-ae5e-b40bf47c1b10", "name": "repos_alaurant_test-repo", "request": { "url": "/repos/Alaurant/test-repo", @@ -14,21 +14,21 @@ "status": 200, "bodyFileName": "4-r_a_test-repo.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:06 GMT", + "Date": "Fri, 13 Dec 2024 11:54:59 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"12b89a37af3c1a35ed072445490bc76c183a909f3150eb194b66724b0ea84290\"", - "Last-Modified": "Fri, 13 Dec 2024 10:17:05 GMT", + "ETag": "W/\"89142610994a39db24949c724da4676962cfce2b20b10af70d97a66cd1233fea\"", + "Last-Modified": "Fri, 13 Dec 2024 11:54:58 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4929", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "71", + "X-RateLimit-Remaining": "4995", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "5", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "1816:5DF4C:53568C:5F7993:675C09A1" + "X-GitHub-Request-Id": "1899:3DA8CF:52E0A1:60004F:675C2092" } }, - "uuid": "c18e02ae-0e90-4a9d-8c02-36a3d75ac2db", + "uuid": "80c60be1-73ac-454d-ae5e-b40bf47c1b10", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/6-r_a_t_branches.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/5-r_a_t_branches.json similarity index 83% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/6-r_a_t_branches.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/5-r_a_t_branches.json index 54bb9b3bf5..f31673643c 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/6-r_a_t_branches.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/5-r_a_t_branches.json @@ -1,5 +1,5 @@ { - "id": "44e0850a-b772-4508-99d2-6cd3b7cdadb3", + "id": "27ac4a00-6fd8-47c6-89a4-c53be336d93d", "name": "repos_alaurant_test-repo_branches", "request": { "url": "/repos/Alaurant/test-repo/branches", @@ -12,9 +12,9 @@ }, "response": { "status": 200, - "bodyFileName": "6-r_a_t_branches.json", + "bodyFileName": "5-r_a_t_branches.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:38 GMT", + "Date": "Fri, 13 Dec 2024 11:55:29 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -25,9 +25,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4927", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "73", + "X-RateLimit-Remaining": "4994", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "6", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "186F:3D576D:4E151E:59DCA9:675C09C1" + "X-GitHub-Request-Id": "18EA:3DF86D:50E92B:5E0AF0:675C20B1" } }, - "uuid": "44e0850a-b772-4508-99d2-6cd3b7cdadb3", + "uuid": "27ac4a00-6fd8-47c6-89a4-c53be336d93d", "persistent": true, - "insertionIndex": 6 + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/5-users_alaurant.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/5-users_alaurant.json deleted file mode 100644 index b4cf046393..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/5-users_alaurant.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "719c4903-caf2-4c9c-b2b5-fcd0d4c4db06", - "name": "users_alaurant", - "request": { - "url": "/users/Alaurant", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "5-users_alaurant.json", - "headers": { - "Date": "Fri, 13 Dec 2024 10:17:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"dfd028463b22c2780ae72455ead39986ae487a599ac6ae8651de013da0a5319a\"", - "Last-Modified": "Wed, 11 Dec 2024 02:27:22 GMT", - "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", - "X-GitHub-Media-Type": "github.v3; format=json", - "x-github-api-version-selected": "2022-11-28", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4928", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "72", - "X-RateLimit-Resource": "core", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Server": "github.com", - "X-GitHub-Request-Id": "186B:3DCBFA:4AE4DC:56AC84:675C09C1" - } - }, - "uuid": "719c4903-caf2-4c9c-b2b5-fcd0d4c4db06", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/7-r_a_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/6-r_a_test-repo.json similarity index 82% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/7-r_a_test-repo.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/6-r_a_test-repo.json index ca4faac3b9..dd7be457cc 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testFork/mappings/7-r_a_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkDefaultBranchOnly/mappings/6-r_a_test-repo.json @@ -1,5 +1,5 @@ { - "id": "e4d322f2-0afa-41c3-be67-7f9093d3b670", + "id": "247b92ab-45ed-410d-b63f-a6652aa732d3", "name": "repos_alaurant_test-repo", "request": { "url": "/repos/Alaurant/test-repo", @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Fri, 13 Dec 2024 10:18:47 GMT", + "Date": "Fri, 13 Dec 2024 11:55:30 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "delete_repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4909", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "91", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "7", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "1940:3DCBFA:4AFBDC:56C7A2:675C0A07" + "X-GitHub-Request-Id": "18EB:3DC041:5267AA:5F894F:675C20B1" } }, - "uuid": "e4d322f2-0afa-41c3-be67-7f9093d3b670", + "uuid": "247b92ab-45ed-410d-b63f-a6652aa732d3", "persistent": true, - "insertionIndex": 7 + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/4-r_t_t_forks.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/4-r_t_t_forks.json index 764bb1fa78..02a7195826 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/4-r_t_t_forks.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/4-r_t_t_forks.json @@ -1,6 +1,6 @@ { - "id": 902813421, - "node_id": "R_kgDONc_W7Q", + "id": 902850341, + "node_id": "R_kgDONdBnJQ", "name": "test-repo", "full_name": "nts-api-test-org/test-repo", "private": false, @@ -65,8 +65,8 @@ "labels_url": "https://api.github.com/repos/nts-api-test-org/test-repo/labels{/name}", "releases_url": "https://api.github.com/repos/nts-api-test-org/test-repo/releases{/id}", "deployments_url": "https://api.github.com/repos/nts-api-test-org/test-repo/deployments", - "created_at": "2024-12-13T10:17:41Z", - "updated_at": "2024-12-13T10:17:41Z", + "created_at": "2024-12-13T11:55:32Z", + "updated_at": "2024-12-13T11:55:32Z", "pushed_at": "2024-12-13T09:48:04Z", "git_url": "git://github.com/nts-api-test-org/test-repo.git", "ssh_url": "git@github.com:nts-api-test-org/test-repo.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/5-r_n_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/5-r_n_test-repo.json index 6e0f724922..b98d5e7566 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/5-r_n_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/5-r_n_test-repo.json @@ -1,6 +1,6 @@ { - "id": 902813421, - "node_id": "R_kgDONc_W7Q", + "id": 902850341, + "node_id": "R_kgDONdBnJQ", "name": "test-repo", "full_name": "nts-api-test-org/test-repo", "private": false, @@ -65,8 +65,8 @@ "labels_url": "https://api.github.com/repos/nts-api-test-org/test-repo/labels{/name}", "releases_url": "https://api.github.com/repos/nts-api-test-org/test-repo/releases{/id}", "deployments_url": "https://api.github.com/repos/nts-api-test-org/test-repo/deployments", - "created_at": "2024-12-13T10:17:41Z", - "updated_at": "2024-12-13T10:17:41Z", + "created_at": "2024-12-13T11:55:32Z", + "updated_at": "2024-12-13T11:55:32Z", "pushed_at": "2024-12-13T09:48:04Z", "git_url": "git://github.com/nts-api-test-org/test-repo.git", "ssh_url": "git@github.com:nts-api-test-org/test-repo.git", diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/7-r_n_t_branches.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/6-r_n_t_branches.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/7-r_n_t_branches.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/6-r_n_t_branches.json diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/6-users_nts-api-test-org.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/6-users_nts-api-test-org.json deleted file mode 100644 index 94e57c474c..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/__files/6-users_nts-api-test-org.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "login": "nts-api-test-org", - "id": 191328158, - "node_id": "O_kgDOC2dvng", - "avatar_url": "https://avatars.githubusercontent.com/u/191328158?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/nts-api-test-org", - "html_url": "https://github.com/nts-api-test-org", - "followers_url": "https://api.github.com/users/nts-api-test-org/followers", - "following_url": "https://api.github.com/users/nts-api-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/nts-api-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/nts-api-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/nts-api-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/nts-api-test-org/orgs", - "repos_url": "https://api.github.com/users/nts-api-test-org/repos", - "events_url": "https://api.github.com/users/nts-api-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/nts-api-test-org/received_events", - "type": "Organization", - "user_view_type": "public", - "site_admin": false, - "name": null, - "company": null, - "blog": "", - "location": null, - "email": null, - "hireable": null, - "bio": null, - "twitter_username": null, - "public_repos": 4, - "public_gists": 0, - "followers": 0, - "following": 0, - "created_at": "2024-12-11T07:04:56Z", - "updated_at": "2024-12-11T07:04:56Z" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/1-user.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/1-user.json index 578716a9ed..aa35ddf874 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/1-user.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/1-user.json @@ -1,5 +1,5 @@ { - "id": "5df07edc-af63-497f-aed1-a3b654ed5c45", + "id": "3fe1f5f1-4bcc-4e25-aa13-738b3f61484f", "name": "user", "request": { "url": "/user", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "1-user.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:39 GMT", + "Date": "Fri, 13 Dec 2024 11:55:30 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4925", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "75", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "8", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "187B:3DA8CF:4BE326:57AA6A:675C09C3" + "X-GitHub-Request-Id": "18F6:3D576D:559BE1:62BDF1:675C20B2" } }, - "uuid": "5df07edc-af63-497f-aed1-a3b654ed5c45", + "uuid": "3fe1f5f1-4bcc-4e25-aa13-738b3f61484f", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/2-r_t_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/2-r_t_test-repo.json index 718e60640a..bfeb3a087c 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/2-r_t_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/2-r_t_test-repo.json @@ -1,5 +1,5 @@ { - "id": "af5442ed-050b-445e-85b2-ea78a392e347", + "id": "62a9f166-4224-4da2-9c67-02f8ea63f78d", "name": "repos_testditto_test-repo", "request": { "url": "/repos/TestDitto/test-repo", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "2-r_t_test-repo.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:40 GMT", + "Date": "Fri, 13 Dec 2024 11:55:31 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4923", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "77", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "10", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "187D:3DD5DB:4DE83F:59AFD5:675C09C4" + "X-GitHub-Request-Id": "18F8:3DF01B:4DFDAE:5B1EDB:675C20B3" } }, - "uuid": "af5442ed-050b-445e-85b2-ea78a392e347", + "uuid": "62a9f166-4224-4da2-9c67-02f8ea63f78d", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/3-orgs_nts-api-test-org.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/3-orgs_nts-api-test-org.json index b646272481..a1d1ef5b9b 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/3-orgs_nts-api-test-org.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/3-orgs_nts-api-test-org.json @@ -1,5 +1,5 @@ { - "id": "6ddb2d4b-fcb4-493d-b10b-5ef4734e0c1e", + "id": "8ce2aaf5-9035-44d0-85d7-bc92e7ce8e7e", "name": "orgs_nts-api-test-org", "request": { "url": "/orgs/nts-api-test-org", @@ -14,7 +14,7 @@ "status": 200, "bodyFileName": "3-orgs_nts-api-test-org.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:40 GMT", + "Date": "Fri, 13 Dec 2024 11:55:31 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -26,9 +26,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4922", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "78", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "11", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "1881:3DF86D:49D67E:559DF8:675C09C4" + "X-GitHub-Request-Id": "18FC:3D9AE0:520052:5F2215:675C20B3" } }, - "uuid": "6ddb2d4b-fcb4-493d-b10b-5ef4734e0c1e", + "uuid": "8ce2aaf5-9035-44d0-85d7-bc92e7ce8e7e", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/4-r_t_t_forks.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/4-r_t_t_forks.json index 494674ff9d..173fab1999 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/4-r_t_t_forks.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/4-r_t_t_forks.json @@ -1,5 +1,5 @@ { - "id": "1f01a0e9-2800-4db8-bddf-cde80a2dfb55", + "id": "e401e903-0880-4134-ba15-df7dd29c4f32", "name": "repos_testditto_test-repo_forks", "request": { "url": "/repos/TestDitto/test-repo/forks", @@ -21,7 +21,7 @@ "status": 202, "bodyFileName": "4-r_t_t_forks.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:41 GMT", + "Date": "Fri, 13 Dec 2024 11:55:32 GMT", "Content-Type": "application/json; charset=utf-8", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", @@ -29,9 +29,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4921", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "79", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "12", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -43,10 +43,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "1882:3DC041:4B033A:56CA98:675C09C4" + "X-GitHub-Request-Id": "18FD:3DDC48:5C13E8:69363B:675C20B4" } }, - "uuid": "1f01a0e9-2800-4db8-bddf-cde80a2dfb55", + "uuid": "e401e903-0880-4134-ba15-df7dd29c4f32", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/5-r_n_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/5-r_n_test-repo.json index 981f870473..0926cc1679 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/5-r_n_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/5-r_n_test-repo.json @@ -1,5 +1,5 @@ { - "id": "f3301f39-9532-4b01-83e5-9641d2afdd96", + "id": "670b7e5d-314e-4d4d-8227-415b599dc018", "name": "repos_nts-api-test-org_test-repo", "request": { "url": "/repos/nts-api-test-org/test-repo", @@ -14,21 +14,21 @@ "status": 200, "bodyFileName": "5-r_n_test-repo.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:17:42 GMT", + "Date": "Fri, 13 Dec 2024 11:55:33 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"03cf5cdf4e4360d41a65006111909d5ac798d87b5ec9b0811bfdd58e5779a18b\"", - "Last-Modified": "Fri, 13 Dec 2024 10:17:41 GMT", + "ETag": "W/\"2e0c8e6ee018add3b303fee947bc6b6c83f623f6f6ea70ca63d13dac6a046cfb\"", + "Last-Modified": "Fri, 13 Dec 2024 11:55:32 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4920", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "80", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "13", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -39,10 +39,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "1886:0A8D:327B50:3A8A2D:675C09C5" + "X-GitHub-Request-Id": "1901:0A8D:3A01F2:436B29:675C20B5" } }, - "uuid": "f3301f39-9532-4b01-83e5-9641d2afdd96", + "uuid": "670b7e5d-314e-4d4d-8227-415b599dc018", "persistent": true, "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/7-r_n_t_branches.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/6-r_n_t_branches.json similarity index 83% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/7-r_n_t_branches.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/6-r_n_t_branches.json index b20c7d1e3b..74bbe6b4f3 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/7-r_n_t_branches.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/6-r_n_t_branches.json @@ -1,5 +1,5 @@ { - "id": "5f797d8a-20e0-4ad3-b29a-2dd2ff5b6c37", + "id": "4023ed17-6417-4c51-b193-6a1a94403608", "name": "repos_nts-api-test-org_test-repo_branches", "request": { "url": "/repos/nts-api-test-org/test-repo/branches", @@ -12,9 +12,9 @@ }, "response": { "status": 200, - "bodyFileName": "7-r_n_t_branches.json", + "bodyFileName": "6-r_n_t_branches.json", "headers": { - "Date": "Fri, 13 Dec 2024 10:18:13 GMT", + "Date": "Fri, 13 Dec 2024 11:56:03 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", @@ -25,9 +25,9 @@ "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4918", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "82", + "X-RateLimit-Remaining": "4986", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "14", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -38,10 +38,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Server": "github.com", - "X-GitHub-Request-Id": "18D5:3DA8CF:4BEE3E:57B764:675C09E4" + "X-GitHub-Request-Id": "1950:3DA8CF:52F618:6019AF:675C20D3" } }, - "uuid": "5f797d8a-20e0-4ad3-b29a-2dd2ff5b6c37", + "uuid": "4023ed17-6417-4c51-b193-6a1a94403608", "persistent": true, - "insertionIndex": 7 + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/6-users_nts-api-test-org.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/6-users_nts-api-test-org.json deleted file mode 100644 index a492e47f2f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/6-users_nts-api-test-org.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "b16f4432-363f-4156-998a-87dd4c1e52b6", - "name": "users_nts-api-test-org", - "request": { - "url": "/users/nts-api-test-org", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "6-users_nts-api-test-org.json", - "headers": { - "Date": "Fri, 13 Dec 2024 10:18:12 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With", - "ETag": "W/\"6d3adfa8a0f2e1715462bb747a9fe23d7bba5f2eee0357171ddf6456a1ebc27c\"", - "Last-Modified": "Wed, 11 Dec 2024 07:04:56 GMT", - "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", - "X-GitHub-Media-Type": "github.v3; format=json", - "x-github-api-version-selected": "2022-11-28", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4919", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "81", - "X-RateLimit-Resource": "core", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Server": "github.com", - "X-GitHub-Request-Id": "18D4:3DCBFA:4AF0AF:56BA60:675C09E4" - } - }, - "uuid": "b16f4432-363f-4156-998a-87dd4c1e52b6", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/8-r_n_test-repo.json b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/7-r_n_test-repo.json similarity index 82% rename from src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/8-r_n_test-repo.json rename to src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/7-r_n_test-repo.json index bd7a9b674f..984f556e68 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/8-r_n_test-repo.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryForkBuilderTest/wiremock/testForkToOrg/mappings/7-r_n_test-repo.json @@ -1,5 +1,5 @@ { - "id": "cc73cb39-d2b9-4203-9f2d-9b310ad00d41", + "id": "ba898b1f-b2da-4e7a-a75b-3eca9ece0b34", "name": "repos_nts-api-test-org_test-repo", "request": { "url": "/repos/nts-api-test-org/test-repo", @@ -13,16 +13,16 @@ "response": { "status": 204, "headers": { - "Date": "Fri, 13 Dec 2024 10:18:13 GMT", + "Date": "Fri, 13 Dec 2024 11:56:04 GMT", "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, project, read:packages, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "delete_repo", "github-authentication-token-expiration": "2025-02-25 04:28:56 UTC", "X-GitHub-Media-Type": "github.v3; format=json", "x-github-api-version-selected": "2022-11-28", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4917", - "X-RateLimit-Reset": "1734087596", - "X-RateLimit-Used": "83", + "X-RateLimit-Remaining": "4985", + "X-RateLimit-Reset": "1734094496", + "X-RateLimit-Used": "15", "X-RateLimit-Resource": "core", "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", "Access-Control-Allow-Origin": "*", @@ -34,10 +34,10 @@ "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", "Server": "github.com", - "X-GitHub-Request-Id": "18D9:5DF4C:536EA9:5F95CA:675C09E5" + "X-GitHub-Request-Id": "1954:5DF4C:5AFF88:6880EB:675C20D4" } }, - "uuid": "cc73cb39-d2b9-4203-9f2d-9b310ad00d41", + "uuid": "ba898b1f-b2da-4e7a-a75b-3eca9ece0b34", "persistent": true, - "insertionIndex": 8 + "insertionIndex": 7 } \ No newline at end of file