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.
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>
1 year ago
..
archiver.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
attachment.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
attachment_test.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
avatar.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
collaboration.go More `db.DefaultContext` refactor (#27265) 1 year ago
collaboration_test.go More `db.DefaultContext` refactor (#27265) 1 year ago
fork.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
fork_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
git.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
issue.go Rename almost all Ctx functions (#22071) 2 years ago
language_stats.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
mirror.go More `db.DefaultContext` refactor (#27265) 1 year ago
pushmirror.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
pushmirror_test.go Replace `interface{}` with `any` (#25686) 2 years ago
redirect.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
redirect_test.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
release.go Fix comment permissions (#28213) 1 year ago
release_test.go Another round of `db.DefaultContext` refactor (#27103) 1 year ago
repo.go Adjust object format interface (#28469) 1 year ago
repo_indexer.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo_list.go Restricted users only see repos in orgs which their team was assigned to (#28025) 1 year ago
repo_list_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
repo_test.go Refactor SSH clone URL generation code (#28421) 1 year ago
repo_unit.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
repo_unit_test.go add disable workflow feature (#26413) 2 years ago
search.go Split "modules/context.go" to separate files (#24569) 2 years ago
star.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
star_test.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
topic.go Add orphaned topic consistency check (#28507) 1 year ago
topic_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
update.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
upload.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
user_repo.go Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2 years ago
user_repo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
watch.go Replace more db.DefaultContext (#27628) 1 year ago
watch_test.go Replace more db.DefaultContext (#27628) 1 year ago
wiki.go Implement FSFE REUSE for golang files (#21840) 2 years ago
wiki_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago