github RayLabsHQ/gitea-mirror v3.61.0

36 minutes ago

Features

  • Several statuses at once in the Activity Log (#611, #614, thanks @zwimer). The status filter is the same checkbox list as on the Repositories page, with Select all and Clear, so it can show Failed and Warning together, or everything except Synced. Each status shows how many entries have it. The chips at the top add their status to the filter, and a second click takes it out. The address keeps the choice as ?status=failed,warning; links with a single status still work.

Fixes

v3.60.0 put a level on every log line, and that showed how many lines had the wrong one. All of these were measured on a real sync before and after.

  • Unchanged and missing GitHub answers were logged as errors (#606, #608). "Nothing changed" (304) was an ERROR line, so a quiet sync of four repositories wrote over 20 of them and a metadata re-run hundreds. The per request lines are DEBUG now.
  • A deleted source repository was asked for its releases, milestones, issues, pull requests and advisories on every sync, with an error for each (#608). The sync now skips them and writes one line, a WARN until cleanup notices the repository is gone, then an INFO saying since when.
  • The concurrency warning repeated for every repository (#607). It is said once, at INFO, with the variable to set if you want the source order.
  • A rate limit filled the log (#612). The line showed the route pattern instead of the request, and one limit wrote about 45 lines, 30 of them ERROR. It is now one warning with the real path, plus the lines saying which sync stopped.
  • Old jobs stayed "in progress" in the Activity Log (#610). A shutdown could leave jobs stopped but not finished, and restarts only pick up jobs still marked as running. Startup now closes them as failed, "Interrupted by a restart and never resumed". Per repository "started" entries no longer spin.
  • Dropdowns inside the mobile filter panels could not be used (#614). On a phone, the status, owner, organization and destination filters on the Repositories page and the name filter in the Activity Log opened their list, but a tap went through it.
  • HOST=* and IPv6 (#605). The docs now say that :: or * listens on IPv6 and IPv4 both, and 0.0.0.0 only on IPv4. The MCP tools use 127.0.0.1 with a wildcard HOST.
  • An item that keeps failing gets one ERROR line instead of two blocks with a stack trace, and a manual sync logs one line per repository.

Security

  • A failed Mirror request no longer writes the request headers to the log. They included the session cookie or API key of whoever clicked it.

As always, back up your Gitea before upgrading.

Full changelog: v3.60.0...v3.61.0

Don't miss a new gitea-mirror release

NewReleases is sending notifications on new releases.