forgejo/models
Gergely Nagy b15bafcbc7
[GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853)
This adds a new `doctor` check: `fix-push-mirrors-without-git-remote`. The new check looks for push mirrors that do not have their remotes configured in git. If automatic fixing is enabled, it will remove these push mirrors from the database.

The check is not run by default, and thus, must be invoked manually. It should be usable in a half-migrated state, too, and as such, fixes #1800.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1853
Co-authored-by: Gergely Nagy <forgejo@gergo.csillger.hu>
Co-committed-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit 9038e07ef3)
2023-12-04 14:22:22 +01:00
..
actions
activities
admin
asymkey [GITEA] Add noreply email address as verified for SSH signed Git commits 2023-12-04 14:22:21 +01:00
auth [GITEA] Drop sha256-simd in favor of stdlib 2023-12-04 14:22:20 +01:00
avatars
db [GITEA] Add slow SQL query warning 2023-12-04 14:19:26 +01:00
dbfs
fixtures [GITEA] Add noreply email address as verified for SSH signed Git commits 2023-12-04 14:22:21 +01:00
forgejo/semver
forgejo_migrations [DB] Add test for TestEnsureUpToDate (squash) 2023-12-04 12:47:02 +01:00
git
issues
migrations [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2023-12-04 14:22:22 +01:00
organization
packages
perm
project
pull
repo [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2023-12-04 14:22:22 +01:00
secret
shared/types
system
unit
unittest [GITEA] Enable mocked HTTP responses for GitLab migration test 2023-12-04 14:22:21 +01:00
user [GITEA] Allow user to select email for file operations in Web UI 2023-12-04 14:22:21 +01:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go