)]}' { "commit": "5956b6ac07f7223e96a66e868d5d38823c2d97cf", "tree": "5d9f3bcfc32852b0dae94381f9782431f88b5024", "parents": [ "ec91eeef007a05d76d777a8ae96805589990fec4" ], "author": { "name": "Filipe Roque", "email": "froque@premium-minds.com", "time": "Mon Mar 04 14:57:57 2024 +0000" }, "committer": { "name": "Sylwester Lachiewicz", "email": "slachiewicz@apache.org", "time": "Tue Mar 19 22:16:22 2024 +0100" }, "message": "Fix empty list-branches mojo\n\nGithub has changed the branches page and the existing code no longer\nworks [1].\n\nWithout specifying an Accept header, Github responds with JSON text.\n\nAn alternative explored was to use the existing dependency github-api, but\nthis breaks easily on the existing rate limits for GitHub REST API, where\nthe primary rate limit for unauthenticated requests is 60 requests per\nhour [2].\n\n[1] https://github.blog/changelog/2023-12-06-updates-to-repository-pages/\n[2] https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api\n", "tree_diff": [ { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "d4c154d5f73072021503c8d07a4f9f3fb2f9d334", "new_mode": 33188, "new_path": "src/main/java/org/apache/maven/dist/tools/jobs/branches/BranchesResponse.java" }, { "type": "modify", "old_id": "7065d2a69f8539ee60bcfd3d1182bb91147e4fdb", "old_mode": 33188, "old_path": "src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java", "new_id": "f84844bdbbd0e5be718726f15fd966cf9d9b2892", "new_mode": 33188, "new_path": "src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java" } ] }