[feature] gitea docktor: check if there is a diff between DB and data #5054

Open
opened 2025-11-02 06:12:34 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @6543 on GitHub (Mar 11, 2020).

as in https://github.com/go-gitea/gitea/issues/10692#issuecomment-597498365 described, if you load an old DB backup but have new files fix the database:

  • delete old repos if repo does not exist anymore
  • create new repo if ther exists file for
  • sync commits on pulls, branches, ...

or the other way (if data is older than DB ..)

Originally created by @6543 on GitHub (Mar 11, 2020). as in https://github.com/go-gitea/gitea/issues/10692#issuecomment-597498365 described, if you load an old DB backup but have new files fix the database: * delete old repos if repo does not exist anymore * create new repo if ther exists file for * sync commits on pulls, branches, ... or the other way (if data is older than DB ..)
GiteaMirror added the type/proposal label 2025-11-02 06:12:34 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5054