github RayLabsHQ/gitea-mirror v3.66.1

latest release: v3.67.0
3 hours ago

Changes

  • Pull requests and issue comments cost far less of GitHub's hourly budget (#665, #660). Each new or changed pull request took four or five REST requests (its details, commits, changed files, timeline and line comments) and each issue with comments one more, so the first pass over a repository with thousands of pull requests could use the whole 5,000 an hour for several hours and hold up every other sync. They are now read through GitHub's GraphQL API, which has a budget of its own: 20 pull requests with all of that for about 7 points, or the comments of 50 issues for about one. What is written to the mirror is the same. On a test mirror of fatih/color (204 pull requests, 111 issues), pull requests and issue comments took 924 REST requests on v3.66.0 and 14 GraphQL queries (74 points) on this release.

Notes

  • REST still reads what GraphQL cannot: everything on a source without a token (GitHub gives anonymous GraphQL no budget), the comments of a pull request with more than 100 comments, 30 reviews, 30 review threads or 20 line comments in one thread, those of an issue with more than 100 comments, and the rest of a pass once GraphQL's budget is used up.
  • Discussions use the same GraphQL budget.
  • No database migrations.

As always, back up your Gitea before upgrading.

Full changelog: v3.66.0...v3.66.1

Don't miss a new gitea-mirror release

NewReleases is sending notifications on new releases.