github RayLabsHQ/gitea-mirror v3.15.11

latest release: v3.15.12
7 hours ago

What's new

fix: org-owned repos visible again to sync, scheduler, and cleanup (#286)

#283 dropped organization_member from the GitHub repo-listing affiliation filter. Repos owned by orgs the user belongs to became invisible to the main sync, the scheduler, and — worst of all — the orphan-cleanup pass, which would archive (or with CLEANUP_DELETE_IF_NOT_IN_GITHUB=true, delete) them on every restart.

The affiliation filter now always includes organization_member, regardless of the INCLUDE_COLLABORATOR_REPOS toggle. The toggle's original semantics from #283 are preserved.

fix: reconcile issue/PR/label/milestone metadata on every sync (#287)

A one-shot guard added in #266 meant metadata only mirrored on the first sync of a repo. Edits made on GitHub afterwards — renamed issues, new labels, edited bodies — never propagated. This was a regression of #165, which #184 had already fixed via marker-based idempotent upserts.

Reconciliation now runs every sync. The underlying mirror functions remain idempotent: issues match by [GH-ISSUE #N] markers, PRs by [PR #N], labels by name, milestones by title. Existing entries are PATCH'd in place — no duplicates.

Note: slightly increases GitHub API usage per sync for repos with many issues/PRs. A since=lastSyncedAt optimization is planned as a follow-up.


Thanks to @riguettodev for both fixes.

Don't miss a new gitea-mirror release

NewReleases is sending notifications on new releases.