You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
wxiaoguang 99283415bc
Refactor Pull Mirror and fix out-of-sync bugs (#24732)
The "mirror" table and "repository" table might be out-of-sync in some
cases.

It means that "IsMirror=true" but "Mirror=nil"

This PR removes unnecessary "Mirror" field, rename "Mirror" to
"PullMirror" and fix nil panic bug.


Screenshot of changed templates:


![image](https://github.com/go-gitea/gitea/assets/2114189/c0f2bdfc-5911-43ea-b989-b19619de4235)



![image](https://github.com/go-gitea/gitea/assets/2114189/1078b41a-484f-4c06-8c2f-edb9e658275d)
1 year ago
..
actions Rewrite queue (#24505) 1 year ago
agit add user rename endpoint to admin api (#22789) 1 year ago
asymkey Add context cache as a request level cache (#22294) 1 year ago
attachment Preserve file size when creating attachments (#23406) 1 year ago
auth Add Alpine package registry (#23714) 1 year ago
automerge Rewrite queue (#24505) 1 year ago
context Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 1 year ago
convert Refactor Pull Mirror and fix out-of-sync bugs (#24732) 1 year ago
cron Add Cargo package registry (#21888) 1 year ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Add Go package registry (#24687) 1 year ago
gitdiff Simplify template helper functions (#24570) 1 year ago
issue Improve Gitea's web context, decouple "issue template" code into service package (#24590) 1 year ago
lfs Fix auth check bug (#24382) 1 year ago
mailer Rewrite queue (#24505) 1 year ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Make repo migration cancelable and fix various bugs (#24605) 1 year ago
mirror Rewrite queue (#24505) 1 year ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Add Go package registry (#24687) 1 year ago
pull Rewrite queue (#24505) 1 year ago
release Delete deleted release attachments immediately from storage (#23913) 1 year ago
repository Add status indicator on main home screen for each repo (#24638) 1 year ago
task Make repo migration cancelable and fix various bugs (#24605) 1 year ago
user Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 1 year ago
webhook Rewrite queue (#24505) 1 year ago
wiki Improve wiki user title test (#24559) 1 year ago