gitea/models/db
Lunny Xiao 673cf6af76
make writing main test easier ()
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
install Implement FSFE REUSE for golang files ()
paginator make writing main test easier ()
common.go Fix NuGet search endpoints ()
consistency.go Implement FSFE REUSE for golang files ()
context.go Improve DeleteByID ()
context_committer_test.go Fix halfCommitter and WithTx ()
context_test.go Always reuse transaction ()
convert.go Support converting varchar to nvarchar for mssql database ()
engine.go Rename `Sync2` -> `Sync` ()
engine_test.go Rename `Sync2` -> `Sync` ()
error.go Replace `interface{}` with `any` ()
index.go Fix index generation parallelly failure ()
index_test.go Implement FSFE REUSE for golang files ()
iterate.go Implement FSFE REUSE for golang files ()
iterate_test.go Allow adding new files to an empty repo ()
list.go Fix db.Find bug ()
list_test.go Use more specific test methods ()
log.go Replace `interface{}` with `any` ()
main_test.go make writing main test easier ()
name.go Implement FSFE REUSE for golang files ()
search.go Split lfs size from repository size ()
sequence.go Refactor `setting.Database.UseXXX` to methods ()
sql_postgres_with_schema.go Fix .golangci.yml ()