0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-03 13:54:32 +01:00
gitea/models/repo
Earl Warren e02095c5b6
Add orphaned topic consistency check (#28507)
- If a topic has zero repository count, it means that none of the
repositories are using that topic, that would make them 'useless' to
keep. One caveat is that if that topic is going to be used in the
future, it will be added again to the database, but simply with a new
ID.

Refs: https://codeberg.org/forgejo/forgejo/pulls/1964

Co-authored-by: Gusted <postmaster@gusted.xyz>
2023-12-18 15:32:08 +00:00
..
archiver.go
attachment.go
attachment_test.go
avatar.go
collaboration.go
collaboration_test.go
fork.go
fork_test.go
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror.go
pushmirror_test.go
redirect.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
redirect_test.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
release.go Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
release_test.go
repo.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
repo_indexer.go
repo_list.go Restricted users only see repos in orgs which their team was assigned to (#28025) 2023-11-14 15:23:04 +01:00
repo_list_test.go
repo_test.go Refactor SSH clone URL generation code (#28421) 2023-12-15 06:18:12 +00:00
repo_unit.go
repo_unit_test.go
search.go
star.go
star_test.go
topic.go Add orphaned topic consistency check (#28507) 2023-12-18 15:32:08 +00:00
topic_test.go
update.go
upload.go
user_repo.go
user_repo_test.go
watch.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
watch_test.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
wiki.go
wiki_test.go